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

circa un anno 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...

circa 3 anni 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...

oltre 3 anni 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. ...

oltre 3 anni 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...

oltre 3 anni 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...

oltre 3 anni 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>> ...

oltre 3 anni 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...

oltre 3 anni 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...

oltre 3 anni 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-...

oltre 3 anni 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]

oltre 3 anni 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 ...

oltre 3 anni 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...

oltre 3 anni 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:...

oltre 3 anni 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...

oltre 3 anni 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...

oltre 3 anni 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" ...

oltre 3 anni 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...

oltre 3 anni 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...

oltre 3 anni 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...

oltre 3 anni 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

oltre 3 anni 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...

oltre 3 anni 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.

oltre 3 anni 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]...

oltre 3 anni 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('...

oltre 3 anni 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; % ...

oltre 3 anni ago | 1 answer | 0

Question

Why I get this Error (State Space)?

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

oltre 3 anni ago | 1 answer | 0

Question

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

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

oltre 3 anni ago | 1 answer | 0