Feeds
提问
Why this program keep saying Error using plotting>getC Too many output arguments. Error in plotting (line 9) res(i)=getC(1,0,100);? The getC returns c, which is only one output(a number),where're the 'too many' outputs?
Here's my scripts,I'm new to Matlab and really couldn't figure out how to fix this problem... function plotting clc ...
9 years 前 | 2 个回答 | 0
2
个回答已回答
Why this program keep saying Error using plotting>getC Too many output arguments. Error in plotting (line 9) res(i)=getC(1,0,100);? The getC returns c, which is only one output(a number),where're the 'too many' outputs?
if true function plotting clc close all x = linspace(1,2,2); res=zeros(1,length(x)); for i=1:length(x) xpt=x(i); ...
Why this program keep saying Error using plotting>getC Too many output arguments. Error in plotting (line 9) res(i)=getC(1,0,100);? The getC returns c, which is only one output(a number),where're the 'too many' outputs?
if true function plotting clc close all x = linspace(1,2,2); res=zeros(1,length(x)); for i=1:length(x) xpt=x(i); ...
9 years 前 | 0