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

Size: px
Start display at page:

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

Transcription

1 Signal and Systems Matlab GUI based analysis

2 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 project is programmed in matlab and provides and easy to use GUI interface and provides user to perform various functionalities. Programming: function varargout = pro_sns_p2(varargin) % PRO_SNS_P2 M-file for pro_sns_p2.fig % PRO_SNS_P2, by itself, creates a new PRO_SNS_P2 or raises the existing % singleton*. % % H = PRO_SNS_P2 returns the handle to a new PRO_SNS_P2 or the handle to % the existing singleton*. % % PRO_SNS_P2('CALLBACK',hObject,eventData,handles,...) calls the local % function named CALLBACK in PRO_SNS_P2.M with the given input arguments. % % PRO_SNS_P2('Property','Value',...) creates a new PRO_SNS_P2 or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before pro_sns_p2_openingfcn gets called. An % unrecognized property name or invalid value makes property application % stop. All inputs are passed to pro_sns_p2_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 pro_sns_p2 % Last Modified by GUIDE v May :44:27 % 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

3 % --- Executes just before pro_sns_p2 is made visible. function pro_sns_p2_openingfcn(hobject, eventdata, handles, varargin) % This function has no output args, see OutputFcn. % hobject handle to figure % varargin command line arguments to pro_sns_p2 (see VARARGIN) % Choose default command line output for pro_sns_p2 clc; handles.output = hobject; [handles.osig,handles.fs]=wavread('sampledata.wav'); handles.noofbits=5; handles.td1=1; handles.fd1=0; handles.td2=0; handles.fd2=1; handles.controlvol=.5; handles.maximumosig=max(abs(handles.osig)); handles.selectsig1=1; handles.selectsig2=1; handles.soundplay=1; set(handles.radiotime1,'value',handles.td1); set(handles.radiofrequency1,'value',handles.fd1); set(handles.radiotime2,'value',handles.td2); set(handles.radiofrequency2,'value',handles.fd2); set(handles.slidercvolume,'value',handles.controlvol); handles.t=0:1/handles.fs:(length(handles.osig)/handles.fs)-1/handles.fs; ; plot(handles.t,handles.osig) handles.osig=fftshift(fft(handles.osig)/length(handles.osig)); handles.x_axis=-length(handles.osig)/2:1:length(handles.osig)/2-1; ; plot(handles.x_axis,abs(handles.osig)); % Update handles structure % UIWAIT makes pro_sns_p2 wait for user response (see UIRESUME) % uiwait(handles.figure1); % --- Outputs from this function are returned to the command line. function varargout = pro_sns_p2_outputfcn(hobject, eventdata, handles) % varargout cell array for returning output args (see VARARGOUT); % hobject handle to figure % Get default command line output from handles structure varargout{1} = handles.output;

4 % --- Executes on button press in radiotime1. function radiotime1_callback(hobject, eventdata, handles) % hobject handle to radiotime1 (see GCBO) % Hint: get(hobject,'value') returns toggle state of radiotime1 handles.td1=1; handles.fd1=0; if handles.selectsig1==1 plot(handles.t,handles.osig) if handles.selectsig1==2 ; plot(handles.t,quarantized); if handles.selectsig1==3 % quaran2osig=handles.maximumosig*((2*dig2quaran/handles.noofbits)- 1); ; plot(handles.t,quaran2osig); if handles.selectsig1==4 ; if handles.selectsig1==5 ; set(handles.radiotime1,'value',handles.td1) set(handles.radiofrequency1,'value',handles.fd1)

5 % --- Executes on button press in radiofrequency1. function radiofrequency1_callback(hobject, eventdata, handles) % hobject handle to radiofrequency1 (see GCBO) % Hint: get(hobject,'value') returns toggle state of radiofrequency1 handles.td1=0; handles.fd1=1; if handles.selectsig1==1 ; plot(handles.x_axis,abs(handles.osig)); if handles.selectsig1==2 FQO=fftshift(fft(quarantized)/length(quarantized)); if handles.selectsig1==3 % quaran2osig=handles.maximumosig*((2*dig2quaran/handles.noofbits)- 1); FQO=fftshift(fft(quaran2osig)/length(quaran2osig)); if handles.selectsig1==4 if handles.selectsig1==5

6 set(handles.radiotime1,'value',handles.td1); set(handles.radiofrequency1,'value',handles.fd1); % --- Executes on button press in radiotime2. function radiotime2_callback(hobject, eventdata, handles) % hobject handle to radiotime2 (see GCBO) % Hint: get(hobject,'value') returns toggle state of radiotime2 handles.td2=1; handles.fd2=0; if handles.selectsig2==1 plot(handles.t,handles.osig) if handles.selectsig2==2 ; plot(handles.t,quarantized); if handles.selectsig2==3 ; plot(handles.t,quaran2osig); if handles.selectsig2==4 ; if handles.selectsig2==5 ; set(handles.radiotime2,'value',handles.td2) set(handles.radiofrequency2,'value',handles.fd2)

