How can I plot matrix [5x6] data from certan row to onother row.

Hi,
pleas for help!!
i have martix
[1] [2] [3] [4] [5] [6]
A 17 24 1 8 15 9
B 23 5 7 14 16 10
C 4 6 13 20 22 7
D 10 12 19 21 3 4
E 11 18 25 2 9 9
I woud like to plot from B line to D line. Numbers are taken linearly and phirst number from column [1] is 23 , from second column [2] are numbers 5 and 6. I wish to have interpolation. From secon column number is 5.5. From third colum [3] is 13 and.... , last number is 4.
I was looking for help and approximate codes. I did not find. I am a brand new Matlab user. Im asking for help.
TX

Answers (2)

plot(YourMatrix(2:end,:)) % other than this I have no idea what you want
From each column we have one number. The numbers are determined by determining the row from the first column and the garden from the last column. Between the first and the last column are selected based on the linear line, a larger number is selected. From the selected numbers I plot . I attach a picture.

2 Comments

so from B to D rows are plotted am I right? just upload the resultant vctor obtained from the matrix
I take one number from each column.
I define the starting line B and column 1. It ends with the D line and the last column (in this case, column 6).
In between, numbers are selected (see figure, attachment) along the linear line (red).
In attachment figurethe under matrix there is an approximate graph. As it should look.
tx for help
How can I: upload the resultant vctor obtained from the matrix.
Can you type or add link, please
Thank you very much !!

Sign in to comment.

Categories

Asked:

on 8 Dec 2018

Edited:

on 8 Dec 2018

Community Treasure Hunt

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

Start Hunting!