A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


~(*|/)
Return three quarters of n without using addition, subtraction, multiplication or division.

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


Test if a number is numeric or not
Test if a number is numeric or not

presque 9 ans il y a

A résolu


Calculate the logarithm of number
Calculate the logarithm of number x

presque 9 ans il y a

A résolu


calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

presque 9 ans il y a

A résolu


Determine if a row vector has NaN
Determine if a row vector x has NaN

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


factorial of a number x
Factorial of a number x

presque 9 ans il y a

A résolu


Potential Energy
Calculate the potential energy of a rock.

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


Calculate square and cube of number
Calculate square and cube of number x

presque 9 ans il y a

Charger plus