Risolto


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

12 mesi fa

Risolto


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

12 mesi fa

Risolto


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

12 mesi fa

Risolto


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

12 mesi fa

Risolto


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 mesi fa

Risolto


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

12 mesi fa

Risolto


Spherical Volume
Calculate the volume of a sphere.

12 mesi fa

Risolto


Temperature Conversion 2

12 mesi fa

Risolto


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

12 mesi fa

Risolto


Temperature Conversion 1

12 mesi fa

Risolto


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

12 mesi fa

Risolto


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

12 mesi fa

Risolto


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 mesi fa

Risolto


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

12 mesi fa

Risolto


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

12 mesi fa

Risolto


factorial of a number x
Factorial of a number x

12 mesi fa

Risolto


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

12 mesi fa

Risolto


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

12 mesi fa

Risolto


"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 mesi fa

Risolto


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

12 mesi fa

Risolto


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 mesi fa

Risolto


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

12 mesi fa

Risolto


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 mesi fa

Risolto


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

12 mesi fa

Risolto


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

12 mesi fa

Risolto


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

12 mesi fa

Risolto


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 mesi fa

Risolto


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 mesi fa

Risolto


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 mesi fa

Risolto


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

12 mesi fa

Carica altro