How can I plot the discrete points of two arrays?

1 Ansicht (letzte 30 Tage)
Hugo
Hugo am 29 Mär. 2021
Kommentiert: darova am 31 Mär. 2021
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,

Akzeptierte Antwort

Riley
Riley am 30 Mär. 2021
Read about function plot.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by