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

Size: px
Start display at page:

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

Transcription

1 A-2 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1}); if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); gui_mainfcn(gui_state, varargin{:}); % End initialization code - DO NOT EDIT % --- Executes just before AiSoftware is made visible. function AiSoftware_OpeningFcn(hObject, eventdata, handles, varargin) % Choose default command line output for AiSoftware handles.output = hobject; % Update handles structure guidata(hobject, handles); % UIWAIT makes AiSoftware wait for user response (see UIRESUME) % uiwait(handles.figure1); % --- Outputs from this function are returned to the command line. function varargout = AiSoftware_OutputFcn(hObject, eventdata, handles) citra_asli=imread('logofak.png'); citra_hasil=double(citra_asli); citra_hasil=uint8(citra_hasil); axes(handles.axes_logo); imshow(citra_hasil); % Get default command line output from handles structure varargout{1} = handles.output; % --- Executes on button press in btn_gsn. function btn_gsn_callback(hobject, eventdata, handles) GaussianSpeckleNoise close AiSoftware; % --- Executes on button press in btn_sgn. function btn_sgn_callback(hobject, eventdata, handles) SpeckleGaussianNoise close AiSoftware; % --- Executes on button press in btn_gn. function btn_gn_callback(hobject, eventdata, handles) GaussianNoise close AiSoftware; % --- Executes on button press in btn_sn. function btn_sn_callback(hobject, eventdata, handles) SpeckleNoise close AiSoftware; % --- Executes on button press in btn_exit. function btn_exit_callback(hobject, eventdata, handles) selection=questdlg(['are You Sure?'],... ['Exit Application'],... 'Yes','No','Yes'); if strcmp(selection,'no')

2 A-3 return; delete(handles.figure1) % function howtousemenu_callback(hobject, eventdata, handles) HowToUse % function helpmenu_callback(hobject, eventdata, handles) % function menu_deskripsi_callback(hobject, eventdata, handles) Description description.m function varargout = Description(varargin) % Begin initialization code - DO NOT EDIT gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1}); if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); gui_mainfcn(gui_state, varargin{:}); % End initialization code - DO NOT EDIT % --- Executes just before Description is made visible. function Description_OpeningFcn(hObject, eventdata, handles, varargin) % Choose default command line output for Description handles.output = hobject; % Update handles structure guidata(hobject, handles); % UIWAIT makes Description wait for user response (see UIRESUME) % uiwait(handles.figure1); % --- Outputs from this function are returned to the command line. function varargout = Description_OutputFcn(hObject, eventdata, handles) % Get default command line output from handles structure varargout{1} = handles.output; % function menu_home_des_callback(hobject, eventdata, handles) AiSoftware close Description;

3 A-4 GaussianSpeckleNoise.m function varargout = GaussianSpeckleNoise(varargin) % Begin initialization code - DO NOT EDIT gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1}); if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); gui_mainfcn(gui_state, varargin{:}); % End initialization code - DO NOT EDIT % --- Executes just before GaussianSpeckleNoise is made visible. function GaussianSpeckleNoise_OpeningFcn(hObject, eventdata, handles, varargin) % Choose default command line output for GaussianSpeckleNoise handles.output = hobject; % Update handles structure guidata(hobject, handles); % UIWAIT makes GaussianSpeckleNoise wait for user response (see UIRESUME) % uiwait(handles.figure1); % --- Outputs from this function are returned to the command line. function varargout = GaussianSpeckleNoise_OutputFcn(hObject, eventdata, handles) % Get default command line output from handles structure varargout{1} = handles.output; % --- Executes on button press in btn_ed_mh. function btn_ed_mh_callback(hobject, eventdata, handles) citra_asli=handles.citra3; mh_output=deteksimarrhil(citra_asli); axes(handles.axes_mh1); imshow(mh_output); citragray = rgb2gray(handles.citra3); citrahistomh = edge(citragray,'marr'); axes(handles.axes_histomh); imhist(citrahistomh); % function backmenu_callback(hobject, eventdata, handles) AiSoftware close GaussianSpeckleNoise; function edit_meang_callback(hobject, eventdata, handles) function edit_meang_createfcn(hobject, eventdata, handles)

4 A-5 function edit_varianceg_callback(hobject, eventdata, handles) % Hints: get(hobject,'string') returns contents of edit_varianceg as text % str2double(get(hobject,'string')) returns contents of edit_varianceg as a double function edit_varianceg_createfcn(hobject, eventdata, handles) function edit_variances_callback(hobject, eventdata, handles) % Hints: get(hobject,'string') returns contents of edit_variances as text % str2double(get(hobject,'string')) returns contents of edit_variances as a double function edit_variances_createfcn(hobject, eventdata, handles) % --- Executes on button press in btn_noisingg. function btn_noisingg_callback(hobject, eventdata, handles) mg = length(get(handles.edit_meang, 'String')); vg = length(get(handles.edit_varianceg, 'String')); if (mg <= 0 vg == 0) h = msgbox('mean dan Variance harus diinput!'); citra_asli=handles.citra; mean=str2num(get(handles.edit_meang,'string')); variance=str2num(get(handles.edit_varianceg,'string')); citra_gaussian = imnoise(citra_asli,'gaussian',mean,variance); axes(handles.axes_gsn); imshow(citra_gaussian); handles.citra2=citra_gaussian; guidata(hobject,handles); % --- Executes on button press in btn_noisings. function btn_noisings_callback(hobject, eventdata, handles) vg = length(get(handles.edit_variances, 'String')); if (vg == 0) h = msgbox('variance harus diinput!'); citra_asli=handles.citra2;

5 A-6 variance=str2num(get(handles.edit_variances,'string')); citra_speckle = imnoise(citra_asli,'speckle',variance); axes(handles.axes_gsn); imshow(citra_speckle); handles.citra3=citra_speckle; guidata(hobject,handles); size(citra_speckle) % --- Executes on button press in btn_mse1. function btn_mse1_callback(hobject, eventdata, handles) citraasli=getimage(handles.axes_browse); citraasli=deteksimarrhil(citraasli); CitraHasil = double(getimage(handles.axes_mh1)); set(handles.edit_mse1,'string',mseval); % --- Executes on button press in btn_psnr1. function btn_psnr1_callback(hobject, eventdata, handles) citraasli=getimage(handles.axes_browse); citraasli=deteksimarrhil(citraasli); CitraHasil = double(getimage(handles.axes_mh1)); set(handles.edit_psnr1,'string',psnrval); function edit_mse1_callback(hobject, eventdata, handles) % Hints: get(hobject,'string') returns contents of edit_mse1 as text % str2double(get(hobject,'string')) returns contents of edit_mse1 as a double function edit_mse1_createfcn(hobject, eventdata, handles) function edit_psnr1_callback(hobject, eventdata, handles) % Hints: get(hobject,'string') returns contents of edit_psnr1 as text % str2double(get(hobject,'string')) returns contents of edit_psnr1 as a double function edit_psnr1_createfcn(hobject, eventdata, handles) % --- Executes on button press in btn_mse2. function btn_mse2_callback(hobject, eventdata, handles) citraasli=double(edge(citraasli,'log'));

