Tracking the size of a variable

1 view (last 30 days)
Matthew Hunt
Matthew Hunt on 20 Mar 2019
Answered: Rik on 20 Mar 2019
Hi,
I have a vector of length 200. When I run my program it somehow halfs in length, and I have no idea why. Is there a way of tracking this to see when it changes.

Answers (1)

Rik
Rik on 20 Mar 2019
Yes. Set a break-point at the beginning of your function and go through your code step by step.

Community Treasure Hunt

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

Start Hunting!