Solved


Sudoku square
We have a small Sudoku square, but one number is missing. x = [ 1 5 4 8 6 3 0 9 7 ] Make a function, wher...

9 years ago

Solved


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

9 years ago

Solved


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

9 years ago

Solved


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

9 years ago

Solved


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

9 years ago

Solved


Sum of digits of powers of 2
Given n, first, calculate the number 2^n. Then, sum the digits that comprise that number. For example: Input: n = 7 2^n = ...

9 years ago

Solved


What's size of TV?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...

9 years ago

Solved


modulus of a number
find the modulus of a given number

10 years ago

Solved


Find the qube of a give number.
You are given a number, find the qube of that number.

10 years ago

Solved


find "greatest common divisor" of two integer value
A function to find Greatest Common Divisor of two integer input E.G. x=-18 y=96 output should be +6 x=-18; y=96; >>your...

10 years ago

Solved


Vector with a repeated entry
Create a row vector of length n, filled with 4's. For example, if n = 3, output = [4 4 4] Hint: Search for the function...

10 years ago

Solved


Square root of a number
Write a code that will output the square root of x.

10 years ago

Solved


If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

10 years ago

Solved


find max
You are given an array number find the maximum

10 years ago

Solved


find minimum
find the minimum from an array

10 years ago

Solved


find sum of the numbers in array
calculate the sum of numbers in a given array

10 years ago

Solved


Find mean
given an array, find the mean of the number in that array

10 years ago

Solved


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

10 years ago

Solved


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

10 years ago

Solved


add 1 to every elements
Add 1 to every elements of an array

10 years ago

Solved


first element of matrix
find the first elements of a column matrix

10 years ago

Solved


find lenth of array
you have given an array, find the length of that.

10 years ago

Solved


add two numbers
two numbers given, output should addition of them.

10 years ago

Solved


Find subtraction
Given a, b. Find a-b

10 years ago

Solved


add each element with 2
You have given a array. Add 2 to each element of that array.

10 years ago

Solved


add each element with 4
You have given a array. Add 3 to each element of that array.

10 years ago

Solved


add each element with 4
You have given a array. Add 4 to each element of that array.

10 years ago

Solved


add each element with 10
You have given a array. Add 10 to each element of that array.

10 years ago

Solved


add each element with 3
You have given a array. Add 3 to each element of that array.

10 years ago

Load more