Lab Module 1
Lab Module 1
Introduction:
Scilab is an open-source software used for numerical computation, signal processing, data
analysis and plotting. In this laboratory, students are required to analyze a given audio signal in
both time and frequency domains.
Task:
1. Before starting the Laboratory session:
I. Download the Scilab Software at https://www.scilab.org/download/6.1.0
II. Install the software in your computer.
III. Launch the Scilab Application
2. Tutorials are available but not limited to:
I. https://www.scilab.org/tutorials
II. https://www.scilab.org/tutorials/scilab-beginners-%E2%80%93-tutorial
ENT 286 Instrumentation & Measurement Laboratory Module
3. You are given an audio signal file ‘sample_audio.wav’. You will be able to plot the signal
in time domain by using the given code below:
clf();
File = "put your file path location";
[y, Fs] = wavread(File);
y = y(1000:2000);
t = (0:length(y) - 1) / Fs;
subplot(211);
plot(t,y);
xlabel ("Time in Seconds");
title ("Original Signal");
ylabel ("Amplitude");