Plotting a an equation as function of radius .
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.
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
AISHWARYA KASARLA
el 4 de Jul. de 2020
KSSV
el 4 de Jul. de 2020
Do you have ranges of utheta and r? Have a look on ezplot. https://in.mathworks.com/help/matlab/ref/ezplot.html
AISHWARYA KASARLA
el 4 de Jul. de 2020
KSSV
el 4 de Jul. de 2020
utheta and theta are same right?
AISHWARYA KASARLA
el 4 de Jul. de 2020
Categorías
Más información sobre Holidays / Seasons 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!