0
绘制每个人这是我尝试用2个功能,我想通过边绘制边:如何通过功能的单元阵列循环,在不同的图形
numgraphs = 2;
x = 1:5;
y1 = x.^2;
y2 = x.^3;
funcs = cell(y1, y2);
for i=1:numgraphs
subplot(1,2,i);
plot(x,funcs(i));
end
但我得到这个错误:
Error using plot
Conversion to double from cell is not possible.
正是我想要做的可能吗?