Gelöst


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]

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

mehr als ein Jahr vor

Gelöst


Values in Array
How many values are in the array

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Sum two matrices
Take two incoming matrices, and sum them

mehr als ein Jahr vor

Gelöst


Dot Product

mehr als ein Jahr vor

Gelöst


Find Logic 32

mehr als ein Jahr vor

Gelöst


Find Logic 18

mehr als ein Jahr vor

Gelöst


Find Logic 25

mehr als ein Jahr vor

Gelöst


Find Logic 19

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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.

mehr als ein Jahr vor

Gelöst


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.

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Mehr laden