plot row versus one another

How to plot one row versus another?
P =
1.0000 4.6000 -7.6000 2.2000 1.4000 6.8000 18.2000 12.0000
0 1.0000 15.0000 0.6000 10.0000 -2.0000 10.0000 -25.0000
8.0000 9.5000 11.7000 13.8000 12.6000 4.7000 -8.8000 -23.0000
for this matrix i have to create a scatter plot second row versus the third row.

1 Comment

Your posts appear to all be homework problems, as I suspected with the first one. Use the approach in my Comment to it to understand how to address the individual matrix rows.
Also see the documentation on scatter.

Sign in to comment.

Tags

Asked:

on 10 Sep 2022

Answered:

on 10 Sep 2022

Community Treasure Hunt

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

Start Hunting!