Why no plot?

24 visualizzazioni (ultimi 30 giorni)
Stelios Fanourakis
Stelios Fanourakis il 17 Set 2017
Commentato: Jan il 17 Set 2017
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(:,k),M(:,k),P(:,k))
  1 Commento
Jan
Jan il 17 Set 2017
I is confusing that you use D as limit of the loop and to collect an output.

Accedi per commentare.

Risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by