Question

How can I set the Vehicle Parameters and get Displacement/Velocity/Acceleration Plots of Front Assembly Suspension (MSC ADAMS / MATLAB / SIMULINK / CO-SIMULATION)

Hello, For a start, I used MSC Adams to create an Assembly of a Front Suspension. In addition to this, I want to set the ...

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

Answered

How can I use ODE45 output to evaluate on each time a function inside a the Odefun

Dear Juan Luis Chacon, Could you please help me with the topic below? <http://www.mathworks.com/matlabcentral/answers/1219...

How can I use ODE45 output to evaluate on each time a function inside a the Odefun

Dear Juan Luis Chacon, Could you please help me with the topic below? <http://www.mathworks.com/matlabcentral/answers/1219...

nästan 4 år ago | 0

Question

How can I change the name of a variable?

I want to change the name of a variable, X which is the output from my simulink model, according to my input variable, np. Fo...

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

Question

How do I use as an input specific values?

I have an output data from a simulink model. I want to save the output data inside a loop for a two different input values. ...

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

Question

How can I save specific range of my data?

I have two variables as output from a simulink model, A and B. A has 500001 rows and 1 column (5000001x1 double) B has 5...

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

Question

How can I save multiple Data.mat from an Simulink Model Output;

I have an output data from a simulink model. I want to save the output data inside a loop for a different input variable. How ca...

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

Question

Why we use Transfer Function to represent/describe a Dynamic Model?

Why we use Transfer Function to represent/describe a Dynamic Model? <</matlabcentral/answers/uploaded_files/51553/1.png>> ...

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

Question

How can a Two DOF System be unstable? ("Warning: The closed-loop system is unstable")

How can a 2 DOF System be unstable? ("Warning: The closed-loop system is unstable") I am trying to find the Gain Margin so th...

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

Question

2 DOF System is unstable? "Warning: The closed-loop system is unstable"

I want to find the gain margin so I can calculate the parameters (kp,ki,kd) of ZN method. But I got this error. <</matlabcent...

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

Question

How can I get more accurate results when I am integrating Time and Acceleration with Cumtrapz?

My Data consists of Time, Acceleration, Velocity and Displacement. I want to calculate the equation xr. xr = (m2*x2ddot-...

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

Solved

Reverse the vector

Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

mer än 4 år ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

mer än 4 år ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

mer än 4 år ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

mer än 4 år ago

Question

How can I get the transfer function G(s) = (X2(s)-W(s))/W(s)

According to the site below, how can I get the transfer function G(s) = (X2(s)-W(s))/W(s) <http://ctms.engin.umich.edu/CTMS/i...

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

Question

Why I get different result at Simulink? (Matlab, Simulink)

Why I get different results? (Matlab, Simulink) My problem is that I get different results with Matlab (Transfer Function) an...

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

Question

How can I change the "Set Point"? (Feedback)

How can I change the "Set Point"? (Feedback) I assume "0" is the default? Can I set for example the "Set Point" to "1" ...

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

Question

Why I get different values when I integrate a function (by my hand-Displacement Positive & Negative, cumtrapz-Displacement Positive)?

Why I get different values when I integrate a function (by my hand, cumtrapz)? As you can see below, there is a very big dif...

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

Question

How can I simulate time response of dynamic system to arbitrary inputs without shown the arbitary input on my plot?

How can I simulate time response of dynamic system to arbitrary inputs without shown the arbitary input on my plot? H = [tf...

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

Question

How can I adjust a controller?

I am trying to adjust a controller according to the method above. <https://en.wikipedia.org/wiki/Ziegler%25E2%2580%2593Nichol...

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

Question

Can I solve symbolic mathematical operations with matlab?

For instance: (a+b)^2 a^2 + 2*a*b + b^2 (a+b+c)^2 a^2 + b^2 + c^2 + 2*a*b + 2*b*c + 2*a*c

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

Question

What Magnitude(db) and Phase(deg) represent on Bode Diagram?

What Magnitude(db) and Phase(deg) represent on Bode Diagram? I am working on 2 DOF System and I want to understand some basic...

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

Question

How to filter? (Kalman, Narrow Bandpass , Low Pass)

Hello, I have a signal which I need to filter them with three filters.

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

Question

How can I get the 2 highest peaks ?

1)How can I get the 2 peaks from the picture below? Because these commands gives me the only the highest. [gpeakG1,fpeakG1]...

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

Question

How can I get the FFT (Amplitude - Frequency) from Time (s) - Acceleartion(m/s^2) data?

%% clc; clear all; close all; %% Time = xlsread('Data','A2:A513'); % Time (s) Acceleration = xlsread('...

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

Question

Why I get the wrong peak from bode plot?

%% Parameters m1 = 2500; % (kg) m2 = 320; % (kg) k1 = 80000; % (N/m) k2 = 500000; % (N/m) b1 = 350; % ...

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

Question

Why I get this Error (State Space)?

<</matlabcentral/answers/uploaded_files/47937/Simulink.png>>

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

Question

Why I get "Fcn Block has a syntax error"?

<</matlabcentral/answers/uploaded_files/47888/FcnSyntaxError.png>>

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