ERROR FOR EZPLOT?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
l=2.5;w=60;e=2*10^8;i=2000*10^-8;
r1=w*1;
x=sym('x');
sfx=(w*1)-w*x;
subplot(2,2,1)
EZPLOT(sfx,[0,2.5])
subplot(2,2,2)
bmx=(w*1*1/2)-(w*x*x/2);
EZPLOT(bmx,[0,2.5])
subplot(2,2,3)
theta=(((-w*(1-x)^3)/6)+((w*1^3)/6))/e*i;
EZPLOT(theta,[0,2.5])
subplot(2,2,4)
y=-(((w*(1-x)^4/24)+((w*x*1^3)/6)-((w*1^4)/24)))/e*i;
EZPLOT(y,[0,2.5])
here's what error i am getting :
Cannot find an exact (case-sensitive) match for 'EZPLOT'
The closest match is: ezplot in C:\Program Files\Polyspace\R2019b\toolbox\matlab\specgraph\ezplot.m
Error in sfd (line 6)
EZPLOT(sfx,[0,2.5])
0 Commenti
Risposte (1)
Steven Lord
il 23 Dic 2020
The case matters. Change EZPLOT to ezplot in your code.
2 Commenti
Walter Roberson
il 23 Dic 2020
In very very old MATLAB, case of functions was not sensitive, and it was common for even Mathworks provided documentation to use upper-case function names for emphasis. You can still find places where error messages or help documentation uses the upper-case version of the name.
Walter Roberson
il 23 Dic 2020
l=2.5;w=60;e=2*10^8;i=2000*10^-8;
r1=w*1;
x=sym('x');
sfx=(w*1)-w*x;
subplot(2,2,1)
ezplot(sfx,[0,2.5])
subplot(2,2,2)
bmx=(w*1*1/2)-(w*x*x/2);
ezplot(bmx,[0,2.5])
subplot(2,2,3)
theta=(((-w*(1-x)^3)/6)+((w*1^3)/6))/e*i;
ezplot(theta,[0,2.5])
subplot(2,2,4)
y=-(((w*(1-x)^4/24)+((w*x*1^3)/6)-((w*1^4)/24)))/e*i;
ezplot(y,[0,2.5])
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!