Questions tagged [matlab]
Use of Matlab to solve engineering problems.
119
questions
2
votes
1
answer
1k
views
Nyquist plot - what is the meaning of circles with dB values on complex plane
Let's start with arbitrary transfer function as an example, such as:
obj = tf([1 2],[1 0 2 5]);
nyquist(obj);
grid on;
axis([-2 2 -2 2]); axis equal
As far as I ...
5
votes
1
answer
169
views
dSPACE compiler linker error -- fscanf undefined
I'm dealing with a somewhat intractable problem. We're running dSPACE 7.4 (RTI 1006) on MATLAB 2011a, which I understand uses the dSPACE DS1006 C Compiler v. 2.2. When I try to compile one of our ...
0
votes
1
answer
153
views
dSpace overrun issue
I'd like to ask you if a C mex s-function model in Simulink can get the dSpace execution time lower, rather than having a model with blocks and functions.
0
votes
1
answer
92
views
i have problem with cartesian coordinates pendulum EOM in matlab [closed]
I made my code like this,
...
1
vote
2
answers
1k
views
Calculating a derivative in a loop?
I am not sure where else to post this, so here goes.
I have a velocity profile ($v_{\phi}$) for a radial distance ($r$). From this velocity profile I am trying calculate the shear rate ($y$) which ...
-1
votes
1
answer
235
views
Matlab Polynomial Curve Fitting with Known Relationship [closed]
So, I have this matlab problem, and I'm totally lost. Below, you will find my attempt. We are supposed to fit a polynomial curve to the data, but I'm a bit confused as to how the to get a polynomial ...
3
votes
1
answer
5k
views
What are the Singular Values of a dynamic system and how are they calculated in the *sigma* function in Matlab?
According to Matlab documentation:
sigma plots the singular values of the frequency response of a dynamic system.
bode creates a Bode plot of the frequency response of a dynamic system.
I am ...
2
votes
1
answer
1k
views
Design op-amp circuit from transfer function? [closed]
What is the best way to design a circuit based on the following transfer function: (0.0364*s)/(0.0002*s + 1) ? I am trying to design the derivative stage of a PIDF controller using op-amps
EDIT: This ...
2
votes
0
answers
65
views
calculate output $y(t)$ from $Y(z)$ having discrete closed loop model with sine input - residue method
I have closed loop - discrete model. This is how it looks in matlab:
I need to compute analitically output $y(t)$ (same as in the Matlab's scope) having $Y(z)$.
Where
$Y(z)=U(z)*G(z)$
Input is sine ...
2
votes
1
answer
1k
views
Question on sketching nyquist plot of transfer function with poles on imaginary axis
I have encountered some issues with sketching the nyquist plot for the following loop transfer function:
$L(s) = \frac{25K}{S^2+25}$
I know that you first take:
$L(\omega=0) = K$
$L(\omega = ...
0
votes
1
answer
47
views
System Identification Toolbox - How is the quality of the model output calculated?
I'm searching for the calculation of the quality of the estimated model output compared to the measured data. I'm working with the System Identification Toolbox. You can see an example here http://de....
2
votes
1
answer
219
views
Active suspension with accelerometers and displacement observer/estimator problem
I faced a logical dilemma, while designing and simulating Active suspension system.
This is what I have planned:
My system will be controlling actuators of a vehicle, using PI.
It is 2nd order ...
4
votes
1
answer
865
views
Is it normal to get different solutions with different ODE methods in MATLAB simulink?
I made a block diagram using simulink. When I solve it with ode45 and ode23 it gives me different graphs. Is it normal? Should I use the proper one?
...
1
vote
1
answer
1k
views
Closed loop response of a discrete system
I have trasfer functions of a plant and a controller in laplace domain. I checked for the closed loop response by applying a step response. The system is found to be stable.
I checked the response ...
6
votes
1
answer
995
views
mass calculation from transfer function or bodeplot
I have a double mass rotary model. The two masses are connected by an axis which together acts as a spring damper system of the fourth order. The system is actuated by a motor and the angle of ...
3
votes
1
answer
666
views
How do I create a graph of the phase angle and response of a harmonic excitation in Matlab?
In my course of dynamics of structures, I am struggling with some basic principles. As a practice, I am plotting (or attempting to plot) the curves that are shown in the course book, with the help of ...
6
votes
1
answer
199
views
Programmable parameter change of Pro/E simulation by using Excel VBA , Matlab, Labview or Pro/E own function
Now, I've been conducting beam simulation by using Pro/E.
I would like to change payload(force) of beam step by step, and then plot the relation between deflection and payload(load range : 50kg to ...
2
votes
1
answer
1k
views
How to import a CATIA assembly into SimMechanics
I need to import an assembly from CATIA into SimMechanics but in CATIA, the .stl file format is available only for part files and not for assembly files. How can I do this? Is it possible to convert ...
2
votes
0
answers
704
views
Export simulink sdi dataset from MATLAB 2015b
I have used the Simulation Data Inspector in Simulink to log a dataset of two time varying signals.
The only option I see concerning exporting is to .mat or to workspace, which basically produce the ...