plotting complex exponential function
76 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi friends,
I am tring to plot the graph of
y = (1*e^-i20*pi * t) + (4*e^i20*pi *t ) where t= 5:-0.1:0
can you please help me in this case.
thank you.
0 Commenti
Risposta accettata
Più risposte (1)
James Tursa
il 29 Nov 2020
Modificato: James Tursa
il 29 Nov 2020
E.g., maybe this is what you need
y = 1*exp( -i20 *pi * t ) + 4*exp( i20 * pi * t );
plot(t,y);
Although it is not clear what i20 is. A variable name? Or is this supposed to be i*20? In which case you might want to plot real(y) instead of y.
Vedere anche
Categorie
Scopri di più su Creating and Concatenating Matrices 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!