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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 0