1. Peralatan LAMPIRAN

Size: px
Start display at page:

Download "1. Peralatan LAMPIRAN"

Transcription

1 1. Peralatan LAMPIRAN

2

3 2. Data Sampel a. Air murni 3ml Energy(mj) Probability Air Murni b. 2ml Air Murni + 1 ml Air Kran Energy Probability 2ml Air murni + 1 ml air Kran

4 c. 1 ml Air Murni + 2 ml Air Kran Energy BD probability 1ml air Murni + 2ml air kran d. 3 ml Air Kran Energy Probability 3ml Air Kran

5 e. 3ml Polysterene 330,7.5ppb Probability Energy Polysterene 330,7.5ppb f. 3ml Polysterene 330,15 ppb Probability Energy Polysterene 330, 15ppb

6 3. Program function varargout = baru05(varargin) % BARU05 M-file for baru05.fig % BARU05, by itself, creates a new BARU05 or raises the existing % singleton*. % % H = BARU05 returns the handle to a new BARU05 or the handle to % the existing singleton*. % % BARU05('CALLBACK',hObject,eventData,handles,...) calls the local % function named CALLBACK in BARU05.M with the given input arguments. % % BARU05('Property','Value',...) creates a new BARU05 or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before baru05_openingfcn gets called. An % unrecognized property name or invalid value makes property application % stop. All inputs are passed to baru05_openingfcn via varargin. % % *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one % instance to run (singleton)". % % See also: GUIDE, GUIDATA, GUIHANDLES % Edit the above text to modify the response to help baru05 % Last Modified by GUIDE v Apr :23:57 % 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})

