Risolto


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]

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

oltre un anno fa

Risolto


Values in Array
How many values are in the array

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


Sum two matrices
Take two incoming matrices, and sum them

oltre un anno fa

Risolto


Dot Product

oltre un anno fa

Risolto


Find Logic 32

oltre un anno fa

Risolto


Find Logic 18

oltre un anno fa

Risolto


Find Logic 25

oltre un anno fa

Risolto


Find Logic 19

oltre un anno fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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.

quasi 2 anni fa

Risolto


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.

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Carica altro