7 % --- Executes on button press in radiofrequency2. function radiofrequency2_callback(hobject, eventdata, handles) % hobject handle to radiofrequency2 (see GCBO) % Hint: get(hobject,'value') returns toggle state of radiofrequency2 handles.td2=0; handles.fd2=1; if handles.selectsig2==1 ; plot(handles.x_axis,abs(handles.osig)); if handles.selectsig2==2 FQO=fftshift(fft(quarantized)/length(quarantized)); if handles.selectsig2==3 FQO=fftshift(fft(quaran2osig)/length(quaran2osig)); if handles.selectsig2==4 if handles.selectsig2==5

8 set(handles.radiotime2,'value',handles.td2); set(handles.radiofrequency2,'value',handles.fd2); % --- Executes on selection change in popupaxes1. function popupaxes1_callback(hobject, eventdata, handles) % hobject handle to popupaxes1 (see GCBO) handles.selectsig1=get(hobject,'value'); % Hints: contents = cellstr(get(hobject,'string')) returns popupaxes2 contents as cell array % contents{get(hobject,'value')} returns selected item from popupaxes2 if handles.selectsig1==1 if handles.td1==1 plot(handles.t,handles.osig) plot(handles.x_axis,abs(handles.osig)); if handles.selectsig1==2 if handles.td1==1 ; plot(handles.t,quarantized); FQO=fftshift(fft(quarantized)/length(quarantized)); if handles.selectsig1==3 if handles.td1==1 ; plot(handles.t,quaran2osig); FQO=fftshift(fft(quaran2osig)/length(quaran2osig)); if handles.selectsig1==4

9 if handles.td1==1 ; if handles.selectsig1==5 if handles.td1==1 ; % --- Executes during object creation, after setting all properties. function popupaxes1_createfcn(hobject, eventdata, handles) % hobject handle to popupaxes1 (see GCBO) % handles empty - handles not created until after all CreateFcns called % Hint: popupmenu controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc && isequal(get(hobject,'backgroundcolor'), get(0,'defaultuicontrolbackgroundcolor')) set(hobject,'backgroundcolor','white'); % --- Executes on selection change in popupaxes2. function popupaxes2_callback(hobject, eventdata, handles) % hobject handle to popupaxes2 (see GCBO) handles.selectsig2=get(hobject,'value'); % Hints: contents = cellstr(get(hobject,'string')) returns popupaxes2 contents as cell array % contents{get(hobject,'value')} returns selected item from popupaxes2 if handles.selectsig2==1 if handles.td2==1 plot(handles.t,handles.osig) plot(handles.x_axis,abs(handles.osig));

10 if handles.selectsig2==2 if handles.td2==1 ; plot(handles.t,quarantized); FQO=fftshift(fft(quarantized)/length(quarantized)); if handles.selectsig2==3 if handles.td2==1 ; plot(handles.t,quaran2osig); FQO=fftshift(fft(quaran2osig)/length(quaran2osig)); if handles.selectsig2==4 if handles.td2==1 ; if handles.selectsig2==5 if handles.td2==1 ;

11 % --- Executes during object creation, after setting all properties. function popupaxes2_createfcn(hobject, eventdata, handles) % hobject handle to popupaxes2 (see GCBO) % handles empty - handles not created until after all CreateFcns called % Hint: popupmenu controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc && isequal(get(hobject,'backgroundcolor'), get(0,'defaultuicontrolbackgroundcolor')) set(hobject,'backgroundcolor','white'); function bitsnumber_callback(hobject, eventdata, handles) % hobject handle to bitsnumber (see GCBO) % Hints: get(hobject,'string') returns contents of bitsnumber as text % str2double(get(hobject,'string')) returns contents of bitsnumber as a double a=str2double(get(hobject,'string')); handles.noofbits=round(a); set(handles.bitsnumber,'string',handles.noofbits); % --- Executes during object creation, after setting all properties. function bitsnumber_createfcn(hobject, eventdata, handles) % hobject handle to bitsnumber (see GCBO) % handles empty - handles not created until after all CreateFcns called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc && isequal(get(hobject,'backgroundcolor'), get(0,'defaultuicontrolbackgroundcolor')) set(hobject,'backgroundcolor','white'); % --- Executes on selection change in popupsound. function popupsound_callback(hobject, eventdata, handles) % hobject handle to popupsound (see GCBO) % Hints: contents = cellstr(get(hobject,'string')) returns popupsound contents as cell array % contents{get(hobject,'value')} returns selected item from popupsound handles.soundplay=get(hobject,'value'); if handles.soundplay==1

