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?

回答(1 个)

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

类别

帮助中心File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by