Andrew Ouellette - MATLAB Central
photo

Andrew Ouellette

Last seen: 1 day ago Active since 2020

Followers: 0   Following: 0

Programming Languages:
Python, C++, C, Java, MATLAB, HTML
Spoken Languages:
English
Professional Interests:
Control Systems

Statistics

All
CodyMATLAB AnswersFrom 07/20 to 05/25Use left and right arrows to move selectionFrom 07/20Use left and right arrows to move left selectionTo 05/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%
MATLAB Answers

0 Questions
18 Answers

Cody

0 Problems
116 Solutions

RANK
1,895
of 298,512

REPUTATION
34

CONTRIBUTIONS
0 Questions
18 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
2

RANK
 of 20,606

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
1,527
of 161,536

CONTRIBUTIONS
0 Problems
116 Solutions

SCORE
1,640

NUMBER OF BADGES
7

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer
  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver

View badges

Feeds

View by

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

2 months ago | 0

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

3 months ago | 0

| accepted

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

3 months ago | 0

| accepted

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

5 months ago | 0

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

5 months ago | 0

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

5 months ago | 1

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

6 months ago | 0

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

6 months ago | 0

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

6 months ago | 0

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

7 months ago | 0

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

8 months ago | 0

| accepted

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years ago | 1

| accepted

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

2 years ago | 0

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

2 years ago | 0

| accepted

Solved


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 ago

Solved


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 ago

Solved


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 ago

Solved


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 ago

Solved


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 ago

Solved


Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x₁_ + _x₂_ = 2 _x₁...

5 years ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

5 years ago

Solved


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

5 years ago

Solved


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

5 years ago

Solved


Calculate the logarithm of number
Calculate the logarithm of number x

5 years ago

Solved


Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

5 years ago

Solved


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

5 years ago

Load more