Resuelto


Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...

casi 10 años hace

Resuelto


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

casi 10 años hace

Resuelto


Left Riemann numerical integration
A curve is represented by column arrays xCoordinate and yCoordinate. Approximate the integral from xCoordinate(1) to xCoordinate...

casi 10 años hace

Resuelto


Health app
A health app records a user's weight and displays the change in weight from the previous measurement to the next. Assign weightC...

casi 10 años hace

Resuelto


Multiple if statements
Write an if-statement that subtracts 5 from outputValue if amplitudeResponse is greater than 10. Write a second if-statement tha...

casi 10 años hace

Resuelto


Assignment statements based on input value
Write an if-else statement that assigns finalValue with userValue + 5 if userValue is greater than 100. Otherwise assign finalVa...

casi 10 años hace

Resuelto


While loop with multiple conditions
Write a while loop that multiplies userValue by 2 while userValue is not 10 and while userValue is less than 25.

casi 10 años hace

Resuelto


Non trivial identities - absolute value
Return x by computing its absolute value.

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


Ceil Me Now
Get the ceiling of the input matrix

casi 10 años hace

Resuelto


Non trivial identities - identity handle
Return x by handling the identity function.

casi 10 años hace

Resuelto


Non trivial identities - double negative
Return x after negating it.

casi 10 años hace

Resuelto


Non trivial identities - multiplication
Return x after multipying it.

casi 10 años hace

Resuelto


Non trivial identities - polynomial
Return x as a polynomial of itself.

casi 10 años hace

Resuelto


Non trivial identities - roots
Return x after rooting it.

casi 10 años hace

Resuelto


Non trivial identities - reshape
Return x by reshaping it.

casi 10 años hace

Resuelto


Non trivial identities - open your eyes
Return x by using your eyes.

casi 10 años hace

Resuelto


Non trivial identities - flipping
Return x by flipping it.

casi 10 años hace

Resuelto


Non trivial identities - differentiation
Return x by differentiating it.

casi 10 años hace

Resuelto


Non trivial identities - replication
Return x by replicating itself in any dimension.

casi 10 años hace

Resuelto


Non trivial identities - power
Return x by by rising it to a power.

casi 10 años hace

Resuelto


Non trivial identities - summation
Return x by adding a random number to it.

casi 10 años hace

Resuelto


Non trivial identities - division
Return x after dividing it.

casi 10 años hace

Resuelto


Non trivial identities - multiplication
Return x by multiplying it with a random number.

casi 10 años hace

Resuelto


Non trivial identities - colon
Return x after treating it with colon.

casi 10 años hace

Resuelto


Non trivial identities - transpose
Return x by transposing it.

casi 10 años hace

Resuelto


Non trivial identities - round
Return x after rounding it.

casi 10 años hace

Resuelto


Simple date to serial no. conversion
Convert a date string to a serial date number. For example if you take x='19-May-2001' then the result is 730990 x...

casi 10 años hace

Resuelto


Currency conversion
A currency exchange booth offers an exchange rate of 119.771 Japanese yen for 1 US dollar. The currency exchange booth rounds do...

casi 10 años hace

Resuelto


Sum function: Counting cookies
Row array troopCookieSales contains the number of boxes of cookies sold by each troop member. Assign totalSales with the sum of ...

casi 10 años hace

Cargar más