how to plot euler formula in matlab?
显示 更早的评论
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 个评论
Turlough Hughes
2020-2-18
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')
采纳的回答
更多回答(1 个)
i = linspace(0,1,100) ;
y = exp(100*i*pi) ;
plot(i,y)
类别
在 帮助中心 和 File Exchange 中查找有关 Mathematics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
