解決済み


area of triangle
h=5 and x

13年弱 前

解決済み


Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

13年弱 前

解決済み


to the power
fix code

13年弱 前

解決済み


Make a vector of prime numbers
Input(n) - length of vector with prime numbers Output(v) - vector of prime numbers Example: * n=1; v=2 * n=3; v=[2 3 5...

13年弱 前

解決済み


Do you lile S.K.?
Say: True or False

13年弱 前

解決済み


Walk on water
There is only one man who walked on water.

13年弱 前

解決済み


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

13年弱 前

解決済み


I really like a combined
If you know the name man from AGH who have more luck than sense, you will do it !

13年弱 前

解決済み


Number of odd and even elements within matrix
Input(m) - any matrix with integers Output(n) - n(1)=number of odd elements, n(2)=number of even elements Example: * m=...

13年弱 前

解決済み


say "hi"
say "hi"

13年弱 前

解決済み


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

13年弱 前

解決済み


Area of rhombus
Calculate the rhombus area

13年弱 前

解決済み


Name the bigest junkie
eg. name='JOHN'

13年弱 前

解決済み


length of vector
give a length of vector

13年弱 前

解決済み


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

13年弱 前

解決済み


factor to number
e.g. input number x=10 then it should produce y=25 or x=100 then y should be 2255. write a function or code to generate the same...

13年弱 前

解決済み


Usage of varargout
This Challenge is to demonstrate usage of varargout. Output a cell array using varargout of magic squares of size 1 thru n. ...

13年弱 前

解決済み


give-nth-decimal-place-of-pi up to 100 digits
max 100th place after the decimal point this is upgrade problem of 142

13年弱 前

解決済み


Better bullseye matrix
<http://www.mathworks.com/matlabcentral/cody/problems/18-bullseye-matrix Problem 18> asks to create a bullseye matrix like this:...

13年弱 前

解決済み


Can I make a right triangle ?
Input(a) - is vector with any amount of values. Interpreted as legths of sides. Output(b): * Is true if there are any 3 va...

13年弱 前

解決済み


Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]

13年弱 前

解決済み


commutative?
Given the handle to a binary function that takes two ordinary numbers, test if the function is commutative.

13年弱 前

解決済み


Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).

13年弱 前

解決済み


Implement Solitaire cipher for N long deck.
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cypher>. Given a starting permutation of numbers [1:...

13年弱 前

解決済み


Vector of numbers divisible by 3
* Input(n) - any integer * Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0 Examples: * n=6...

13年弱 前

解決済み


Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

13年弱 前

解決済み


Create One Large Eye of size N x N Quickly?
*<http://en.wikipedia.org/wiki/Aye_(yes) Aye !!!>*

13年弱 前

解決済み


root?
* Given a function 'foo', and a position 'there', find the root near 'there'. * For example: If foo=@sin, and there=3.1, then r...

13年弱 前

解決済み


Array GCD
* Find Greatest Common Divisor in a given array * Function Template: function ans = arraygcd(a) % a=[45 15 200 ...

13年弱 前

解決済み


Solitaire Cipher
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cipher>. Since this is from Wikipedia, I am capturin...

13年弱 前

さらに読み込む