Community Profile # Bob

Last seen: 18 days ago Active since 2016

#### Statistics

All
• • • • • #### Content Feed

View by

Question

Neural Network (Warning: 'trainRatio' is not a legal parameter)?
Hi, I want to divide my data set as follows: net = feedforwardnet(10); net.divideFcn = 'divideind'; net.divideParam.trai...

21 days ago | 0 answers | 0

### 0

Question

Comprehension of this command: Matrix(~any(Matrix, 2), :) = [];
Hi, I want to remove the zeros from a Matrix (613x30) I have tried using this command Matrix(Matrix==0) = []; howoever, this...

2 months ago | 1 answer | 0

### 1

Question

How can I extract specific data from Structure Array?
Hi, I am trying to plot the Capacity (Ah) of a Battery, using this Battery Data Set. I want to extract the Capacity data f...

2 months ago | 1 answer | 0

### 1

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

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

1 year 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,...

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

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

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

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

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

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

6 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

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

### 2

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

6 years ago | 1 answer | 0

### 1

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

6 years ago | 1 answer | 0

### 1

Question

Why I get this Error (State Space)?

6 years ago | 1 answer | 0