# Craig

### MathWorks

Last seen: 1 día hace Con actividad desde 2011

Followers: 0   Following: 0

All

Ver insignias

#### Feeds

Ver por

Respondida
Did the Reinforcement Learning Designer get removed?
The Reinforcement Learning Designer App is a new feature in R2021a which is currently scheduled to be release soon. It looks li...

más de 3 años hace | 1

Respondida
Plotting Points On A Nyquist Curve
This would allow you to plot points on the nyquist plot for different frequencies. sys = tf(1,[1,1,1]); nyquist(sys); ...

más de 8 años hace | 0

Respondida
What does infinite phase margin mean of a transfer function and is this even practical in the real world?
A few ways to interpret an infinite phase margin is: * you can rotate your frequency response plot on the Nyquist diagram and...

casi 9 años hace | 1

Respondida
Transfer function nyquist diagram problem
If I understand what you mean by scale/wrap. The first system has finite magnitude for all values of jw. The second system has...

casi 10 años hace | 0

Respondida
Is there a way to retain data in root locus and bode plots when saving?
Currently there is not a way to retain this information when saving the root locus or bode plot. There is an open enhancement r...

casi 10 años hace | 0

Respondida
Is there a way to save gain/damping/overshoot data from a root locus plot.
Currently this can not currently be done. I have created an ehancement request to consider this. You could however compute the...

más de 10 años hace | 0

Respondida
Create bode plot from state space in dB units?
The issue is setting the MagScale to log and using dB for units. Any magnitude less than one will be negative in dB and thus ca...

más de 10 años hace | 0

Respondida
Ho to plot inverse Nichols grid lines?
Looking at the code in function "nicchart" may help you. Note: "nichchart" is an undocumented helper function that generates the...

más de 10 años hace | 0

Respondida
How to multi-color different models in model array responses?
One option is to plot them using a loop such as: figure hold on Color = {'b','r','g','k'}; sys = rss(2,1,1,4); ...

más de 10 años hace | 0

Respondida
How can I get closed loop bode on LTI Viewer, while using SISO design tool?
Hi Karthik, You can add the analysis plots by going to the "Analysis Plots" tab in the "Controls and Estimation Tools Manager...

más de 10 años hace | 0

Resuelto

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

más de 10 años hace

Respondida
ss2tf give different results depending on version of MATLAB
Over releases algorthims are updated to improve reliability and accuracy of computations. As a result answers can differ betwee...

casi 11 años hace | 0

Respondida
Is it possible to automatically add all margins to a bode plot via script?
Currently there is not a documented API to provide this functionality. The MARGIN command may help you to workaround this issue....

casi 11 años hace | 0

Respondida
How can I change the DEFAULT line thickness on a control systems toolbox function (rlocus, bode, step, lsim, etc..)?
Currently there is no documented programmatic way of doing this. I have created an enhancement request for this functionality. ...

alrededor de 11 años hace | 0

Resuelto

Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

más de 11 años hace

Resuelto

inner product of two vectors
inner product of two vectors

más de 11 años hace

Resuelto

Given a and b, return the sum a+b in c.

más de 11 años hace

Resuelto

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

más de 11 años hace

Resuelto

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

más de 11 años hace

Resuelto

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

más de 11 años hace

Resuelto

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

más de 11 años hace

Respondida
If you have the Simulink Control Design product you can use the "linearize" command to obtain a linear model. You can then use t...

casi 12 años hace | 0

Respondida
How to find the equivalent transfer function(poles and zeros) having the Body diagram ?
The System Identification Toolbox has functions that estimate a transfer function from freqeuncy response data. For example the ...

casi 12 años hace | 0

Respondida
vector to sys transformation for bode plot
What is the dimension of the final system are you trying to get? For example, sys = tf(1,[1,1]); c = 1:10; 1...

casi 12 años hace | 0

Respondida
How to do Control System Analysis (like Bode, ...) or get Transfer Function of Simulink Model?
The product Simulink Control Design has a command called linearize which computes a linear model (e.g. a transfer function) from...

casi 12 años hace | 1

Respondida
advanced frequency domain analysis of SISO models
If you have the Optimization Toolbox you might try the function FSOVLE which is used to solve equations of the form F(x) = 0. ...

casi 12 años hace | 1

Respondida
margin bode plot lines wrong when 'TimeUnit' not seconds
This is a bug in the drawing of the margin lines when the units are not in seconds. I have created a bug report for it. Thank...

alrededor de 12 años hace | 0

Respondida
Line width
You can change the line width with the graphical interface using the plot edit mode. Select the line and right click and select ...

alrededor de 12 años hace | 0

Respondida
State Space Models (Power System)
If I understand your question correctly Z1,Z2, Z3 are effectivly external inputs. This means you should be able to append them ...

alrededor de 12 años hace | 0

Respondida
extracting values from bode()
Hi, The NY and NU sizes are based on the number IOs (inputs and outputs) your system has and would be fixed. You can compute ...

alrededor de 12 años hace | 2