Calculate the logarithm of number
Calculate the logarithm of number x

1年以上 前

Determine if a row vector has NaN
Determine if a row vector x has NaN

1年以上 前

Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

1年以上 前

Volume of Cylinder
Compute the Circumference of a Cylinder given it's radius and height.Here x is the radius and y is the height

1年以上 前

calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

1年以上 前

An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

1年以上 前

Test of Quiz
Answer the questions and write in vector. Only one answer is correct. The founder of fuzzy logic is 1a) D. Golberg 1b)...

1年以上 前

Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

1年以上 前

Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

1年以上 前

Half-Swap
Given a vector with an even number of elements, rearrange it so that the elements in its first half are switched with those i...

1年以上 前

Sum the real and imaginary parts of a complex number
Sum the real and imaginary parts of a complex number. Example c = 1+2i has the solution 1 + 2 = 3

1年以上 前

Sum of integers numbers
Sum of the numbers from 1 to 100

1年以上 前

1年以上 前

Find y if y is 4 times the value of x.

1年以上 前

Circle : Square

1年以上 前

Volume of Cylindrical Shell

1年以上 前

Polygon in a unit circle

1年以上 前

Find the Sum of matrix A

1年以上 前

Eye Squared
For a positive integer |n| create the identity matrix with |n| elements. In case it is not possible to produce an identity ma...

1年以上 前

Vertical matrix sort
Given a matrix x with n rows and m columns, return a matrix y with 2n rows and m columns, such that every column in x is sorted ...

1年以上 前

Find the largest number
Find the largest number |x| among 4 numbers given as variables |a|, |b|, |c|, and |d|. Example: Input: a = 4; b = 7; c ...

1年以上 前

Repeat The Components of Matrix
Repeat The components of a matrix so that the size of the output matrix is double to input matrix and components are repeated ne...

1年以上 前

Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

1年以上 前

Sort the vector with the given index
Given x = [1 2 4 8 17] and t = [1 3 2 5 4] then y = [1 4 2 17 8].

1年以上 前

What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

1年以上 前

Colon operator of two vectors
You are given two vectors of equal length: VecStart, VecEnd Each vector contain a set of integers, where VecEnd(j)>=VecStar...

1年以上 前

Array of Ones
Create a 100 X 100 array of ones.

1年以上 前

More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

1年以上 前

String Delimination and Outputting
In this problem, take an incoming string and deliminate the string based on spaces. Output the first string in between the space...

1年以上 前