Community Profile

# Bob

Last seen: 10 days ago Active since 2016

All

#### Content Feed

View by

Question

Do I use the "for loop" correct or efficiently?
Is there a better way or more efficient? n = 3500; t_s = 0; t_f = 3500; t = linspace(t_s,t_f,n); a = zeros(1,n); ...

5 months ago | 1 answer | 0

### 1

Question

How to find the TF of a House Heating System. (New and I need help)
I would appreciate if somebody could explain me, how can I find the Transfer Function from the Heating System below? I don't kn...

10 months ago | 1 answer | 0

### 1

Question

Stability of Transfer Function
Hello, I can't understand how to define the stability of a Transfer Function (Stable, Unstable or Marginally Stable) f(t) = 0,...

11 months ago | 0 answers | 0

### 0

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

3 years ago | 0 answers | 0

### 0

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

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

5 years ago | 1 answer | 0

### 1

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

5 years ago | 1 answer | 0

### 1

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

5 years ago | 1 answer | 0

### 1

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

5 years ago | 1 answer | 0

### 1

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

5 years ago | 1 answer | 0

### 1

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

5 years ago | 0 answers | 0

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

6 years ago | 1 answer | 0

### 1

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

6 years ago | 2 answers | 0

### 2

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

6 years ago

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]

6 years ago

Solved

Given a and b, return the sum a+b in c.

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

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

6 years 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:...

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

6 years ago | 2 answers | 0

### 2

Question

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

6 years ago | 1 answer | 0

### 1

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

6 years ago | 1 answer | 0

### 1

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

6 years ago | 1 answer | 0

### 1

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

6 years ago | 1 answer | 0

### 1

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

6 years ago | 1 answer | 0

### 1

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

6 years ago | 3 answers | 0

### 3

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

6 years ago | 1 answer | 0

### 1

Question

How to filter? (Kalman, Narrow Bandpass , Low Pass)
Hello, I have a signal which I need to filter them with three filters.

6 years ago | 1 answer | 0

### 1

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

6 years ago | 2 answers | 0