Community Profile

photo

Brett Mastrangelo


Attivo dal 2016

Followers: 0   Following: 0

Statistiche

  • Solver

Visualizza badge

Feeds

Visto da

Risolto


Sum function: Counting cookies
Row array troopCookieSales contains the number of boxes of cookies sold by each troop member. Assign totalSales with the sum of ...

oltre 7 anni fa

Risolto


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

oltre 7 anni fa

Risolto


this is a test problem
this is a anniversary test problem

oltre 7 anni fa

Risolto


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

oltre 7 anni fa

Risolto


UICBioE240 problem 1.5
Find the size of the matrix, then multiply both values by 10 and make it into a column vector. So if A = [ 1 2 3; ...

oltre 7 anni fa

Risolto


UICBioE240 problem 1.3
Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5

oltre 7 anni fa

Risolto


Volume of this donut
Given hole diameter a, and outermost diameter b, determine the volume y of the resulting donut.

oltre 7 anni fa

Risolto


UICBioE240 problem 1.2
Convert a column vector into a row vector. So if A = [1; 2; 3] Then B = [ 1 2 3]

oltre 7 anni fa

Risolto


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

oltre 7 anni fa

Risolto


UICBioE240 2.10
Given a vector of numbers, give the difference between the maximum and minimum values.

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

oltre 7 anni fa

Risolto


Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...

oltre 7 anni fa

Risolto


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

oltre 7 anni fa

Risolto


modulus of a number
find the modulus of a given number

oltre 7 anni fa

Risolto


Square root of a number
Write a code that will output the square root of x.

oltre 7 anni fa

Risolto


find lenth of array
you have given an array, find the length of that.

oltre 7 anni fa

Risolto


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

oltre 7 anni fa

Risolto


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

oltre 7 anni fa

Risolto


Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.

oltre 7 anni fa

Risolto


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

oltre 7 anni fa

Risolto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

oltre 7 anni fa

Risolto


Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.

oltre 7 anni fa

Risolto


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

oltre 7 anni fa

Risolto


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

oltre 7 anni fa

Risolto


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

oltre 7 anni fa

Risolto


Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...

oltre 7 anni fa

Risolto


find sum of the numbers in array
calculate the sum of numbers in a given array

oltre 7 anni fa

Risolto


Find mean
given an array, find the mean of the number in that array

oltre 7 anni fa

Carica altro