MATLAB: Stays i always the same

for loop

Hey there!
I am struggling with a for loop.
for i=1:5
if I can changed the i=1:32 to i=1:5 and the lenght of the T_poly(i) still stays 32. Why that? It also says that the lenght of cp_poly and T_poly is not the same.
Can you please help me?
Thank you a lot

Best Answer

  • Found the answer by my self. You first have to delete the workspace.