ERROR FOR EZPLOT?
Mostrar comentarios más antiguos
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])
Respuestas (1)
Steven Lord
el 23 de Dic. de 2020
0 votos
The case matters. Change EZPLOT to ezplot in your code.
2 comentarios
Walter Roberson
el 23 de Dic. de 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
el 23 de Dic. de 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])
Categorías
Más información sobre Subplots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!