Info

This question is closed. Reopen it to edit or answer.

error message Subscripted assignment dimension mismatch is showing.....

1 view (last 30 days)
for j=1:l+1
instt(1,:)=pir(1,:);
instt(j)=13;
for w=(j+1):(l+1)
instt(w)=pir(w-1);
end
instt;
end
i want to insert 13 to all possible position in the array pir (instt is the array used to store the result and to print it).
the error message is :Subscripted assignment dimension mismatch. it will be a great help if got to know why this happen,please help me......

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!