photo

Craig

MathWorks

Last seen: 6 months ago Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • Knowledgeable Level 3
  • 3 Month Streak
  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

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

3 years ago | 1

| accepted

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

8 years ago | 0

| accepted

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

9 years ago | 1

| accepted

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

9 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

| accepted

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

10 years ago | 0

| accepted

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

Solved


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

10 years ago

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

10 years ago | 0

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

10 years ago | 0

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

11 years ago | 0

Solved


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

11 years ago

Solved


inner product of two vectors
inner product of two vectors

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Answered
generating bode plot in simulink
If you have the Simulink Control Design product you can use the "linearize" command to obtain a linear model. You can then use t...

11 years ago | 0

| accepted

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

12 years ago | 0

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

12 years ago | 0

| accepted

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

12 years ago | 1

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

12 years ago | 1

| accepted

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

12 years ago | 0

| accepted

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 2

| accepted

Load more