I have one matrix A=[1 2 1 3 3 2 2 1 3 ] and another matrix B=[72 24 67]. Now want to generate new matrix with the values i.e 1=72 , 2=24 and 3=67 with similar index number of A. The new A matrix will be, A_new=[72 24 72 67 67 24 24 72 67]. How I will be getting this new matrix of A_new?Please help me to solve this
MATLAB: How to store values in matrix with similar index number of other matrix
indexmatrixstoring
Related Question
- How to split an array by same length and make a matrix
- Find similar element in a matrix
- How to make each pair of pixels from the matrix in a row major order
- Similar matrix multiplication speed up
- Find similar elements in a matrix
- How can find a same values in another matrix and copy the row
- Find similar values in a matrix
Best Answer