已解决


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

1 year 前

已解决


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

1 year 前

已解决


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

1 year 前

已解决


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

1 year 前

已解决


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

1 year 前

已解决


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

1 year 前

已解决


Find max
Find the maximum value of a given vector or matrix.

1 year 前

已解决


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

1 year 前

已解决


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

1 year 前

已解决


Square root of a number
Write a code that will output the square root of x.

1 year 前

已解决


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

1 year 前

已解决


Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

1 year 前

已解决


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

1 year 前

已解决


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

1 year 前

已解决


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

1 year 前

已解决


Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

1 year 前

已解决


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

1 year 前

已解决


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

1 year 前

已解决


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

1 year 前

已解决


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

1 year 前

已解决


factorial of a number x
Factorial of a number x

1 year 前

已解决


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

1 year 前

已解决


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

1 year 前

已解决


Convert radians to degrees
Given input in radians, output to degrees

1 year 前

已解决


Simple equation: Annual salary
Given an hourly wage, compute an annual salary

1 year 前

已解决


y equals x divided by 2
function y = x/2

1 year 前

已解决


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

1 year 前

已解决


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

1 year 前

已解决


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

1 year 前

已解决


Double all elements in the array
Duplicate all elements in the array

1 year 前

加载更多