6 A-7 CitraHasil = double(getimage(handles.axes_log1)); set(handles.edit_mse2,'string',mseval); % --- Executes on button press in btn_psnr2. function btn_psnr2_callback(hobject, eventdata, handles) CitraHasil = double(getimage(handles.axes_log1)); set(handles.edit_psnr2,'string',psnrval); function edit_mse2_callback(hobject, eventdata, handles) % Hints: get(hobject,'string') returns contents of edit_mse2 as text % str2double(get(hobject,'string')) returns contents of edit_mse2 as a double function edit_mse2_createfcn(hobject, eventdata, handles) function edit_psnr2_callback(hobject, eventdata, handles) % Hints: get(hobject,'string') returns contents of edit_psnr2 as text % str2double(get(hobject,'string')) returns contents of edit_psnr2 as a double function edit_psnr2_createfcn(hobject, eventdata, handles) % --- Executes on button press in btn_mse3. function btn_mse3_callback(hobject, eventdata, handles) citraasli=double(edge(citraasli,'prewitt')); CitraHasil = double(getimage(handles.axes_p1)); set(handles.edit_mse3,'string',mseval); % --- Executes on button press in btn_psnr3. function btn_psnr3_callback(hobject, eventdata, handles) CitraHasil = double(getimage(handles.axes_p1));

7 A-8 set(handles.edit_psnr3,'string',psnrval); function edit_mse3_callback(hobject, eventdata, handles) % Hints: get(hobject,'string') returns contents of edit_mse3 as text % str2double(get(hobject,'string')) returns contents of edit_mse3 as a double function edit_mse3_createfcn(hobject, eventdata, handles) function edit_psnr3_callback(hobject, eventdata, handles) % Hints: get(hobject,'string') returns contents of edit_psnr3 as text % str2double(get(hobject,'string')) returns contents of edit_psnr3 as a double function edit_psnr3_createfcn(hobject, eventdata, handles) % --- Executes on button press in btn_save1. function btn_save1_callback(hobject, eventdata, handles) [filename,pathname] = uiputfile(... {'*.bmp;*','file Image (*.bmp)';'*.*','all File (*.*)'},'Save Image'); NamaFile = strcat(pathname,'\',filename) [a a]=size(namafile) if (a~=1) axes(handles.axes_mh1); Citra = getimage(handles.axes_mh1); imwrite(citra,filename); return % --- Executes on button press in btn_save2. function btn_save2_callback(hobject, eventdata, handles) [filename,pathname] = uiputfile(... {'*.bmp;*','file Image (*.bmp)';'*.*','all File (*.*)'},'Save Image'); NamaFile = strcat(pathname,'\',filename) [a a]=size(namafile) if (a~=1) axes(handles.axes_log1); Citra = getimage(handles.axes_log1); imwrite(citra,filename); return

8 A-9 % --- Executes on button press in btn_save3. function btn_save3_callback(hobject, eventdata, handles) [filename,pathname] = uiputfile(... {'*.bmp;*','file Image (*.bmp)';'*.*','all File (*.*)'},'Save Image'); NamaFile = strcat(pathname,'\',filename) [a a]=size(namafile) if (a~=1) axes(handles.axes_p1); Citra = getimage(handles.axes_p1); imwrite(citra,filename); return % --- Executes on button press in btn_browse. function btn_browse_callback(hobject, eventdata, handles) [nama_file,nama_path] = uigetfile({'*.bmp','file bmp (*.bmp)'},'buka File Citra'); if ~isequal(nama_file,0) handles.citra=imread(fullfile(nama_path,nama_file)); guidata(hobject,handles); axes(handles.axes_browse); imshow(handles.citra); axes(handles.axes_browse); imshow(handles.citra); guidata(hobject,handles); axes(handles.axes_histoasli); imhist(handles.citra(:,:,1)); imhist(handles.citra(:,:,2)); imhist(handles.citra(:,:,3)); return; ; % --- Executes on button press in btn_ed_log. function btn_ed_log_callback(hobject, eventdata, handles) citra_asli=handles.citra3; gray=rgb2gray(citra_asli); ED_LOG=edge(gray,'log'); axes(handles.axes_log1); imshow(ed_log); citragray = rgb2gray(handles.citra3); citrahistolog = edge(citragray,'log'); axes(handles.axes_histolog); imhist(citrahistolog); % --- Executes on button press in btn_ed_p. function btn_ed_p_callback(hobject, eventdata, handles) citra_asli=handles.citra3; citrap=rgb2gray(citra_asli); [x y]=size(citrap); %Prewitt H1 = [-1 0 1; ; ]; H2 = [ ; 0 0 0; 1 1 1];

9 A-10 fx = conv2(citrap,double(h1)); fy = conv2(citrap,double(h2)); %Arah Tepian [x,y]=size(fx); count=0; avg=0; for i=1:1:x for j=1:1:y output(i,j)=sqrt(fx(i,j)*fx(i,j)+fy(i,j)*fy(i,j)); count=count+output(i,j); avg=4*count/(x*y); for i=1:1:x for j=1:1:y if output(i,j)<avg output(i,j)=0; output(i,j)=255; prewitt_output=edge(citrap,'prewitt'); axes(handles.axes_p1); imshow(prewitt_output); citragray = rgb2gray(handles.citra3); citrahistop = edge(citragray,'prewitt'); axes(handles.axes_histop); imhist(citrahistop); % --- Executes on button press in btn_histogram1. function btn_histogram1_callback(hobject, eventdata, handles) histogram1 citra_mh = imread(handles.axes_mh1); citra_histo1 =double(citra_mh); imhist(citra_histo1); imshow(citra_histo1); axes(handles.axes1); [counts, bincenters] = hist(sort(averspectrum),500); axes(handles.whateveraxesyouwant); bar(bincenters, counts, 'BarWidth', 1); grid on SpeckleGaussianNoise.m function varargout = SpeckleGaussianNoise(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,...

10 A-11 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1}); if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); gui_mainfcn(gui_state, varargin{:}); % --- Executes just before SpeckleGaussianNoise is made visible. function SpeckleGaussianNoise_OpeningFcn(hObject, eventdata, handles, varargin) % Choose default command line output for SpeckleGaussianNoise handles.output = hobject; % Update handles structure guidata(hobject, handles); % UIWAIT makes SpeckleGaussianNoise wait for user response (see UIRESUME) % uiwait(handles.figure1); % --- Outputs from this function are returned to the command line. function varargout = SpeckleGaussianNoise_OutputFcn(hObject, eventdata, handles) % Get default command line output from handles structure varargout{1} = handles.output; % --- Executes on button press in btn_gotoed. function btn_gotoed_callback(hobject, eventdata, handles) % --- Executes on button press in btn_mse1. function btn_mse1_callback(hobject, eventdata, handles) citraasli=getimage(handles.axes_browse); citraasli=deteksimarrhil(citraasli); CitraHasil = double(getimage(handles.axes_mh2)); set(handles.edit_mse1,'string',mseval); % --- Executes on button press in btn_psnr1. function btn_psnr1_callback(hobject, eventdata, handles) citraasli=getimage(handles.axes_browse); citraasli=deteksimarrhil(citraasli); CitraHasil = double(getimage(handles.axes_mh2)); set(handles.edit_psnr1,'string',psnrval); function edit_mse1_callback(hobject, eventdata, handles) function edit_mse1_createfcn(hobject, eventdata, handles)

