Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Introduce a while loop ( Right click on the Block diagram and choose Structure, While loop ) . Introduce a button for stopping the while

Introduce a while loop (Right click on the Block diagram and choose "Structure", "While loop").
Introduce a button for stopping the while loop if needed (Right click on the red button in the lower right corner and select create control).
Generate and display a signal (sine wave). Call it Signal A (Same as in Lab 1). Set the number of samples to 100 and uncheck the automatic box. Select 1000 samples per second. Set the frequency to 10Hz.
Introduce a sample compression block (Right click on the Block diagram, find search. Click on "search" and type "compression" to find the block "Sample Compression".) and select to display the mean output of the input signal. (use reduction factor of 10)
Introduce a switch and connect it to the Enable port of the sample compression to be able to turn on and off the sample compression block. (Right click on front panel and choose "Boolean", "Vertical toggle switch" or another switch. Go back to block diagram and draw a line between the switch and "Enable" of the compression block)
Send the mean of Signal A to an Express table. (Right click on front panel and choose "List, Table & Tree", "Ex Table")
Introduce 'time delay' to control the display rate of output. (Use delay as 0.05sec. Same as in Lab 1)
Generate another signal by modifying the original input signal using the arithmetic expression (2**sin2t).(Right click on the Block diagram, find search. Click on "search" and type "expression" to find the block "Formula Arithmetic & Comparison >>". Then define the original sine wave as "X1" and input "2**x1**x1") Display this new signal, calling it Signal B, on your graph along with Signal A and the mean of Signal A (Same as in Lab 1, remember to turn the switch on). How does the frequency of signal A differ from the signal B? Why?
Change the sample compression factor to 100. What happens to the mean of Signal A? Why? (Tips: Set compression factor to 50,25 and check the results.)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions