I have an array M [100000*3]. I want to create a new array where the one dimension will be the 1st column of the array M, the 2nd dimension will be the second column and the values of this new array will be taken from the third column. Some values of the new array will be zero/null. how do i convert the original array to new?
MATLAB: Convert an array to a new
matrix array
Related Question
- How to change the matrix size and value in matlab code
- How to use a vector as indices for matrix
- How to select n rows every m rows
- How to find out the index of the list for each number
- Converting input matrix A with size 4×3 into B matrix with size 12×3 with coordinates in matrix A
- How to use values vectors to do element-by-element indexing in a matrix
Best Answer