A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

presque 3 ans il y a

A résolu


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

presque 3 ans il y a

A résolu


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

presque 3 ans il y a

A résolu


Converts numbers into characters
Converts numbers into characters

presque 3 ans il y a

A résolu


Find the max element of the array
Find the max element of the array

presque 3 ans il y a

A résolu


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

presque 3 ans il y a

A résolu


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

presque 3 ans il y a

A résolu


to the 2 all elements
to the 2 all elements

presque 3 ans il y a

A résolu


the average value of the elements
Calculate the average value of the elements in the array

presque 3 ans il y a

A résolu


Double all elements in the array
Duplicate all elements in the array

presque 3 ans il y a

A résolu


calculate the length of matrix
input 1 array, calculate the length

presque 3 ans il y a

A résolu


Draw a '0' in a one matrix!

presque 3 ans il y a