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);

 Réponse acceptée

James Tursa
James Tursa le 7 Déc 2018
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

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by