Community Profile

photo

Andrew Ouellette

Last seen: 16일 전 2020년부터 활동

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

통계

All
  • Knowledgeable Level 2
  • First Answer
  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver

배지 보기

Content Feed

보기 기준

답변 있음
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...

1년 초과 전 | 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...

1년 초과 전 | 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 ...

1년 초과 전 | 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...

1년 초과 전 | 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...

1년 초과 전 | 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 ...

1년 초과 전 | 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...

1년 초과 전 | 0

| 수락됨

문제를 풀었습니다


Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

3년 초과 전

문제를 풀었습니다


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...

3년 초과 전

문제를 풀었습니다


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


Calculate the logarithm of number
Calculate the logarithm of number x

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

3년 초과 전

문제를 풀었습니다


Angle between two vectors
You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...

3년 초과 전

문제를 풀었습니다


Angle between Two Vectors
The dot product relationship, a dot b = | a | | b | cos(theta), can be used to determine the acute angle between vector a and ve...

3년 초과 전

문제를 풀었습니다


Are all the three given point in the same line?
In this problem the input is the coordinate of the three points in a XY plane? P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) how can...

3년 초과 전

문제를 풀었습니다


Volume of a Parallelepiped
Calculate the volume of a Parallelepiped given the vectors for three edges that meet at one vertex. A cube is a special case ...

3년 초과 전

문제를 풀었습니다


The Tower of Hanoi
In the <http://en.wikipedia.org/wiki/Tower_of_Hanoi Tower of Hanoi problem> with 3 rods (1, 2 & 3), the goal is to move a tower ...

3년 초과 전

문제를 풀었습니다


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

3년 초과 전

문제를 풀었습니다


Convert radians to degrees
Given input in radians, output to degrees

3년 초과 전

문제를 풀었습니다


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

3년 초과 전

문제를 풀었습니다


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

3년 초과 전

문제를 풀었습니다


Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

3년 초과 전

더 보기