11 A-12 function edit_psnr1_callback(hobject, eventdata, handles) % Hints: get(hobject,'string') returns contents of edit_psnr1 as text % str2double(get(hobject,'string')) returns contents of edit_psnr1 as a double function edit_psnr1_createfcn(hobject, eventdata, handles) % --- Executes on button press in btn_mse2. function btn_mse2_callback(hobject, eventdata, handles) citraasli=double(edge(citraasli,'log')); CitraHasil = double(getimage(handles.axes_log2)); set(handles.edit_mse2,'string',mseval); % --- Executes on button press in btn_psnr2. function btn_psnr2_callback(hobject, eventdata, handles) CitraHasil = double(getimage(handles.axes_log2)); set(handles.edit_psnr2,'string',psnrval); function edit_mse2_callback(hobject, eventdata, handles) % Hints: get(hobject,'string') returns contents of edit_mse2 as text % str2double(get(hobject,'string')) returns contents of edit_mse2 as a double function edit_mse2_createfcn(hobject, eventdata, handles) function edit_psnr2_callback(hobject, eventdata, handles) % Hints: get(hobject,'string') returns contents of edit_psnr2 as text % str2double(get(hobject,'string')) returns contents of edit_psnr2 as a double function edit_psnr2_createfcn(hobject, eventdata, handles)

12 A-13 % --- Executes on button press in btn_mse3. function btn_mse3_callback(hobject, eventdata, handles) citraasli=double(edge(citraasli,'prewitt')); CitraHasil = double(getimage(handles.axes_p2)); set(handles.edit_mse3,'string',mseval); % --- Executes on button press in btn_psnr3. function btn_psnr3_callback(hobject, eventdata, handles) CitraHasil = double(getimage(handles.axes_p2)); set(handles.edit_psnr3,'string',psnrval); function edit_mse3_callback(hobject, eventdata, handles) % Hints: get(hobject,'string') returns contents of edit_mse3 as text % str2double(get(hobject,'string')) returns contents of edit_mse3 as a double function edit_mse3_createfcn(hobject, eventdata, handles) function edit_psnr3_callback(hobject, eventdata, handles) % Hints: get(hobject,'string') returns contents of edit_psnr3 as text % str2double(get(hobject,'string')) returns contents of edit_psnr3 as a double function edit_psnr3_createfcn(hobject, eventdata, handles) % --- Executes on button press in btn_save1. function btn_save1_callback(hobject, eventdata, handles) [filename,pathname] = uiputfile(... {'*.bmp;*','file Image (*.bmp)';'*.*','all File (*.*)'},'Save Image'); NamaFile = strcat(pathname,'\',filename) [a a]=size(namafile) if (a~=1) axes(handles.axes_mh2); Citra = getimage(handles.axes_mh2); imwrite(citra,filename);

13 A-14 return % --- Executes on button press in btn_save2. function btn_save2_callback(hobject, eventdata, handles) [filename,pathname] = uiputfile(... {'*.bmp;*','file Image (*.bmp)';'*.*','all File (*.*)'},'Save Image'); NamaFile = strcat(pathname,'\',filename) [a a]=size(namafile) if (a~=1) axes(handles.axes_log2); Citra = getimage(handles.axes_log2); imwrite(citra,filename); return % --- Executes on button press in btn_save3. function btn_save3_callback(hobject, eventdata, handles) [filename,pathname] = uiputfile(... {'*.bmp;*','file Image (*.bmp)';'*.*','all File (*.*)'},'Save Image'); NamaFile = strcat(pathname,'\',filename) [a a]=size(namafile) if (a~=1) axes(handles.axes_p2); Citra = getimage(handles.axes_p2); imwrite(citra,filename); return % --- Executes on button press in btn_browse. function btn_browse_callback(hobject, eventdata, handles) [nama_file,nama_path] = uigetfile({'*.bmp','file bmp (*.bmp)'},'buka File Citra'); if ~isequal(nama_file,0) handles.citra=imread(fullfile(nama_path,nama_file)); guidata(hobject,handles); axes(handles.axes_browse); imshow(handles.citra); axes(handles.axes_browse); imshow(handles.citra); axes(handles.axes_histoasli); imhist(handles.citra(:,:,1)); imhist(handles.citra(:,:,2)); imhist(handles.citra(:,:,3)); return; ; function edit_meang_callback(hobject, eventdata, handles) function edit_meang_createfcn(hobject, eventdata, handles)

14 A-15 function edit_varianceg_callback(hobject, eventdata, handles) function edit_varianceg_createfcn(hobject, eventdata, handles) function edit_variances_callback(hobject, eventdata, handles) function edit_variances_createfcn(hobject, eventdata, handles) % --- Executes on button press in btn_noisings. function btn_noisings_callback(hobject, eventdata, handles) vg = length(get(handles.edit_variances, 'String')); if (vg == 0) h = msgbox('variance harus diinput!'); citra_asli=handles.citra; variance=str2num(get(handles.edit_variances,'string')); citra_speckle = imnoise(citra_asli,'speckle',variance); axes(handles.axes_sgn); imshow(citra_speckle); handles.citra2=citra_speckle; guidata(hobject,handles); % --- Executes on button press in btn_noisingg. function btn_noisingg_callback(hobject, eventdata, handles) mg = length(get(handles.edit_meang, 'String')); vg = length(get(handles.edit_varianceg, 'String')); if (mg <= 0 vg == 0) h = msgbox('mean dan Variance harus diinput!'); citra_asli=handles.citra2; mean=str2num(get(handles.edit_meang,'string')); variance=str2num(get(handles.edit_varianceg,'string')); citra_gaussian = imnoise(citra_asli,'gaussian',mean,variance); axes(handles.axes_sgn); imshow(citra_gaussian); handles.citra3=citra_gaussian; guidata(hobject,handles); % function backmenu_callback(hobject, eventdata, handles) AiSoftware close SpeckleGaussianNoise; % --- Executes on button press in btn_ed_mh.

15 A-16 function btn_ed_mh_callback(hobject, eventdata, handles) citra_asli=handles.citra3; mh_output=deteksimarrhil(citra_asli); axes(handles.axes_mh2); imshow(mh_output); citragray = rgb2gray(handles.citra3); citrahistomh = edge(citragray,'marr'); axes(handles.axes_histomh); imhist(citrahistomh); % --- Executes on button press in btn_ed_log. function btn_ed_log_callback(hobject, eventdata, handles) citra_asli=handles.citra3; gray=rgb2gray(citra_asli); ED_LOG=edge(gray,'log'); axes(handles.axes_log2); imshow(ed_log); citragray = rgb2gray(handles.citra3); citrahistolog = edge(citragray,'log'); axes(handles.axes_histolog); imhist(citrahistolog); % --- Executes on button press in btn_ed_p. function btn_ed_p_callback(hobject, eventdata, handles) citra_asli=handles.citra3; citrap=rgb2gray(citra_asli); [x y]=size(citrap); %Prewitt H1 = [-1 0 1; ; ]; H2 = [ ; 0 0 0; 1 1 1]; fx = conv2(citrap,double(h1)); fy = conv2(citrap,double(h2)); %Arah Tepian [x,y]=size(fx); count=0; avg=0; for i=1:1:x for j=1:1:y output(i,j)=sqrt(fx(i,j)*fx(i,j)+fy(i,j)*fy(i,j)); count=count+output(i,j); avg=4*count/(x*y); for i=1:1:x for j=1:1:y if output(i,j)<avg output(i,j)=0; output(i,j)=255; prewitt_output=edge(citrap,'prewitt'); axes(handles.axes_p2); imshow(prewitt_output);

16 A-17 citragray = rgb2gray(handles.citra3); citrahistop = edge(citragray,'prewitt'); axes(handles.axes_histop); imhist(citrahistop); GaussianNoise.m function varargout = GaussianNoise(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1}); if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); gui_mainfcn(gui_state, varargin{:}); % End initialization code - DO NOT EDIT % --- Executes just before GaussianNoise is made visible. function GaussianNoise_OpeningFcn(hObject, eventdata, handles, varargin) % Choose default command line output for GaussianNoise handles.output = hobject; % Update handles structure guidata(hobject, handles); % UIWAIT makes GaussianNoise wait for user response (see UIRESUME) % uiwait(handles.figure1); % --- Outputs from this function are returned to the command line. function varargout = GaussianNoise_OutputFcn(hObject, eventdata, handles) % Get default command line output from handles structure varargout{1} = handles.output; % --- Executes on button press in bnt_gotoed. function bnt_gotoed_callback(hobject, eventdata, handles) % --- Executes on button press in btn_mse1. function btn_mse1_callback(hobject, eventdata, handles) citraasli=getimage(handles.axes_browse); citraasli=deteksimarrhil(citraasli); CitraHasil = double(getimage(handles.axes_mh3)); set(handles.edit_mse1,'string',mseval); % --- Executes on button press in btn_psnr1. function btn_psnr1_callback(hobject, eventdata, handles) citraasli=getimage(handles.axes_browse); citraasli=deteksimarrhil(citraasli); CitraHasil = double(getimage(handles.axes_mh3));

