How to plot this type of function?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
2 Commenti
Walter Roberson
il 4 Ago 2022
Strange, I could have sworn I saw someone post code for this involving fplot3()
Risposte (1)
KSSV
il 4 Ago 2022
Modificato: KSSV
il 4 Ago 2022
t = linspace(-5,5) ;
x = exp(t) ;
y = 1-exp(-t) ;
z = atan2(y,x) ;
plot(t,z)
3 Commenti
Walter Roberson
il 4 Ago 2022
Note that atan(y./x) is usually better done as atan2(y, x) . The difference is that atan2() will get the right quadrant.
Vedere anche
Categorie
Scopri di più su Annotations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!