Solved


radius of a spherical planet
You just measured its surface area, that is the input.

12 months ago

Solved


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

12 months ago

Solved


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

12 months ago

Solved


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

12 months ago

Solved


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

12 months ago

Solved


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

12 months ago

Solved


Spherical Volume
Calculate the volume of a sphere.

12 months ago

Solved


Temperature Conversion 2

12 months ago

Solved


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

12 months ago

Solved


Temperature Conversion 1

12 months ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

12 months ago

Solved


Find the max element of the array
Find the max element of the array

12 months ago

Solved


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

12 months ago

Solved


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

12 months ago

Solved


calculate the length of matrix
input 1 array, calculate the length

12 months ago

Solved


factorial of a number x
Factorial of a number x

12 months ago

Solved


first element of matrix
find the first elements of a column matrix

12 months ago

Solved


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

12 months ago

Solved


"mirror" matrix
Create n x 2n "mirror" matrix of this type: Examples For n = 2 m = [ 1 2 2 1 1 2 2 1 ] For n = 3 m = ...

12 months ago

Solved


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

12 months 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

12 months ago

Solved


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

12 months ago

Solved


What day is it?
Tell me what day is it. Return the full name of the day of the week as a string. e.g. It's June 12th 2014, so your function s...

12 months ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

12 months ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

12 months ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

12 months ago

Solved


Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

12 months ago

Solved


Divisible by 3
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

12 months ago

Solved


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

12 months ago

Solved


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

12 months ago

Load more