photo

Cory Johnson


NCSU CSC

Actif depuis 2015

Followers: 0   Following: 0

Message

Mechanical Engineering Student at NC State.

Statistiques

All
MATLAB Answers

1 Question
4 Réponses

File Exchange

1 Fichier

Cody

0 Problèmes
74 Solutions

RANG
6 024
of 300 338

RÉPUTATION
8

CONTRIBUTIONS
1 Question
4 Réponses

ACCEPTATION DE VOS RÉPONSES
100.0%

VOTES REÇUS
2

RANG
18 062 of 20 922

RÉPUTATION
2

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
1 Fichier

TÉLÉCHARGEMENTS
1

ALL TIME TÉLÉCHARGEMENTS
28

RANG
9 797
of 168 149

CONTRIBUTIONS
0 Problèmes
74 Solutions

SCORE
640

NOMBRE DE BADGES
4

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • First Review
  • First Submission
  • Knowledgeable Level 1
  • First Answer
  • Scavenger Finisher
  • CUP Challenge Master
  • Commenter
  • Promoter
  • Solver

Afficher les badges

Feeds

Afficher par

Réponse apportée
Is there a good way to get Cody Coursework results to other grading programs?
http://www.mathworks.com/matlabcentral/fileexchange/60002-codygrades This file should work!

presque 9 ans il y a | 0

| A accepté

Réponse apportée
Save each vector iteration into a matrix
There are lots of ways to organize data in MATLAB. Below I have shown 3 ways to do this. I think you're looking for the last met...

presque 9 ans il y a | 2

| A accepté

Question


Is there a good way to get Cody Coursework results to other grading programs?
Cody Coursework results are given by each submissions. I would like to group them by student instead.

presque 9 ans il y a | 1 réponse | 0

1

réponse

A soumis


codygrades
This code generates a CSV file to upload Cody Coursework scores to Moodle

presque 9 ans il y a | 1 téléchargement |

0.0 / 5

Réponse apportée
solving an equation in matlab
This can be done with a for loop and symbolic variables. It is good practice to assign contstants at the top of the script: ...

presque 9 ans il y a | 0

A résolu


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

presque 9 ans il y a

A résolu


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

presque 9 ans il y a

A résolu


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

presque 9 ans il y a

A résolu


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

presque 9 ans il y a

A résolu


Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

presque 9 ans il y a

Réponse apportée
Moving players into teams - equal as possible random
What a great question! Try matching the highest and lowest scores, then filling in the middle with the average score that wou...

environ 9 ans il y a | 0

A résolu


Narcissistic problem
How many likes has this problem?

presque 10 ans il y a

A résolu


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

environ 10 ans il y a

A résolu


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

environ 10 ans il y a

A résolu


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

environ 10 ans il y a

A résolu


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

environ 10 ans il y a

A résolu


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]

environ 10 ans il y a

A résolu


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

environ 10 ans il y a

A résolu


Function call in expression: Reduced pricing.
Write a single statement that assigns cartTotal with the discounted cost of items 1 and 2. Function DiscountedPrice will return ...

environ 10 ans il y a

A résolu


Function definition: Double down.
* Complete the DoubleDown function to return twice the initialValue.

environ 10 ans il y a

A résolu


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

environ 10 ans il y a

A résolu


Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.

environ 10 ans il y a

A résolu


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

environ 10 ans il y a

A résolu


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

environ 10 ans il y a

A résolu


Declaring a string
* Assign streetAddress with the string 1313 Mockingbird Lane.

environ 10 ans il y a

A résolu


Logic variables
* Assign isAvailable with true.

plus de 10 ans il y a

A résolu


Character variable: Compass direction
* Assign compassDirection with sensorReading's value. Both are character variables.

plus de 10 ans il y a

A résolu


Declaring a character
* Assign middleInitial with the character T.

plus de 10 ans il y a

A résolu


Write an expression
Assigns finalResult with firstSample plus secondSample, squared, then divided by 3. Ex: If firstSample is 18 and secondSample is...

plus de 10 ans il y a

A résolu


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

plus de 10 ans il y a

Charger plus