17 A-18 set(handles.edit_psnr1,'string',psnrval); function edit_mse1_callback(hobject, eventdata, handles) function edit_mse1_createfcn(hobject, eventdata, handles) function edit_psnr1_callback(hobject, eventdata, handles) function edit_psnr1_createfcn(hobject, eventdata, handles) % --- Executes on button press in btn_mse2. function btn_mse2_callback(hobject, eventdata, handles) citraasli=double(edge(citraasli,'log')); CitraHasil = double(getimage(handles.axes_log3)); set(handles.edit_mse2,'string',mseval); % --- Executes on button press in btn_psnr2. function btn_psnr2_callback(hobject, eventdata, handles) CitraHasil = double(getimage(handles.axes_log3)); set(handles.edit_psnr2,'string',psnrval); function edit_mse2_callback(hobject, eventdata, handles) function edit_mse2_createfcn(hobject, eventdata, handles) function edit_psnr2_callback(hobject, eventdata, handles) function edit_psnr2_createfcn(hobject, eventdata, handles)

18 A-19 % --- Executes on button press in btn_mse3. function btn_mse3_callback(hobject, eventdata, handles) citraasli=double(edge(citraasli,'prewitt')); CitraHasil = double(getimage(handles.axes_p3)); set(handles.edit_mse3,'string',mseval); % --- Executes on button press in btn_psnr3. function btn_psnr3_callback(hobject, eventdata, handles) CitraHasil = double(getimage(handles.axes_p3)); set(handles.edit_psnr3,'string',psnrval); function edit_mse3_callback(hobject, eventdata, handles) function edit_mse3_createfcn(hobject, eventdata, handles) function edit_psnr3_callback(hobject, eventdata, handles) function edit_psnr3_createfcn(hobject, eventdata, handles) % --- Executes on button press in btn_save1. function btn_save1_callback(hobject, eventdata, handles) [filename,pathname] = uiputfile(... {'*.bmp;*','file Image (*.bmp)';'*.*','all File (*.*)'},'Save Image'); NamaFile = strcat(pathname,'\',filename) [a a]=size(namafile) if (a~=1) axes(handles.axes_mh3); Citra = getimage(handles.axes_mh3); imwrite(citra,filename); return % --- Executes on button press in btn_save2. function btn_save2_callback(hobject, eventdata, handles) [filename,pathname] = uiputfile(... {'*.bmp;*','file Image (*.bmp)';'*.*','all File (*.*)'},'Save Image'); NamaFile = strcat(pathname,'\',filename) [a a]=size(namafile) if (a~=1)

19 A-20 axes(handles.axes_log3); Citra = getimage(handles.axes_log3); imwrite(citra,filename); return % --- Executes on button press in btn_save3. function btn_save3_callback(hobject, eventdata, handles) [filename,pathname] = uiputfile(... {'*.bmp;*','file Image (*.bmp)';'*.*','all File (*.*)'},'Save Image'); NamaFile = strcat(pathname,'\',filename) [a a]=size(namafile) if (a~=1) axes(handles.axes_p3); Citra = getimage(handles.axes_p3); imwrite(citra,filename); return % --- Executes on button press in btn_browse. function btn_browse_callback(hobject, eventdata, handles) [nama_file,nama_path] = uigetfile({'*.bmp','file bmp (*.bmp)'},'buka File Citra'); if ~isequal(nama_file,0) handles.citra=imread(fullfile(nama_path,nama_file)); guidata(hobject,handles); axes(handles.axes_browse); imshow(handles.citra); axes(handles.axes_browse); imshow(handles.citra); axes(handles.axes_histoasli); imhist(handles.citra(:,:,1)); imhist(handles.citra(:,:,2)); imhist(handles.citra(:,:,3)); return; ; function edit_meang_callback(hobject, eventdata, handles) function edit_meang_createfcn(hobject, eventdata, handles) function edit_varianceg_callback(hobject, eventdata, handles) function edit_varianceg_createfcn(hobject, eventdata, handles)

20 A-21 % --- Executes on button press in btn_noisingg. function btn_noisingg_callback(hobject, eventdata, handles) mg = length(get(handles.edit_meang, 'String')); vg = length(get(handles.edit_varianceg, 'String')); if (mg <= 0 vg == 0) h = msgbox('mean dan Variance harus diinput!'); citra_asli=handles.citra; mean=str2num(get(handles.edit_meang,'string')); variance=str2num(get(handles.edit_varianceg,'string')); citra_gaussian = imnoise(citra_asli,'gaussian',mean,variance); axes(handles.axes_gn); imshow(citra_gaussian); handles.citra2=citra_gaussian; guidata(hobject,handles); function backmenu_callback(hobject, eventdata, handles) AiSoftware close GaussianNoise; % --- Executes on button press in btn_ed_mh. function btn_ed_mh_callback(hobject, eventdata, handles) citra_asli=handles.citra2; mh_output=deteksimarrhil(citra_asli); axes(handles.axes_mh3); imshow(mh_output); citragray = rgb2gray(handles.citra2); citrahistomh = edge(citragray,'marr'); axes(handles.axes_histomh); imhist(citrahistomh); % --- Executes on button press in btn_ed_log. function btn_ed_log_callback(hobject, eventdata, handles) citra_asli=handles.citra2; gray=rgb2gray(citra_asli); ED_LOG=edge(gray,'log'); axes(handles.axes_log3); imshow(ed_log); citragray = rgb2gray(handles.citra2); citrahistolog = edge(citragray,'log'); axes(handles.axes_histolog); imhist(citrahistolog); % --- Executes on button press in btn_ed_p. function btn_ed_p_callback(hobject, eventdata, handles) citra_asli=handles.citra2; citrap=rgb2gray(citra_asli); [x y]=size(citrap); %Prewitt H1 = [-1 0 1; ; ]; H2 = [ ; 0 0 0; 1 1 1]; fx = conv2(citrap,double(h1)); fy = conv2(citrap,double(h2));

21 A-22 %Arah Tepian [x,y]=size(fx); count=0; avg=0; for i=1:1:x for j=1:1:y output(i,j)=sqrt(fx(i,j)*fx(i,j)+fy(i,j)*fy(i,j)); count=count+output(i,j); avg=4*count/(x*y); for i=1:1:x for j=1:1:y if output(i,j)<avg output(i,j)=0; output(i,j)=255; prewitt_output=edge(citrap,'prewitt'); axes(handles.axes_p3); imshow(prewitt_output); citragray = rgb2gray(handles.citra2); citrahistop = edge(citragray,'prewitt'); axes(handles.axes_histop); imhist(citrahistop); SpeckleNoise.m function varargout = SpeckleNoise(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1}); if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); gui_mainfcn(gui_state, varargin{:}); % End initialization code - DO NOT EDIT % --- Executes just before SpeckleNoise is made visible. function SpeckleNoise_OpeningFcn(hObject, eventdata, handles, varargin) handles.output = hobject; % Update handles structure guidata(hobject, handles); % UIWAIT makes SpeckleNoise wait for user response (see UIRESUME) % uiwait(handles.figure1);

