Feeds
提问
How to use if else for terms
I have code to plot Position, Velocity and Torque clear all; close all; clc; %% Initialization S0= 0; T0 = 0; %% Paramete...
4 years 前 | 1 个回答 | 0
1
个回答提问
Error Using video Writer Frame Must be 560 by 420
I make simple animate moving vehicle. This is my code clear all; close all; clc; %Untuk bikin video percobaan lurus dituker ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Animation Vehicle Error Text Overlapping Each Other
I want animate simple of moving vehicle with delta of distance in vehicle 1 to vehicle 2 until vehicle 6 to vehicle 7, my proble...
4 years 前 | 0 个回答 | 0
0
个回答提问
Help Plotting Moving Object
Dear all, I am doing project about train simulation, I need literature about how to draw moving objects like cars in matlab. T...
4 years 前 | 1 个回答 | 0
1
个回答提问
Too Many Input Arguments
I have checked the number of arguments in the traindiscretemodel function and in the main Train_PF program the number is the sam...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to Simulate Nonlinear Model Discrete Time?
This is My Nonlinear Model function [PositionN, VelocityN, TorqueN] = traindiscretemodel(u,Tim_step,Position,Velocity,Torque,Ma...
4 years 前 | 1 个回答 | 0
1
个回答提问
Error using barrier Objective function is undefined at initial point. Fmincon cannot continue. Error fmincon (line 848)
I run my main program Train_PF.m. In my main program Train_PF.m , I have declared the initial point u0 as initial point. But the...
4 years 前 | 0 个回答 | 0
0
个回答提问
How to solve fmincon error line 848?
This is the error Warning: Integer operands are required for colon operator when used as index. > In Train_PF (line 23) ...
4 years 前 | 0 个回答 | 0
0
个回答提问
Too Many Input Arguments
I implement vehicle platooning to train model This is my model stored in function function [PositionN, VelocityN, TorqueN] = t...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to change continuous state space model to discrete state space model with disturbance and display the discrete state space?
This is parameter that i used in my state space model % Parameter Massa m1 = 8095; % massa train set 1 dalam kg m2 = 8500; % ...
4 years 前 | 0 个回答 | 0
0
个回答提问
How to creating MAT file
This is my parameter % Parameter Massa m1 = 8095; % massa train set 1 dalam kg m2 = 8500; % massa train set 2 dalam kg m3 = ...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to use sostools to find S matrix in ARE
This is the parameter clear; close; clc; syms a1_head a2_head b hstar %Parameter Massa m1 = 8095; % massa train set 1 d...
4 years 前 | 0 个回答 | 0
0
个回答提问
Solve Function Doesn't Give The Solutions
This is the parameter clear; close; clc; syms a1_head a2_head b hstar %Parameter Massa m1 = 8095; % massa train set 1 d...
4 years 前 | 1 个回答 | 0
1
个回答提问
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; %...
4 years 前 | 0 个回答 | 0
0
个回答已回答
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); ...
4 years 前 | 0
提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
4 years 前 | 0 个回答 | 0
0
个回答提问
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...
4 years 前 | 0 个回答 | 0
0
个回答提问
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 ...
4 years 前 | 0 个回答 | 0
0
个回答提问
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; %...
4 years 前 | 0 个回答 | 0
0
个回答提问
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...
4 years 前 | 0 个回答 | 0
0
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 0 个回答 | 0
0
个回答提问
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 ...
4 years 前 | 1 个回答 | 0
1
个回答提问
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 = ...
4 years 前 | 0 个回答 | 0
0
个回答提问
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 =...
4 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
4 years 前 | 0 个回答 | 0
0
个回答已回答
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
4 years 前 | 0