Homeworks on FFT Instr. and Meas. for Communication Systems- Gianfranco Miele. Name Surname

Size: px
Start display at page:

Download "Homeworks on FFT Instr. and Meas. for Communication Systems- Gianfranco Miele. Name Surname"

Transcription

1 Homeworks on FFT Instr. and Meas. for Communication Systems- Gianfranco Miele Name Surname October 15,

2 Name Surname (Gianfranco Miele): Homeworks on FFT Contents Exercise 1 (Solution) (a) (b) (c) (d) (e) (f) (g) Exercise 2 (Solution) List of Figures 1 s 1 (t) and s 2 (t) versus time S 1 (f) S 2 (f) S 1 (f) evaluated considering two different transform lengths S 2 (f) evaluated considering two different transform lengths S 1 (f) evaluated considering two different windows S 2 (f) evaluated considering two different windows S tot (f) evaluated considering two different transform lengths. A rectangular window has been applied S tot (f) evaluated considering two different transform lengths. A Hamming window has been applied S 1 (f) S 2 (f) S 1 (f) evaluated considering two different windows (rectangular and Hanning windows) S 2 (f) evaluated considering two different windows (rectangular and Hanning windows) S 1 (f) evaluated considering two different windows (rectangular and flat-top windows) S 2 (f) evaluated considering two different windows (rectangular and flat-top windows) GUI implementing the frequency shift of a sinusoidal signal List of Tables Page 2 of 19

3 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 1 Exercise 1 (Solution) (a) The listing below shows the correct MATLAB script. A1=75; %amplitude of s_1(t) f1=609.36; %frequency of s_1(t) A2=1; %amplitude of s_2(t) f2=937.5; %frequency of s_2(t) 5 fs=6000; %sampling rate Ts=1/fs; %sampling period t=[0:ts:63*ts]; %time vector x1=a1*sin(2*pi*f1*t); %s_1 x2=a2*sin(2*pi*f2*t); %s_2 10 plot(t,x1, b, LineWidth,6) %plot of s_1(t) vs time hold on plot(t,x2, r, LineWidth,6) %plot of s_2(t) vs time 15 xlabel( Time [s], FontSize,22) %x-axis label ylabel( Amplitude [V], FontSize,22) %y-axis label legend( s_1(t), s_2(t) ) %legend Figure 1: s 1 (t) and s 2 (t) versus time (b) The listing below shows the correct MATLAB script. Exercise 1 continued on next page... Page 3 of 19

4 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 1 (continued) X1= f f t (x1)/length(x1); %FFT of s_1(t) X2= f f t (x2)/length(x2); %FFT of s_2(t) df=fs/length(x1); %frequency resolution 5 f=[0:length(x1)/2]*df; %vector of frequency bins plot(f,abs(x1(1:length(f))), b, LineWidth,6) %plot of S_1(f) ylabel( Magnitude [V], FontSize,22) 10 plot(f,abs(x2(1:length(f))), r, LineWidth,6) %plot of S_2(f) 15 ylabel( Magnitude [V], FontSize,22) Figure 2: S 1 (f) Regarding Figure 2, analyzing the above reported plot it is possible to highlight that S 1 (f) has the highest peak at Hz and its value is V and these values don t match with the expected results. In fact from the calculations S 1 (f) have a line spectrum composed by a single tone at Hz and its value is 37.5 V. As far as Figure 3 goes, the highest peak is at Hz and its value is 0.5 V and these values agree with that obtained from the calculations. In the first case, the analysis is affected by spectral leakage and the amplitude error is referred to as scalloping loss. (c) The listing below shows the correct MATLAB script. Exercise 1 continued on next page... Page 4 of 19

5 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 1 (continued) Figure 3: S 2 (f) X3= f f t (x1,1024)/length(x1); %new FFT of s_1(t) considering %a transform length of 1024 %samples 5 X4= f f t (x2,1024)/length(x1); %new FFT of s_2(t) considering %a transform length of 1024 %samples df=fs/1024; %new frequency resolution f3=[0:1024/2]*df; %new vector of frequency bins 10 plot(f,abs(x1(1:length(f))), b, LineWidth,6) %plot of S_1(f) hold on plot(f3,abs(x3(1:length(f3))), g, LineWidth,6) %new plot of S_1(f) 15 ylabel( Magnitude [V], FontSize,22) legend( 64-points, 1024-points ) %legend plot(f3,abs(x4(1:length(f3))), k, LineWidth,6) %plot of S_2(f) 20 hold on plot(f,abs(x2(1:length(f))), r, LineWidth,6) %new plot of S_2(f) ylabel( Magnitude [V], FontSize,22) 25 legend( 1024-points, 64-points ) %legend Using a higher transform length, we have improved the frequency resolution of our analysis, allowing to obtain a better magnitude estimation. Exercise 1 continued on next page... Page 5 of 19

6 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 1 (continued) Figure 4: S 1 (f) evaluated considering two different transform lengths Figure 5: S 2 (f) evaluated considering two different transform lengths (d) The listing below shows the correct MATLAB script. w=hamming(length(x1)) ; %window definition y1=x1.*w; %windowing s_1(t) y2=x2.*w; %windowing s_2(t) 5 Y1= f f t (y1)/sum(w); %FFT of the windowed signal Exercise 1 continued on next page... Page 6 of 19

7 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 1 (continued) %s_1(t) Y2= f f t (y2)/sum(w); %FFT of the windowed signal %s_2(t) plot(f,abs(x1(1:length(f))), b, LineWidth,6) %plot of S_1(f) 10 hold on plot(f,abs(y1(1:length(f))), r, LineWidth,6) %plot of S_1_windowed(f) ylabel( Magnitude [V], FontSize,22) 15 legend( Rectangular, Hamming ) %legend plot(f,abs(x2(1:length(f))), b, LineWidth,6) %plot of S_2(f) hold on 20 plot(f,abs(y2(1:length(f))), r, LineWidth,6) %plot of S_2_windowed(f) ylabel( Magnitude [V], FontSize,22) legend( Rectangular, Hamming ) %legend 25 Figure 6: S 1 (f) evaluated considering two different windows Regarding Figure 6, analyzing the above reported plot it is possible to highlight that S 1 (f) the Hamming window allows to improve the magnitude estimation. In fact in this case we can found a highest peak at Hz with an amplitude value equal to 30.9 V. As a consequence, the measure is affected by scallop loss but its value is lower than that experienced considering a rectangular window. The Hamming window permits to reduce the spectral leakage. As far as Figure 7 goes, the highest peak is at Hz and its value is 0.5 V and these values agree with that obtained from the calculations. Exercise 1 continued on next page... Page 7 of 19

