Solved


Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...

13 years ago

Solved


Duplicate a character
Duplicate a character 'n' times. Example 1: str='a' n=5 output='aaaaa' Example 2: str='*' n=3 output='***'

13 years ago

Solved


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 years ago

Solved


Power The Product
EXAMPLE: INPUT x=10 & y=10 OUTPUT z=1000000 or, INPUT x=2 & y=3 OUTPUT z= 216 you just need to calculate the product first...

13 years ago

Solved


COUNT VOWEL 2
The objective of this problem is to determine the number of unique vowels used in the given string. Now count vowels in STRI...

13 years ago

Solved


Procrustean bed
Given a vector x and an integer n, convert x to a vector of length n by (1) chopping off the end if it is too long, or (2) addin...

13 years ago

Solved


Frobenius Norm
Write your own version of Frobenius Norm without using the 'norm' function.

13 years ago

Solved


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

13 years ago

Solved


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

13 years ago

Solved


Reverse CHECKBOX MATRIX with 69
Create a reverse checkbox matrix with '69'. Where the size is the input and output will be a square checkbox matrix. Exa...

13 years ago

Solved


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

13 years ago

Solved


COUNT VOWEL
Count, how many times vowels occurred. EXAMPLE: x='string the MaTLaBiAn' then the answer will be 6. x='coUnt the vowEl' th...

13 years ago

Solved


Calcucate area of square
calcutae area for example 1*1=2 ...

13 years ago

Solved


area of triangle
h=5 and x

13 years ago

Solved


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

13 years ago

Solved


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 years ago

Solved


to the power
fix code

13 years ago

Solved


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

13 years ago

Solved


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

13 years ago

Solved


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

13 years ago

Solved


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

13 years ago

Solved


the fastest driver
the fastest driver

13 years ago

Solved


Name the bigest junkie
eg. name='JOHN'

13 years ago

Solved


length of vector
give a length of vector

13 years ago

Solved


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

13 years ago

Solved


say "hi"
say "hi"

13 years ago

Solved


Area of rhombus
Calculate the rhombus area

13 years ago

Solved


Who is my love
Wirite name my honey to x

13 years ago

Solved


supercar
write supercar

13 years ago

Solved


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

13 years ago

Load more