Solved

Determine the mean of matrix

Determine the mean of matrix without using mean function Hint: use simple algorithm

7 years ago

Solved

Convert Decimal Number to Hex number (including non integer value)

Convert Decimal Number to Hex number (including non integer value) E.X. (2598.675) in decimal = A26.ACCC in hexa

7 years ago

Solved

Long-digit Subtraction

Suppose you need to subtract a very large integer from another integer. <http://www.mathworks.com/matlabcentral/cody/problems/56...

7 years ago

Solved

How close to a hole

Suppose you have a description of good places (ones) and bad places (zeros). You want to know your distance from a bad place (in...

7 years ago

Solved

Look and say Conway's sequence

In mathematics, the look-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, 312211, ...

7 years ago

Solved

String math

You will be given a string that describes a simple math equation. Your job is to determine if the value of the equation is equa...

7 years ago

Solved

Fraction of a fraction of a ...

One sort of brainteaser problem is a math problem wherein you are asked what the given fraction of a fraction of a ... number is...

7 years ago

Solved

Days until next NewYear ball drop

Given a date string in the form 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss', calculate the number of *days* until the dropping of the ...

7 years ago

Solved

Can't wait for NewYear ball drop !

Given an input string of the form 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss', return a string message indicating how many days, hours...

7 years ago

Solved

Create a fixed format text output

Given a short brief matrix, such as x = [1.2 2.4 3.6; 1.5 2.3 3.5; 1.35 2.35 3.65] and a label 13, create a fixed format text o...

7 years ago

Solved

Volume of Cylinder

Compute the Circumference of a Cylinder given it's radius and height.Here x is the radius and y is the height

7 years ago

Solved

create square matrix of stars.Given z where rows and columns equal to max of z

create square matrix of stars.Given z where rows and columns equal to max of z

7 years ago

Solved

Create a square matrix of zeros of even order

Create a square matrix of zeros of even order

7 years ago

Solved

Form Blocks in a 1D array

Lets say I have an array of size (10,1); I want to divide it into the num number of blocks which are given by user no_of_b...

7 years ago

Solved

~(*|/)

Return three quarters of n without using addition, subtraction, multiplication or division.

7 years ago

Solved

Increase monotonically

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

7 years ago

Solved

sum of digits

Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 ...

7 years ago

Solved

Ring Matrix

Given n (only odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. ...

7 years ago

Solved

sum of digits

Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 ...

7 years ago

Solved

calculate the tangent of angle in radians

Calculate the tangent of angle in degrees

7 years ago

Solved

metre to feet converter

The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

7 years ago

Solved

Times 3 problem

When you enter the number, it should return the number multiplied by 3

7 years ago

Solved

Speed of car

Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

7 years ago

Solved

Kinetic Energy

Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

7 years ago