Solved


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

5 years ago

Solved


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

5 years ago

Solved


Negative matrix
Change the sign of all elements in given matrix.

5 years ago

Solved


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

5 years ago

Solved


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


Positive Infinity
Round the array a towards positive infinity

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


square root
Find the square root (y) of an input (x).

5 years ago

Solved


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

5 years ago

Solved


Matlab Basics - Create a row vector
Write a Matlab script to create a row vector of 10 consecutive numbers x = [1 2 3 4 5 6 7 8 9 10]

5 years ago

Solved


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

5 years ago

Solved


square number
Square a number

5 years ago

Solved


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

5 years ago

Solved


Area of a circle
Find the value for area of the circle if diameter is given

5 years ago

Solved


Reverse a matrix
Its simple. You have to reverse a given matrix.

5 years ago

Solved


Square a Number
Given an input x, return y, which is equal to the square of x.

5 years ago

Solved


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

5 years ago

Solved


Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

5 years ago

Solved


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

5 years ago

Solved


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

5 years ago

Solved


Negative Infinity
Round the given array a towards negative infinity.

5 years ago

Solved


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

5 years ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

5 years ago

Solved


Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3

5 years ago

Load more