Brett Mastrangelo
Followers: 0 Following: 0
Statistiche
0 Problemi
50 Soluzioni
RANK
N/A
of 289.881
REPUTAZIONE
N/A
CONTRIBUTI
0 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
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
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
Given the variable x as your input, multiply it by four, then divide it by two. Then put the result in y.
If x = 5, y = 4*5/2 = 10
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