Réponse apportée
To plot two bode diagrams, one is obtained from linearization tool and the other one is obtained from calculated transfer function, in a single figure.
There should be a Data Browser pane on the left side of the Linear Analysis Tool window. If you can't see the pane, then you mig...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Difference between randn() and awgn() in adding white noise to a signal
This seems to get closer to what you're expecting: t = linspace(0,120,8000); x = sin(2*pi*0.01.*t+pi/3).*cos(2*pi*0.01.*t+pi...

plus de 5 ans il y a | 0

Question


How Do I Determine which Group Variables Correspond to the Results of SplitApply
Suppose I use splitapply as follows, taken directly from its doc page: >> load patients >> whos Gender Height Name ...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Im confused by Matlab's dontinuous-to-discrete conversion methods and how they work
I'll give an initial answer and then come back and edit if you have any more questions. As far as the table goes: The Zero-ord...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How can I eliminate numbers with "e" in the transfer function and show them in their long form?
If you don't mind me asking, why do you want to display G10 with coefficients in their long form? If you just want to seem them...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Problem with Bode Plot of cascaded discrete time systems
I can't tell you why your result is so inaccurate; I suspect it has to do with numerical issues in how the CST develops the tf f...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Effects of Zero Order Hold in Simulink linearization
"My expectation is to obtain a continuous-time linear system whose frequency response is essentially equal to that of the discre...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Unable to properly feedback an updated signal in simulink
Is there a reason why you wan to use a feedack loop where none really exists? Keep in mind that feedback loop is sampled and th...

plus de 5 ans il y a | 0

Réponse apportée
How to solve Ax=B with some knowns in x and B
The original question that you asked is inconsistent with your comment to John's answer. The question specfies only a total of ...

presque 6 ans il y a | 0

Réponse apportée
How to plot from txt file using textscan?
I’ve been having a lot of success lately in these types of problems by using extractFileText to read it all into a string, and t...

presque 6 ans il y a | 0

Réponse apportée
Find Eigenvalues without function "eig"
roots(poly(A)) Though I’m sure one could come with an A for which this approach will fail due to numerical accuracy issues....

presque 6 ans il y a | 0

Réponse apportée
How to use matlab to calculate a gain, to a specific limit of a transfer function?
You can use evalfr(minreal(sys),f) f is the complex frequency to which you want to take the limit. The minreal is to...

presque 6 ans il y a | 0

Réponse apportée
Plotting second order ode response
f=matlabFunction(y); t=0:.001:1; plot(t,f(t)),grid If you have the Control System Toolbox: step(tf(36,[1 12 36]))

presque 6 ans il y a | 0

| A accepté

Question


Should Implicit Expansion be Applied to Additional Functions?
I know that some don't like implicit expansion. Given that it's likely here to stay, should it be made applicable to some additi...

presque 6 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Second Order Differential Equation with Constant to Transfer Function
If c2 is a constant, there is no transfer function from U to Y because that is not the differential equation for a linear, time ...

presque 6 ans il y a | 0

Réponse apportée
what is the sampling frequency limit in 'c2d' cmd for a stable discrete system?
It appears to be a numerical issue when using c2d with you transfer function model. Try converting to state space first: sys = ...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
c2d function 'zoh' method formula
I suspect that in your first case for C the substitution you cite is only applicable because of the form of C. In general, the Z...

presque 6 ans il y a | 0

| A accepté

Question


How Can I Save a Struct Array to a Text File?
I have a struct array. Each field in the struct arrray is a column vector, and the column vectors are of unequal lengths. s(1)...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


How Can I Zoom with Multiple Axes on a Plot
I create a plot and add a secondary x-axis. The code for the secondary x-axis came from dbp in a post that for the life of me I...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Diagonalising a Skew-Symmetric Matrix
For your matrix B, you can diagonalize it and get the associated trasnsformation matrix as follows: [T,J]=jordan(B); any(any...

presque 6 ans il y a | 0

Réponse apportée
Delayed step/ impulse response
Use the time invariance and lineraity properties of an LTI system. One approach is to generate the the nominal impulse or step r...

presque 6 ans il y a | 0

Réponse apportée
simulink/simscape final state 'cannot find a matching block state to element 135' output by the same model
Are you trying to use operatining points? If you are: Comparing your code to the examples in that link to the doc two things st...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How to obtain output data sample given the input data samples and a transfer function in Z-domain?
G=tf(2,[1 1],-1,'Variable','z^-1') G = 2 -------- 1 + z^-1 Sample time: unspecified Discrete-time transfe...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How to start a simulation in steady-state ?
Is this what you're looking for? https://www.mathworks.com/help/simulink/ug/saving-and-restoring-simulation-operating-point.htm...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Symbolic seems to have an error
The RHS of your differential equation should be 3*u. In the frequency domain, Y(s) = H(s)*U(s). It looks like you're trying to ...

presque 6 ans il y a | 0

Réponse apportée
How can i plot a impulse response based on z-transfer function or difference equation
G = tf([1 2 3 0 0],[1 0 0 0 -1],-1); impulse(G,20)

presque 6 ans il y a | 1

| A accepté

Réponse apportée
How to solve a transfer function equation in Matlab
The function allmargin in the Control System Toolbox solves for abs(H(jw)) = 1 (among other things) >> G G = ...

presque 6 ans il y a | 0

| A accepté

Question


Is there a Way to Determine Which Function Will be Called Without Actually Calling the Function ?
Suppose there is a function myfunc that has many instantiations on the path because of overloading. Is there a way to determine ...

presque 6 ans il y a | 2 réponses | 1

2

réponses

Question


Can the Font Size of an Axis Label be Reliably Determined Programatically
AFAICT, there are three ways to set the font size of an axis label and there are three ways to get the font size of an axis labl...

presque 6 ans il y a | 1 réponse | 2

1

réponse

Réponse apportée
Magnitude and Phase response of a Lowpass filter
it sounds like there are two issues here: 1. estimating a frequency response using test inputs, 2. what does lowpass do. Let's t...

presque 6 ans il y a | 1

| A accepté

Charger plus