Community Profile # Craig

### MathWorks

Last seen: 6 jours il y a Actif depuis 2011

#### Statistics

All
• • • • • • #### Content Feed

Afficher par

A répondu
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...

presque 2 ans il y a | 1

| A accepté

A répondu
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); ...

presque 7 ans il y a | 0

| A accepté

A répondu
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...

plus de 7 ans il y a | 1

| A accepté

A répondu
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...

plus de 8 ans il y a | 0

A répondu
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...

plus de 8 ans il y a | 0

A répondu
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...

presque 9 ans il y a | 0

| A accepté

A répondu
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...

presque 9 ans il y a | 0

| A accepté

A répondu
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...

presque 9 ans il y a | 0

A répondu
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); ...

presque 9 ans il y a | 0

A répondu
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...

presque 9 ans il y a | 0

A résolu

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

environ 9 ans il y a

A répondu
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...

plus de 9 ans il y a | 0

A répondu
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....

plus de 9 ans il y a | 0

A répondu
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. ...

presque 10 ans il y a | 0

A résolu

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

environ 10 ans il y a

A résolu

inner product of two vectors
inner product of two vectors

environ 10 ans il y a

A résolu

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

environ 10 ans il y a

A résolu

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

environ 10 ans il y a

A résolu

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

environ 10 ans il y a

A résolu

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

environ 10 ans il y a

A résolu

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

environ 10 ans il y a

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

plus de 10 ans il y a | 0

| A accepté

A répondu
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 ...

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 0

| A accepté

A répondu
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...

plus de 10 ans il y a | 1

A répondu
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. ...

plus de 10 ans il y a | 1

| A accepté

A répondu
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...

plus de 10 ans il y a | 0

| A accepté

A répondu
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 ...

plus de 10 ans il y a | 0

A répondu
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 ...

plus de 10 ans il y a | 0

A répondu
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 ...

presque 11 ans il y a | 2

| A accepté