Plotting a an equation as function of radius .

7 Ansichten (letzte 30 Tage)
AISHWARYA KASARLA
AISHWARYA KASARLA am 4 Jul. 2020
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.

Antworten (1)

KSSV
KSSV am 4 Jul. 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 Kommentare
KSSV
KSSV am 4 Jul. 2020
utheta and theta are same right?
AISHWARYA KASARLA
AISHWARYA KASARLA am 4 Jul. 2020
no utheta is a dispalcement in theta direction which is a function of r only.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Holidays / Seasons finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by