how to plot euler formula in matlab?
Show older comments
I want to plot exponential signal that is euler formula exp(i*pi) in MATLAB but output figure is empty and does not shows graph as shown in attached, even i tried plotting simpler version, i mean
exp(i*pi),but still figure was empty

1 Comment
Turlough Hughes
on 18 Feb 2020
There is an example of plotting exponentials in the documentation here, see the sub heading Plot Exponential Function. If you're trying to observe a single point on the plot you could also write
plot(y,'or')
Accepted Answer
More Answers (1)
i = linspace(0,1,100) ;
y = exp(100*i*pi) ;
plot(i,y)
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!