Info

This question is closed. Reopen it to edit or answer.

I tried it,but i cant run the program.can you give me one small example

1 view (last 30 days)
How to plot x vs y
for example
x y
1 1
2 4
3 9
4 16
5 25
6 36
7 49

Answers (1)

Walter Roberson
Walter Roberson on 11 Jun 2015
xy = [
1 1
2 4
3 9
4 16
5 25
6 36
7 49];
plot(xy(:,1),xy(:,2))

Tags

Community Treasure Hunt

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

Start Hunting!