Statistics
0 Problems
50 Solutions
RANK
N/A
of 302,397
REPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 21,785
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Solved
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 ...
10 years ago
Solved
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 ...
10 years ago
Solved
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;...
10 years ago
Solved
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; ...
10 years ago
Solved
UICBioE240 problem 1.3
Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5
10 years ago
Solved
Volume of this donut
Given hole diameter a, and outermost diameter b, determine the volume y of the resulting donut.
10 years ago
Solved
UICBioE240 problem 1.2
Convert a column vector into a row vector. So if A = [1; 2; 3] Then B = [ 1 2 3]
10 years ago
Solved
Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.
10 years ago
Solved
UICBioE240 2.10
Given a vector of numbers, give the difference between the maximum and minimum values.
10 years ago
Solved
Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.
10 years ago
Solved
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...
10 years ago
Solved
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,...
10 years ago
Solved
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
10 years ago
Solved
Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250
10 years ago
Solved
ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.
10 years ago
Solved
Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.
10 years ago
Solved
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 ...
10 years ago
Solved
Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.
10 years ago
Solved
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
10 years ago
Solved
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
10 years ago
Solved
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]
10 years ago
Solved
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; ...
10 years ago
