Can someone help me with the representation of the signals?

1 次查看(过去 30 天)

回答(2 个)

Stephan
Stephan 2022-12-11
编辑:Stephan 2022-12-11
plot can not show one single point. Use at least 2 points for w to get a plot - or use scatter.
w=0:10:500;
To avoid further errors replace
w^2
by
w.^2

Image Analyst
Image Analyst 2022-12-11
Attach your script. No one wants to type in 12 lines of code just to help you when you could just as easily copy and paste it here. And you need to plot a marker if you just want a single point, like to plot a blue dot do this:
plot(someValue, 'b.', 'MarkerSize', 50)

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by