Question

why when using the lqr function , the plot data appear so long?

This is my code function dx = trainmodelcontrol(t,x) %Parameter Massa m1 = 8095; % massa train set 1 dalam kg m2 = 8500; %...

1 month ago | 0 answers | 0

Answered

Make Animation in matlab and save animation in matlab

I already did that with this fra = getframe(p3); plot_i{i} = frame2im(fra); [A{i},map{i}] = rgb2ind(plot_i{i},256); ...

Make Animation in matlab and save animation in matlab

I already did that with this fra = getframe(p3); plot_i{i} = frame2im(fra); [A{i},map{i}] = rgb2ind(plot_i{i},256); ...

1 month ago | 0

Question

Make Animation in matlab and save animation in matlab

This is my code represent the my model function dx = trainfinalmodel(t,x) %Parameter Massa m1 = 8095; % massa train set 1 d...

1 month ago | 1 answer | 0

Question

How to change continuous state space model to discete state space model using fourier transform?

This is my matlab code represent my continuous state space model %Parameter Massa m1 = 8095; % massa train set 1 dalam kg m2 ...

1 month ago | 0 answers | 0

Question

How I get eigenvalues from 4x4 matrix is positive?

This is my matlab code represent the my model %Parameter Massa m1 = 8095; % massa train set 1 dalam kg m2 = 8500; % massa tra...

1 month ago | 0 answers | 0

Question

Change from continuous model to discrete model

This is my code describe continuous system %Parameter Massa m1 = 8095; % massa train set 1 dalam kg m2 = 8500; % massa train ...

1 month ago | 0 answers | 0

Question

why in graph in my lqr inversely proportional, one graph minus, one graph plus and why there is two graph zero not moving?

this is my code function dx = trainmodelcontrol(t,x) %Parameter Massa m1 = 8095; % massa train set 1 dalam kg m2 = 8500; %...

2 months ago | 0 answers | 0

Question

Change Continuous State Space MIMO Model to Discrete State Space MIMO Model without Change to Transfer Function and Using idare Function to find S matrix, K matrix and eigen value S Matrix

this is my code for my system model clear; close; clc; syms a1_head a2_head b hstar %Parameter Massa m1 = 8095; % massa...

2 months ago | 0 answers | 0

Question

change state model to transfer function and change from continuous model to discrete model

this is my code clear; close; clc; syms a1_head a2_head b hstar %Parameter Massa m1 = 8095; % massa train set 1 dalam k...

2 months ago | 1 answer | 0

Question

Error 'To Many Output Arguments

This is my code clear; close; clc; syms a1_head a2_head b hstar %Parameter Massa m1 = 8095; % massa train set 1 dalam k...

2 months ago | 1 answer | 0

Question

Input variable value to matrix

This is my code clear; close; clc; syms a1_head a2_head b hstar %Parameter Massa m1 = 8095; % massa train set 1 dalam k...

2 months ago | 1 answer | 0

Question

Find 16 variables in matrix with 16 equation in matrix

This is my code clear; close; clc; syms a1_head a2_head b hstar %Parameter Massa m1 = 8095; % massa train set 1 dalam k...

2 months ago | 0 answers | 0

Question

Error struct with field

This i smy matlab code clear; close; clc; syms a1_head a2_head b hstar %Parameter Massa m1 = 8095; % massa train set 1 ...

2 months ago | 1 answer | 0

Question

Find Q and R matriks to get eigenvalue positive

My code clear; close; clc; syms a1_head a2_head b hstar %Parameter Massa m1 = 8095; % massa train set 1 dalam kg m2 = ...

2 months ago | 0 answers | 0

Question

Make array of coordinates from matrix and make the animation of moving coordinate one by one

I have the code like this function dx = trainfinalmodel(t,x) %Parameter Massa m1 = 8095; % massa train set 1 dalam kg m2 =...

2 months ago | 1 answer | 0

Question

Use fanimator to animation a dynamic model

I want to use fanimator but i don't understand the fanimator this is my code function dx = trainfinalmodel(t,x) %Parameter ...

2 months ago | 0 answers | 0

Answered

Find S value in Algebra Ricatti Equation LQR

I want find s1 until s16 value in S matrix

Find S value in Algebra Ricatti Equation LQR

I want find s1 until s16 value in S matrix

3 months ago | 0

Question

Find S value in Algebra Ricatti Equation LQR

I have code like that In that code i want find S matriks Value with left_ARE = Right_are it can? clear; close; clc; syms a1...

3 months ago | 1 answer | 0

Answered

How can I fix this error - "Error using / Matrix dimensions must agree"

I need help for my code, i have 3 question if my B matrix 2x4 dimension, the K matrix in LQR is only 1 K or there is two K1 and...

How can I fix this error - "Error using / Matrix dimensions must agree"

I need help for my code, i have 3 question if my B matrix 2x4 dimension, the K matrix in LQR is only 1 K or there is two K1 and...

3 months ago | 0