Info

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

No error but no outcome as well

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 show nothing. No error but not outcome either. What's wrong? I am not getting the plot I am supposed to.
  2 个评论
Stephen23
Stephen23 2017-9-17
编辑:Stephen23 2017-9-17
@Stelios Fanourakis: what do you expect
D:M:P
to do? Did you read the colon documentation?

回答(0 个)

此问题已关闭。

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by