8 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 1 (continued) Figure 7: S 2 (f) evaluated considering two different windows (e) The listing below shows the correct MATLAB script. s1=x1+x2; %new signal s_tot(t) S1= f f t (s1)/length(s1); %FFT of s_tot(t) plot(f,20*log10(abs(s1(1:length(f)))), b, LineWidth,6) %plot of S_tot(f) 5 hold on S2= f f t (s1,1024)/length(s1); %new FFT of s_tot(t) %considering a %transform length of 10 %1024 samples plot(f3,20*log10(abs(s2(1:length(f3)))), r, LineWidth,6) %new plot of S_tot(f) ylabel( Magnitude [dbv], FontSize,22) legend( 64-points, 1024-points ) 15 S3= f f t (s1.*w)/sum(w); %FFT of the windowed %version of s_tot(t) plot(f,20*log10(abs(s3(1:length(f)))), b, LineWidth,6) %plot of the FFT of the 20 %windowed version of %s_tot(t) hold on S4= f f t (s1.*w,1024)/sum(w); %new FFT of the 25 %windowed version %of s_tot(t) %considering a Exercise 1 continued on next page... Page 8 of 19

9 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 1 (continued) %transform length of %1024 samples 30 plot(f3,20*log10(abs(s4(1:length(f3)))), r, LineWidth,6) %plot of the new FFT %of the windowed %version of s_tot(t) ylabel( Magnitude [dbv], FontSize,22) 35 legend( 64-points, 1024-points ) Figure 8: S tot (f) evaluated considering two different transform lengths. A rectangular window has been applied. In Figure 9 the weaker signal is more visible. As a consequence, the Hamming window allows to distinctly measure the weaker signal. (f) The listing below shows the correct MATLAB script. fs1=3000; %new sampling rate Ts1=1/fs1; %new sampling period t1=[0:ts1:63*ts1]; %new vector of time samples x1b=a1*sin(2*pi*f1*t1); %resampled signal s_1(t) 5 x2b=a2*sin(2*pi*f2*t1); %resampled signal s_1(t) X1b= f f t (x1b)/length(x1b); %FFT of s1_(t) X2b= f f t (x2b)/length(x2b); %FFT of s1_(t) df1=fs1/length(x1b); %new frequency resolution 10 f4=[0:length(x1b)/2]*df1; %new vector of frequency bins plot(f4,abs(x1b(1:length(f4))), b, LineWidth,6) %plot of S_1(f) Exercise 1 continued on next page... Page 9 of 19

10 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 1 (continued) Figure 9: S tot (f) evaluated considering two different transform lengths. applied. A Hamming window has been ylabel( Magnitude [V], FontSize,22) 15 plot(f4,abs(x2b(1:length(f4))), r, LineWidth,6) 20 ylabel( Magnitude [V], FontSize,22) %plot of S_2(f) Using a sampling rate equal to 3000 Hz it is possible to avoid spectral leakage and it is proved by the Figures 10 and 11. (g) The listing below shows the correct MATLAB script. w=hann(length(x1)) ; y1=x1.*w; y2=x2.*w; %Hanning window %windowing s_1(t) %windowing s_2(t) 5 Y1= f f t (y1)/sum(w); %FFT of the windowed signal %s_1(t) Y2= f f t (y2)/sum(w); %FFT of the windowed signal %s_2(t) plot(f,abs(x1(1:length(f))), b, LineWidth,6) %plot of S_1(f) (rectangular 10 %window) hold on Exercise 1 continued on next page... Page 10 of 19

11 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 1 (continued) Figure 10: S 1 (f) Figure 11: S 2 (f) plot(f,abs(y1(1:length(f))), r, LineWidth,6) 15 ylabel( Magnitude [V], FontSize,22) legend( Rectangular, Hanning ) %plot of S_1(f) (Hanning %window) %legend 20 plot(f,abs(x2(1:length(f))), b, LineWidth,6) %plot of S_2(f) (rectangular Exercise 1 continued on next page... Page 11 of 19

12 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 1 (continued) hold on plot(f,abs(y2(1:length(f))), r, LineWidth,6) %window) 25 %window) xlabel( Frequency [Hz] ) ylabel( Magnitude [V] ) legend( Rectangular, Hanning ) %legend 30 w=flattopwin(length(x1)) ; y1=x1.*w; y2=x2.*w; %plot of S_2(f) (Hanning %Flat-Top window %windowing s_1(t) %windowing s_2(t) 35 Y1= f f t (y1)/sum(w); %FFT of the windowed signal %s_1(t) Y2= f f t (y2)/sum(w); %FFT of the windowed signal %s_2(t) plot(f,abs(x1(1:length(f))), b, LineWidth,6) %plot of S_1(f) (rectangular 40 %window) hold on plot(f,abs(y1(1:length(f))), r, LineWidth,6) 45 ylabel( Magnitude [V], FontSize,22) legend( Rectangular, Flat-Top ) %plot of S_1(f) (Flat-top %window) 50 plot(f,abs(x2(1:length(f))), b, LineWidth,6) %plot of S_2(f) (rectangular %window) hold on plot(f,abs(y2(1:length(f))), r, LineWidth,6) %plot of S_1(f) (Flat-top 55 %window) ylabel( Magnitude [V], FontSize,22) legend( Rectangular, Flat-Top ) As the results depicted in s 12 and 13 concern, it is possible to note that the Hanning window allows to improve the magnitude estimate, reducing the scallop loss. These effect is clearly visibile when the flat-top window is applied. In fact, analyzing the plot depicted in 14 we can measure a magnitude value equal to V with a very low scallop loss. On the other hand we have to highlight that this window has a large main lobe not allowing an accurate frequency measurement. Page 12 of 19

13 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 2 Figure 12: S 1 (f) evaluated considering two different windows (rectangular and Hanning windows). Figure 13: S 2 (f) evaluated considering two different windows (rectangular and Hanning windows). Exercise 2 (Solution) The listing below shows the correct MATLAB script. function varargout = homework(varargin) % HOMEWORK MATLAB code for homework.fig % HOMEWORK, by itself, creates a new HOMEWORK or raises the existing % singleton*. 5 % Exercise 2 continued on next page... Page 13 of 19

14 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 2 (continued) Figure 14: S 1 (f) evaluated considering two different windows (rectangular and flat-top windows). Figure 15: S 2 (f) evaluated considering two different windows (rectangular and flat-top windows). % H = HOMEWORK returns the handle to a new HOMEWORK or the handle to % the existing singleton*. % % HOMEWORK( CALLBACK,hObject,eventData,handles,...) calls the local 10 % function named CALLBACK in HOMEWORK.M with the given input arguments. % % HOMEWORK( Property, Value,...) creates a new HOMEWORK or raises the % existing singleton*. Starting from the left, property value pairs are Exercise 2 continued on next page... Page 14 of 19

15 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 2 (continued) % applied to the GUI before homework_openingfcn gets called. An 15 % unrecognized property name or invalid value makes property application % stop. All inputs are passed to homework_openingfcn via varargin. % % *See GUI Options on GUIDE s Tools menu. Choose "GUI allows only one % instance to run (singleton)". 20 % % See also: GUIDE, GUIDATA, GUIHANDLES % Edit the above text to modify the response to help homework 25 % Last Modified by GUIDE v Oct :45:16 % Begin initialization code - DO NOT EDIT gui_singleton = 1; gui_state = struct( gui_name, mfilename, gui_singleton, gui_singleton,... gui_layoutfcn, [],... gui_callback, []); 35 i f nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1}); end i f nargout 40 [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); else gui_mainfcn(gui_state, varargin{:}); end % End initialization code - DO NOT EDIT 45 % --- Executes just before homework is made visible. function homework_openingfcn(hobject, eventdata, handles, varargin) % This function has no output args, see OutputFcn. 50 % hobject handle to % handles structure with handles and user data (see GUIDATA) % varargin command line arguments to homework (see VARARGIN) 55 % Choose default command line output for homework handles.output = hobject; % Update handles structure guidata(hobject, handles); 60 % UIWAIT makes homework wait for user response (see UIRESUME) % uiwait(handles.1); 65 % --- Outputs from this function are returned to the command line. function varargout = homework_outputfcn(hobject, eventdata, handles) Exercise 2 continued on next page... Page 15 of 19

