How can I plot the discrete points of two arrays?

1 vue (au cours des 30 derniers jours)
Hugo
Hugo le 29 Mar 2021
Commenté : darova le 31 Mar 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,

Réponse acceptée

Riley
Riley le 30 Mar 2021
Read about function plot.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by