Matlab - gráficar

 
Vista:
sin imagen de perfil

gráficar

Publicado por Michel (1 intervención) el 07/06/2016 16:30:00
HOla, quiero gráficar la siguiente función, en intervalos de r, pero no puedo. ayuda.
clc
clear all
syms betha
theta=30
w=100
l=2.5
for r=0.5:0.95:10
if l<=2.5*r
a=(r./l)*sin(theta)
b=sqrt(1-(sin(theta)^2));
x=r.*cos(theta)+l*b;
betha_punto=(w*(r./l)*cos(theta))/sqrt(1-((r./l)*(r./l))*(sin(theta)^2));
v=-r.*w*sin(theta)-l*betha_punto*a;
end
l=l+2.25
end
plot(v,r)
grid on
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder