How can I plot the discrete points of two arrays?

1 次查看(过去 30 天)
Hi,
How can I plot the contents of two arrays (discrete points)? For example, If I have the array x=[0;1;2;3] and y=[5.9;3.7;7.5;3.3]. How can I plot y vs x?
I thank you in advance,
Best regards,

采纳的回答

Riley
Riley 2021-3-30
Read about function plot.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by