Skip to main content
Engineering LibreTexts

3.8: Numerical Experiment (Interference Patterns)

  • Page ID
    10107
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Let's add two sinusoids whose amplitudes and frequencies are identical and whose phases are different:

    \[x(t)=A\cos(ωt+φ)+A\cos(ωt+φ+ψ) \nonumber \]

    Show analytically that this sum has the phasor representation

    \[X=2A\cos(\frac ψ 2)e^{j[φ+(ψ/2)]} \nonumber \]

    Interpret this finding. Then write a MATLAB program that computes and plots complex \(X\) on the complex plane as \(ψ\) varies from 0 to \(2π\) and that plots magnitude, \(|X|\), and phase, \(\mathrm{arg}X\), versus the phase angle \(ψ\). (You will have to choose \(ψ=n\frac {2π} N\), \(n=0,1,...,N−1\), for a suitable \(N\).) When do you get constructive interfelence and when do you get destructive interference? Now compute and plot \(x(t)\) versus \(t\) (you will need to discretize \(t\)) for several interesting values of \(ψ\). Explain your interference results in terms of the amplitude and phase of \(x(t)\) and the magnitude and phase of \(X\). Use the subplots discussed in "An Introduction to MATLAB" to plot all of your results together.


    This page titled 3.8: Numerical Experiment (Interference Patterns) is shared under a CC BY 3.0 license and was authored, remixed, and/or curated by Louis Scharf (OpenStax CNX) via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    • Was this article helpful?