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. ![]() You are using the matrix in your quadratic model as the input. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |