[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Plot issues
From: |
이태훈 |
Subject: |
Plot issues |
Date: |
Fri, 17 Apr 2020 00:05:54 +0200 |
Hi, all
Sorry for a dummy question.
I have some problems with the plot.
I use this code .
>> function xdot =F(x,t)
D =1.1;
r = 0.0984;
ka =3;
z =10;
umax=0.08;
km =3;
I0 =1;
xdot(1)=
(-x.*(D)).+((umax.*((I0.*2.717.^(-ka.*x.*z))./((I0.*(2.717.^(-ka.*x*z))).+km))).*x)
endfunction
>>
>>
>>
>> x0=9.8;
>> t= linspace(0,50,100);
>> quad("F",0,3);
I’ve got the xdot result.
But if I enter :plot(x,t)
error: 'x' undefined near line 1 column 6 comes out.
Can you tell me what the problem is ??
Best regards
Tae hoon lee