已解决


Get 1-4-3-4-4
Get the value of the indices in the title and assign it to an array

2 years 前

已解决


Area of rhombus
Calculate the rhombus area

2 years 前

已解决


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

2 years 前

已解决


sum of non-primes
The sum of the non-primes no larger than 10 is 1+4+6+8+9+10=38 Find the sum of all the positive non-prime integers that do no...

2 years 前

已解决


reverse string
input='rama' output='amar'

2 years 前

已解决


Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

2 years 前

已解决


Degrees to Radian
Convert degrees to radians

2 years 前

已解决


Radians to Degrees
Convert radians to degrees.

2 years 前

已解决


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

2 years 前

已解决


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

2 years 前

已解决


Determine the square root
Determine the square root of the value the user has entered, n.

2 years 前

已解决


Product of Array
Given an array of numbers. Get the product of the array.

2 years 前

已解决


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

2 years 前

已解决


Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...

2 years 前

已解决


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

2 years 前

已解决


Find the index of n in magic(n)
If input n=5, then magic(n) is 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22...

2 years 前

已解决


Add two different item as shown in example
Add two different item as shown in example x=5; y='ab'; Then output must be'5ab';

2 years 前

已解决


Negative Infinity
Round the given array a towards negative infinity.

2 years 前

已解决


Positive Infinity
Round the array a towards positive infinity

2 years 前

已解决


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

2 years 前

已解决


Volume of a sphere given its surface area
You just measured its surface area, that is the input.

2 years 前

已解决


Calculate Angle From Axis
Given coordinates x and y, an axis ("X" or "Y"), and a direction ("cw" or "ccw", meaning clockwise and counterclockwise, respect...

2 years 前

已解决


Laws of motion 1

2 years 前

已解决


Area of square
Find the area of a square whose diagonal length is given as x.

2 years 前

已解决


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

2 years 前

已解决


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

2 years 前

已解决


The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...

2 years 前

已解决


Ohm's Law
Well its Ohm's law... So V = IR! I will give two of the three values, such as V and I or I and R and you have to return th...

2 years 前

已解决


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

2 years 前

已解决


Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

2 years 前

加载更多