Réponse apportée
How Can I add input disturbance for a given specific time gap on a second order transfer function
Do either of these options do what you're looking for? s=tf('s'); wn=6; z=2/3; Gs=wn^2/(s^2+2*z*wn*s+wn^2); % define a ti...

presque 6 ans il y a | 0

Réponse apportée
Analysis of the stability of the system characterized by the transfer function
Does this do what you want: >> nyquist(G) >> [P,Z]=pzmap(G);hold on;plot(real(P),imag(P),'x'),plot(real(Z),imag(Z),'o')

presque 6 ans il y a | 0

Réponse apportée
eigen value of the transfer function 2x2 matrix
If you want to use the symbolic appoach, why not just create a matlab function to evaluate lambda(2) and then create the plot us...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Why do I get different outputs with bilinear and c2d(sysc,Ts,'Tustin') MATLAB functions?
The state space realization of a linear system is not unique. However, you can compare the results from both methods and show t...

presque 6 ans il y a | 0

Réponse apportée
simulation on matlab (not on simulink)
If have the a license for the Control System Toolbox you can use the connect function to build the model you want from a block d...

presque 6 ans il y a | 0

Réponse apportée
Easier way to remove a response from a response plot (bodeplot, stepplot, etc.)?
Does this do what you want: delete(h.Responses(idx))

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How to compute control system's performance parameters?
stepinfo(y,t) If you want to use the output from step. Note that stepinfo using the transfer function gives a peculiar result ...

presque 6 ans il y a | 0

Réponse apportée
convolution of Heaviside function
Why are do you have a negative sign in the equation for c? You need to scale the discrete convolution, i.e., the output of conv...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
I want to simulate with various input.
As a general approach, you can compute the impulse response of the product of the transfer function and the input. H = tf(1,[1 ...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Initial Conditions for first derivative defined as a transfer function
Rob, a. from your clarificatiion, it sounds like you really have a linear, time varying system. So you don't have a transfer fu...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
What frustrates you about MATLAB? #2
The documentation. I hate to say that because I do think that TMW puts a lot of effort into the documentation, which makes it a...

environ 6 ans il y a | 2

Réponse apportée
What frustrates you about MATLAB? #2
When the debugger stops at a breakpoint, why does the focus and cursor go to the breakpoint, as opposed to the command line? I a...

environ 6 ans il y a | 2

Réponse apportée
Number of necessary time steps to handle a Zero-Crossing?
I will speculate on what is happening here. One comment applicable to all three cases is that none of the models involve states...

environ 6 ans il y a | 0

Réponse apportée
Block parameter and values in simulink
get_param(gcb,'DialogParameters') That function returns a struct with all of the dialog parameters for the current block. Or re...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Why is my MATLAB's bode plot wildly off?
How do you know what the correct Bode plot is that your taking as your reference for comparison? Basically repeating from Star'...

environ 6 ans il y a | 0

Question


Why Do Some Blocks in the Discrecte Library Not Have a Sample Time Parameter?
The doc page "Blocks for Which Sample Time is Not Recommended" has a section "Appropriate Bocks for the Sample Time Parameter" t...

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

1

réponse

Question


Why is a Number Divided by Itself Not Equal to Unity?
w=0:(pi/100):pi; w = w([17 66 93]); x = exp(1i*w); x./x ans = 1.0000e+00 + 4.8645e-17i 1.0000e+00 - 4.9461e-17i ...

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

1

réponse

Réponse apportée
why freqz with b [1] is different from freqz with b [1,0]
They should be equivalent and it appears that they basically are: >> which freqz -all C:\Program Files\MATLAB\R2019a\toolbox\s...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Strange behaviour of step response (unstable system)
When you do transfer function math like this, matlab doesn't attempt to deal with poles and zeros that should cancel. Then you c...

environ 6 ans il y a | 2

| A accepté

Réponse apportée
Integrator State Port: Why is its use restricted?
Only answering the third, supplementary question .... I think I was able to do what you want without using integrator reset at ...

environ 6 ans il y a | 0

Question


Should mvnrnd Always Advance the State of the Global Stream
Consider the following: >> mu=[1 1]; Sigma=eye(2); rng('default') preu1 = rand(1,3); n1 = mvnrnd(mu,Sigma); u1 = rand(1,3);...

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

1

réponse

Réponse apportée
freqresp gives wrong output for purely real inputs
evalfr evalutes the transfer function at the value of the input argument, which can be an arbitrary complex number. For your exa...

environ 6 ans il y a | 1

Réponse apportée
using ss2tf command
Are you sure f is known? It looks like f is the input to you system, in which case your B matirix should be B = [0;1/m] You di...

environ 6 ans il y a | 0

Question


Is There a Way to Execute splitapply Functionality on Subtables of Master Table?
Suppose I have a function that operates on a table and returns a row vector: function rowvec = myfunc(Table) Suppose I have a ...

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

1

réponse

Réponse apportée
How can I programatically change the transfer function of an LTI block in Simulink and then linearize the system?
Not sure why you're getting that error message, but it seems you can use a simple approach altogether. Just set the 'LTI system...

environ 6 ans il y a | 0

Question


How Do I Use a Structure as the Value in a Constant Block to Form a Bus?
I have a Simulink model with a Constant block feeding a scope. The Contant Value parameter is set to foo, a struct defined this ...

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

1

réponse

Question


Why Does Simulink Model Sometimes Pause Unexpectedly?
I have a Simulink model that very occasionally decides to pause on its own. As far as I know, I don't have anything in the mode...

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

1

réponse

Question


How do I Trace a Warning in the Simulink Diagnostic Viewer to the Block that Generated It?
I'm running my simulation and I get the following warning in the Diagnostic Viewer: Altitude is out of range. Valid altitudes a...

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

1

réponse

Question


Why does changing a Subsystem Variant cause code regeneration/recompilation and are there any alternatives?
When Subsystem Variants (and Model Reference) variants first arrived, it was apparent that changing the active variant would cau...

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

0

réponse

A résolu


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

plus de 13 ans il y a

Charger plus