Community Profile

photo

Hosein Jeddi


Last seen: 2年弱 前 2021 年からアクティブ

統計

  • Thankful Level 1

バッジを表示

Content Feed

表示方法

質問


The size of the indicated variable or array appears to be changing with each loop iteration. Commonly, this message appears because an array is growing by assignment or concat
clc clear h = 1; r = 0:h:20; z = 0:h:20; [rgrid,zgrid] = meshgrid(r,z); zgrid = flip(zgrid); b1=[]; for i=1:s...

2年以上 前 | 1 件の回答 | 0

1

回答

質問


Subscripted assignment dimension mismatch.
hello a=[0 1;0 0]; b=[0;1]; q1=10; q2=1; r=1; N=3; S(3)=1; Q=[q1 q2;q2 q1]; for k=2:-1:0 K(k,:)=inv((b'*S(k+1)*b...

約3年 前 | 1 件の回答 | 0

1

回答