Gelöst


Area of a rectangle
Find the area of a rectangle with sides a and b

mehr als 11 Jahre vor

Gelöst


Matlab Basics II - Unit Conversion
Write a function that converts Kg to lbs, returns the answer to the nearest 1/100th of a pound

mehr als 11 Jahre vor

Gelöst


Matlab Basics II - Create a vector with a repeated entry
Create a row vector of length n, filled with 4's, for example, if n = 3 output = [4 4 4] make sure to round UP when n is a...

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

mehr als 11 Jahre vor

Gelöst


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

mehr als 11 Jahre vor

Gelöst


Sum of integers numbers
Sum of the numbers from 1 to 100

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


square number
Square a number

mehr als 11 Jahre vor

Gelöst


Create a 5x4 array consisting of the input value, x.
Create a 5x4 array consisting of the input value, x.

mehr als 11 Jahre vor

Gelöst


Array of Ones
Create a 100 X 100 array of ones.

mehr als 11 Jahre vor

Gelöst


Alkane
Given a number, x, that is equal to the number of carbon atoms in an <http://en.wikipedia.org/wiki/Alkane alkane>, find, y, the ...

mehr als 11 Jahre vor

Gelöst


sum of the first 10 odd numbers
y = sum(first_10_odd_numbers)

mehr als 11 Jahre vor

Gelöst


Best Problem Ever
When I am writing those words, there are 2002 problems on Cody. Many of them are simply wonderful. Do you remember which of them...

mehr als 11 Jahre vor

Gelöst


Palindrome
Given a string or array, determine whether the it is a palindrome.

mehr als 11 Jahre vor

Problem


Palindrome
Given a string or array, determine whether the it is a palindrome.

mehr als 11 Jahre vor | 0 | 124 Lösungsvorschläge

Gelöst


Where is she?
Given the numbers 12, 3 , 6 ,9 Tell where the girl is located. I.E: Look to your 3 oclock = look right Ex. x = 3 fp...

mehr als 11 Jahre vor

Problem


Where is she?
Given the numbers 12, 3 , 6 ,9 Tell where the girl is located. I.E: Look to your 3 oclock = look right Ex. x = 3 fp...

mehr als 11 Jahre vor | 0 | 115 Lösungsvorschläge

Gelöst


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

mehr als 11 Jahre vor

Problem


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

mehr als 11 Jahre vor | 3 | 240 Lösungsvorschläge

Gelöst


Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...

mehr als 11 Jahre vor

Problem


Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...

mehr als 11 Jahre vor | 1 | 83 Lösungsvorschläge

Gelöst


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

mehr als 11 Jahre vor

Problem


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

mehr als 11 Jahre vor | 3 | 151 Lösungsvorschläge

Gelöst


Product of Array
Given an array of numbers. Get the product of the array.

mehr als 11 Jahre vor

Problem


Product of Array
Given an array of numbers. Get the product of the array.

mehr als 11 Jahre vor | 1 | 290 Lösungsvorschläge

Gelöst


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

mehr als 11 Jahre vor

Gelöst


Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

mehr als 11 Jahre vor

Gelöst


Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...

mehr als 11 Jahre vor

Gelöst


Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

mehr als 11 Jahre vor

Mehr laden