Solved


UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.

5 years ago

Solved


UICBioE240 2.10
Given a vector of numbers, give the difference between the maximum and minimum values.

5 years ago

Solved


UICBioE240 2.8
Convert x number of hours into seconds.

5 years ago

Solved


UICBioE240 problem 1.3
Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5

5 years ago

Solved


Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

5 years ago

Solved


Determine the roots of a cubic equation
Given the coefficients a, b, c, and d of a cubic equation, a*x^3 + b*x^2 + c*x + d = 0, determine its roots.

5 years ago

Solved


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

5 years ago

Solved


Number of primes
Count the number of primes less than 'n'.

5 years ago

Solved


Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function. If you l...

5 years ago

Solved


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

5 years ago

Solved


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

5 years ago

Solved


kmph to mph converter
Convert the speed in miles/hour to km/hour.

5 years ago

Solved


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

5 years ago

Solved


Convert from Base 10 to base 5
Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10

5 years ago

Solved


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

5 years ago

Solved


Remove the first, third and fifth rows of a matrix
Given a matrix x with at least five rows, return a matrix y that includes all rows of x except for th 1st, the 3rd and 5th. E...

5 years ago

Solved


Nth root
Nth root of a number x

5 years ago

Solved


Square root of number
Square root of given number.

5 years ago

Solved


easy problem
Find the last element of the array

5 years ago

Solved


Divisors of an integer
Given a number N, return a vector V of all integers that divide N. For example, N = 10 Then V=[1 2 5 10]

5 years ago

Solved


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

5 years ago

Solved


area

5 years ago

Solved


Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

5 years ago

Problem


area

5 years ago | 1 | 215 solvers

Solved


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

5 years ago

Solved


Create matrix of replicated elements
Given an input element x, and the dimensions, (m, n) return a matrix of size m x n filled with element x. Example: Input: ...

5 years ago

Solved


Matlab Basics II - Max & Index of Max
Write a function that takes a vector x, then returns both the max value in x and its location in the vector for example x ...

5 years ago

Solved


prime test 2
enter the only non prime,non composite number

5 years ago

Solved


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

5 years ago

Solved


raise 1/3
Raise a number to 1/3 power.

5 years ago

Load more