I have a 3-dimensional array A which has 450 rows,210 coulms, 4 layers. I want to make a regression between A(450,210,1) and A(450,210,3), A(450,210,2) and A(450,210,4). For that I need to convert the array to 4 vecotrs. I don't know how to do that. I tried Reshape function but couldn't get what I want. Any help is appericiated.
MATLAB: Array to vector conversion
permuteregressionreshape
Related Question
- Matrix manipulation, turning a column vector into a square matrix
- How to convert a vector to a matrix in Matlab
- How could I extract last column in a matrix if I don’t know the size of matrix
- Please help, indexing of ND-Dimensional matrices
- How do i create a 1D array that has 100 rows, 100 columns and 3 layers
Best Answer