cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Plotting the components of a matrix column vs the column

rdelascasas
6-Contributor

Plotting the components of a matrix column vs the column

Hello to all,

I do not know if the title of my discussion is ok, but this is what I need:

I have a matrix column M with a total of n rows, and I want to plot how the components M(n,1) change in function of n. Is there any way in Mathcad to do this?

thank you in advance,

Rogelio de las Casas

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:rdelascasas)

OK, lets first create a dummy matrix with random values:

Now two ways to get the plot you are looking for:

1) Create a vector with row indices (here values from 0 to 49) and plot the first column over this vector

2) Create a suitable range variable (here from 0 to 49) and plot M(n,0) over that range

View solution in original post

2 REPLIES 2
Werner_E
25-Diamond I
(To:rdelascasas)

OK, lets first create a dummy matrix with random values:

Now two ways to get the plot you are looking for:

1) Create a vector with row indices (here values from 0 to 49) and plot the first column over this vector

2) Create a suitable range variable (here from 0 to 49) and plot M(n,0) over that range

rdelascasas
6-Contributor
(To:Werner_E)

Thank you very much Werner,

Kind Regards,

Rogelio

Announcements

Top Tags