Times 2 - START HERE
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Examples:...
9 years ago
Solved
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
9 years ago
Solved
Add offset to a signal
Produce the following signal:
<<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>>
You should see a downward...
9 years ago
Solved
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...
9 years ago
Solved
Produce a sine wave
Produce a sine wave with amplitude 3:
<<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>
9 years ago
Solved
Produce a cosine wave
Produce the following signal:
<<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>
9 years ago
Solved
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...
9 years ago
Solved
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.]
Non-scor...