Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
I have a matrix and i need to assign the first column as a second column in another matrix , can this be done without identifying each individual element?
In the example above id like to be able to create matrix D without having to specify every element from matricies A and B . Hopefully with the output as per matrix C.
Thanks ,
Ross
Solved! Go to Solution.
solved with augument function
@RH_9815461 wrote:
I have a matrix and i need to assign the first column as a second column in another matrix , can this be done without identifying each individual element?
In the example above id like to be able to create matrix D without having to specify every element from matricies A and B . Hopefully with the output as per matrix C.
Thanks ,
Ross
In addition to augment (and stack), you could also use the column and row operators to set entire array columns and rows, even if the array doesn't already exist.
Stuart