22 A-23 % --- Outputs from this function are returned to the command line. function varargout = SpeckleNoise_OutputFcn(hObject, eventdata, handles) varargout{1} = handles.output; % --- Executes on button press in btn_gotoed. function btn_gotoed_callback(hobject, eventdata, handles) % --- Executes on button press in btn_mse1. function btn_mse1_callback(hobject, eventdata, handles) citraasli=getimage(handles.axes_browse); citraasli=deteksimarrhil(citraasli); CitraHasil = double(getimage(handles.axes_mh4)); set(handles.edit_mse1,'string',mseval); % --- Executes on button press in btn_psnr1. function btn_psnr1_callback(hobject, eventdata, handles) citraasli=getimage(handles.axes_browse); citraasli=deteksimarrhil(citraasli); CitraHasil = double(getimage(handles.axes_mh4)); set(handles.edit_psnr1,'string',psnrval); function edit_mse1_callback(hobject, eventdata, handles) function edit_mse1_createfcn(hobject, eventdata, handles) function edit_psnr1_callback(hobject, eventdata, handles) function edit_psnr1_createfcn(hobject, eventdata, handles) % --- Executes on button press in btn_mse2. function btn_mse2_callback(hobject, eventdata, handles) citraasli=double(edge(citraasli,'log')); CitraHasil = double(getimage(handles.axes_log4)); set(handles.edit_mse2,'string',mseval); % --- Executes on button press in btn_psnr2. function btn_psnr2_callback(hobject, eventdata, handles)

23 A-24 CitraHasil = double(getimage(handles.axes_log4)); set(handles.edit_psnr2,'string',psnrval); function edit_mse2_callback(hobject, eventdata, handles) function edit_mse2_createfcn(hobject, eventdata, handles) function edit_psnr2_callback(hobject, eventdata, handles) function edit_psnr2_createfcn(hobject, eventdata, handles) % --- Executes on button press in btn_mse3. function btn_mse3_callback(hobject, eventdata, handles) citraasli=double(edge(citraasli,'prewitt')); CitraHasil = double(getimage(handles.axes_p4)); set(handles.edit_mse3,'string',mseval); % --- Executes on button press in btn_psnr3. function btn_psnr3_callback(hobject, eventdata, handles) CitraHasil = double(getimage(handles.axes_p4)); set(handles.edit_psnr3,'string',psnrval); function edit_mse3_callback(hobject, eventdata, handles) function edit_mse3_createfcn(hobject, eventdata, handles) function edit_psnr3_callback(hobject, eventdata, handles) function edit_psnr3_createfcn(hobject, eventdata, handles)

