How to plot a workspace

36 views (last 30 days)
Sadegh Aberoumand
Sadegh Aberoumand on 19 Apr 2021
Answered: KSSV on 19 Apr 2021
I have a workspace of two columns of x and y. it is a 26*2 matrix. How do i can plot it?

Answers (1)

KSSV
KSSV on 19 Apr 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.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!