Solved


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

3 years ago

Solved


frame of the matrix
Given the matrix M, return M without the external frame.

3 years ago

Solved


Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...

3 years ago

Solved


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

3 years ago

Solved


Area of square
Find the area of a square whose diagonal length is given as x.

3 years ago

Solved


cross in array
Make a cross from "1" in odd size array. Other value from array should be equal to "0"; As input you get length of side of arra...

3 years ago

Solved


Basic commands - rounding
make a function which will round to integer, which is nearer to zero. Example x=[-2.5 2]; y=[-2 2];

3 years ago

Solved


Basic commands - Least common multiple
Make a function which will return least common multiple of "a" and "b" Example: a=8; b=6; y=24;

3 years ago

Solved


Basic commands - amount of inputs
Make a function, which will return amount of given inputs Example: amountinput(1,2,4,3,10) -> 5 , because we gave functio...

3 years ago

Solved


Calculate the sum of elements of n*n Hilbert matrix.
Calculate the sum of elements of n*n Hilbert matrix. For example, for n=5: HilbertMatrix = [1.0000 0.5000 0.333...

3 years ago

Solved


Find Logic 1

3 years ago

Solved


Find Logic 3

3 years ago

Solved


Find Logic 4

3 years ago

Solved


Find Logic 6

3 years ago

Solved


Find Logic 7

3 years ago

Solved


Find Logic 8

3 years ago

Solved


Find Logic 9

3 years ago

Solved


Find Logic 10

3 years ago

Solved


Find Logic 11

3 years ago

Solved


Find Logic 12

3 years ago

Solved


Find Logic 13

3 years ago

Solved


Find Logic 15

3 years ago

Solved


Find Logic 14

3 years ago

Solved


Find Logic 16

3 years ago

Solved


Find Logic 17

3 years ago

Solved


Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

3 years ago

Solved


Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.

3 years ago

Solved


No Twins?
Write a function that accepts as input a vector and returns the same vector, but retaining only the first occurrence of an eleme...

3 years ago

Solved


Given an unsigned integer x, find the largest y by rearranging the bits in x
Given an unsigned integer x, find the largest y by rearranging the bits in x. Example: Input x = 10 Output y is 12 ...

3 years ago

Solved


Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

3 years ago

Load more