7 gui_state.gui_callback = str2func(varargin{1}); if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); else gui_mainfcn(gui_state, varargin{:}); % End initialization code - DO NOT EDIT % --- Executes just before baru05 is made visible. function baru05_openingfcn(hobject, eventdata, handles, varargin) % This function has no output args, see OutputFcn. % hobject handle to figure % varargin command line arguments to baru05 (see VARARGIN) % Choose default command line output for baru05 handles.output = hobject; % Update handles structure guidata(hobject, ; % UIWAIT makes baru05 wait for user response (see UIRESUME) % uiwait(handles.figure1); % --- Outputs from this function are returned to the command line. function varargout = baru05_outputfcn(hobject, eventdata, % varargout cell array for returning output args (see VARARGOUT); % hobject handle to figure % Get default command line output from handles structure

8 varargout{1} = handles.output; % --- Executes on button press in pushbutton1. function pushbutton1_callback(hobject, ~, % hobject handle to pushbutton1 (see GCBO) threshold =str2num(get(handles.edit2,'string')); [filename,pathname] = uigetfile({'*.wav'}); if ~isequal(filename,0) [x,fs] = wavread([pathname '/' filename]); else return set(handles.edit1,'string',filename); signal1=x; signal2 = signal1; handles.x = signal1; axes(handles.axes2); plot(signal1); title('sinyal SUARA'); xlabel('energy'); ylabel('bd PROBABILITY') hitung = 0; hitungmin = 1; %treshold signal %threshold = 0.12; jd = length(signal1); dx = 4410; jb=floor(jd/dx); hb=0; for m = 1:jd if signal2(m)<threshold signal2 (m) = 0; axes(handles.axes3); plot(signal2); title('hasil THRESHOLD'); guidata(hobject, ; for m = 1 : jb for i = 1 : dx if signal1 ((m-1)*dx + i) > threshold; hb=hb+1;

9 if hb > hitungmin hitung = hitung +1; hb=0; hitungstr=num2str(hitung); set(handles.edit3,'string',hitungstr); % guidata(hobject, ; display(hitung); function edit1_callback(hobject, eventdata, % hobject handle to edit1 (see GCBO) edit1 as text % str2double(get(hobject,'string')) returns contents of edit1 as a double function edit1_createfcn(hobject, eventdata, % hobject handle to edit1 (see GCBO) % handles empty - handles not created until after if ispc && isequal(get(hobject,'backgroundcolor'), function edit2_callback(hobject, eventdata, % hobject handle to edit2 (see GCBO)

10 edit2 as text % str2double(get(hobject,'string')) returns contents of edit2 as a double function edit2_createfcn(hobject, eventdata, % hobject handle to edit2 (see GCBO) % handles empty - handles not created until after if ispc && isequal(get(hobject,'backgroundcolor'), function edit3_callback(hobject, eventdata, % hobject handle to edit3 (see GCBO) edit3 as text % str2double(get(hobject,'string')) returns contents of edit3 as a double function edit3_createfcn(hobject, eventdata, % hobject handle to edit3 (see GCBO)

11 % handles empty - handles not created until after if ispc && isequal(get(hobject,'backgroundcolor'), % --- Executes on button press in pushbutton2. function pushbutton2_callback(hobject, eventdata, % hobject handle to pushbutton2 (see GCBO) threshold =str2num(get(handles.edit5,'string')); [filename,pathname] = uigetfile({'*.wav'}); if ~isequal(filename,0) [x,fs] = wavread([pathname '/' filename]); else return set(handles.edit4,'string',filename); signal1=x; signal2 = signal1; handles.x = signal1; axes(handles.axes4); plot(signal1); title('sinyal SUARA'); xlabel('energy'); ylabel('bd PROBABILITY') hitung = 0; hitungmin = 1; %treshold signal %threshold = 0.12; jd = length(signal1); dx = 4410; jb=floor(jd/dx); hb=0; for m = 1:jd if signal2(m)<threshold signal2 (m) = 0;

12 axes(handles.axes5); title('hasil THRESHOLD'); plot(signal2); guidata(hobject, ; for m = 1 : jb for i = 1 : dx if signal1 ((m-1)*dx + i) > threshold; hb=hb+1; if hb > hitungmin hitung = hitung +1; hb=0; hitungstr=num2str(hitung); set(handles.edit6,'string',hitungstr); % guidata(hobject, ; display(hitung); function edit4_callback(hobject, eventdata, % hobject handle to edit4 (see GCBO) edit4 as text % str2double(get(hobject,'string')) returns contents of edit4 as a double function edit4_createfcn(hobject, eventdata, % hobject handle to edit4 (see GCBO) % handles empty - handles not created until after

13 if ispc && isequal(get(hobject,'backgroundcolor'), function edit5_callback(hobject, eventdata, % hobject handle to edit5 (see GCBO) edit5 as text % str2double(get(hobject,'string')) returns contents of edit5 as a double function edit5_createfcn(hobject, eventdata, % hobject handle to edit5 (see GCBO) % handles empty - handles not created until after if ispc && isequal(get(hobject,'backgroundcolor'), function edit6_callback(hobject, eventdata, % hobject handle to edit6 (see GCBO) edit6 as text

14 % str2double(get(hobject,'string')) returns contents of edit6 as a double function edit6_createfcn(hobject, eventdata, % hobject handle to edit6 (see GCBO) % handles empty - handles not created until after if ispc && isequal(get(hobject,'backgroundcolor'), % --- Executes on button press in pushbutton3. function pushbutton3_callback(hobject, eventdata, % hobject handle to pushbutton3 (see GCBO) threshold =str2num(get(handles.edit8,'string')); [filename,pathname] = uigetfile({'*.wav'}); if ~isequal(filename,0) [x,fs] = wavread([pathname '/' filename]); else return set(handles.edit7,'string',filename); signal1=x; signal2 = signal1; handles.x = signal1; axes(handles.axes6); plot(signal1); title('sinyal SUARA'); xlabel('energy'); ylabel('bd PROBABILITY') hitung = 0; hitungmin = 1;

15 %treshold signal %threshold = 0.12; jd = length(signal1); dx = 4410; jb=floor(jd/dx); hb=0; for m = 1:jd if signal2(m)<threshold signal2 (m) = 0; axes(handles.axes7); title('hasil THRESHOLD'); plot(signal2); guidata(hobject, ; for m = 1 : jb for i = 1 : dx if signal1 ((m-1)*dx + i) > threshold; hb=hb+1; if hb > hitungmin hitung = hitung +1; hb=0; hitungstr=num2str(hitung); set(handles.edit9,'string',hitungstr); % guidata(hobject, ; display(hitung); function edit7_callback(hobject, eventdata, % hobject handle to edit7 (see GCBO) edit7 as text % str2double(get(hobject,'string')) returns contents of edit7 as a double

16 function edit7_createfcn(hobject, eventdata, % hobject handle to edit7 (see GCBO) % handles empty - handles not created until after if ispc && isequal(get(hobject,'backgroundcolor'), function edit8_callback(hobject, eventdata, % hobject handle to edit8 (see GCBO) edit8 as text % str2double(get(hobject,'string')) returns contents of edit8 as a double function edit8_createfcn(hobject, eventdata, % hobject handle to edit8 (see GCBO) % handles empty - handles not created until after if ispc && isequal(get(hobject,'backgroundcolor'),

17 function edit9_callback(hobject, eventdata, % hobject handle to edit9 (see GCBO) edit9 as text % str2double(get(hobject,'string')) returns contents of edit9 as a double function edit9_createfcn(hobject, eventdata, % hobject handle to edit9 (see GCBO) % handles empty - handles not created until after if ispc && isequal(get(hobject,'backgroundcolor'), % --- Executes on button press in pushbutton4. function pushbutton4_callback(hobject, eventdata, % hobject handle to pushbutton4 (see GCBO) % --- Executes on button press in pushbutton5. function pushbutton5_callback(hobject, eventdata, % hobject handle to pushbutton5 (see GCBO)

18 cl = questdlg('do you want to EXIT?','EXIT',... 'Yes','No','No'); switch cl case'yes' close(); clearall; return; case'no' quitcancel; % --- Executes on button press in pushbutton6. function pushbutton6_callback(hobject, eventdata, % hobject handle to pushbutton6 (see GCBO) x=str2num(get(handles.edit3,'string')); y=str2num(get(handles.edit6,'string')); z=str2num(get(handles.edit9,'string')); jumlah=((x+y+z)/3)/1000; set(handles.edit10,'string', jumlah); guidata(hobject, ; function edit10_callback(hobject, eventdata, % hobject handle to edit10 (see GCBO) edit10 as text % str2double(get(hobject,'string')) returns contents of edit10 as a double function edit10_createfcn(hobject, eventdata,

19 % hobject handle to edit10 (see GCBO) % handles empty - handles not created until after if ispc && isequal(get(hobject,'backgroundcolor'), % --- Executes on button press in pushbutton7. function pushbutton7_callback(hobject, eventdata, % hobject handle to pushbutton7 (see GCBO) threshold=str2num(get(handles.edit2,'string')); set(handles.edit2,'string', threshold); guidata(hobject, ;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

% --- 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Interfacing to MATLAB. You can download the interface developed in this tutorial. It exists as a collection of 3 MATLAB files.

Interfacing to MATLAB. You can download the interface developed in this tutorial. It exists as a collection of 3 MATLAB files. Interfacing t MATLAB Overview: Getting Started Basic Tutrial Interfacing with OCX Installatin GUI with MATLAB's GUIDE First Buttn & Image Mre ActiveX Cntrls Exting the GUI Advanced Tutrial MATLAB Cntrls

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

Building a Graphical User Interface

Building a Graphical User Interface 148 CHAPTER 9 Building a Graphical User Interface Building a Graphical User Interface CHAPTER 9 9.1 Getting started with GUIDE 9.2 Starting an action with a GUI element 9.3 Communicating with GUI elements

More information

SECTION 2: PROGRAMMING WITH MATLAB. MAE 4020/5020 Numerical Methods with MATLAB

SECTION 2: PROGRAMMING WITH MATLAB. MAE 4020/5020 Numerical Methods with MATLAB SECTION 2: PROGRAMMING WITH MATLAB MAE 4020/5020 Numerical Methods with MATLAB 2 Functions and M Files M Files 3 Script file so called due to.m filename extension Contains a series of MATLAB commands The

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

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

APPENDIX A (The Main Program) speaker.m

APPENDIX A (The Main Program) speaker.m 113 APPENDIX A (The Main Program) speaker.m ===================================================================== NEAR EAST UNIVERSITY SPEAKER RECOGNITION SYSTEM ===============================================

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

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

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

Introduction. Like other programming languages, MATLAB has means for modifying the flow of a program

Introduction. Like other programming languages, MATLAB has means for modifying the flow of a program Flow control 1 Introduction Like other programming languages, MATLAB has means for modying the flow of a program All common constructs are implemented in MATLAB: for while then else switch try 2 FOR loops.

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

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

COMS 3101 Programming Languages: MATLAB. Lecture 2

COMS 3101 Programming Languages: MATLAB. Lecture 2 COMS 3101 Programming Languages: MATLAB Lecture 2 Fall 2013 Instructor: Ilia Vovsha hbp://www.cs.columbia.edu/~vovsha/coms3101/matlab Lecture Outline Quick review of array manipulanon Control flow Simple

More information

INTRODUCTION TO MATLAB INTERACTIVE GRAPHICS EXERCISES

INTRODUCTION TO MATLAB INTERACTIVE GRAPHICS EXERCISES INTRODUCTION TO MATLAB INTERACTIVE GRAPHICS EXERCISES Eric Peasley, Department of Engineering Science, University of Oxford version 3.0, 2017 MATLAB Interactive Graphics Exercises In these exercises you

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

Digital Image Processing. Today Outline. Matlab Desktop. Matlab Basics

Digital Image Processing. Today Outline. Matlab Desktop. Matlab Basics Today Outline Matlab Basics Intensity transform and Histogram Equalization Exercise one Basic Image Processing Digital Image Processing Teacher Assistance: Yael Pritch course email : impr@cshujiacil personal

More information

CSE 341 Section Handout #6 Cheat Sheet

CSE 341 Section Handout #6 Cheat Sheet Cheat Sheet Types numbers: integers (3, 802), reals (3.4), rationals (3/4), complex (2+3.4i) symbols: x, y, hello, r2d2 booleans: #t, #f strings: "hello", "how are you?" lists: (list 3 4 5) (list 98.5

More information

EL2310 Scientific Programming

EL2310 Scientific Programming Lecture 4: Programming in Matlab Yasemin Bekiroglu (yaseminb@kth.se) Florian Pokorny(fpokorny@kth.se) Overview Overview Lecture 4: Programming in Matlab Wrap Up More on Scripts and Functions Wrap Up Last

More information

Chemical Engineering 541

Chemical Engineering 541 Chemical Engineering 541 Computer Aided Design Methods Matlab Tutorial 1 Overview 2 Matlab is a programming language suited to numerical analysis and problems involving vectors and matricies. Matlab =

More information

Computational Methods of Scientific Programming. Matlab Lecture 3 Lecturers Thomas A Herring Chris Hill

Computational Methods of Scientific Programming. Matlab Lecture 3 Lecturers Thomas A Herring Chris Hill 12.010 Computational Methods of Scientific Programming Matlab Lecture 3 Lecturers Thomas A Herring Chris Hill Summary of last class Continued examining Matlab operations path and addpath commands Variables

More information

EL2310 Scientific Programming

EL2310 Scientific Programming (pronobis@kth.se) Overview Overview Wrap Up More on Scripts and Functions Basic Programming Lecture 2 Lecture 3 Lecture 4 Wrap Up Last time Loading data from file: load( filename ) Graphical input and

More information

GUI Building for Test & Measurement Applications

GUI Building for Test & Measurement Applications by: Ahmed Abdalla, The MathWorks GUI Building for Test & Measurement Applications This article demonstrates how you can utilize the below-listed products to create a custom test and measurement GUI application

More information

CNBC Matlab Mini-Course

CNBC Matlab Mini-Course CNBC Matlab Mini-Course David S. Touretzky October 2017 Day 3: The Really Cool Stuff 1 Multidimensional Arrays Matlab supports arrays with more than 2 dimensions. m = rand(4, 3, 2) whos m size(m) Matrix

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

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

Performance Analysis for Algorithms of Recognition of Geometric Patterns in Mechanical Pieces

Performance Analysis for Algorithms of Recognition of Geometric Patterns in Mechanical Pieces Performance Analysis for Algorithms of Recognition of Geometric Patterns in Mechanical Pieces Henry Montaña Quintero, Holman Montiel Ariza 1 and José Reyes Mozo Assistant Professors Technological Faculty,

More information

Computational Methods of Scientific Programming Fall 2008

Computational Methods of Scientific Programming Fall 2008 MIT OpenCourseWare http://ocw.mit.edu 12.010 Computational Methods of Scientific Programming Fall 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

More information

10 M-File Programming

10 M-File Programming MATLAB Programming: A Quick Start Files that contain MATLAB language code are called M-files. M-files can be functions that accept arguments and produce output, or they can be scripts that execute a series

More information

Computational Methods of Scientific Programming. Matlab Lecture 4 Lecturers Thomas A Herring Chris Hill

Computational Methods of Scientific Programming. Matlab Lecture 4 Lecturers Thomas A Herring Chris Hill 12.010 Computational Methods of Scientific Programming Matlab Lecture 4 Lecturers Thomas A Herring Chris Hill Review of Last Lecture Analysis of the some of the functions needed for the GUI development

More information

RTCU Deployment Server API. Version PC App. rds() Functioncalls. Internet

RTCU Deployment Server API. Version PC App. rds() Functioncalls. Internet RTCU Deployment Server API Version 1.02 PC App RDSAPI. DLL rds() Functioncalls RTCU Gateway RTCU RDS Internet GPRS RTCU Unit Table of Content Table of Content...2 Introduction...4 Graphical illustration

More information

CS159. Nathan Sprague

CS159. Nathan Sprague CS159 Nathan Sprague What s wrong with the following code? 1 /* ************************************************** 2 * Return the mean, or -1 if the array has length 0. 3 ***************************************************

More information

CS251 Programming Languages Spring 2016, Lyn Turbak Department of Computer Science Wellesley College

CS251 Programming Languages Spring 2016, Lyn Turbak Department of Computer Science Wellesley College A PostFix Interpreter in Racket CS251 Programming Languages Spring 2016, Lyn Turbak Department of Computer Science Wellesley College PostFix PostFix is a stack- based mini- language that will be our first

More information

Scheme: Strings Scheme: I/O

Scheme: Strings Scheme: I/O Scheme: Strings Scheme: I/O CS F331 Programming Languages CSCE A331 Programming Language Concepts Lecture Slides Wednesday, April 5, 2017 Glenn G. Chappell Department of Computer Science University of

More information

Department of Electrical Engineering, Technion IIT Signal and Image Processing Laboratory. Yair Moshe

Department of Electrical Engineering, Technion IIT Signal and Image Processing Laboratory. Yair Moshe Department of Electrical Engineering, Technion IIT Signal and Image Processing Laboratory Advanced MATLAB Part I: Graphics and GUI Yair Moshe March, 2010 Outline Graphics Animation Image and Video Handle

More information

A brief tour of history

A brief tour of history Introducing Racket λ A brief tour of history We wanted a language that allowed symbolic manipulation Scheme The key to understanding LISP is understanding S-Expressions Racket List of either atoms or

More information

Additions to the CREWES Matlab Library

Additions to the CREWES Matlab Library Additions to CREWES library Additions to the CREWES Matlab Library Christopher B. Harrison ABSTRACT This report will show and discuss the various Matlab programs that have been significantly altered and

More information