
However, in the function you have the vector g = ', which has values 0 and 1, which correspond to the first row and second row of the matrix, respectively. Since you pass the values of 1 and 5 (vector values) as input to the matlab function, then the corresponding matrix is obtained as as can be seen in the below screenshot from the documentation for the function. Students - ModelSim PE Student Edition 10. You are using the matrix in your quadratic model as the input. Modelsim Pe Student Edition 10.4 Crack' folder MaMentor Graphics ModelSim SE 10.4 English 64 bit Win 502 MB Mentor. I have changed type of control input from vector to scalar variable but that also not giving right answer. I have setuped my matlab m-file but it is not giving correct answer. I need to formulate model of linear quadratic regulator.

Model formulation and programming in matlab.
