Community Profile

photo

Ivan Dwi Putra


Last seen: mehr als 3 Jahre vor Aktiv seit 2020

Statistiken

  • Thankful Level 3
  • First Review
  • First Answer

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to Simulate Nonlinear Model Discrete Time?
This is My Nonlinear Model function [PositionN, VelocityN, TorqueN] = traindiscretemodel(u,Tim_step,Position,Velocity,Torque,Ma...

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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) ...

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Too Many Input Arguments
I implement vehicle platooning to train model This is my model stored in function function [PositionN, VelocityN, TorqueN] = t...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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; % ...

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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 = ...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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; %...

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
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); ...

fast 4 Jahre vor | 0

Frage


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...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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 ...

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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; %...

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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 ...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 = ...

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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 =...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
Find S value in Algebra Ricatti Equation LQR
I want find s1 until s16 value in S matrix

fast 4 Jahre vor | 0

Mehr laden