Question: Write a Matlab script that plots a Cosine signal with the following requirements: 1) Asks the user for a) Signal Duration b) Signal Frequency c)
Write a Matlab script that plots a Cosine signal with the following requirements: 1) Asks the user for a) Signal Duration b) Signal Frequency c) Sampling Frequency d) Ball Size 2) Plots the waveform as an oscillating ball that changes its color with each cycle of the signal (see example below). 3) Ball moves uphill slowly and downhill quickly.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
