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]

más de 1 año hace

Resuelto


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

más de 1 año 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 ...

más de 1 año hace

Resuelto


Corresponding ASCII code.
Given the number, the output will show the corresponding ASCII code.

más de 1 año hace

Resuelto


Log of a number
Write a script that will give the log of x as output.

más de 1 año hace

Resuelto


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

más de 1 año hace

Resuelto


Values in Array
How many values are in the array

más de 1 año hace

Resuelto


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

más de 1 año hace

Resuelto


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

más de 1 año hace

Resuelto


Sum two matrices
Take two incoming matrices, and sum them

más de 1 año hace

Resuelto


Dot Product

más de 1 año hace

Resuelto


Find Logic 32

más de 1 año hace

Resuelto


Find Logic 18

más de 1 año hace

Resuelto


Find Logic 25

más de 1 año hace

Resuelto


Find Logic 19

más de 1 año hace

Resuelto


Enlarge array
Given an m-by-n numeric array (A) and a 1-by-2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m...

más de 1 año hace

Resuelto


Palindrome numbers
Find the palindrome numbers (two or more digits) from 1 to n where n is the number passed to the function.

más de 1 año hace

Resuelto


Palindrome Check
Check whether the entire matrix is palindrome or not. Example matrix = [7 8 7] matrix_reverse = [7 8 7] So the mat...

más de 1 año hace

Resuelto


Create the following sequence : 0 1 1 4 9 25 64 169 ...
The sequence 0, 1, 1, 4, 9, 25, 64, 169, ... represents the square of the sequence of Fibonacci numbers. Let n repres...

más de 1 año hace

Resuelto


Find the square of the sum of the digits of a number
If a number (n) is provided as an input, find the square of the sum of the digits of the number. Example If n = 21, the an...

más de 1 año hace

Resuelto


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

más de 1 año hace

Resuelto


string comparision
compare two strings if both are same return 1 else return 0

más de 1 año hace

Resuelto


Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.

más de 1 año hace

Resuelto


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

más de 1 año hace

Resuelto


Output a vector which is table of 9
Output a vector which is table of 9

más de 1 año hace

Resuelto


Find Factrorial without using built-in function
A number is given, you have to find the factorial of the number without using built-in factroial function. You may use loops....

más de 1 año hace

Resuelto


Find the position of last minimum value in an integer array with numbers
If x = [2 6 4 9 -10 3 1 5 -10] then the output should be 9, because last minimum value (-10) lies at the 9th position.

más de 1 año hace

Resuelto


Find the position of first minimum value in an integer array with numbers
If x = [2 6 4 9 10 3 1 5 1] the the output should be 7, because the first minimum value (1) lies at the 7th position.

más de 1 año hace

Resuelto


Determine the Anti-diagonal of a Magic Square
Determine the anti-diagonal (crossing from top right to lower left) of a magic square of size n. Examples If n = 3 y =...

más de 1 año hace

Resuelto


Interior angles
Find the sum of interior angles for polygon of x sides.

más de 1 año hace

Cargar más