16 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 2 (continued) % varargout cell array for returning output args (see VARARGOUT); % hobject handle to 70 % handles structure with handles and user data (see GUIDATA) % Get default command line output from handles structure varargout{1} = handles.output; 75 function A_Callback(hObject, eventdata, handles) % hobject handle to A (see GCBO) 80 % handles structure with handles and user data (see GUIDATA) % Hints: get(hobject, String ) returns contents of A as text % str2double(get(hobject, String )) returns contents of A as a double 85 % --- Executes during object creation, after setting all properties. function A_CreateFcn(hObject, eventdata, handles) % hobject handle to A (see GCBO) 90 % handles empty - handles not created until after all CreateFcns called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. i f ispc && isequal(get(hobject, BackgroundColor ), get(0, defaultuicontrolbackgroundcolor )) 95 set(hobject, BackgroundColor, white ); end 100 function f0_callback(hobject, eventdata, handles) % hobject handle to f0 (see GCBO) % handles structure with handles and user data (see GUIDATA) 105 % Hints: get(hobject, String ) returns contents of f0 as text % str2double(get(hobject, String )) returns contents of f0 as a double % --- Executes during object creation, after setting all properties. 110 function f0_createfcn(hobject, eventdata, handles) % hobject handle to f0 (see GCBO) % handles empty - handles not created until after all CreateFcns called 115 % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. i f ispc && isequal(get(hobject, BackgroundColor ), get(0, defaultuicontrolbackgroundcolor )) set(hobject, BackgroundColor, white ); end Exercise 2 continued on next page... Page 16 of 19

17 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 2 (continued) 120 function fs_callback(hobject, eventdata, handles) % hobject handle to fs (see GCBO) 125 % handles structure with handles and user data (see GUIDATA) 130 % Hints: get(hobject, String ) returns contents of fs as text % str2double(get(hobject, String )) returns contents of fs as a double % --- Executes during object creation, after setting all properties. function fs_createfcn(hobject, eventdata, handles) % hobject handle to fs (see GCBO) 135 % handles empty - handles not created until after all CreateFcns called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. 140 i f ispc && isequal(get(hobject, BackgroundColor ), get(0, defaultuicontrolbackgroundcolor )) set(hobject, BackgroundColor, white ); end function deltaf_callback(hobject, eventdata, handles) % hobject handle to deltaf (see GCBO) % handles structure with handles and user data (see GUIDATA) % Hints: get(hobject, String ) returns contents of deltaf as text % str2double(get(hobject, String )) returns contents of deltaf as a double 155 % --- Executes during object creation, after setting all properties. function deltaf_createfcn(hobject, eventdata, handles) % hobject handle to deltaf (see GCBO) % handles empty - handles not created until after all CreateFcns called 160 % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. i f ispc && isequal(get(hobject, BackgroundColor ), get(0, defaultuicontrolbackgroundcolor )) set(hobject, BackgroundColor, white ); 165 end % --- Executes on button press in pushbutton1. function pushbutton1_callback(hobject, eventdata, handles) 170 % hobject handle to pushbutton1 (see GCBO) % handles structure with handles and user data (see GUIDATA) Exercise 2 continued on next page... Page 17 of 19

18 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 2 (continued) axes(handles.axes1); cla; 175 A=str2num(get(handles.A, String )); f0=str2num(get(handles.f0, String )); fs=str2num(get(handles.fs, String )); delta_f=str2num(get(handles.deltaf, String )); 180 t=str2num(get(handles.t, String )); Ts=1/fs; t1=[0:ts:t]; x=a*sin(2*pi*f0*t1).*exp(-j*2*pi*(delta_f)*t1); X=abs( f f t (x))/length(x); 185 df=fs/length(x); f=(0:round(length(x)/2))*df; plot(f,x(1:length(f)), LineWidth,6) ylabel( Magnitude [V], fontsize,22) 190 xlabel( Frequency [Hz], fontsize,22) function t_callback(hobject, eventdata, handles) 195 % hobject handle to t (see GCBO) % handles structure with handles and user data (see GUIDATA) % Hints: get(hobject, String ) returns contents of t as text 200 % str2double(get(hobject, String )) returns contents of t as a double % --- Executes during object creation, after setting all properties. function t_createfcn(hobject, eventdata, handles) 205 % hobject handle to t (see GCBO) % handles empty - handles not created until after all CreateFcns called % Hint: edit controls usually have a white background on Windows. 210 % See ISPC and COMPUTER. i f ispc && isequal(get(hobject, BackgroundColor ), get(0, defaultuicontrolbackgroundcolor )) set(hobject, BackgroundColor, white ); end The GUI is depicted in 16. Page 18 of 19

19 Name Surname (Gianfranco Miele): Homeworks on FFT Exercise 2 Figure 16: GUI implementing the frequency shift of a sinusoidal signal. Page 19 of 19

Signal and Systems. Matlab GUI based analysis. XpertSolver.com

Signal and Systems. Matlab GUI based analysis. XpertSolver.com Signal and Systems Matlab GUI based analysis Description: This Signal and Systems based Project takes a sound file in.wav format and performed a detailed analysis, as well as filtering of the signal. The

More information

% Edit the above text to modify the response to help Video_Player. % Last Modified by GUIDE v May :38:12

% Edit the above text to modify the response to help Video_Player. % Last Modified by GUIDE v May :38:12 FILE NAME: Video_Player DESCRIPTION: Video Player Name Date Reason Sahariyaz 28-May-2015 Basic GUI concepts function varargout = Video_Player(varargin) VIDEO_PLAYER MATLAB code for Video_Player.fig VIDEO_PLAYER,

More information

LAMPIRAN 1. Percobaan

LAMPIRAN 1. Percobaan LAMPIRAN 1 1. Larutan 15 ppm Polystyrene ENERGI Percobaan 1 2 3 PROBABILITY 0.07 0.116 0.113 0.152 0.127 0.15 0.256 0.143 0.212 0.203 0.22 0.24 0.234 0.23 0.234 0.3 0.239 0.35 0.201 0.263 0.37 0.389 0.382

More information

1. Peralatan LAMPIRAN

