Hi everyone!
I am having some issues with the function dare. here are the codes:
C = [1+rhox -rhox 0 ; 1 0 0 ; 0 0 rhoz];
D = [1 0 1 ; 1 0 0];
Sigma_1 = zeros(3,3);
Sigma_1(1,1) = sigma_eps^2;
Sigma_1(3,3) = sigma_eta^2;
Sigma_2 = zeros(2,2);
Sigma_2(2,2) = sigma_v^2;
P = dare(C',D',Sigma_1,Sigma_2);
As you can see, with the first lines I am defining the matrices, while last code is supposed to solve the Riccati equation in order to obtain P. The problem is that it shows the message "Undefined function 'dare' for input arguments of type 'double'", and it is asked me if I meant "date". Is it possible that my version (R2013b) doesn't include this function?
Many thanks in advance!
Ale
ps. I am sorry for the "if true" at the beginning, it has been inserted when I tried to write down the lines as code. If I try to delete it, the following lines stop being written in this manner.

 채택된 답변

Walter Roberson
Walter Roberson 2013년 10월 30일

0 개 추천

Do you have the control systems toolbox installed and licensed? What does
which -all dare
show ?

추가 답변 (1개)

Alessandro
Alessandro 2013년 10월 30일

0 개 추천

'dare' not found.
You are right... I see now that the control systems toolbox is not inserted in the Student Version, the one I am using. I suppose the only way to have this toolbox is to obtain a different license, correct?
Anyway, thank you for you kindness!

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

태그

질문:

2013년 10월 30일

답변:

2013년 10월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by