Plotting a an equation as function of radius .
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I want to plot ,
utheta= -k*ln(ro/r)
where k=10 and ro=1000
for angle theta = pi/2 and theta = 3*pi/2 only where theta is measured from negative y axis.
How do I plot this. I am not getting , please help me.
0 comentarios
Respuestas (1)
KSSV
el 4 de Jul. de 2020
t = linspace(pi/2,3*pi/2) ;
k = 10 ; r0 = 1000 ;
r = r0*exp(t/k) ; % on solving the give equation for r
plot(t,r)
5 comentarios
Ver también
Categorías
Más información sobre Visual Exploration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!