1. Peralatan LAMPIRAN 1. Peralatan LAMPIRAN 2. Data Sampel a. Air murni 3ml Energy(mj) Probability Air Murni 0.07 0.001 0.15 0.003 0.22 0.006 0.3 0.028 0.37 0.045 0.39 0.049 0.82 0.053 0.89 0.065 1.28 0.065 1.42 0.106 1.7

More information

% Edit the above text to modify the response to help Principal

% Edit the above text to modify the response to help Principal function varargout = Principal(varargin) % OPFGUI MATLAB code for Principal.fig % OPFGUI, by itself, creates a new OPFGUI or raises the existing % singleton*. % % H = OPFGUI returns the handle to a new

More information

GUI code for different sections is in following sections

GUI code for different sections is in following sections Software Listing The Graphical User Interface (GUI) and Fuzzy Inference System (FIS) are developed in MATLAB. Software code is developed for different sections like Weaving section, Motor Status, Environment,

More information

LISTING PROGRAM. % Edit the above text to modify the response to help cover. % Last Modified by GUIDE v Jun :24:43

LISTING PROGRAM. % Edit the above text to modify the response to help cover. % Last Modified by GUIDE v Jun :24:43 A1 LISTING PROGRAM 1. Form Cover function varargout = cover(varargin) COVER MATLAB code for cover.fig COVER, by itself, creates a new COVER or raises the existing singleton*. H = COVER returns the handle

More information

LISTING PROGRAM. % UIWAIT makes pertama wait for user response (see UIRESUME) % uiwait(handles.figure1);

