Solved

Find the summation, mean, median, mode and standard deviation of a given array.

An array is given. Find out the summation, mean, median, mode and standard deviation of a given array. If x=[1,2,2,3,3,3,4,4,4,...

2 years ago

Solved

Draw 'P' !!!

Draw a n by n matrix 'P' using 0s and 1s. (n is odd and greater than 4) if n=5 , then the output will be [1 1 1 1 1 1 0 0 0...

2 years ago

Solved

Logarithmically spaced vector creation using linspace

Create a vector y containing n logarithmically spaced values between a and b, with a < b. Avoid using logspace and use the linsp...

2 years ago

Solved

find location of indexes

Given a vector with integer values. Find the edge location of the stream of same value. For example: A=[0 0 0 1 1 1 1 2 2 ...

2 years ago

Solved

Cell Operator *

Please implement operator * for cell: >> {2,3} * 2 ans = 1×4 cell array [2] [3] [2] [3] >> {2,3} * [2 3]...

2 years ago

Solved

Divide the Least Common Multiple by the Greatest Common Divisor of two numbers

Divide the Least Common Multiple by the Greatest Common Divisor of two numbers. For example, for x=12345 and y=54321, the answer...

2 years ago

Solved

time of day

Calculate the time of day in days, hours, minutes or seconds passed since the beginning of the day, depending on the unit. The u...

2 years ago

Solved

Find the missing numbers.

Total *N* numbers are in the series of natural numbers ( *1,2,3,...,N* ). The input is an array (unsorted) of those natural num...

2 years ago

Solved

Get factory-defined property values

Given a property name (e.g. 'AxesUnits', 'LineMarkerSize', 'UicontrolBackgroundColor'), return the factory-defined value for tha...

2 years ago

Solved

Goldbach's marginal conjecture - Write integer as sum of three primes

Goldbach's strong conjecture states that every even integer greater than 2 can be expressed as the sum of two primes. For exampl...

2 years ago

Solved

QWERTY coordinates

Given a lowercase letter or a digit as input, return the row where that letter appears on a standard U.S. QWERTY keyboard and it...

2 years ago

Solved

The Piggy Bank Problem

Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

2 years ago