Solved

Remove all the consonants

Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

2 years ago

Solved

Who Has the Most Change?

You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

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

3 years ago

Solved

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

3 years ago

Solved

Square root

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

3 years ago

Solved

Calculate the average value of the elements in the array

Calculate the average value of the elements in the array

3 years ago

Solved

the average value of the elements

Calculate the average value of the elements in the array

3 years ago

Solved

pick up 2 number!

create number A with 5 digits,number 1 is appear 2 times,other is 1 times. How many way to pick up n number randomly from 1 to ...

3 years ago

Solved

Infinite precision division

Develop a function that will divide a very very large integer numerator, supplied to function as a string (e.g., '12233344445555...

3 years ago

Solved

Alphabetize by last name

Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

3 years ago

Solved

Remove the polynomials that have positive real elements of their roots.

The characteristic equation for a dynamic system is a polynomial whose roots indicate its behavior. If any of the roots of the p...

3 years ago

Solved

Perimeter of a semicircle

Given the diameter d, find the perimeter of a semicircle

3 years ago