12 sound(handles.osig*handles.controlvol); axes(handles.axes3) plot(handles.t,handles.osig*handles.controlvol); if handles.soundplay==2 sound(handles.controlvol*quaran2osig); axes(handles.axes3) plot(handles.t,handles.controlvol*quaran2osig); if handles.soundplay==3 sound(handles.controlvol*filtered_osig); axes(handles.axes3) plot(handles.t,handles.controlvol*filtered_osig); if handles.soundplay==4 sound(handles.controlvol*filtered_osig); axes(handles.axes3) plot(handles.t,handles.controlvol*filtered_osig); % --- Executes during object creation, after setting all properties. function popupsound_createfcn(hobject, eventdata, handles) % hobject handle to popupsound (see GCBO) % handles empty - handles not created until after all CreateFcns called % Hint: popupmenu controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc && isequal(get(hobject,'backgroundcolor'), get(0,'defaultuicontrolbackgroundcolor')) set(hobject,'backgroundcolor','white'); % --- Executes on slider movement. function slidercvolume_callback(hobject, eventdata, handles) % hobject handle to slidercvolume (see GCBO) % Hints: get(hobject,'value') returns position of slider % get(hobject,'min') and get(hobject,'max') to determine range of slider handles.controlvol=get(hobject,'value'); % --- Executes during object creation, after setting all properties.

13 function slidercvolume_createfcn(hobject, eventdata, handles) % hobject handle to slidercvolume (see GCBO) % handles empty - handles not created until after all CreateFcns called % Hint: slider controls usually have a light gray background. if isequal(get(hobject,'backgroundcolor'), get(0,'defaultuicontrolbackgroundcolor')) set(hobject,'backgroundcolor',[.9.9.9]);

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

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

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

% 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

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

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

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

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

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

Lithium-Ion Battery Data. Management

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

More information

Lampiran 1. Script M-File Global Ridge

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

More information

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

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

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

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

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

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

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

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

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

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

Airfoil Boundary Layer Separation Prediction

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

More information

LAMPIRAN 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

There are two ways to launch Graphical User Interface (GUI). You can either

There are two ways to launch Graphical User Interface (GUI). You can either How to get started? There are two ways to launch Graphical User Interface (GUI). You can either 1. Click on the Guide icon 2. Type guide at the prompt Just follow the instruction below: To start GUI we

More information

Review: Event Driven Programming & GUI. CSCE155N Matlab Fall 2016

Review: Event Driven Programming & GUI. CSCE155N Matlab Fall 2016 Review: Event Driven Programming & GUI CSCE155N Matlab Fall 2016 1. Which of the following is not true about event-driven programming? A. An event source is a GUI component that could generate an event

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

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

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

User Defined Functions

User Defined Functions User Defined Functions 120 90 1 0.8 60 Chapter 6 150 0.6 0.4 30 0.2 180 0 210 330 240 270 300 Objectives Create and use MATLAB functions with both single and multiple inputs and outputs Learn how to store

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

Lab 8: Conditional Statements with Multiple Branches (please develop programs individually)

Lab 8: Conditional Statements with Multiple Branches (please develop programs individually) ENGR 128 Computer Lab Lab 8: Conditional Statements with Multiple Branches (please develop programs individually) I. Background: Multiple Branching and the if/if/ structure Many times we need more than

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

Purpose: How to train an MLP neural network in MATLAB environment!

Purpose: How to train an MLP neural network in MATLAB environment! Purpose: How to train an MLP neural network in MATLAB environment! that is For good computations, we need good formulae for good algorithms; and good visualization for good illustration and proper testing

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

Lecture 6 MATLAB programming (4) Dr.Qi Ying

Lecture 6 MATLAB programming (4) Dr.Qi Ying Lecture 6 MATLAB programming (4) Dr.Qi Ying Objectives User-defined Functions Anonymous Functions Function name as an input argument Subfunctions and nested functions Arguments persistent variable Anonymous

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

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

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

User Guide V0.1. Overview 2. Creating a project 2

User Guide V0.1. Overview 2. Creating a project 2 User Guide V0.1 Overview 2 Creating a project 2 Designing a screen 3 Creating a page 3 Adding controls 4 Labels 5 Linking with a lighting controller 6 Other features 6 Locking a project 6 Overview Easy

More information

Premium Auto Attendant USER GUIDE

Premium Auto Attendant USER GUIDE Premium Auto Attendant USER GUIDE CONTENTS 1.0 Introduction 4 2.0 Setting up for the First Time 4 3.0 Working with the Interface 5 3.1 Names and Descriptions 5 3.2 Error Icons 6 4.0 Configuring your Schedule

More information

Premium Auto Attendant User Guide

Premium Auto Attendant User Guide Premium Auto Attendant User Guide Contents Introduction to Premium Attendant... 1 Setting up Premium Attendant for the First Time...1 Working with the Premium Attendant Interface... 2 Names and Descriptions...2

More information

Example: A Four-Node Network

Example: A Four-Node Network Node Network Flows Flow of material, energy, money, information, etc., from one place to another arc 6 Node Node arc 6 Node Node 5 Node 6 8 Goal: Ship All of the Over the Network to Meet All of the 6 6

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

Graphical User Interface. GUI in MATLAB. Eng. Banan Ahmad Allaqta

Graphical User Interface. GUI in MATLAB. Eng. Banan Ahmad Allaqta raphical ser nterface in MATLAB Eng. Banan Ahmad Allaqta What is? A graphical user interface () is a graphical display in one or more windows containing controls, called components, that enable a user

More information