Resuelto


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...

más de 9 años hace

Resuelto


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;...

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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 = ...

casi 10 años hace

Resuelto


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...

casi 10 años hace

Resuelto


modulus of a number
find the modulus of a given number

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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...

casi 10 años hace

Resuelto


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...

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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 ...

casi 10 años hace

Resuelto


find max
You are given an array number find the maximum

casi 10 años hace

Resuelto


find minimum
find the minimum from an array

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


Find subtraction
Given a, b. Find a-b

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Cargar más