Hello, For example I have the matrix A = [1 2 3 4 5 6 7 8 9 10…..10000]. And I want to save in a matrix B(k) where B(1) = the first 20 elements of A so B(1) = [1…20], B(2) = [21…40], B(3) = [41…60] etc… Thank you 🙂
MATLAB: Save part of an array
arraymatrixmatrix manipulationpart of matrixsave part matrix
Related Question
- N=A(B) where A and B are matrices
- How to find cell position in a column based on sum of column.
- Multiplication of Sparse complex matrix and a full matrix
- Trying to iterate through a vector changing the value of 1/5 in each iteration
- Overwrite matrix A with matrix B (which has another size)
- Coloring of different index/numbered points
- Hi, I have a 300×300 array of data in the workspace as a result of running the code. This large array contains mostly -1.000000 values but also some values that are not -1.00000 that are useful to me. How to pick out these values from the array?Tnx
Best Answer