plot row versus one another

5 views (last 30 days)
Atika
Atika on 10 Sep 2022
Answered: Cris LaPierre on 10 Sep 2022
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
Star Strider
Star Strider on 10 Sep 2022
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.

Answers (1)

Cris LaPierre
Cris LaPierre on 10 Sep 2022
See Ch 9 of MATLAB Onramp (Plotting)

Categories

Find more on Line 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!