Question
Problem 6: (20 points) 1 Consider an FTIR interferogram signal is applied as an input to an FTIR spectrometer as a function of z (cm).
Problem 6: (20 points)
1Consider an FTIR interferogram signal is applied as an input to an FTIR spectrometer as a function of "z (cm)". MATLAB code which generates the signal has been attached. Add the script of fast fourier transform to this code to produce the output (spectrum) of the spectrometer as a function of wavenumber "k (cm-1)".
(Visit the links below to understand FTIR spectroscopy)
MATLAB CODE FOR PROBLEM 6
clear all
clc
ko=5;
zo=5;
L=100;
ks=4*ko;
dz=1/ks;
z=0:dz:L-dz;
dk=ko/8;
f1=sin(2*pi*ko*(z-zo));
g1=exp(-((z-zo)*pi*dk).^2);
fun=f1.*g1+0.05*randn(size(z)); %Function in z domain domain
plot(z,fun);
axis([0 20 -1 1]);
xlabel('Distance (m)');
ylabel('f(z)');
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