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

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......

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 29 Nov. 2015

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by