This question is closed. Reopen it to edit or answer.
index exceeds matrix demension
1 view (last 30 days)
while i <= 20
ax = gca;
ax.YAxisLocation = 'origin';
keep on getting index exceeds matrix demension... could you please help??
Image Analyst on 4 Feb 2018
Your 4 vectors have a length less than 20. Before the loop put this, and you'll see (in the command window)
Do they all go up to 20? No, evidently not or you wouldn't be getting an error message. If you still need help, attach your xi, xj, yi, and yj.