Community Profile

photo

Paul


Last seen: 3 days ago
59 total contributions since 2011

Paul's Badges

  • Thankful Level 2
  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer
  • Solver

View details...

Contributions in
View by

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

4 days ago | 0

| accepted

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

6 days ago | 0

| accepted

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

9 days ago | 0

| accepted

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

9 days ago | 0

Answered
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)

10 days ago | 1

| accepted

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

11 days ago | 0

| accepted

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

13 days ago | 2 answers | 1

2

answers

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

13 days ago | 1 answer | 2

1

answer

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

16 days ago | 1

| accepted

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

20 days ago | 0

Answered
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')

25 days ago | 0

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

25 days ago | 0

| accepted

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

1 month ago | 0

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

2 months ago | 0

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

2 months ago | 0

| accepted

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

2 months ago | 0

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

2 months ago | 1

| accepted

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

2 months ago | 0

| accepted

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

2 months ago | 0

| accepted

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

2 months ago | 1

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

3 months ago | 1

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

3 months ago | 0

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

3 months ago | 0

| accepted

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

3 months ago | 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...

3 months ago | 1 answer | 0

1

answer

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

3 months ago | 1 answer | 1

1

answer

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

3 months ago | 0

| accepted

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

3 months ago | 2

| accepted

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

3 months ago | 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);...

4 months ago | 1 answer | 0

1

answer

Load more