Solved


Mass Conversion 1

5 years ago

Solved


Temperature Conversion 3

5 years ago

Solved


Temperature Conversion 1

5 years ago

Answered
Index exceeds the number of array elements (1)
Hi, please check if kinc indeed has at least two elements, because you are trying to get kinc(1) and kinc(2). Also, check the "1...

5 years ago | 0

| accepted

Solved


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

5 years ago

Solved


Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

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


Radial Zernike polynomials
Given an integer _n_ &ge; 0 and an integer _m_ &ge; 0, generate the <http://en.wikipedia.org/wiki/Zernike_polynomials radial Zer...

5 years ago

Solved


Chebyshev polynomials of the 2nd Kind
Given an integer _n_ &ge; 0, generate the _n_-th <http://en.wikipedia.org/wiki/Chebyshev_polynomials Chebyshev polynomial of the...

5 years ago

Solved


Chebyshev polynomials of the 1st Kind
Given an integer _n_ &ge; 0, generate the _n_-th <http://en.wikipedia.org/wiki/Chebyshev_polynomials Chebyshev polynomial of the...

5 years ago

Solved


Generalized Laguerre polynomials
Given an integer _n_ &ge; 0 and a scalar _a_, generate the _n_-th <http://en.wikipedia.org/wiki/Laguerre_polynomials#Generalized...

5 years ago

Answered
Simulink S-Function output ports with scope
If I understood the question, when you say "get the Output in Simulink again" would mean: you would like to save in a vector so ...

5 years ago | 0

Answered
How to make this loop faster?
Is it possible to enter vectors as arguments in the function Obstaculo and get a vector as result? If so, then you could try rep...

5 years ago | 0

Solved


Legendre polynomials
Given an integer _n_ &ge; 0, generate the _n_-th <http://en.wikipedia.org/wiki/Legendre_polynomials Legendre polynomial>. *Ex...

5 years ago

Solved


Hermite Polynomials
Return the _n_-th <http://en.wikipedia.org/wiki/Hermite_polynomials Hermite polynomial> of the physicists' type. Assume that ...

5 years ago

Solved


Laguerre polynomials
Given an integer _n_ &ge; 0, generate the _n_-th <http://en.wikipedia.org/wiki/Laguerre_polynomials Laguerre polynomial>. *Ex...

5 years ago

Answered
how can i get the Parametres of this modele ?
The following links explain the model and where those parameters are defined: This entry contains files accompanying the MATL...

5 years ago | 1

| accepted

Answered
How can I solve system of nonlinear hyperbolic equations
Are you using the pdepe command? Solve System of PDEs - MATLAB & Simulink (mathworks.com) If so, would it make sense to defi...

5 years ago | 0

| accepted

Answered
exponential growth equation in matlab
It will be difficult to help you by starting from scratch here. I can refer you this implementation of COVID-19 modeling so you ...

5 years ago | 0

Solved


Get the value 100
Knowing that 123-45-67+89=100, write a function that gives this result for any order of the digits in the input. Otherwise, the ...

5 years ago

Problem


Double the next and alternate sign

5 years ago | 2 | 36 solvers

Answered
Error while using array or vector in state chart.
I think fanID should be of size 1, since it is a scalar that will change its value (1 or 2) during the chart execution. By the ...

5 years ago | 0

Answered
How do I configure enum in matlab?
Not sure about the exact issue you are having, but please have a look at the way to use Enumerations for, in this case, MATLAB F...

5 years ago | 0

Solved


Kepler's Equation
Solve <http://en.wikipedia.org/wiki/Kepler's_equation Kepler's Equation>. Note that the solution is rounded down to 5 decima...

5 years ago

Answered
How can I integrate a function?
You have defined 'f' as a function of x and N, but in the second for-loop and in the function 'integrate' you refer to 'f' with ...

5 years ago | 0

Answered
Increase number of legend entries in Simulink Scope
Hey, you can have several scopes in the Simulink Model.

5 years ago | 0

| accepted

Answered
Saving to PC from Simulink
In the MATLAB home page look at the current folder, and take (copy) the files you created in there and paste them in the desired...

5 years ago | 0

| accepted

Answered
Issue with state flow generated code
One of the setting that might affect what you are describing is the setting of "Block reduction" and "Condition input branch exe...

5 years ago | 0

| accepted

Answered
How to do this in Simulink?
Hi Avijit, In the command window, set values to the parameters Ka, Ta, Tw. Then, create the transfer functions by writing: s...

5 years ago | 0

Answered
error on my code?
Hi Fatima, You could try downloading an script from this link https://www.mathworks.com/matlabcentral/fileexchange/17483-routh...

5 years ago | 0

Load more