In Simulink we want to generate the following sinusoid using the Sine Wave block: x (t) = 2 sin(2?t - ?/2) Fill in the blanks on what the Block Parameters should be for this Simulink block: Block Parameters: Sine Wave Sine Wave Output a sine wave: O(t) = Amp*Sin(Freq*t+Phase) + Bias Sine type determines the computational technique used. The parameters in the two types are related through: Samples per period = 2*pi / (Frequency * Sample time) Number of offset samples = Phase * Samples per period / (2*pi) Use the sample-based sine type if numerical problems due to running for large times (e.g. overflow in absolute time) occur. Parameters Sine type: Time based Time (t): Use simulation time Amplitude: 1 Bias: 0 Frequency (rad/sec): 1 Phase (rad): 0 Sample time: 0 Interpret vector parameters as 1-D OK Cancel Help Apply Amplitude: 2 Bias: 0 Frequency (rad/sec): 6.28 Phase (rad): -1.57
Added by Kevin M.
Close
Step 1
The amplitude is the coefficient in front of the sine function, which is 2. Show more…
Show all steps
Your feedback will help us improve your experience
Kirsty Gledhill and 82 other Physics 102 Electricity and Magnetism educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Sri K.
QUESTION 4, NEED MATLAB CODING. SINE WAVE ONLY. OTHERS NOT NEEDED. TIME SHIFTING 17 LEFT AND RIGHT. COMPARE WITH QUESTION 3. CAN ANYONE WHO HAS MATLAB DO THIS? Question 1. Given a periodic function, x(t) as shown in Figure 1, PLOT the signal x(t). Only choose one signal for one group. Group 1: Sinusoidal wave Group 3: Half-wave Rectified Group 2: Sawtooth Group 4: Full-wave Rectified Figure 1 2. Perform EXPONENTIAL Fourier Series calculation for one period of x(t). PLOT both the AMPLITUDE and PHASE of the harmonics. 3. PLOT the reconstructed signal of x(t), using the following equation: x_N(t) = sum_{n=-N}^{+N} C_n e^{j n omega t} As more and more Fourier components are added, the sum gets closer and closer to the original waveform (Gibbs phenomenon). PLOT x_N(t) for N=1, 5, 15, 20, and 50 using subplot to show the effect of the Gibbs phenomenon. An example of how to write a Matlab code for the reconstructed signal is given in the APPENDIX. 4. Observe the difference in Q3 when a time shift is applied to the original signal.
Madhur L.
The discrete-time Fourier series (DTFS) is a frequency domain representation for periodic discrete-time sequences. For a signal x[n] with fundamental period N, the DTFS synthesis and analysis equations are given as: Synthesis equation: x[n] = ∑ Ck e^(jkw0n) Analysis equation: Ck = (1/N) ∑ x[n] e^(-jk(2̀́/N)n) In MATLAB environment, we can generate a rectangular signal using square function. The command A*square (2*pi*f*t,d) generates a square wave for the time vector t with frequency f and duty cycle d. You can read Matlab's Help Documentation about square function for more information. Using the parameters f = 2 and d = %50, generate a rectangular signal x(t) for a time vector of t = 0:0.1:1.
Recommended Textbooks
University Physics with Modern Physics
Physics: Principles with Applications
Fundamentals of Physics
Watch the video solution with this free unlock.
EMAIL
PASSWORD