24 A-25 % --- Executes on button press in btn_save1. function btn_save1_callback(hobject, eventdata, handles) [filename,pathname] = uiputfile(... {'*.bmp;*','file Image (*.bmp)';'*.*','all File (*.*)'},'Save Image'); NamaFile = strcat(pathname,'\',filename) [a a]=size(namafile) if (a~=1) axes(handles.axes_mh4); Citra = getimage(handles.axes_mh4); imwrite(citra,filename); return % --- Executes on button press in btn_save2. function btn_save2_callback(hobject, eventdata, handles) [filename,pathname] = uiputfile(... {'*.bmp;*','file Image (*.bmp)';'*.*','all File (*.*)'},'Save Image'); NamaFile = strcat(pathname,'\',filename) [a a]=size(namafile) if (a~=1) axes(handles.axes_log4); Citra = getimage(handles.axes_log4); imwrite(citra,filename); return % --- Executes on button press in btn_save3. function btn_save3_callback(hobject, eventdata, handles) [filename,pathname] = uiputfile(... {'*.bmp;*','file Image (*.bmp)';'*.*','all File (*.*)'},'Save Image'); NamaFile = strcat(pathname,'\',filename) [a a]=size(namafile) if (a~=1) axes(handles.axes_p4); Citra = getimage(handles.axes_p4); imwrite(citra,filename); return % --- Executes on button press in btn_browse. function btn_browse_callback(hobject, eventdata, handles) [nama_file,nama_path] = uigetfile({'*.bmp','file bmp (*.bmp)'},'buka File Citra'); if ~isequal(nama_file,0) handles.citra=imread(fullfile(nama_path,nama_file)); guidata(hobject,handles); axes(handles.axes_browse); imshow(handles.citra); axes(handles.axes_browse);

25 A-26 imshow(handles.citra); axes(handles.axes_histoasli); imhist(handles.citra(:,:,1)); imhist(handles.citra(:,:,2)); imhist(handles.citra(:,:,3)); return; ; function edit_variances_callback(hobject, eventdata, handles) function edit_variances_createfcn(hobject, eventdata, handles) % --- Executes on button press in btn_noisings. function btn_noisings_callback(hobject, eventdata, handles) vg = length(get(handles.edit_variances, 'String')); if (vg == 0) h = msgbox('variance harus diinput!'); citra_asli=handles.citra; variance=str2num(get(handles.edit_variances,'string')); citra_speckle = imnoise(citra_asli,'speckle',variance); axes(handles.axes_sn); imshow(citra_speckle); handles.citra2=citra_speckle; guidata(hobject,handles); % function backmenu_callback(hobject, eventdata, handles) AiSoftware close SpeckleNoise; % --- Executes on button press in btn_ed_mh. function btn_ed_mh_callback(hobject, eventdata, handles) citra_asli=handles.citra2; mh_output=deteksimarrhil(citra_asli); axes(handles.axes_mh4); imshow(mh_output); citragray = rgb2gray(handles.citra2); citrahistomh = edge(citragray,'marr'); axes(handles.axes_histomh); imhist(citrahistomh); % --- Executes on button press in btn_ed_log. function btn_ed_log_callback(hobject, eventdata, handles) citra_asli=handles.citra2; gray=rgb2gray(citra_asli); ED_LOG=edge(gray,'log'); axes(handles.axes_log4); imshow(ed_log); citragray = rgb2gray(handles.citra2); citrahistolog = edge(citragray,'log'); axes(handles.axes_histolog); imhist(citrahistolog);

26 A-27 % --- Executes on button press in btn_ed_p. function btn_ed_p_callback(hobject, eventdata, handles) citra_asli=handles.citra2; citrap=rgb2gray(citra_asli); [x y]=size(citrap); %Prewitt H1 = [-1 0 1; ; ]; H2 = [ ; 0 0 0; 1 1 1]; fx = conv2(citrap,double(h1)); fy = conv2(citrap,double(h2)); %Arah Tepian [x,y]=size(fx); count=0; avg=0; for i=1:1:x for j=1:1:y output(i,j)=sqrt(fx(i,j)*fx(i,j)+fy(i,j)*fy(i,j)); count=count+output(i,j); avg=4*count/(x*y); for i=1:1:x for j=1:1:y if output(i,j)<avg output(i,j)=0; output(i,j)=255; prewitt_output=edge(citrap,'prewitt'); axes(handles.axes_p4); imshow(prewitt_output); citragray = rgb2gray(handles.citra2); citrahistop = edge(citragray,'prewitt'); axes(handles.axes_histop); imhist(citrahistop); deteksimarrhil.m function hasil=deteksimarrhil(citra_asli); citramh=rgb2gray(citra_asli); [x y]=size(citramh); mh_output=zeros(x,y); %MarrHildreth sigma=2; m=ceil(sigma*3)*2+1; h=fspecial('log',m,sigma); h=h-sum(h(:))/(m^2); diff2=zeros(x,y); dt=ceil((m-1)/2); for i=1:x

27 A-28 for j=1:y for k=1:m for l=1:m xp=i-k+1+dt; yp=j-l+1+dt; if((xp>=1)&&(xp<=x)&&(yp>=1)&&(yp<=y)) diff2(i,j)=diff2(i,j)+h(k,l)*double(citramh(xp,yp)); th=0.75*mean2(abs(diff2(2:x-1,2:y-1))); for i=2:x-1 for j=2:y-1 if(diff2(i,j)<0) if((diff2(i,j-1)>0)&&(diff2(i,j-1)- diff2(i,j)>th)) mh_output(i,j)=1; if((diff2(i,j+1)>0)&&(diff2(i,j+1)- diff2(i,j)>th)) mh_output(i,j)=1; if((diff2(i-1,j)>0)&&(diff2(i-1,j)- diff2(i,j)>th)) mh_output(i,j)=1; if((diff2(i+1,j)>0)&&(diff2(i+1,j)- diff2(i,j)>th)) mh_output(i,j)=1; if(diff2(i,j)==0) if((diff2(i,j- 1)<0)&&(diff2(i,j+1)>0)&&(diff2(i,j+1)-diff2(i,j-1)>2*th)) mh_output(i,j)=1; if((diff2(i,j- 1)>0)&&(diff2(i,j+1)<0)&&(diff2(i,j-1)-diff2(i,j+1)>2*th)) mh_output(i,j)=1; if((diff2(i- 1,j)<0)&&(diff2(i+1,j)>0)&&(diff2(i+1,j)-diff2(i-1,j)>2*th)) mh_output(i,j)=1; if((diff2(i-1,j)>0)&&(diff2(i+1,j)<0)&&(diff2(i- 1,j)-diff2(i+1,j)>2*th)) mh_output(i,j)=1; hasil=mh_output; CURRICULUM VITAE Nama : Nur Ainun Alamat : Jl. Pusaka No.921, Pasar XI Tembung, Medan, Telp/Hp : ainunkhan@gmail.com Riwayat Pidikan

28 B : S1 Ilmu Komputer, Medan : MAN 1 Medan : MTsN 2 Medan : SD Pahlawan Nasional, Medan Riwayat Organisasi Periode Nama Organisasi Lingkup Jabatan OSIS Mtsn 2 Medan Sekolah Anggota Dept. Agama Tarung Derajat Satlat MAN 1 Medan Sekolah Sekretaris OSIS MAN 1 Medan Sekolah Sekretaris Ketua II OSIS MAN 1 Medan Sekolah Ketua II BKM Al-Khuwarizmi Program Studi Anggota Biro Administrasi. Sekretaris Bidang Syiar PEMA F-MIPA USU Fakultas Anggota Dept. Agama Islam IMILKOM USU Program Studi Sekretaris Bidang Kemahasiswaan IMILKOM USU Program Studi Sekretaris Umum IMILKOM USU Program Studi Ketua Dept. Dana dan Usaha PEMA Fasilkom-TI Fakultas Anggota Dept. Kemahasiswaan IMILKOM USU Program Studi Dewan Penasehat

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

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

% 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

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

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

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

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

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

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

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

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

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

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

Homeworks on FFT Instr. and Meas. for Communication Systems- Gianfranco Miele. Name Surname Homeworks on FFT 90822- Instr. and Meas. for Communication Systems- Gianfranco Miele Name Surname October 15, 2014 1 Name Surname 90822 (Gianfranco Miele): Homeworks on FFT Contents Exercise 1 (Solution)............................................

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.., 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

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

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

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

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

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

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

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

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

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

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

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

LISTING PROGRAM. 1. Module SkripsiUmri.py. import sys, operator, codecs, time. class Timer(object): def init (self): self.t1= time.

LISTING PROGRAM. 1. Module SkripsiUmri.py. import sys, operator, codecs, time. class Timer(object): def init (self): self.t1= time. A1 LISTING PROGRAM 1. Module SkripsiUmri.py import sys, operator, codecs, time class Timer(object): def init (self): self.t1= time.time() def getelapsedltime(self): # gets total elapsed from class initialsation

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

LAMPIRAN A LISTING PROGRAM

LAMPIRAN A LISTING PROGRAM A-1 LAMPIRAN A LISTING PROGRAM FUNGSI public void StopWatchStart() stopwatch.reset(); stopwatch.start(); Cursor.Current = Cursors.WaitCursor; txtlog.text = ""; public void StopWatchStop(string Title) stopwatch.stop();

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

LISTING PROGRAM. namespace vigenere_des { public partial class MainPage : PhoneApplicationPage { public MainPage() { InitializeComponent(); }

LISTING PROGRAM. namespace vigenere_des { public partial class MainPage : PhoneApplicationPage { public MainPage() { InitializeComponent(); } 59 LISTING PROGRAM Form Utama : using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation;

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

LISTING PROGRAM. a = b; b = c; c = a + b; } fibs.reverse(); for (int i = 0; i < fibs.count; i++) { if (n >= fibs[i]) { n = n - fibs[i];

LISTING PROGRAM. a = b; b = c; c = a + b; } fibs.reverse(); for (int i = 0; i < fibs.count; i++) { if (n >= fibs[i]) { n = n - fibs[i]; A-1 A LISTING PROGRAM 1. Fibonacci Code //membuat fungsi Fibonacci Code public static String GetFibonacciCode(int n) { StringBuilder fib = new StringBuilder("1"); int a, b, c; List fibs = new List();

More information

LISTING PROGRAM. // // TODO: Add constructor code after the InitializeComponent()

LISTING PROGRAM. // // TODO: Add constructor code after the InitializeComponent() A-1 LISTING PROGRAM Form Mainform /* * Created by SharpDevelop. * User: Roni Anggara * Date: 5/17/2016 * Time: 8:52 PM * * To change this template use Tools Options Coding Edit Standard Headers. */ using

More information

Keywords: Learning automata, Vertex multicoloring.

Keywords: Learning automata, Vertex multicoloring. ISSN XXXX XXXX 2018 IJESC Research Article Volume 8 Issue No.4 Scheduling Algorithm for High Density MIMO Channels C.Elayaraja 1, P.Manju 2, I.Parsana Begam 3 Associate Professor 1, Student 2, 3 Department

More information

LISTING PROGRAM. private void filetoolstripmenuitem_click(object sender, EventArgs e) { this.hide(); Form2 fr = new Form2(); fr.

LISTING PROGRAM. private void filetoolstripmenuitem_click(object sender, EventArgs e) { this.hide(); Form2 fr = new Form2(); fr. Kode Program Form Home namespace SkripsiLagi public partial class Form9 : Form public Form9() LISTING PROGRAM private void filetoolstripmenuitem_click(object sender, EventArgs e) Form2 fr = new Form2();

More information

LAMPIRAN A: LISTING PROGRAM

LAMPIRAN A: LISTING PROGRAM A-1 LAMPIRAN A: LISTING PROGRAM 1. Latih.m input = xlsread('ayam1.xlsx', 'Sheet1', 'B2:P49'); %memasukkan input dari excel file Ayam, sheet Sheet1, baris kolom 'B2:BJ17' input= input'; %transpose input

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

LISTING PROGRAM. mainform.vb A-1. Universitas Sumatera Utara

LISTING PROGRAM. mainform.vb A-1. Universitas Sumatera Utara A-1 LISTING PROGRAM mainform.vb Imports System.IO Public Class mainform Private Sub mainform_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load enkripsirb.checked = True

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

LISTING PROGRAM. void FilteringToolStripMenuItemClick(object sender, EventAr s e) { Filtering a = new Filtering(); this.hide(); a.

LISTING PROGRAM. void FilteringToolStripMenuItemClick(object sender, EventAr s e) { Filtering a = new Filtering(); this.hide(); a. 130 LISTING PROGRAM 1. Mainform.cs using System; using System.Drawing; using System.Windows.Forms; namespace AnalisisPerbandinganFilertingdanDeteksiTepi public partial class MainForm : Form public MainForm()

More information

LISTING CODE A-1. Indo_to_jawa_Fragments.java. package studio.arti.kamusjawaindonesia;

LISTING CODE A-1. Indo_to_jawa_Fragments.java. package studio.arti.kamusjawaindonesia; LISTING CODE A-1 Indo_to_jawa_Fragments.java package studio.arti.kamusjawaindonesia; import android.content.dialoginterface; import android.database.cursor; import android.database.sqlite.sqlitedatabase;

More information

LAMPIRAN FORM 1 Universitas Sumatera Universitas Utara

LAMPIRAN FORM 1 Universitas Sumatera Universitas Utara LAMPIRAN FORM 1 Private Sub Text2_KeyPress(KeyAscii As Integer) If KeyAscii = vbkeyreturn Then Set tbladministrator = New ADODB.Recordset With tbladministrator.open "SELECT * FROM Administrator WHERE userid

More information

A-1 LAMPIRAN A LISTING PROGRAM. Kode Program Form Main: Universitas Sumatera Utara

A-1 LAMPIRAN A LISTING PROGRAM. Kode Program Form Main: Universitas Sumatera Utara A-1 LAMPIRAN A A LISTING PROGRAM Kode Program Form Main: #Region Project Attributes #ApplicationLabel: Samuel Panjaitan #VersionCode: 1 #VersionName: #SupportedOrientations: portrait #CanInstallToExternalStorage:

More information

Lampiran 2 MASTER TABEL

Lampiran 2 MASTER TABEL 64 Lampiran 2 MASTER TABEL No. No. Responden Umur Pendidikan Pekerjaan Paritas Kanker 1 427363 35 S1 PNS 4 Tidak 2 504024 36 SMA IRT 4 Tidak 3 500316 35 SMA IRT 5 Tidak 4 504014 35 SMA PNS 1 Tidak 5 447158

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

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

1 >> Lecture 3 2 >> 3 >> -- Functions 4 >> Zheng-Liang Lu 169 / 221

1 >> Lecture 3 2 >> 3 >> -- Functions 4 >> Zheng-Liang Lu 169 / 221 1 >> Lecture 3 2 >> 3 >> -- Functions 4 >> Zheng-Liang Lu 169 / 221 Functions Recall that an algorithm is a feasible solution to the specific problem. 1 A function is a piece of computer code that accepts

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

Ultraplatjoslas radaru izmantošana automašīnu skaitīšanai

Ultraplatjoslas radaru izmantošana automašīnu skaitīšanai Projekts: Valsts pētījumu programmas SOPHIS Projekts Nr.4. Tehnoloģijas drošai un uzticamai gudrajai pilsētai Ultraplatjoslas radaru izmantošana automašīnu skaitīšanai Tehnoloģijas lietošanas apraksts

More information

Matlab for Engineers

Matlab for Engineers Matlab for Engineers Alistair Johnson 31st May 2012 Centre for Doctoral Training in Healthcare Innovation Institute of Biomedical Engineering Department of Engineering Science University of Oxford Supported

More information

LISTING PROGRAM. void KOMPRESIToolStripMenuItemClick(object sender, EventArgs e) { Kompresi k = new Kompresi(); k.show(); this.

LISTING PROGRAM. void KOMPRESIToolStripMenuItemClick(object sender, EventArgs e) { Kompresi k = new Kompresi(); k.show(); this. A - 1 LISTING PROGRAM 1. Form Menu Utama using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace KompresiCitra / / Description of MainForm.

More information

Listing Progam. Universitas Sumatera Utara

Listing Progam. Universitas Sumatera Utara 60 Listing Progam Listing Program Tabel Index

More information

ANEXO G. % Se calcula el valor de la señal cuando a llegado % al 28.3% y 63.2% de su de su cambio total.

ANEXO G. % Se calcula el valor de la señal cuando a llegado % al 28.3% y 63.2% de su de su cambio total. ANEXO G CÓDIGOS DE LOS PROGRAMAS DE MATLAB function [Kp,tao,to]=ajuste_fit3(c,t,dm) % Ajuste de una curva por el mètodo del FIT3 % A la función se le pasan los valores del tiempo, la salida y el cambio

More information

1 >> Lecture 3 2 >> 3 >> -- Functions 4 >> Zheng-Liang Lu 172 / 225

1 >> Lecture 3 2 >> 3 >> -- Functions 4 >> Zheng-Liang Lu 172 / 225 1 >> Lecture 3 2 >> 3 >> -- Functions 4 >> Zheng-Liang Lu 172 / 225 Functions The first thing of the design of algorithms is to divide and conquer. A large and complex problem would be solved by couples

More information

LAMPIRAN A : LISTING PROGRAM

LAMPIRAN A : LISTING PROGRAM 46 LAMPIRAN A : LISTING PROGRAM 1. Mainform /* * Created by SharpDevelop. * User: User7 * Date: 28/09/2015 * Time: 9:38 * * To change this template use Tools Options Coding Edit Standard Headers. */ using

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

Flow Control. Spring Flow Control Spring / 26

Flow Control. Spring Flow Control Spring / 26 Flow Control Spring 2019 Flow Control Spring 2019 1 / 26 Relational Expressions Conditions in if statements use expressions that are conceptually either true or false. These expressions are called relational

More information

Flow Control and Functions

Flow Control and Functions Flow Control and Functions Script files If's and For's Basics of writing functions Checking input arguments Variable input arguments Output arguments Documenting functions Profiling and Debugging Introduction

More information

LAMPIRAN. Private Sub FrmSkinDetect_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load IndikatorHandle(False) End Sub

LAMPIRAN. Private Sub FrmSkinDetect_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load IndikatorHandle(False) End Sub 92 LAMPIRAN List Program FDeteksiWajah.vb Imports System.ComponentModel Public Class FDeteksiWajah Private CGen As ClGeneral Dim CWajah As ClDeteksi Dim CShape As New ClShapeA Dim tprogress As Integer

More information

An Implementation of RC4 + Algorithm and Zig-zag Algorithm in a Super Encryption Scheme for Text Security

An Implementation of RC4 + Algorithm and Zig-zag Algorithm in a Super Encryption Scheme for Text Security Journal of Physics: Conference Series PAPER OPEN ACCESS An Implementation of RC4 + Algorithm and Zig-zag Algorithm in a Super Encryption Scheme for Text Security To cite this article: M A Budiman et al

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

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

privateint m, n, smithitemcount, raitaitemcount;

privateint m, n, smithitemcount, raitaitemcount; LISTING PROGRAM /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools Templates * and open the template in the editor. */ package

More information

LISTING PROGRAM. com.example.jessicatamara.myapplication4;

LISTING PROGRAM. com.example.jessicatamara.myapplication4; A-1 LISTING PROGRAM MainActivity.java package import import import import import import com.example.jessicatamara.myapplication4; android.content.intent; android.support.v7.app.appcompatactivity; android.os.bundle;

More information

IKI30820 Logic Programming Negation as Failure Slide 06

IKI30820 Logic Programming Negation as Failure Slide 06 IKI30820 Logic Programming Negation as Failure Slide 06 Ari Saptawijaya (slides) Adila A. Krisnadhi (L A T E Xadaptation) Fakultas Ilmu Komputer Universitas Indonesia 2009/2010 Semester Gasal AS,AAK (Fasilkom

More information

September 18, B Math Test Chapter 1 Name: x can be expressed as: {y y 0, y R}.

September 18, B Math Test Chapter 1 Name: x can be expressed as: {y y 0, y R}. September 8, 208 62B Math Test Chapter Name: Part : Objective Questions [ mark each, total 2 marks]. State whether each of the following statements is TRUE or FALSE a) The mapping rule (x, y) (-x, y) represents

More information

Anisotropy analysis: the MATLAB code

Anisotropy analysis: the MATLAB code Electronic Supplementary Material (ESI) for Physical Chemistry Chemical Physics. This journal is the Owner Societies 2014 Anisotropy analysis: the MATLAB code function faia(varargin) %==========================================================================

More information

Computational Methods of Scientific Programming

Computational Methods of Scientific Programming 12.010 Computational Methods of Scientific Programming Lecturers Thomas A Herring, Jim Elliot, Chris Hill, Summary of Today s class We will look at Matlab: History Getting help Variable definitions and

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

Listing Program. private void exittoolstripmenuitem_click(object sender, EventArgs e) { Application.Exit(); }

Listing Program. private void exittoolstripmenuitem_click(object sender, EventArgs e) { Application.Exit(); } Listing Program Kode Program Menu Home: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using

More information

Hybrid learning vector quantization (LVQ) algorithm on face recognition using webcam

Hybrid learning vector quantization (LVQ) algorithm on face recognition using webcam IOP Conference Series: Materials Science and Engineering PAPER OPEN ACCESS Hybrid learning vector quantization (LVQ) algorithm on face recognition using webcam To cite this article: Parini et al 2018 IOP

More information

Transformations with Fred Functions- Packet 1

Transformations with Fred Functions- Packet 1 Transformations with Fred Functions- Packet To the right is a graph of a Fred function. We can use Fred functions to explore transformations in the coordinate plane. I. Let s review briefly.. a. Explain

More information

ANALYSIS OF LABOR EMPLOYMENT ASSESMENT ON PRODUCTION MACHINE TO MINIMIZE TIME PRODUCTION

ANALYSIS OF LABOR EMPLOYMENT ASSESMENT ON PRODUCTION MACHINE TO MINIMIZE TIME PRODUCTION ANALYSIS OF LABOR EMPLOYMENT ASSESMENT ON PRODUCTION MACHINE TO MINIMIZE TIME PRODUCTION Tri Hernawati, Suliawati *, and Vita Sari Gumay 2 Industrial Engineering, Faculty of Engineering Islamic University

More information

MATLAB for the Sciences

MATLAB for the Sciences Error Checking,, and MATLAB Movies January 26, 2009 Making Sure Things Work Correctly All through each program we ve assumed that inputs are of a certain type and dimension. What if someone stumbles upon

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

Nonparametric Density Estimation

Nonparametric Density Estimation Nonparametric Estimation Data: X 1,..., X n iid P where P is a distribution with density f(x). Aim: Estimation of density f(x) Parametric density estimation: Fit parametric model {f(x θ) θ Θ} to data parameter

More information

Rationale. Instructional Task

Rationale. Instructional Task A-E Strand(s): Algebra. Sample Courses: Middle School Course 2, Middle School One-Year Advanced Course, Integrated 3, and Algebra II. Topic/Expectation A.C.1 Elementary functions g. Explain, illustrate

More information

A-1 LISTING PROGRAM. 1. Form1.cs. Universitas Sumatera Utara

A-1 LISTING PROGRAM. 1. Form1.cs. Universitas Sumatera Utara A-1 LISTING PROGRAM 1. Form1.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IronPython.Hosting; using Microsoft.Scripting;

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

Analysis of labor employment assessment on production machine to minimize time production

Analysis of labor employment assessment on production machine to minimize time production IOP Conference Series: Earth and Environmental Science PAPER OPEN ACCESS Analysis of labor employment assessment on production machine to minimize time production To cite this article: Tri Hernawati et

More information

Image segmentation based on gray-level spatial correlation maximum between-cluster variance

Image segmentation based on gray-level spatial correlation maximum between-cluster variance International Symposium on Computers & Informatics (ISCI 05) Image segmentation based on gray-level spatial correlation maximum between-cluster variance Fu Zeng,a, He Jianfeng,b*, Xiang Yan,Cui Rui, Yi

More information

A comparative study of Message Digest 5(MD5) and SHA256 algorithm

A comparative study of Message Digest 5(MD5) and SHA256 algorithm Journal of Physics: Conference Series PAPER OPEN ACCESS A comparative study of Message Digest 5(MD5) and SHA256 algorithm To cite this article: D Rachmawati et al 208 J. Phys.: Conf. Ser. 978 026 View

More information

Journal of Physics: Conference Series PAPER OPEN ACCESS. To cite this article: B E Zaiwani et al 2018 J. Phys.: Conf. Ser.

Journal of Physics: Conference Series PAPER OPEN ACCESS. To cite this article: B E Zaiwani et al 2018 J. Phys.: Conf. Ser. Journal of Physics: Conference Series PAPER OPEN ACCESS Improved hybridization of Fuzzy Analytic Hierarchy Process (FAHP) algorithm with Fuzzy Multiple Attribute Decision Making - Simple Additive Weighting

More information