Plotting a an equation as function of radius .
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
KSSV
2020-7-4
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Visual Exploration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!