Clear Filters
Clear Filters

while truncating the original matrix size changes and error shows index in position 1 exceeds array bound

2 views (last 30 days)
I have a matrix of size 936X64 after 2d dft. when when i try to retain only the rows from 799 to 935. it shows the error index in position 1 exceeds array bound (must not exceed 234).

Answers (1)

Pratham Shah
Pratham Shah on 27 Mar 2023
Mention the command that you are using to extract it.
You can try
arr(799:end,:);

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!