photo

Ivan Dwi Putra


Last seen: nästan 4 år ago Active since 2020

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3
  • First Review
  • First Answer

View badges

Feeds

View by

Question


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

nästan 4 år ago | 1 answer | 0

1

answer

Question


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

nästan 4 år ago | 1 answer | 0

1

answer

Question


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

nästan 4 år ago | 0 answers | 0

0

answers

Question


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

nästan 4 år ago | 1 answer | 0

1

answer

Question


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

nästan 4 år ago | 1 answer | 0

1

answer

Question


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

ungefär 4 år ago | 1 answer | 0

1

answer

Question


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

ungefär 4 år ago | 0 answers | 0

0

answers

Question


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

ungefär 4 år ago | 0 answers | 0

0

answers

Question


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

ungefär 4 år ago | 1 answer | 0

1

answer

Question


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

ungefär 4 år ago | 0 answers | 0

0

answers

Question


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

ungefär 4 år ago | 1 answer | 0

1

answer

Question


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

ungefär 4 år ago | 0 answers | 0

0

answers

Question


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

ungefär 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 0 answers | 0

0

answers

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

mer än 4 år 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...

mer än 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 0 answers | 0

0

answers

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

mer än 4 år ago | 0 answers | 0

0

answers

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

mer än 4 år ago | 0 answers | 0

0

answers

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

mer än 4 år ago | 0 answers | 0

0

answers

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

mer än 4 år ago | 0 answers | 0

0

answers

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

mer än 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 0 answers | 0

0

answers

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

mer än 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 0 answers | 0

0

answers

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

mer än 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 0 answers | 0

0

answers

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

mer än 4 år ago | 0

Load more