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

 采纳的回答

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 Exchange 中查找有关 Introduction 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