Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

6 years ago

Solved


Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...

6 years ago

Solved


Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...

6 years ago

Solved


Rounding
Round 10.67 and make 'y' equal to that number.

6 years ago

Solved


Max of a Vector
Write a function to return the max of a vector

6 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

6 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

6 years ago

Solved


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

6 years ago

Solved


Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

6 years ago

Solved


Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

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

6 years ago

Solved


kmph to mps
convert kilometer per hour to meter per second

6 years ago

Solved


surface of a spherical planet
you just discovered its circumference, that is the input.

6 years ago

Solved


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

6 years ago

Solved


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

6 years ago

Solved


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

6 years ago

Solved


Converts numbers into characters
Converts numbers into characters

6 years ago

Solved


easy problem
Find the last element of the array

6 years ago

Solved


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

6 years ago

Solved


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

6 years ago

Solved


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

6 years ago

Solved


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

6 years ago

Solved


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

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

6 years ago

Solved


Times 3 problem
When you enter the number, it should return the number multiplied by 3

6 years ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

6 years ago

Solved


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

6 years ago

Solved


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

6 years ago

Solved


y equals x divided by 2
function y = x/2

6 years ago

Solved


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

6 years ago

Load more