Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Vectors must be the same lengths.

1 回表示 (過去 30 日間)
Stelios Fanourakis
Stelios Fanourakis 2017 年 9 月 17 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
for k=1:D
P_pred = A(:,k) * P(:,k) * A(:,k)' + Q(:,k);
D(:,k) = P(:,k) * A(:,k)' / P_pred;
M(:,k) = M(:,k) + D(:,k) * (M(:,k+1) - A(:,k) * M(:,k));
P(:,k) = P(:,k) + D(:,k) * (P(:,k+1) - P_pred) * D(:,k)';
end
plot(D,M,P);
It does stuck at the plot function. Last line

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by