Resuelto


Make a full wave rectifier
Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Declaring a character
* Assign middleInitial with the character T.

alrededor de 10 años hace

Resuelto


Indexing the last element: Print queue
* Delete the last element of row array printQueue.

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Construct an array
* Construct an row array named observedValues with elements sensorReading1, sensorReading2, and sensorReading3.

alrededor de 10 años hace

Resuelto


Add damping to a mass spring system
Model an ideal mass-spring-damper system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/im...

alrededor de 10 años hace

Resuelto


Produce a Fibonacci sequence
Construct a diagram that generates the Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34.....up to 377 The Fibonacci sequ...

alrededor de 10 años hace

Resuelto


Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

alrededor de 10 años hace

Resuelto


Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

alrededor de 10 años hace

Resuelto


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

alrededor de 10 años hace

Resuelto


Make a half wave rectifier
Produce a signal that outputs the given sine wave source when it is greater than zero and outputs zero when it is less than zero...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Logic variables
* Assign isAvailable with true.

alrededor de 10 años hace

Resuelto


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the hourly wage times 40 and times 50, because annualSalary = hour...

alrededor de 10 años hace

Resuelto


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

alrededor de 10 años hace

Resuelto


Fahrenheit to Celsius using multiple statements
°C = (°F - 32) x 5/9 * Write a statement that assigns fractionalMultiplier with 5/9. * Write a second statement that assign...

alrededor de 10 años hace

Resuelto


Compute total cost
A soda costs 2 dollars. A taco costs 3 dollars. Write a statement that assigns totalCost with the total meal cost given the numb...

alrededor de 10 años hace

Resuelto


Integer indexing array: Weekend box office
The row array movieBoxOffice stores the amount of money a movie makes (in millions of $) for the 7 days of a week, starting with...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Plus x: A first program
_Solve this problem in Mathwork's online Cody system._ Write a statement that assigns y with 5 plus x. Ex: If input x = 2,...

alrededor de 10 años hace

Resuelto


Circle area using pi
Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Odd elimination
Inspired by Project Euler problem #539 You'll be given a vector from 1 to n; Going from left to right, remove the first n...

alrededor de 10 años hace

Resuelto


Why?
Why has been a major question throughout history; why did Napoleon fail, why do we exist, why must I work a pageant, to name a f...

alrededor de 10 años hace

Resuelto


easy multipliation
return y to be equal to 2 * x

alrededor de 10 años hace

Resuelto


Find C in a right triangle
Given a right triangle A and B. Find C is hyponutuse

alrededor de 10 años hace

Cargar más