I am getting an error in function definition.

Attempt to execute SCRIPT gen_Kalman_coefs as a function:
Error in gen_Kalman_coefs (line 29)
[Kph, Kf] = gen_Kalman_coefs (R, Q, S0, F, G, H, N);

 Akzeptierte Antwort

James Tursa
James Tursa am 7 Dez. 2018

0 Stimmen

gen_Kalman_coefs needs to have the proper function syntax. E.g.,
function [Kph, Kf] = gen_Kalman_coefs (R, Q, S0, F, G, H, N)
% put code here to assign stuff to Kph and Kf
end

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by