# Craig

### MathWorks

Last seen: 9 jours il y a Actif depuis 2011

Followers: 0   Following: 0

All

#### Feeds

Afficher par

Réponse apportée
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...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
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); ...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 9 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 10 ans il y a | 0

Réponse apportée
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...

environ 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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); ...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 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...

plus de 10 ans il y a

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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....

environ 11 ans il y a | 0

Réponse apportée
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. ...

plus de 11 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...

plus de 11 ans il y a

A résolu

inner product of two vectors
inner product of two vectors

plus de 11 ans il y a

A résolu

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

plus de 11 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.

plus de 11 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...

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

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

presque 12 ans il y a

Réponse apportée
If you have the Simulink Control Design product you can use the "linearize" command to obtain a linear model. You can then use t...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
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 ...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 1

Réponse apportée
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. ...

environ 12 ans il y a | 1

| A accepté

Réponse apportée
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 12 ans il y a | 0

| A accepté

Réponse apportée
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 12 ans il y a | 0

Réponse apportée
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 12 ans il y a | 0

Réponse apportée
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 ...

plus de 12 ans il y a | 2

| A accepté