How to plot a workspace

31 visualizaciones (últimos 30 días)
Sadegh Aberoumand
Sadegh Aberoumand el 19 de Abr. de 2021
Respondida: KSSV el 19 de Abr. de 2021
I have a workspace of two columns of x and y. it is a 26*2 matrix. How do i can plot it?

Respuestas (1)

KSSV
KSSV el 19 de Abr. de 2021
Let A be your workspace variable of size 26*2.
x = A(:,1) ;
y = A(:,2) ;
plot(x,y)
REad about the function plot.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by