Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Our World Statistics Day conversations have been a great reminder of how much statistics can inform our lives. Do you have an example of how statistics has made a difference in your life? Share your story with the Community!
Quick question about extracting a single column from a large matrix into a submatrix. Just as an example below: I want extract the second column from matrix P ( I want to pull out 2,5,8) and place it into a submatrix called A. However when I try to attempt it in this way, I am getting invalid matrix token error.
P=[1 2 3, 4 5 6, 7 8 9];
for(i=1,i<=3,i = i + 1,
A = [P[i,2]];
Should be really simple, but for some reason it is stumping me. Thanks for the help!