CY Y
Followers: 0 Following: 0
Statistiques
RANG
13 525
of 295 448
RÉPUTATION
3
CONTRIBUTIONS
4 Questions
20 Réponses
ACCEPTATION DE VOS RÉPONSES
75.0%
VOTES REÇUS
9
RANG
482 of 20 227
RÉPUTATION
3 434
CLASSEMENT MOYEN
4.90
CONTRIBUTIONS
16 Fichiers
TÉLÉCHARGEMENTS
145
ALL TIME TÉLÉCHARGEMENTS
29447
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
Array resizing: Removing elements
* Remove elements 2, 4, and 6 from row array pendingTasks
environ 8 ans il y a
A résolu
Logic array: Identifying qualifying times
Create a logic array qualifyingIndex with true for any location where the runner is male with a running time less than 8.2. Row ...
environ 8 ans il y a
A résolu
Linear-spaced points array
* Construct a row array plotPoints with 5 values that are spaced linearly from lowValue to highValue. Ex: If lowValue is 1 and ...
environ 8 ans il y a
A résolu
Integer indexing array: Reverse subsets
Construct an indexing array copySubset so that the statement reversedOrder = origOrder(copySubset); results in a row array begin...
environ 8 ans il y a
A résolu
Indexing the array: Moving values
Assume sampleReadings always contains three elements. * Shift the array contents one position to the left. * The rightmost ...
environ 8 ans il y a
A résolu
Concatenating arrays
* Assign studentIDs with concatenated row arrays groupA and groupB
environ 8 ans il y a
A résolu
Element-wise division
* Assign row array weightKilo with the corresponding weight in kilograms. Use the following conversion: kg = lb / 2.2
environ 8 ans il y a
A résolu
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...
environ 8 ans il y a
A résolu
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...
environ 8 ans il y a
A résolu
Solving Quadratic Equations (Version 1)
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...
environ 8 ans il y a
A résolu
Solving Quadratic Equations (Version 1)
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...
environ 8 ans il y a
A résolu
Logical indexing: High scores
Row array gameScores contains all player scores. Construct a row array highScores than contains all player scores greater than 5...
environ 8 ans il y a
A résolu
Relational operators: Guessing game
Row array userGuess contains a sequence of user guesses. Create a logical indexing array correctGuess with true in each location...
environ 8 ans il y a
A résolu
Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...
environ 8 ans il y a
A résolu
Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...
environ 8 ans il y a
A résolu
Tree Height
Assign treeHeight with the tree height given the shadow length and angle of elevation. Simple geometry can compute the heigh...
environ 8 ans il y a
A résolu
Logical indexing: Player scores
Player 1 and player 2 take turns playing a game. Row array gameScores contains the scores of player 1, then player 2, then playe...
environ 8 ans il y a
A résolu
Integer indexing array: Shift left
Write a *single* statement that shifts row array attendanceValues one position to the left. The rightmost element in attendanceV...
environ 8 ans il y a
A résolu
Function definition: Volume of a pyramid
Define a function CalculatePyramidVolume with inputs baseLength, baseWidth, and pyramidHeight. The function returns pyramidVolum...
environ 8 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...
environ 8 ans il y a
A résolu
Double colon operator: Counting down
* Construct a row array countValues from startValue to endValue, elements decremented by -2 Ex: If startValue is 10 and end...
environ 8 ans il y a
A résolu
Indexing an array element
* Assign currentStudent with the second element of array testScores. _Reminder: Array indexing starts with 1._
environ 8 ans il y a
A résolu
Double colon operator: Counting up
* Construct a row array countValues from 1 to endValue, using the double colon operator. Ex: If endValue is 5, countValues s...
environ 8 ans il y a
A résolu
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...
environ 8 ans il y a
A résolu
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...
environ 8 ans il y a
A résolu
Double colon operator: Increment by x
* Construct a row array countValues from 0 to 25, elements incremented by incrementValue. Ex: If incrementValue is 5, countVa...
environ 8 ans il y a
A résolu
Coordinate geometry
Assign pointsDistance with the distance between point (x1, y1) and point (x2, y2). The distance is calculated by: Distance =...
environ 8 ans il y a
A résolu
Indexing the last element: Print queue
* Delete the last element of row array printQueue.
environ 8 ans il y a