Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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.

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


Ceil Me Now
Get the ceiling of the input matrix

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


Non trivial identities - multiplication
Return x after multipying it.

10 years ago

Solved


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

10 years ago

Solved


Non trivial identities - roots
Return x after rooting it.

10 years ago

Solved


Non trivial identities - reshape
Return x by reshaping it.

10 years ago

Solved


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

10 years ago

Solved


Non trivial identities - flipping
Return x by flipping it.

10 years ago

Solved


Non trivial identities - differentiation
Return x by differentiating it.

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


Non trivial identities - division
Return x after dividing it.

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


Non trivial identities - transpose
Return x by transposing it.

10 years ago

Solved


Non trivial identities - round
Return x after rounding it.

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Load more