How to plot a workspace

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

0 votos

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 Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 19 de Abr. de 2021

Respondida:

el 19 de Abr. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by