A résolu


realsmall
Please return the smallest positive number. This is a little silly problem, but the solution has some funny properties...

environ 12 ans il y a

A résolu


Find supported functions
Given a function name, return true if that function is supported by the toolboxes that are installed with MATLAB on this machine...

environ 12 ans il y a

A résolu


Kepler's Equation
Solve <http://en.wikipedia.org/wiki/Kepler's_equation Kepler's Equation>. Note that the solution is rounded down to 5 decima...

environ 12 ans il y a

A résolu


Implement full adder circuit
Implement full adder circuit as given in <http://en.wikipedia.org/wiki/Adder_(electronics)> Inputs signals are a, b and ...

environ 12 ans il y a

A résolu


Area of a circle
Find the value for area of the circle if diameter is given

environ 12 ans il y a

A résolu


Sum of digit range
Example: If A is n1, and B is n2 digit positive numbers. A*B's digit range will be [c d] (c = min & d = max). Then return ...

environ 12 ans il y a

A résolu


is this number Munchhausen Narcissistic?
in this problem, simply return 1 if a supplied number is Munchhausen narcissistic or 0 if not. eg 153 is narcissistic but not...

environ 12 ans il y a

A résolu


Pandigital number n°1 (Inspired by Project Euler 32)
A little warm-up to begin... An n-digit number is pandigital if it makes use of all the digits 1 to n exactly ONCE. For ex...

environ 12 ans il y a

A résolu


Finding neighbors of [-1:1] in a matrix....
Hello All! Well I found this one fun to figure out, all you have to do is make a matrix of 1's or 0's (true or false) that sh...

environ 12 ans il y a

A résolu


provide the numerical answer to these number questions...
resturn row matrix containing the sorted numbers which answer the following questions: a) what is the first Knuth number to ...

environ 12 ans il y a

A résolu


Largest territory
Determine whose territory is largest. If there are two more large territory, determine a smaller number. For example, X ...

environ 12 ans il y a

A résolu


Elements with highest local average
Input v is a row vector such that length(v)>3. Consider a sliding window of length 3 that is used to calculate the local average...

environ 12 ans il y a

A résolu


Finger Counting
Just counting numbers using fingers. First all my ten fingers are closed. I will say 1 and open my one finger. Likewise for 6...

environ 12 ans il y a

A résolu


Find offset of an element of a multi dimensional matrix
For a given multi dimensional matrix and given element, find its offset from the 1st element. Return 0, if element is not fo...

environ 12 ans il y a

A résolu


Simple Caesar Cypher - shift encrypt a message given an index number
A Caesar cypher is a simple shift encryption method. Your goal is to create a function that allows a user to input a string and ...

environ 12 ans il y a

A résolu


Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones. * Find 1 0 1 and replace it with 1 1 1 * Find 0 1 0 and replace it w...

environ 12 ans il y a

A résolu


Find 100 from a Matrix and Replace With 0 with less computation time
pls use this matrix x = [208 40 167 180 112 70 192 215 90 19 231 100 9 100 97 100 ...

environ 12 ans il y a

A résolu


Inverse of Hilbert matrix
Given a non-negative integer x, return the element-wise power of 2 of the inverse of Hilbert matrix.

environ 12 ans il y a

A résolu


Find the coefficient of a number in scientifc notation
Given a non-negative real number N, find the coefficient C and the exponent E of its scientific notation (N = C 10^E). Note that...

environ 12 ans il y a

A résolu


Finding fourier transform of a given vector
Find the fourier transform of a given input vector for ex a=[1 2 3 4] then y=[ 10.0000 + 0.0000i -2.0000 +...

environ 12 ans il y a

A résolu


Leap Year
According to Gregorian Calender(which is in use now, in many countries),decide whether a given year is a leap year or not. Give...

environ 12 ans il y a

A résolu


Create the following sequence : 0 1 1 4 9 25 64 169 ...
The sequence 0, 1, 1, 4, 9, 25, 64, 169, ... represents the square of the sequence of Fibonacci numbers. Let n repres...

environ 12 ans il y a

A résolu


Split a given string from the first instance of a given character
A simple operation to split a given string into two substrings at the point where the desired character is first found. e.g. ...

environ 12 ans il y a

A résolu


Bit calculation
Give me the count of numbers from 1 to n having their last two bits as 0. For example function y = ret_count(4) y = x...

environ 12 ans il y a

A résolu


Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

environ 12 ans il y a

A résolu


ZigZag matrix with reflected format
ZigZag MATRIX with REFLECTED format. We have only input x. We have to create a matrix in the following pattern. input n=5...

environ 12 ans il y a

A résolu


Concatenate a successive power matrix in a column matrix
Generate F = [M1 M^2 ... M^p] with M a matrix, without using for.

environ 12 ans il y a

A résolu


execute the declaration in strings and return value
execute the commands in strings and return value input='a=23' output=23

environ 12 ans il y a

A résolu


Integer Sequence - 1
Check the test suite to determine the relationship between input integer scalar and output integer scalar.

environ 12 ans il y a

A résolu


Reshape a Vector
Write a function that accept three inputs. The first one is a row vector S. The second and third arguments are m and n which de...

environ 12 ans il y a

Charger plus