Feeds
已回答
Errors when trying to define Design Requirements in Control System Designer
Hi @Jason, This is a bug in the product. You should be able to change the line mentioned in this error from this: Error in con...
Errors when trying to define Design Requirements in Control System Designer
Hi @Jason, This is a bug in the product. You should be able to change the line mentioned in this error from this: Error in con...
1 month 前 | 0
| 已接受
已回答
Transimpedance Amplifier transfer function behaving differently in Matlab as well as Simulink than expected
Hello @Jayesh N, The results of lsim are as expected. The mean value will be the dc gain of the system multiplied by the mean v...
Transimpedance Amplifier transfer function behaving differently in Matlab as well as Simulink than expected
Hello @Jayesh N, The results of lsim are as expected. The mean value will be the dc gain of the system multiplied by the mean v...
2 months 前 | 1
| 已接受
已回答
Frequency Response Estimator - how is the frequency response computed
Hi @jacob, You can see a description of the FRE algorithms on its documenation page. Generally, using more estimation periods ...
Frequency Response Estimator - how is the frequency response computed
Hi @jacob, You can see a description of the FRE algorithms on its documenation page. Generally, using more estimation periods ...
3 months 前 | 0
已回答
Inheritance, abstract and constant properties.
You can approximate this behavior with Dependent properties and getter methods. classdef (Abstract) my_supr properties (De...
Inheritance, abstract and constant properties.
You can approximate this behavior with Dependent properties and getter methods. classdef (Abstract) my_supr properties (De...
4 months 前 | 0
已回答
Frequency response estimation error
Hi @shanchang, We can't really say exactly what the issue is without all the inputs to your frestimate call- your model (mdl), ...
Frequency response estimation error
Hi @shanchang, We can't really say exactly what the issue is without all the inputs to your frestimate call- your model (mdl), ...
4 months 前 | 0
已回答
How to work with control system tuner/designer app with Simscape Multibody System ?
Hi @Samarasekara Muhandiramge Salila Dinendra, Your post seems to a few distinct but related questions: 1) How can I obtain a ...
How to work with control system tuner/designer app with Simscape Multibody System ?
Hi @Samarasekara Muhandiramge Salila Dinendra, Your post seems to a few distinct but related questions: 1) How can I obtain a ...
4 months 前 | 0
已回答
How to access GriddedLPVSS data at different scheduling parameters?
Hi Ali, You can sample your LPV systems using psample. SSArray = rss(36,2,2,6); % random 2x2x6 ss array s = struct( ... ...
How to access GriddedLPVSS data at different scheduling parameters?
Hi Ali, You can sample your LPV systems using psample. SSArray = rss(36,2,2,6); % random 2x2x6 ss array s = struct( ... ...
4 months 前 | 0
已回答
How can I make the Nichols chart background grid more prominent when using Nicholsplot? (Too faint.)
Hi Charles, Starting in R2024b, the nicholsplot function returns a chart object with a documented API. You can see the properti...
How can I make the Nichols chart background grid more prominent when using Nicholsplot? (Too faint.)
Hi Charles, Starting in R2024b, the nicholsplot function returns a chart object with a documented API. You can see the properti...
7 months 前 | 0
已回答
Bodeplot with XLim option does not rescale y-axis in R2024b
Hello Tor, This is a side effect of the update to charts in R2024b. The chart's Y limits are no longer linked to its X limits. ...
Bodeplot with XLim option does not rescale y-axis in R2024b
Hello Tor, This is a side effect of the update to charts in R2024b. The chart's Y limits are no longer linked to its X limits. ...
8 months 前 | 0
| 已接受
已回答
Change marker colour of pzplot
Hi Jan, Starting in 24b, we introduced new chart and response objects for pzplot(). Each model you input to pzplot() will gene...
Change marker colour of pzplot
Hi Jan, Starting in 24b, we introduced new chart and response objects for pzplot(). Each model you input to pzplot() will gene...
8 months 前 | 0
| 已接受
已回答
MATLAB R2024 Rb
Hi Shahin, 2 notes: 1) In R2024b as of update 2, rlocusplot() generates an incorrect response for improper models. This bug wi...
MATLAB R2024 Rb
Hi Shahin, 2 notes: 1) In R2024b as of update 2, rlocusplot() generates an incorrect response for improper models. This bug wi...
10 months 前 | 0
已回答
Simulating the impulse response of a higher order filter.
Hello, You are encountering this behavior because your cascaded system is poorly conditioned numerically. Hopefully this is not...
Simulating the impulse response of a higher order filter.
Hello, You are encountering this behavior because your cascaded system is poorly conditioned numerically. Hopefully this is not...
10 months 前 | 0
已回答
How can I set linewidth directly in bode command?
For releases prior to R2024b, see Sid's answer. Starting in R2024b, you can set the line width using the chart API. sys = tf(4,...
How can I set linewidth directly in bode command?
For releases prior to R2024b, see Sid's answer. Starting in R2024b, you can set the line width using the chart API. sys = tf(4,...
10 months 前 | 1
已回答
Why the peak values are evidently different under the impulse function to a second order function with zero damping?
Hello, You can use the impulseplot() syntax of providing a final time to have MATLAB automatically choose a resolution for your...
Why the peak values are evidently different under the impulse function to a second order function with zero damping?
Hello, You can use the impulseplot() syntax of providing a final time to have MATLAB automatically choose a resolution for your...
11 months 前 | 0
已回答
Adding plots to an existing root locus plot
Hello, Design requirements (constraints) for damping ratios and natural frequencies in root locus charts is only available with...
Adding plots to an existing root locus plot
Hello, Design requirements (constraints) for damping ratios and natural frequencies in root locus charts is only available with...
11 months 前 | 0
已回答
How do I show characteristics from my root locus figure?
Hello, There are two methods to enable characteristic visibility in Control System Toolbox charts. 1) After creating the chart...
How do I show characteristics from my root locus figure?
Hello, There are two methods to enable characteristic visibility in Control System Toolbox charts. 1) After creating the chart...
11 months 前 | 0
已回答
Matlab plots step response vs timestep number instead of time in seconds
You should use the "stepplot" function. s = tf('s'); %Laplace variable t = 0:0.01:10; %time vector start, dt , end K = 1; ...
Matlab plots step response vs timestep number instead of time in seconds
You should use the "stepplot" function. s = tf('s'); %Laplace variable t = 0:0.01:10; %time vector start, dt , end K = 1; ...
12 months 前 | 0
已回答
Graphics Incompatibilities in Control System Toolbox between R2024a and R2024b
Hello, You can achieve most of this behavior by interacting with the new chart API. Give the following a go: A1 = 1; wp1 = ...
Graphics Incompatibilities in Control System Toolbox between R2024a and R2024b
Hello, You can achieve most of this behavior by interacting with the new chart API. Give the following a go: A1 = 1; wp1 = ...
1 year 前 | 0
| 已接受
已回答
Automatic method that returns the best combination of the coefficients of the polynomial with the lowest RSS value
Hello, You can use the "polyfit" function with n=2 to get the parabola of best fit for your data: https://www.mathworks.com/he...
Automatic method that returns the best combination of the coefficients of the polynomial with the lowest RSS value
Hello, You can use the "polyfit" function with n=2 to get the parabola of best fit for your data: https://www.mathworks.com/he...
3 years 前 | 0
已回答
issues solving two interdependent optimization problems with nested functions
Hello, From your description, it sounds like you would like to solve a contrained optimization problem. This is, you would like...
issues solving two interdependent optimization problems with nested functions
Hello, From your description, it sounds like you would like to solve a contrained optimization problem. This is, you would like...
3 years 前 | 0
| 已接受
已回答
Collision detection and solving of a spherical ball in a cylindrical boundary
Hi Victor, You can detect a collision between the ball and the cylinder if the distance between the center of the ball and the ...
Collision detection and solving of a spherical ball in a cylindrical boundary
Hi Victor, You can detect a collision between the ball and the cylinder if the distance between the center of the ball and the ...
3 years 前 | 0
已回答
Gain/phase margin calculated relative to -540.
Hi Jaco-Louis, From the documentation page for margin: https://www.mathworks.com/help/control/ref/lti.margin.html the smalles...
Gain/phase margin calculated relative to -540.
Hi Jaco-Louis, From the documentation page for margin: https://www.mathworks.com/help/control/ref/lti.margin.html the smalles...
3 years 前 | 0
| 已接受
已回答
How to load a trained classifier model inside Simulink MATLAB function in MATLAB 2015a?
Hi Roya, As you have just discovered, there are a few restrictions on the MATLAB Function block that are not present in the MAT...
How to load a trained classifier model inside Simulink MATLAB function in MATLAB 2015a?
Hi Roya, As you have just discovered, there are a few restrictions on the MATLAB Function block that are not present in the MAT...
3 years 前 | 1
| 已接受
已回答
Interpolation of directional angle between multiple coordinates
Hello, You can perform 2D interpolation by using the interp2 function: https://www.mathworks.com/help/matlab/ref/interp2.html ...
Interpolation of directional angle between multiple coordinates
Hello, You can perform 2D interpolation by using the interp2 function: https://www.mathworks.com/help/matlab/ref/interp2.html ...
3 years 前 | 0
已回答
Is there a good way to validate that all inputs to a function have compatible sizes when using a (Repeating) arguments block?
Hi Matthew, I was able to achieve the behavior you desire by looping through the variable arguments and passing the argument nu...
Is there a good way to validate that all inputs to a function have compatible sizes when using a (Repeating) arguments block?
Hi Matthew, I was able to achieve the behavior you desire by looping through the variable arguments and passing the argument nu...
3 years 前 | 0
| 已接受
已解决
Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...
5 years 前
已解决
Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...
5 years 前
已解决
Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...
5 years 前
已解决
Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....
5 years 前
已解决
Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...
5 years 前