Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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......

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by