LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LABVIEW program for Riccati equation

Solved!
Go to solution

Hi,I want to change the Riccati Equation from "-R^-1B^TPx" into "-R^-1B^T(P+delta rho)x". How I can make the VI in LABVIEW for this Riccati Equation or what should I add in LABVIEW VI for this Riccati equation.

Thanks

0 Kudos
Message 1 of 6
(3,016 Views)

Are you just trying to implement the equation into labview? Can you post a picture of the equation? Im not sure whether or not there are cascading powers from what you have typed (use spaces and asterisks) 

 

otherwise, is this how you want your equation

 

-(B^(T(P + δ ρ)) x)/R

 

or like this

 

-(B^T ((P + δ ρ) x))/R

0 Kudos
Message 2 of 6
(2,942 Views)

Yes, Plz Find an attachment which include the Riccati Equation which I am trying to implement the equation into labview.

Best Regards

0 Kudos
Message 3 of 6
(2,914 Views)
0 Kudos
Message 4 of 6
(2,911 Views)
Solution
Accepted by topic author tehseen172

to be honest this will work but there might be a more elegant solution (like putting everything over R instead of multiplying it at the start)

 

delta.PNG

0 Kudos
Message 5 of 6
(2,890 Views)

You could also use Matlab script function in LabVIEW (Assuming youve got matlab installed) and run it through there with something like

 

R =
T =
B =
P =
Delta =
x =


u = -R^-1 * B^T * (P+Delta) * x ;

0 Kudos
Message 6 of 6
(2,885 Views)