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

 採用された回答

James Tursa
James Tursa 2018 年 12 月 7 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by