回答済み
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...

6年弱 前 | 0

回答済み
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')

6年弱 前 | 0

回答済み
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...

6年弱 前 | 0

| 採用済み

回答済み
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...

6年弱 前 | 0

回答済み
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...

6年弱 前 | 0

回答済み
Easier way to remove a response from a response plot (bodeplot, stepplot, etc.)?
Does this do what you want: delete(h.Responses(idx))

6年弱 前 | 0

| 採用済み

回答済み
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 ...

6年弱 前 | 0

回答済み
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...

6年弱 前 | 1

| 採用済み

回答済み
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 ...

6年弱 前 | 0

| 採用済み

回答済み
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...

約6年 前 | 0

| 採用済み

回答済み
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...

約6年 前 | 2

回答済み
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...

約6年 前 | 2

回答済み
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...

約6年 前 | 0

回答済み
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...

約6年 前 | 0

| 採用済み

回答済み
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'...

約6年 前 | 0

質問


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

約6年 前 | 1 件の回答 | 0

1

回答

質問


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

約6年 前 | 1 件の回答 | 2

1

回答

回答済み
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...

約6年 前 | 0

| 採用済み

回答済み
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...

約6年 前 | 2

| 採用済み

回答済み
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 ...

約6年 前 | 0

質問


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

約6年 前 | 1 件の回答 | 0

1

回答

回答済み
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...

約6年 前 | 1

回答済み
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...

約6年 前 | 0

質問


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

約6年 前 | 1 件の回答 | 0

1

回答

回答済み
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...

約6年 前 | 0

質問


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

約6年 前 | 1 件の回答 | 0

1

回答

質問


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

6年以上 前 | 1 件の回答 | 0

1

回答

質問


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

6年以上 前 | 1 件の回答 | 0

1

回答

質問


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

11年以上 前 | 0 件の回答 | 0

0

回答

解決済み


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

13年以上 前

さらに読み込む