diff options
author | yash1112 | 2017-07-07 22:03:16 +0530 |
---|---|---|
committer | yash1112 | 2017-07-07 22:03:16 +0530 |
commit | 640f9fcf3f64298c7958f4bde5a7e6a7602a690d (patch) | |
tree | f2d5c577e9c719190f2ce68c976a9acefd6611c6 /2.3-1/src/c/CACSD/lqe/dlqea.c | |
parent | e9de337a34e123749927039f7011fb30fc96f7c9 (diff) | |
parent | 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0 (diff) | |
download | Scilab2C-640f9fcf3f64298c7958f4bde5a7e6a7602a690d.tar.gz Scilab2C-640f9fcf3f64298c7958f4bde5a7e6a7602a690d.tar.bz2 Scilab2C-640f9fcf3f64298c7958f4bde5a7e6a7602a690d.zip |
Scilab2C Arduino Updated
Diffstat (limited to '2.3-1/src/c/CACSD/lqe/dlqea.c')
-rw-r--r-- | 2.3-1/src/c/CACSD/lqe/dlqea.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/2.3-1/src/c/CACSD/lqe/dlqea.c b/2.3-1/src/c/CACSD/lqe/dlqea.c index e0be5b34..06c1c6e0 100644 --- a/2.3-1/src/c/CACSD/lqe/dlqea.c +++ b/2.3-1/src/c/CACSD/lqe/dlqea.c @@ -54,7 +54,11 @@ void dlqea(double* sys, int sys_rows, int sys_cols, double* X, double* K) /*Calculate LQR gain*/ K_lqr = (double*) malloc(no_of_ip*no_of_st*sizeof(double)); +<<<<<<< HEAD dlqra(sys_lqr,sys_lqr_rows,sys_lqr_cols,NULL,NULL,NULL,X,K_lqr); +======= + dlqra(sys_lqr,sys_lqr_rows,sys_lqr_cols,X,K_lqr); +>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0 dtransposea(K_lqr,sys_rows - no_of_st,no_of_st,K); }
\ No newline at end of file |