LISTING PROGRAM. % UIWAIT makes pertama wait for user response (see UIRESUME) % uiwait(handles.figure1); LISTING PROGRAM FORM PERTAMA : function varargout = pertama(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn', @pertama_openingfcn,...

More information

Ear Recognition. By: Zeyangyi Wang

Ear Recognition. By: Zeyangyi Wang Ear Recognition By: Zeyangyi Wang Ear Recognition By: Zeyangyi Wang Online: < http://cnx.org/content/col11604/1.3/ > C O N N E X I O N S Rice University, Houston, Texas This selection and arrangement

More information

A NEW MACHINING COST CALCULATOR (MC 2 )

A NEW MACHINING COST CALCULATOR (MC 2 ) A NEW MACHINING COST CALCULATOR (MC 2 ) By MATHEW RUSSELL JOHNSON A THESIS PRESENTED TO THE GRADUATE SCHOOL OF THE UNIVERSITY OF FLORIDA IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF MASTER

More information

Supplementary Information

Supplementary Information Supplementary Information Retooling Laser Speckle Contrast Analysis Algorithm to Enhance Non-Invasive High Resolution Laser Speckle Functional Imaging of Cutaneous Microcirculation Surya C Gnyawali 1,

More information

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists 3,500 108,000 1.7 M Open access books available International authors and editors Downloads Our

More information

OMR Sheet Recognition

OMR Sheet Recognition International Journal of Information & Computation Technology. ISSN 0974-2239 Volume 8, Number 1 (2018), pp. 11-32 International Research Publications House http://www. irphouse.com OMR Sheet Recognition

More information

1.Matlab Image Encryption Code

1.Matlab Image Encryption Code 1.Matlab Image Encryption Code (URL: http://www.cheers4all.com/2012/04/matlab-image-encryption-code/) This project is Image Encryption & Decryption. The user will give an input and encryption factor. The

More information

Lithium-Ion Battery Data. Management

Lithium-Ion Battery Data. Management Lithium-Ion Battery Data Management Frank Ferrato Dr. Jung-Hyun Kim April 2018 Abstract: Lithium Ion Battery research is growing due to the need for renewable resources. Since the amount of research is

More information

Lampiran 1. Script M-File Global Ridge

Lampiran 1. Script M-File Global Ridge LAMPIRAN 67 Lampiran 1. Script M-File Global Ridge function [l, e, L, E] = globalridge(h, Y, l) [l, e, L, E] = globalridge(h, Y, l, options, U) Calculates the best global ridge regression parameter (l)

More information

LAMPIRAN A PROGRAM PELATIHAN DAN PENGUJIAN

LAMPIRAN A PROGRAM PELATIHAN DAN PENGUJIAN LAMPIRAN A PROGRAM PELATIHAN DAN PENGUJIAN Program Preprocessing Image clc; clear all; % Preprocessing Image -------------------------------------------- daniel{1}=imread('daniel1.bmp'); daniel{2}=imread('daniel2.bmp');

More information

Akkad Bakad Bambai Bo

Akkad Bakad Bambai Bo Akkad Bakad Bambai Bo The Josephus Problem Shivam Sharma, Rajat Saini and Natasha Sharma Cluster Innovation Center, University of Delhi Abstract We aim to give explanation of the recursive formula for

More information

PROGRAMMING IN MATLAB

PROGRAMMING IN MATLAB PROGRAMMING IN MATLAB Rohan D sa Rafael Love Todd Page OBJECTIVE: This document gives an overview of a few aspects related to programming in Matlab. With the help of a sample program, it goes through some

More information

ECE Fall 05. Undergraduate Research: Digital Signal Processing & Quantization Effects

ECE Fall 05. Undergraduate Research: Digital Signal Processing & Quantization Effects ECE 491-153 Fall 05 Undergraduate Research: Digital Signal Processing & Quantization Effects Done By: Tanim Taher SID# 10370800 Date: December 19, 2005 DSP & Quantization 1 Tanim Taher ACKNOWLEDGEMENTS

More information

Finding a Minimum Covering Circle Based on Infinity Norms

Finding a Minimum Covering Circle Based on Infinity Norms Finding a Minimum Covering Circle Based on Infinity Norms by Andrew A. Thompson ARL-TR-4495 July 2008 Approved for public release; distribution is unlimited. NOTICES Disclaimers The findings in this report

More information

MV 1:00 1:05 1:00 1:05

MV 1:00 1:05 1:00 1:05 1 54 MV 1:00 1:05 1:00 1:05 55 DTW 56 function varargout = my_filter8(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn', @my_filter8_openingfcn,...

More information

Contents INTERFACING MATLAB WITH EMBEDDED SYSTEMS

Contents INTERFACING MATLAB WITH EMBEDDED SYSTEMS Contents MATLAB INTRODUCTION:... 1 Why it is useful for prototyping AI projects??... 2 Using MATLAB as a calculator:... 3 How to use conditions... 8 Serial/Parallel communication:... 9 Color Detection

More information

Solving Sudoku with MATLAB

Solving Sudoku with MATLAB Solving Sudoku with MATLAB Raluca Marinescu Andrea Garcia Ivan Castro Eduard Paul Enoiu Mälardalen University, Västerås, Sweden {rmu09001, aga09001, ico09002, eeu09001}@student.mdh.se March 25, 2011 Abstract

More information

% --- Executes on button press in btn_gsn. function btn_gsn_callback(hobject, eventdata, handles) GaussianSpeckleNoise close AiSoftware;

% --- Executes on button press in btn_gsn. function btn_gsn_callback(hobject, eventdata, handles) GaussianSpeckleNoise close AiSoftware; A-2 'gui_openingfcn', @AiSoftware_OpeningFcn,... 'gui_outputfcn', @AiSoftware_OutputFcn,... 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1});

More information

.., 7. References. [ 1] 1 mage Analysis and Mathematical Morphology:J.Serra. [2] Erosion, dilation and related operators,by Mariusz Jankowski

.., 7. References. [ 1] 1 mage Analysis and Mathematical Morphology:J.Serra. [2] Erosion, dilation and related operators,by Mariusz Jankowski 7. References [ 1] 1 mage Analysis and Mathematical Morphology:J.Serra [2] Erosion, dilation and related operators,by Mariusz Jankowski [3] Morphological Image Processing by Ranga Rodrigo [4] Application

More information

Airfoil Boundary Layer Separation Prediction

Airfoil Boundary Layer Separation Prediction Airfoil Boundary Layer Separation Prediction A project present to The Faculty of the Department of Aerospace Engineering San Jose State University in partial fulfillment of the requirements for the degree

More information

LAMPIRAN A LISTINGPROGRAM

LAMPIRAN A LISTINGPROGRAM LAMPIRAN A LISTINGPROGRAM 1. Form Utama (myprogram.fig) function varargout = myprogram(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn',

More information

LAMPIRAN LISTING PROGRAM

LAMPIRAN LISTING PROGRAM A1 LAMPIRAN LISTING PROGRAM Prototype.m function varargout = prototype(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn', @prototype_openingfcn,...

More information

LISTING PROGRAM. if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); else gui_mainfcn(gui_state, varargin{:}); end

LISTING PROGRAM. if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); else gui_mainfcn(gui_state, varargin{:}); end A-1 LISTING PROGRAM 1. Form Cover function varargout = cover(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn', @cover_openingfcn,...

More information

Main Form visual Studio

Main Form visual Studio Main Form visual Studio using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;

More information

Parallel-connected solar arrays

Parallel-connected solar arrays Scholars' Mine Masters Theses Student Research & Creative Works Spring 2013 Parallel-connected solar arrays Majed Meshal Alabbass Follow this and additional works at: http://scholarsmine.mst.edu/masters_theses

More information

COMPLETELY AUTOMATED PUBLIC TURING TEST TO TELL COMPUTERS AND HUMANS APART

COMPLETELY AUTOMATED PUBLIC TURING TEST TO TELL COMPUTERS AND HUMANS APART COMPLETELY AUTOMATED PUBLIC TURING TEST TO TELL COMPUTERS AND HUMANS APART 1 Varjith Anchuri, 2 K.Hanuman Krishna, 3 M.Gopi Chand, 4 S.Rishi, UG Scholar Dept Of CSE, SRM University,Chennai. Abstract A

More information

GUI Signal Analysis and Filtering Design

GUI Signal Analysis and Filtering Design i GUI Signal Analysis and Filtering Design Axel Daniela Campero Vega, Electrical Engineering Project Advisor: Dr. Dick Blandford April 26, 2018 Evansville, Indiana ii Acknowledgements I want to thank Dr.

More information

ALGORITHMS AND INTERFACE FOR OCEAN ACOUSTIC RAY-TRACING (Developed in MATLAB)

ALGORITHMS AND INTERFACE FOR OCEAN ACOUSTIC RAY-TRACING (Developed in MATLAB) ALGORITHMS AND INTERFACE FOR OCEAN ACOUSTIC RAY-TRACING (Developed in MATLAB) Technical Report No. NIO/TR 09/005 T.V.Ramana Murty M.M.Malleswara Rao S.Surya Prakash P.Chandramouli K.S.R.Murthy Regional

More information

MATLAB. Creating Graphical User Interfaces Version 7. The Language of Technical Computing

MATLAB. Creating Graphical User Interfaces Version 7. The Language of Technical Computing MATLAB The Language of Technical Computing Note This revision of Creating Graphical User Interfaces, issued May 2006, adds three new chapters that provide more information for creating GUIs programmatically.

More information

Real-Time IIR Digital Filters

Real-Time IIR Digital Filters Real-Time IIR Digital Filters Chapter 8 Introduction Infinite impulse response (IIR) filter design has its roots in traditional analog filter design. One of the main issues in IIR digital filter design

More information

Accepted by... John H. Lienhard V

Accepted by... John H. Lienhard V The Understanding, Characterization, and Implementation of a SICK LMS-291 Laser Scanner for Use in an Experimental Environment by Marcos Berrios Submitted to the Department of Mechanical Engineering in

More information

Implementation of a Motion Detection System

Implementation of a Motion Detection System Implementation of a Motion Detection System Asif Ansari 1, T.C.Manjunath (Ph.D., IIT Bombay) 2, C.Ardil 3 Abstract In today s competitive environment, the security concerns have grown tremously. In the

More information

1 Lab 3, Simulation of crank-piston system

1 Lab 3, Simulation of crank-piston system 1 Lab 3, Simulation of crank-piston system 1.1 Problem description Simulation 3 Slider-Crank Mechanism with a Piston In your text, the slider-crank kinematic mechanism is discussed and equations of motion

More information

Design of Automated Digital Eye Palpation Exam for Intraocular Pressure Measurement

Design of Automated Digital Eye Palpation Exam for Intraocular Pressure Measurement Design of Automated Digital Eye Palpation Exam for Intraocular Pressure Measurement Item Type text; Electronic Thesis Authors Luce, Alexander Vallejo Publisher The University of Arizona. Rights Copyright

More information

Interactive Programs

Interactive Programs Interactive Programs Graphical User Interfaces CS112 Scientific Computation Department of Computer Science Wellesley College Properties of graphics objects All plotting and graphics functions create graphic

More information

MEASURING INTERFACIAL TENSION WITH THE PENDANT DROP METHOD

MEASURING INTERFACIAL TENSION WITH THE PENDANT DROP METHOD MEASURING INTERFACIAL TENSION WITH THE PENDANT DROP METHOD A Thesis Presented to The Academic Faculty by Kevin K. Mohan-Nair In Partial Fulfillment of the Requirements for the Degree Bachelor of Science

More information

TREBALL FINAL DE GRAU

TREBALL FINAL DE GRAU Estudi del procés constructiu de ponts atirantats construïts sobre suports provisionals. ANNEXOS Treball realitzat per: Joan Fraile Diana Dirigit per: José Turmo Coderque Jose Antonio Lozano Galant Grau

More information

LOK-Viewer : Graphical Interface Application for Geomagnetic Data in Observatory Geomagnetic Lombok

LOK-Viewer : Graphical Interface Application for Geomagnetic Data in Observatory Geomagnetic Lombok LOK-Viewer : Graphical Interface Application for Geomagnetic Data in Observatory Geomagnetic Lombok Giri W. Wiriasto, Teti Zubaidah, Bulkis Kanata Electrical Engineering Dept. Mataram University Lombok,

More information

IMAGE STEGANOGRAPHY USING DISCRETE COSINE TRNASFORM ALGORITHM

IMAGE STEGANOGRAPHY USING DISCRETE COSINE TRNASFORM ALGORITHM RCC Institute of Information Technology Canal South Road, Beliaghata, Kolkata 700 015 [Affiliated to West Bengal University of Technology] IMAGE STEGANOGRAPHY USING DISCRETE COSINE TRNASFORM ALGORITHM

More information

Basic Simulation Lab with MATLAB

Basic Simulation Lab with MATLAB Chapter 3: Generation of Signals and Sequences 1. t = 0 : 0.001 : 1; Generate a vector of 1001 samples for t with a value between 0 & 1 with an increment of 0.001 2. y = 0.5 * t; Generate a linear ramp

More information

Tutorial of Origin 7.0. Chuang Tan, Zheyun Liu

Tutorial of Origin 7.0. Chuang Tan, Zheyun Liu Tutorial of Origin 7.0 Chuang Tan, Zheyun Liu Origin is a kind of powerful software for numerical manipulation and data analysis. Here is a brief tutorial that explains how to do the numerical Fourier

More information

Exercises Unit 4. Graphics User Interface

Exercises Unit 4. Graphics User Interface Exercises Unit 4. Graphics User Interface Working period: Seventh and Eighth weeks Due date: 21 April 2013 Submit only one file name_e4.pdf containing the solution to the following exercises. Include the

More information

Chapter 6 User-Defined Functions. dr.dcd.h CS 101 /SJC 5th Edition 1

Chapter 6 User-Defined Functions. dr.dcd.h CS 101 /SJC 5th Edition 1 Chapter 6 User-Defined Functions dr.dcd.h CS 101 /SJC 5th Edition 1 MATLAB Functions M-files are collections of MATLAB statements that stored in a file, called a script file. Script files share the command

More information

Introduction To MATLAB Interactive Graphics

Introduction To MATLAB Interactive Graphics Introduction To MATLAB Interactive Graphics Eric Peasley, Department of Engineering Science, University of Oxford version 3.0, 2017 An Introduction to MATLAB Interactive Graphics Table of Contents Data

More information

Still More About Matlab GUI s (v. 1.3) Popup Menus. Popup Menu Exercise. Still More GUI Info - GE /29/2012. Copyright C. S. Tritt, Ph.D.

Still More About Matlab GUI s (v. 1.3) Popup Menus. Popup Menu Exercise. Still More GUI Info - GE /29/2012. Copyright C. S. Tritt, Ph.D. Still More About Matlab GUI s (v. 1.3) Dr. C. S. Tritt with slides from Dr. J. LaMack January 24, 2012 Popup Menus User selects one from a mutually exclusive list of options The String property is typically

More information

Intel Quark microcontroller D2000 How to communicate with MATLAB over UART

Intel Quark microcontroller D2000 How to communicate with MATLAB over UART Intel Quark microcontroller D2000 How to communicate with MATLAB over UART Introduction Intel System Studio 2016 for Microcontrollers is an integrated tool suite for developing, optimizing, and debugging

More information

Sandia National Laboratories: Implementation of and Experimenting with a Clustering Tool

Sandia National Laboratories: Implementation of and Experimenting with a Clustering Tool Sandia National Laboratories: Implementation of and Experimenting with a Clustering Tool Team: Avani Gadani, Daniel Lowd, Brian Roney, Eric Wu Harvey Mudd College Dr. Belinda Thom (Advisor) Dr. Kevin Boyack

More information

Plotting using Matlab. Vytautas Astromskas

Plotting using Matlab. Vytautas Astromskas Plotting using Matlab Vytautas Astromskas Contents 1 Manipulating a plot using GUI 2 2 Manipulating a plot using command line 4 3 Adding multiple lines to the same plot 5 4 Logarithmic axes 6 5 Plotting

More information

Special Topics II: Graphical User Interfaces (GUIs)

Special Topics II: Graphical User Interfaces (GUIs) Special Topics II: Graphical User Interfaces (GUIs) December 8, 2011 Structures Structures (structs, for short) are a way of managing and storing data in most programming languages, including MATLAB. Assuming

More information

Blind to Change. More on Graphical User Interfaces. Exploring change blindness

Blind to Change. More on Graphical User Interfaces. Exploring change blindness Blind to Change More on Graphical User Interfaces CS112 Scientific Computation Department of Computer Science Wellesley College Exploring change blindness The human visual system can be blind to changes

More information

Music 270a: Matlab Tutorial 3

Music 270a: Matlab Tutorial 3 Music 270a: Matlab Tutorial 3 Tamara Smyth, trsmyth@ucsd.edu Department of Music, University of California, San Diego (UCSD) January 28, 2013 This tutorial is available in its original form at http://ccrma.stanford.edu/

More information

Part #10. AE0B17MTB Matlab. Miloslav Čapek Viktor Adler, Pavel Valtr, Filip Kozák

Part #10. AE0B17MTB Matlab. Miloslav Čapek Viktor Adler, Pavel Valtr, Filip Kozák AE0B17MTB Matlab Part #10 Miloslav Čapek miloslav.capek@fel.cvut.cz Viktor Adler, Pavel Valtr, Filip Kozák Department of Electromagnetic Field B2-634, Prague Learning how to GUI #2 user? GUI function3

More information

Chapter 6 Data Acquisition and Spectral Analysis System high-speed digitizer card for acquiring time-domain data. The digitizer is used in

Chapter 6 Data Acquisition and Spectral Analysis System high-speed digitizer card for acquiring time-domain data. The digitizer is used in Chapter 6 Data Acquisition and Spectral Analysis System 6.1 Introduction This chapter will discuss the hardware and software involved in developing the data acquisition and spectral analysis system. The

More information

muse Capstone Course: Wireless Sensor Networks

muse Capstone Course: Wireless Sensor Networks muse Capstone Course: Wireless Sensor Networks Experiment ADC: Sensing and Analog-to-Digital Conversion Objectives 1. Get familiar with the CLIO wireless sensor node development platform. 2. See how to

More information

Signals and Systems Profs. Byron Yu and Pulkit Grover Fall Homework 1

Signals and Systems Profs. Byron Yu and Pulkit Grover Fall Homework 1 18-290 Signals and Systems Profs. Byron Yu and Pulkit Grover Fall 2018 Homework 1 This homework is due in class on Thursday, September 6, 9:00am. Instructions Solve all non-matlab problems using only paper

More information

Spring 2010 Instructor: Michele Merler.

Spring 2010 Instructor: Michele Merler. Spring 2010 Instructor: Michele Merler http://www1.cs.columbia.edu/~mmerler/comsw3101-2.html Type from command line: matlab -nodisplay r command Tells MATLAB not to initialize the visual interface NOTE:

More information

Data needs to be prepped for loading into matlab.

Data needs to be prepped for loading into matlab. Outline Preparing data sets CTD Data from Tomales Bay Clean up Binning Combined Temperature Depth plots T S scatter plots Multiple plots on a single figure What haven't you learned in this class? Preparing

More information

MP3 Speech and Speaker Recognition with Nearest Neighbor. ECE417 Multimedia Signal Processing Fall 2017

MP3 Speech and Speaker Recognition with Nearest Neighbor. ECE417 Multimedia Signal Processing Fall 2017 MP3 Speech and Speaker Recognition with Nearest Neighbor ECE417 Multimedia Signal Processing Fall 2017 Goals Given a dataset of N audio files: Features Raw Features, Cepstral (Hz), Cepstral (Mel) Classifier

More information

Introduction to. The Help System. Variable and Memory Management. Matrices Generation. Interactive Calculations. Vectors and Matrices

Introduction to. The Help System. Variable and Memory Management. Matrices Generation. Interactive Calculations. Vectors and Matrices Introduction to Interactive Calculations Matlab is interactive, no need to declare variables >> 2+3*4/2 >> V = 50 >> V + 2 >> V Ans = 52 >> a=5e-3; b=1; a+b Most elementary functions and constants are

More information

The Language of Technical Computing. Computation. Visualization. Programming. Creating Graphical User Interfaces Version 1

The Language of Technical Computing. Computation. Visualization. Programming. Creating Graphical User Interfaces Version 1 MATLAB The Language of Technical Computing Computation Visualization Programming Creating Graphical User Interfaces Version 1 How to Contact The MathWorks: 508-647-7000 Phone 508-647-7001 Fax The MathWorks,

More information

Laboratory 1 Introduction to MATLAB for Signals and Systems

Laboratory 1 Introduction to MATLAB for Signals and Systems Laboratory 1 Introduction to MATLAB for Signals and Systems INTRODUCTION to MATLAB MATLAB is a powerful computing environment for numeric computation and visualization. MATLAB is designed for ease of use

More information

How to learn MATLAB? Some predefined variables

How to learn MATLAB? Some predefined variables ECE-S352 Lab 1 MATLAB Tutorial How to learn MATLAB? 1. MATLAB comes with good tutorial and detailed documents. a) Select MATLAB help from the MATLAB Help menu to open the help window. Follow MATLAB s Getting

More information

Computing Fundamentals Plotting

Computing Fundamentals Plotting Computing Fundamentals Plotting Salvatore Filippone salvatore.filippone@uniroma2.it 2014 2015 (salvatore.filippone@uniroma2.it) Plotting 2014 2015 1 / 14 Plot function The basic function to plot something

More information

George Mason University Signals and Systems I Spring 2016

George Mason University Signals and Systems I Spring 2016 George Mason University Signals and Systems I Spring 2016 Laboratory Project #1 Assigned: January 25, 2016 Due Date: Laboratory Section on Week of February 15, 2016 Description: The purpose of this laboratory

More information

GENDER ESTIMATION BASED ON FACIAL IMAGE AZLIN BT YAJID UNIVERSITI TEKNOLOGI MALAYSIA

GENDER ESTIMATION BASED ON FACIAL IMAGE AZLIN BT YAJID UNIVERSITI TEKNOLOGI MALAYSIA GENDER ESTIMATION BASED ON FACIAL IMAGE AZLIN BT YAJID UNIVERSITI TEKNOLOGI MALAYSIA PSZ 19:16 (PIND. 1/97) UNIVERSITI TEKNOLOGI MALAYSIA BORANG PENGESAHAN STATUS TESIS JUDUL: GENDER ESTIMATION BASED ON

More information

1. Register an account on: using your Oxford address

1. Register an account on:   using your Oxford  address 1P10a MATLAB 1.1 Introduction MATLAB stands for Matrix Laboratories. It is a tool that provides a graphical interface for numerical and symbolic computation along with a number of data analysis, simulation

More information

SBT 645 Introduction to Scientific Computing in Sports Science #5

SBT 645 Introduction to Scientific Computing in Sports Science #5 SBT 645 Introduction to Scientific Computing in Sports Science #5 SERDAR ARITAN serdar.aritan@hacettepe.edu.tr Biyomekanik Araştırma Grubu www.biomech.hacettepe.edu.tr Spor Bilimleri Fakültesi www.sbt.hacettepe.edu.tr

More information

Plotting - Practice session

Plotting - Practice session Plotting - Practice session Alessandro Fanfarillo - Salvatore Filippone fanfarillo@ing.uniroma2.it May 28th, 2013 (fanfarillo@ing.uniroma2.it) Plotting May 28th, 2013 1 / 14 Plot function The basic function

More information

Some Matlab functions for random signals

Some Matlab functions for random signals Some Matlab functions for random signals This document shows some examples where some Matlab functions for random signals are used. A list of useful functions: Normrnd create Gaussian random signal Unidrnd

More information

ECE251DN: Homework #3 Solutions

ECE251DN: Homework #3 Solutions ECE251DN: Homework #3 Solutions Problem 3.7.2 (a) In this problem, we only have one null constraint. So N 1 j C = V(ψ ) = [e 2 ψ,..., 1,..., e j N 1 2 ψ ] T The weights of the least squares approximation

More information

Lab P-1: Introduction to MATLAB. 3. Learn a little about advanced programming techniques for MATLAB, i.e., vectorization.

Lab P-1: Introduction to MATLAB. 3. Learn a little about advanced programming techniques for MATLAB, i.e., vectorization. DSP First, 2e Signal Processing First Lab P-1: Introduction to MATLAB Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in

More information

CS/NEUR125 Brains, Minds, and Machines. Due: Wednesday, March 8

CS/NEUR125 Brains, Minds, and Machines. Due: Wednesday, March 8 CS/NEUR125 Brains, Minds, and Machines Lab 6: Inferring Location from Hippocampal Place Cells Due: Wednesday, March 8 This lab explores how place cells in the hippocampus encode the location of an animal

More information

Advanced Digital Signal Processing Adaptive Linear Prediction Filter (Using The RLS Algorithm)

Advanced Digital Signal Processing Adaptive Linear Prediction Filter (Using The RLS Algorithm) Advanced Digital Signal Processing Adaptive Linear Prediction Filter (Using The RLS Algorithm) Erick L. Oberstar 2001 Adaptive Linear Prediction Filter Using the RLS Algorithm A complete analysis/discussion

More information

ECE4703 B Term Laboratory Assignment 2 Floating Point Filters Using the TMS320C6713 DSK Project Code and Report Due at 3 pm 9-Nov-2017

ECE4703 B Term Laboratory Assignment 2 Floating Point Filters Using the TMS320C6713 DSK Project Code and Report Due at 3 pm 9-Nov-2017 ECE4703 B Term 2017 -- Laboratory Assignment 2 Floating Point Filters Using the TMS320C6713 DSK Project Code and Report Due at 3 pm 9-Nov-2017 The goals of this laboratory assignment are: to familiarize

More information

Practical 4: The Integrate & Fire neuron

Practical 4: The Integrate & Fire neuron Practical 4: The Integrate & Fire neuron 2014 version by Mark van Rossum 2018 version by Matthias Hennig and Theoklitos Amvrosiadis 16th October 2018 1 Introduction to MATLAB basics You can start MATLAB

More information

ME 142 Engineering Computation I. Graphing with Excel

ME 142 Engineering Computation I. Graphing with Excel ME 142 Engineering Computation I Graphing with Excel Common Questions from Unit 1.2 HW 1.2.2 See 1.2.2 Homework Exercise Hints video Use ATAN to find nominal angle in each quadrant Use the AND logical

More information

APPM 2460 PLOTTING IN MATLAB

APPM 2460 PLOTTING IN MATLAB APPM 2460 PLOTTING IN MATLAB. Introduction Matlab is great at crunching numbers, and one of the fundamental ways that we understand the output of this number-crunching is through visualization, or plots.

More information

Introduction to Medical Image Analysis Exercise 11 - Line and Path Tracing

Introduction to Medical Image Analysis Exercise 11 - Line and Path Tracing Introduction to Medical Image Analysis Exercise 11 - Line and Path Tracing Spring 2018 Introduction The topic of this exercise is line and path tracing in images. In the first part, the goal is to identify

More information

Stokes Modelling Workshop

Stokes Modelling Workshop Stokes Modelling Workshop 14/06/2016 Introduction to Matlab www.maths.nuigalway.ie/modellingworkshop16/files 14/06/2016 Stokes Modelling Workshop Introduction to Matlab 1 / 16 Matlab As part of this crash

More information

EE 350. Continuous-Time Linear Systems. Recitation 1. 1

EE 350. Continuous-Time Linear Systems. Recitation 1. 1 EE 350 Continuous-Time Linear Systems Recitation 1 Recitation 1. 1 Recitation 1 Topics MATLAB Programming Basic Operations, Built-In Functions, and Variables m-files Graphics: 2D plots EE 210 Review Branch

More information

W1005 Intro to CS and Programming in MATLAB. Data Structures. Fall 2014 Instructor: Ilia Vovsha. hep://

W1005 Intro to CS and Programming in MATLAB. Data Structures. Fall 2014 Instructor: Ilia Vovsha. hep:// W1005 Intro to CS and Programming in MATLAB Data Structures Fall 2014 Instructor: Ilia Vovsha hep://www.cs.columbia.edu/~vovsha/w1005 Outline Cell arrays FuncNons with variable arguments Structure arrays

More information

ELEC4042 Signal Processing 2 MATLAB Review (prepared by A/Prof Ambikairajah)

ELEC4042 Signal Processing 2 MATLAB Review (prepared by A/Prof Ambikairajah) Introduction ELEC4042 Signal Processing 2 MATLAB Review (prepared by A/Prof Ambikairajah) MATLAB is a powerful mathematical language that is used in most engineering companies today. Its strength lies

More information

Assignment 2 in Simulation of Telesystems Laboratory exercise: Introduction to Simulink and Communications Blockset

Assignment 2 in Simulation of Telesystems Laboratory exercise: Introduction to Simulink and Communications Blockset Mid Sweden University Revised: 2013-11-12 Magnus Eriksson Assignment 2 in Simulation of Telesystems Laboratory exercise: Introduction to Simulink and Communications Blockset You are expected to conclude

More information

MAT 275 Laboratory 1 Introduction to MATLAB

MAT 275 Laboratory 1 Introduction to MATLAB MATLAB sessions: Laboratory 1 1 MAT 275 Laboratory 1 Introduction to MATLAB MATLAB is a computer software commonly used in both education and industry to solve a wide range of problems. This Laboratory

More information

EE 301 Signals & Systems I MATLAB Tutorial with Questions

EE 301 Signals & Systems I MATLAB Tutorial with Questions EE 301 Signals & Systems I MATLAB Tutorial with Questions Under the content of the course EE-301, this semester, some MATLAB questions will be assigned in addition to the usual theoretical questions. This

More information

UNIVERSITÀ DEGLI STUDI DI PADOVA

UNIVERSITÀ DEGLI STUDI DI PADOVA UNIVERSITÀ DEGLI STUDI DI PADOVA FACOLTÀ DI INGEGNERIA CORSO DI LAUREA IN INGEGNERIA BIOMEDICA DESIGN OF NEUROPHYSIOLOGICAL SIGNAL ANAYSIS SOFTWARE GIACOMO BASSETTO SUPERVISOR: PROFESSOR STEFANO VASSANELLI

More information

QUIZ: What is the output of this MATLAB code? >> A = [2,4,10,13;16,3,7,18; 8,4,9,25;3,12,15,17]; >> length(a) >> size(a) >> B = A(2:3, 1:3) >> B(5)

QUIZ: What is the output of this MATLAB code? >> A = [2,4,10,13;16,3,7,18; 8,4,9,25;3,12,15,17]; >> length(a) >> size(a) >> B = A(2:3, 1:3) >> B(5) QUIZ: What is the output of this MATLAB code? >> A = [2,4,10,13;16,3,7,18; 8,4,9,25;3,12,15,17]; >> length(a) >> size(a) >> B = A(2:3, 1:3) >> B(5) QUIZ Ch.3 Introduction to MATLAB programming 3.1 Algorithms

More information

Desktop Command window

Desktop Command window Chapter 1 Matlab Overview EGR1302 Desktop Command window Current Directory window Tb Tabs to toggle between Current Directory & Workspace Windows Command History window 1 Desktop Default appearance Command

More information

Small rectangles (and sometimes squares like this

Small rectangles (and sometimes squares like this Lab exercise 1: Introduction to LabView LabView is software for the real time acquisition, processing and visualization of measured data. A LabView program is called a Virtual Instrument (VI) because it,

More information

Mini-Project System Simulation over AWGN Using BPSK Modulation

Mini-Project System Simulation over AWGN Using BPSK Modulation Mini-Project System Simulation over AWGN Using BPSK Modulation Part I: MATLAB Environment Due Date: June 5, 2006. This exercise will guide you to realize the basic operating environment. Some useful instructions

More information

BUILDING A MATLAB GUI. Education Transfer Plan Seyyed Khandani, Ph.D. IISME 2014

BUILDING A MATLAB GUI. Education Transfer Plan Seyyed Khandani, Ph.D. IISME 2014 BUILDING A MATLAB GUI Education Transfer Plan Seyyed Khandani, Ph.D. IISME 2014 Graphical User Interface (GUI) A GUI is useful for presenting your final software. It makes adjusting parameters and visualizing

More information

Matlab Tutorial. Get familiar with MATLAB by using tutorials and demos found in MATLAB. You can click Start MATLAB Demos to start the help screen.

Matlab Tutorial. Get familiar with MATLAB by using tutorials and demos found in MATLAB. You can click Start MATLAB Demos to start the help screen. University of Illinois at Urbana-Champaign Department of Electrical and Computer Engineering ECE 298JA Fall 2015 Matlab Tutorial 1 Overview The goal of this tutorial is to help you get familiar with MATLAB

More information

MATLAB SUMMARY FOR MATH2070/2970

MATLAB SUMMARY FOR MATH2070/2970 MATLAB SUMMARY FOR MATH2070/2970 DUNCAN SUTHERLAND 1. Introduction The following is inted as a guide containing all relevant Matlab commands and concepts for MATH2070 and 2970. All code fragments should

More information