Answered step by step
Verified Expert Solution
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 Set the number of samples to and uncheck the automatic box. Select samples per second. Set the frequency to 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 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 Same as in Lab Generate another signal by modifying the original input signal using the arithmetic expression 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 X and input 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 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 What happens to the mean of Signal A Why? Tips: Set compression factor to and check the results.
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 Set the number of samples to and uncheck the automatic box. Select samples per second. Set the frequency to
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
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 Same as in Lab
Generate another signal by modifying the original input signal using the arithmetic expression 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 X and input 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 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 What happens to the mean of Signal A Why? Tips: Set compression factor to and check the results.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started