Professional Documents
Culture Documents
2 FEB – 9 FEB
Get familiar with MATLAB basics
The plotting, annotate graph, manually enter arrays, concatenate array, reshaping array, access data in matrices,
sort table data, extract data, loops, function.
Files: array1.m , for_loop_add , forLoopEx , functEx , Plotting , switchcaseEx , , ifelseifEx , (multi1, add1, cl1) ,
(getFilter, LowpassFilter)
11 FEB – 18 FEB
Explore Filter Builder App and App Designer
- Build simple filters (Low pass, High pass, Band pass, Band stop)
- Create GUI to plot sine wave from excel file using m file
- Create GUI to plot sine wave from excel file using App DesignerFilter Builder App
Filter Builder
The filter specification is generated into MATLAB code and used as filter for LowpassFilter.m file.
-Magnitude Unconstrained.
Figure 1 : LowpassFilter.m
App Designer
Create .m file that design GUI as in Figure 2. Upload button used uigetfile to import excel data into the table.
Excel file consist of the Frequency and Amplitude data. Both frequency and amplitude data stored based on the
index number. Frequency data is stored in second column while amplitude in the first column.
Plot button called stored data and perform sine wave operation to plot the signal.
Figure 2 : buttonplot.m
From the .m file, the code is edited and transferred into App Designer. Two push button, one table and one axes
components are used for the GUI. This file can plot multiple input data.
Figure 3 : AmpFre.mlapp
For this file, it plots signal by using frequency and amplitude values according to the slider output.
Figure 4 : tutorialApp.mlapp