Solved


Sum all integers from 1 to 2^x
Given a number x, your function must return the summation of all integers from 1 to 2^x.

5 years ago

Solved


Sum two matrices
Take two incoming matrices, and sum them

5 years ago

Solved


Create a vector of the first n odd numbers (★)
If n = 10, your program should return a vector y, where y = [1 3 5 7 9 11 13 15 17 19].

5 years ago

Solved


Calculate the square of a number (Super Easy)
The goal is to calculate the square (y) of a number (x). Good way to start MatLab for beginners.

5 years ago

Solved


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

5 years ago

Solved


Create a vector of n alternating ones and zeros (★★)
Given n, your output should be a vector y of numbers such that the first number is 1 and the numbers following it alternate betw...

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 3 numbers
In this problem, you have to add three numbers a, b and c. Give output d = add(a,b,c)

5 years ago

Solved


Multiply pi
Multiply pi with x!

5 years ago

Solved


Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

5 years ago

Solved


Temperature Conversion 1

5 years ago

Solved


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

5 years ago

Solved


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

5 years ago

Solved


true or false
if the matrix has a zero, return true. else, return false

5 years ago

Solved


Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

5 years ago

Solved


Calculate square and cube of number
Calculate square and cube of number x

5 years ago

Solved


Calculate the base-10 logarithm of a number
Calculate the logarithm of number x

5 years ago

Solved


Calculate the volume of the cube.
Example n = 3; a = volume(n); a = 27

5 years ago

Solved


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

5 years ago

Solved


find the roots of a quadratic equation
for e.g x = [ 2 -1 -3] y = [1.5 -1]

5 years ago

Solved


Kinetic energy calculation

5 years ago

Solved


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

5 years ago

Solved


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

5 years ago

Solved


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

5 years ago

Solved


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

5 years ago

Solved


Find square of given number
Find Square of any number

5 years ago

Solved


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

5 years ago

Solved


What's Your BMI?
Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...

5 years ago

Solved


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

5 years ago

Solved


Total energy

5 years ago

Load more