解決済み


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]

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

1年以上 前

解決済み


Values in Array
How many values are in the array

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


Sum two matrices
Take two incoming matrices, and sum them

1年以上 前

解決済み


Dot Product

1年以上 前

解決済み


Find Logic 32

1年以上 前

解決済み


Find Logic 18

1年以上 前

解決済み


Find Logic 25

1年以上 前

解決済み


Find Logic 19

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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.

1年以上 前

解決済み


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.

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

さらに読み込む