Security and Dependability of Computer Systems. Valentina Casola Domenico Cotroneo

Size: px
Start display at page:

Download "Security and Dependability of Computer Systems. Valentina Casola Domenico Cotroneo"

Transcription

1 Security and Dependability of Computer Systems Valentina Casola Domenico Cotroneo

2 Log-Based Field Failure Data Analysis: Exercise Prof. Domenico Cotroneo p. 2

3 Exercise The students will perform a log-based FFDA of a complex, large-scale computing system Mercury cluster at the National Center for Supercomputing Application* (NCSA); Objective: to learn the basics in data classification/analysis; determining the coalescence window to group a set of error entries; performing the failure analysis; reliability modelling via well-know distributions; * - University of Illinois at Urbana-Champaign (UIUC) p. 3

4 Mercury cluster: overview Mercury consists of 987 IBM nodes. The cluster has a 3-layer architecture + a management node (tg-master) computation nodes tg-master login nodes storage nodes ID of the nodes in the log (X is an integer) tg-loginx tg-cx tg-sx Myrinet. The nodes run a RedHat 9.0 OS Entries have been collected via the *syslog* daemon p. 4

5 More on the available log The log has been filtered/anonimized (only the error entries collected from 01-Jan-2007 to 26-Mar-2007 are given in the exercise log*: logmercury-exe.txt; 80,854 entries) Error categories DEV (Device): PCI cards/peripherals errors MEM (Memory): memory-related non-correctable err. NET (Network): communication issues I-O (Input-Output): SCSI disk error/damaged sectors PRO (Processor): exceptions/machine-checking issues OTH (Other): remaining errors *NOTE: The data/analysis shown in this presentation has been obtained for a subset of 10,000 entries in the exercise log (logmercury-test.txt) p. 5

6 Examples of error entries [DEV] - PCI Component Error Detail: Component Info: VendorId=*, DeviceId=*, ClassCode=*,Seg/Bus/Dev/Func=* - BEGIN HARDWARE ERROR STATE AT CPE [MEM] - Mem Error Detail: Physical Address *, Address Mask:*, Node:*, Card:*, Module: *, Bank:*, Device:*,Row:*, Column:* [NET] - connection down [I-O] - error, dev *:* (hda), sector * - hda: packet command error: error=* [PRO] - Error Map: * NOTE: the same problem is reported multiple times in the log (redundant content)!!! $ head -n 10 logmercury-test.txt tg-c645 PRO tg-c645 +BEGIN HARDWARE ERROR STATE AT CMC tg-c645 PRO tg-c645 Device Error Info Section [ omissis ] tg-c645 PRO tg-c645 Device Error Info Section tg-c645 PRO tg-c645 Error Map: * tg-c238 DEV tg-c238 +BEGIN HARDWARE ERROR STATE AT CPE tg-c238 DEV tg-c238 +Platform PCI Component Error Info Section [ omissis ] p. 6

7 Tools needed for the analysis A suite of home-made BASH scripts (tuple count, grouping of the error entries; total 4 scripts) the basic scripts can be used sequentially to perform the FFDA of the log; the usage of the scripts is described in the presentation; students are free to modify/improve or to write further scripts to automate the analysis. Matlab & statistics toolbox (TTF estimation, curve fitting, ) p. 7

8 Tuple count as a function of CWIN The script tuplecount_func_cwin.sh analyzes how the tuple count varies for increasing values of CWIN in the interval [1;5000]sec The execution takes several min/hour depending on the number of entries in the log* The output (CWIN,tuple-count pairs) is saved in the tuplecount- <log_filename>.txt file $./tuplecount_func_cwin.sh logmercury-test.txt tentative-cwin.txt $ cat tuplecount-logmercury-test.txt CWIN size count [ omissis ] *around 1hour for the logmercury-test.txt log; estimated around 6/7hours for the exercise log (run with an Intel Core2 processor) p. 8

9 Determining the optimal CWIN The output file can be imported in Matlab to plot the tuple-count curve as follows >> load tuplecount-logmercury-test.txt >> plot(tuplecount_logmercury_test(:,1),tuplecount_logmercury_test(:,2),'-*b'); >> xlabel('cwin [s]');ylabel( count ); >> legend('tuple count'); Rule: a good CWIN is right after the knee of the curve CWIN: 240sec (4min) 276 tuples p. 9

10 Grouping the entries with the selected CWIN The script tupling_with_cwin.sh coalesces the entries with the selected CWIN (the script takes around 2min). Output (summary files + content of each individual tuple) is saved in the directory tupling_<log-filename>-<cwin> $./tupling_with_cwin.sh logmercury-test.txt 240 *** Grouping the entries for CWIN=240 *** - creating tuple # 1 - creating tuple # 2 [ ] $ cd tupling_logmercury-test-240/ $ ls interarrivals.txt tuple_16 tuple_30 tuple_45 lenghts.txt tuple_17 tuple_31 tuple_46 startingpoints.txt tuple_18 tuple_32 tuple_47 tuple_1 tuple_76 tuple_90 [ ] p. 10

11 Analyzing the output files S 1 S 2 S 3 S N L 1 I 1 L 2 I 2 L 3 I N-1 L N time tuple1 tuple2 tuple3 tuplen L 1, L 2,, L N tuple lenghts (lenghts.txt) I 1, I 2,, I N-1 interarrivals (interarrivals.txt) S 1, S 2,, S N timestamps of the init point of the tuples (1 col. of startingpoints.txt) * NOTE: each interarrival is a TTF sample * p. 11

12 TTF: empirical distribution The interarrivals.txt file is imported in Matlab to obtain the empirical CDF of the TTF of the system. >> load interarrivals.txt >> [y,t]=cdfcalc(interarrivals); >> empttf=y(2:size(y,1)); >> emprel=1-empttf; >> plot(t,empttf,'-*b',t,emprel,'-+r'); >> xlabel('time [s]'); ylabel('p'); >> legend('emp TTF', 'emp Rel'); Given t, TTF(t) is the probability that the system exhibits a failure after tsec since the last fail. occurred. empirical reliability p. 12

13 Fitting the empirical reliability The cftool (statistics toolbox) can be used to fit a theoretical distribution (threl) to the empirical (emprel) one ( Fitting button) >> cftool(t,emprel); Tentative type of distribution: exponential threl(t) = ae bt a 0 empirical reliability b<0 p. 13

14 1) Press New fit 2) Give a name to the fit 3) Select the type of fit (e.g., exponential) 4) Select the equation 5) Press Apply Using the Fit Editor 6) Save the results to Matlab workspace Coefficients (a and b) Quality of the fit (SSE, R-square) p. 14

15 Assessing the quality of the fit Is the theoretical distribution a good fit for the empirical one? Matlab indexes: SSE: Sum of Squares due to Errors (has to be close to 0) R-square: ability of the fit to explain the variation in the data threl1: SSE= R-square= Kolmogorov-Smirnov test (adopted method) p. 15

16 Applying the Kolmogorov-Smirnov test 1.) Estimate the maximum distance between emprel and threl, i.e., D = max( emprel-threl ) 2.) Check D against a critical value * D C = / N (N is the number of samples, i.e., empirical points of the curve we are trying to fit) 3.) Result of the test: - if D D C the test assumes a significance level 95%: we state that threl is NOT a good fit for emprel. - else threl is a reasonable fit for emprel. *The formula can be applied if N 100; otherwise D is checked agaist a table of values p. 16

17 K-S test applied to threl1 >> D=max(abs(empRel-thRel1(t))) D = threl1 has been saved to the workspace via the Fit Editor >> size(emprel) ans = The number of empirical samples can be obtained with size >> Dc=1.358/sqrt(255) Dc = D C is estimated as described before *threl1 is not a goot fit for emprel* p. 17

18 Determining a better fit Equation (same steps as for threl1): threl2(t) = ae bt + ce dt Coefficients (with 95% confidence bounds): a = (0.3531, ) b = ( , ) c = (0.6939, ) d = e-05 (-7.615e-05, e-05) >> D=max(abs(empRel-thRel2(t))) D = Dc is the same as before (0.0850) threl2 is a goot fit for emprel (NOTE: but not the only fit ) p. 18

19 Exercises Repeat the analysis for the logmercury-exe.txt file: tuple count plot + selected CWIN; grouping the entries with CWIN; empirical distributions; fit the empirical reliability (exponential model + other tentative distributions, e.g., weibull); analysis of the fit via the K-S test. NOTE: the analysis has been conducted for the system log (all the nodes together). Additional exercises: analysis of the failure distribution for the most entries-prone nodes & relationship with the system distribution; error categories against architectural layer (do the node in the same layer of the cluster exhibit similar error entries?) *** whatever additional considerations/results!!! *** p. 19

20 Obtaining the overview of the log The script logstatistics.sh provides an overview of the data in the log (useful to figure out entries-prone categ. and/or nodes) distribution of the entries by error category $./logstatistics.sh logmercury-exe.txt == Total error entries == == Breakup by CATEGORY == DEV MEM I-O 5547 NET 3702 PRO 1504 OTH 34 nodes with the largest number of entries == Breakup by NODE* == tg-c tg-master 4098 tg-c tg-s tg-c tg-c tg-c tg-login3 382 tg-c tg-c * only the 10 most occurring nodes are reported p. 20

21 Filtering the log The script filter.sh is then used to extract the entries (by node or category) from the system log. Output is saved in a file named <filtername>-<systemlog>.txt. 1.) execute the analysis (tuplecount, reliability, ) for the filtered log. 2.) logstatistics.sh applied to a single node returns the mostoccurring entries/errors for that node logfile $./filter.sh logmercury-exe.txt tg-master Filtering by NODE: tg-master... [DONE] $./logstatistics.sh tg-master-logmercury-exe.txt == Total error entries == 4098 == Breakup by CATEGORY == NET 3639 I-O 452 OTH 3 DEV 3 MEM 1 filtername == Breakup by NODE* == tg-master 4098 * only the 10 most occurring nodes are reported p. 21

Empirical Asset Pricing

Empirical Asset Pricing Department of Mathematics and Statistics, University of Vaasa, Finland Texas A&M University, May June, 2013 As of May 17, 2013 Part I Stata Introduction 1 Stata Introduction Interface Commands Command

More information

Introduction to Matlab. Summer School CEA-EDF-INRIA 2011 of Numerical Analysis

Introduction to Matlab. Summer School CEA-EDF-INRIA 2011 of Numerical Analysis Introduction to Matlab 1 Outline What is Matlab? Matlab desktop & interface Scalar variables Vectors and matrices Exercise 1 Booleans Control structures File organization User defined functions Exercise

More information

Modeling and Tolerating Heterogeneous Failures in Large Parallel Systems

Modeling and Tolerating Heterogeneous Failures in Large Parallel Systems Modeling and Tolerating Heterogeneous Failures in Large Parallel Systems Eric Heien 1, Derrick Kondo 1, Ana Gainaru 2, Dan LaPine 2, Bill Kramer 2, Franck Cappello 1, 2 1 INRIA, France 2 UIUC, USA Context

More information

MATLAB/Octave Tutorial

MATLAB/Octave Tutorial University of Illinois at Urbana-Champaign Department of Electrical and Computer Engineering ECE 298JA Fall 2017 MATLAB/Octave Tutorial 1 Overview The goal of this tutorial is to help you get familiar

More information

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

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

More information

HomeWork 4 Hints {Your Name} deadline

HomeWork 4 Hints {Your Name} deadline HomeWork 4 Hints {Your Name} deadline - 01.06.2015 Contents Power law. Descriptive network analysis 1 Problem 1.................................................. 1 Problem 2..................................................

More information

AN INTRODUCTION TO MATLAB

AN INTRODUCTION TO MATLAB AN INTRODUCTION TO MATLAB 1 Introduction MATLAB is a powerful mathematical tool used for a number of engineering applications such as communication engineering, digital signal processing, control engineering,

More information

Polymath 6. Overview

Polymath 6. Overview Polymath 6 Overview Main Polymath Menu LEQ: Linear Equations Solver. Enter (in matrix form) and solve a new system of simultaneous linear equations. NLE: Nonlinear Equations Solver. Enter and solve a new

More information

Introduction to R Programming

Introduction to R Programming Course Overview Over the past few years, R has been steadily gaining popularity with business analysts, statisticians and data scientists as a tool of choice for conducting statistical analysis of data

More information

Using Matlab for Curve Fitting in Junior Lab

Using Matlab for Curve Fitting in Junior Lab Using Matlab for Curve Fitting in Junior Lab MIT Department of Physics Advanced Experimental Physics I & II (Dated: August 3, 4). INTRODUCTION Curve fitting is one of the most common analytical tasks you

More information

MATLAB TUTORIAL WORKSHEET

MATLAB TUTORIAL WORKSHEET MATLAB TUTORIAL WORKSHEET What is MATLAB? Software package used for computation High-level programming language with easy to use interactive environment Access MATLAB at Tufts here: https://it.tufts.edu/sw-matlabstudent

More information

Excel 2010 with XLSTAT

Excel 2010 with XLSTAT Excel 2010 with XLSTAT J E N N I F E R LE W I S PR I E S T L E Y, PH.D. Introduction to Excel 2010 with XLSTAT The layout for Excel 2010 is slightly different from the layout for Excel 2007. However, with

More information

A/D Converter. Sampling. Figure 1.1: Block Diagram of a DSP System

A/D Converter. Sampling. Figure 1.1: Block Diagram of a DSP System CHAPTER 1 INTRODUCTION Digital signal processing (DSP) technology has expanded at a rapid rate to include such diverse applications as CDs, DVDs, MP3 players, ipods, digital cameras, digital light processing

More information

LAB 2: Linear Equations and Matrix Algebra. Preliminaries

LAB 2: Linear Equations and Matrix Algebra. Preliminaries Math 250C, Section C2 Hard copy submission Matlab # 2 1 Revised 07/13/2016 LAB 2: Linear Equations and Matrix Algebra In this lab you will use Matlab to study the following topics: Solving a system of

More information

Introduction to programming in MATLAB

Introduction to programming in MATLAB Master Degree Course in ELECTRONICS ENGINEERING http://www.dii.unimore.it/~lbiagiotti/systemscontroltheory.html Introduction to programming in MATLAB e-mail: luigi.biagiotti@unimore.it http://www.dii.unimore.it/~lbiagiotti

More information

Creates a 1 X 1 matrix (scalar) with a value of 1 in the column 1, row 1 position and prints the matrix aaa in the command window.

Creates a 1 X 1 matrix (scalar) with a value of 1 in the column 1, row 1 position and prints the matrix aaa in the command window. EE 350L: Signals and Transforms Lab Spring 2007 Lab #1 - Introduction to MATLAB Lab Handout Matlab Software: Matlab will be the analytical tool used in the signals lab. The laboratory has network licenses

More information

CS 112: Intro to Comp Prog

CS 112: Intro to Comp Prog CS 112: Intro to Comp Prog Importing modules Branching Loops Program Planning Arithmetic Program Lab Assignment #2 Upcoming Assignment #1 Solution CODE: # lab1.py # Student Name: John Noname # Assignment:

More information

MATLAB Project: Getting Started with MATLAB

MATLAB Project: Getting Started with MATLAB Name Purpose: To learn to create matrices and use various MATLAB commands for reference later MATLAB functions used: [ ] : ; + - * ^, size, help, format, eye, zeros, ones, diag, rand, round, cos, sin,

More information

Scientific Computing: An Introductory Survey

Scientific Computing: An Introductory Survey Scientific Computing: An Introductory Survey Chapter 13 Random Numbers and Stochastic Simulation Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign Copyright

More information

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

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

More information

Fitting data with Matlab

Fitting data with Matlab Fitting data with Matlab 1. Generate a delimited text file (from LabVIEW, a text editor, Excel, or another spreadsheet application) with the x values (time) in the first column and the y values (temperature)

More information

Math 205 Test 3 Grading Guidelines Problem 1 Part a: 1 point for figuring out r, 2 points for setting up the equation P = ln 2 P and 1 point for the initial condition. Part b: All or nothing. This is really

More information

AMS 27L LAB #2 Winter 2009

AMS 27L LAB #2 Winter 2009 AMS 27L LAB #2 Winter 2009 Plots and Matrix Algebra in MATLAB Objectives: 1. To practice basic display methods 2. To learn how to program loops 3. To learn how to write m-files 1 Vectors Matlab handles

More information

packet-switched networks. For example, multimedia applications which process

packet-switched networks. For example, multimedia applications which process Chapter 1 Introduction There are applications which require distributed clock synchronization over packet-switched networks. For example, multimedia applications which process time-sensitive information

More information

An Introduction to MATLAB

An Introduction to MATLAB An Introduction to MATLAB Day 1 Simon Mitchell Simon.Mitchell@ucla.edu High level language Programing language and development environment Built-in development tools Numerical manipulation Plotting of

More information

Verification and Validation of X-Sim: A Trace-Based Simulator

Verification and Validation of X-Sim: A Trace-Based Simulator http://www.cse.wustl.edu/~jain/cse567-06/ftp/xsim/index.html 1 of 11 Verification and Validation of X-Sim: A Trace-Based Simulator Saurabh Gayen, sg3@wustl.edu Abstract X-Sim is a trace-based simulator

More information

CS CS 5623 Simulation Techniques

CS CS 5623 Simulation Techniques CS 4633 - CS 5623 Simulation Techniques How to model data using matlab Instructor Dr. Turgay Korkmaz This tutorial along with matlab s statistical toolbox manual will be useful for HW 5. Data collection

More information

Are Disks the Dominant Contributor for Storage Failures?

Are Disks the Dominant Contributor for Storage Failures? Are Disks the Dominant Contributor for Storage Failures? A Comprehensive Study of Storage Subsystem Failure Characteristics Weihang Jiang, Chongfeng Hu, Yuanyuan Zhou, and Arkady Kanevsky Department of

More information

Computational Modelling 102 (Scientific Programming) Tutorials

Computational Modelling 102 (Scientific Programming) Tutorials COMO 102 : Scientific Programming, Tutorials 2003 1 Computational Modelling 102 (Scientific Programming) Tutorials Dr J. D. Enlow Last modified August 18, 2003. Contents Tutorial 1 : Introduction 3 Tutorial

More information

Applying Multi-Core Model Checking to Hardware-Software Partitioning in Embedded Systems

Applying Multi-Core Model Checking to Hardware-Software Partitioning in Embedded Systems V Brazilian Symposium on Computing Systems Engineering Applying Multi-Core Model Checking to Hardware-Software Partitioning in Embedded Systems Alessandro Trindade, Hussama Ismail, and Lucas Cordeiro Foz

More information

Introduction to parallel computing

Introduction to parallel computing Introduction to parallel computing using R and the Claudia Vitolo 1 1 Department of Civil and Environmental Engineering Imperial College London Civil Lunches, 16.10.2012 Outline 1 Parallelism What s parallel

More information

Testing Random- Number Generators

Testing Random- Number Generators Testing Random- Number Generators Raj Jain Washington University Saint Louis, MO 63131 Jain@cse.wustl.edu These slides are available on-line at: http://www.cse.wustl.edu/~jain/cse574-06/ 27-1 Overview

More information

Introduction to MATLAB

Introduction to MATLAB Introduction to MATLAB The Desktop When you start MATLAB, the desktop appears, containing tools (graphical user interfaces) for managing files, variables, and applications associated with MATLAB. The following

More information

What We ll Do... Random

What We ll Do... Random What We ll Do... Random- number generation Random Number Generation Generating random variates Nonstationary Poisson processes Variance reduction Sequential sampling Designing and executing simulation

More information

Introduction to Matlab. High-Level Computer Vision Summer Semester 2015

Introduction to Matlab. High-Level Computer Vision Summer Semester 2015 Introduction to Matlab High-Level Computer Vision Summer Semester 2015 Informations TAs: Siyu Tang, email: tang@mpi-inf.mpg.de Wei-Chen Chiu, email: walon@mpi-inf.mpg.de Subscribe to the mailing list:

More information

Assignment No: 2. Assessment as per Schedule. Specifications Readability Assignments

Assignment No: 2. Assessment as per Schedule. Specifications Readability Assignments Specifications Readability Assignments Assessment as per Schedule Oral Total 6 4 4 2 4 20 Date of Performance:... Expected Date of Completion:... Actual Date of Completion:... ----------------------------------------------------------------------------------------------------------------

More information

P1 REVISION EXERCISE: 1

P1 REVISION EXERCISE: 1 P1 REVISION EXERCISE: 1 1. Solve the simultaneous equations: x + y = x +y = 11. For what values of p does the equation px +4x +(p 3) = 0 have equal roots? 3. Solve the equation 3 x 1 =7. Give your answer

More information

SECTION 1: INTRODUCTION. ENGR 112 Introduction to Engineering Computing

SECTION 1: INTRODUCTION. ENGR 112 Introduction to Engineering Computing SECTION 1: INTRODUCTION ENGR 112 Introduction to Engineering Computing 2 Course Overview What is Programming? 3 Programming The implementation of algorithms in a particular computer programming language

More information

EE 216 Experiment 1. MATLAB Structure and Use

EE 216 Experiment 1. MATLAB Structure and Use EE216:Exp1-1 EE 216 Experiment 1 MATLAB Structure and Use This first laboratory experiment is an introduction to the use of MATLAB. The basic computer-user interfaces, data entry techniques, operations,

More information

Sunday, February 19, 12

Sunday, February 19, 12 1 LEARNIT EXPRESS in a Nutshell 2 THE LINUX ENVIRONMENT Most programs have preferences that tailor their behavior Word, Matlab, Mathematica: all rely on preference files The BASH shell (and many other

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

Introduction to Matlab

Introduction to Matlab Introduction to Matlab 1 Outline: What is Matlab? Matlab Screen Variables, array, matrix, indexing Operators (Arithmetic, relational, logical ) Display Facilities Flow Control Using of M-File Writing User

More information

LAB 1 General MATLAB Information 1

LAB 1 General MATLAB Information 1 LAB 1 General MATLAB Information 1 General: To enter a matrix: > type the entries between square brackets, [...] > enter it by rows with elements separated by a space or comma > rows are terminated by

More information

C3 Integration 1. June 2010 qu. 4

C3 Integration 1. June 2010 qu. 4 C Integration. June qu. 4 k The diagram shows part of the curve y =, where k is a positive constant. The points A and B on the curve have -coordinates and 6 respectively. Lines through A and B parallel

More information

Getting To Know Matlab

Getting To Know Matlab Getting To Know Matlab The following worksheets will introduce Matlab to the new user. Please, be sure you really know each step of the lab you performed, even if you are asking a friend who has a better

More information

Exercise: Graphing and Least Squares Fitting in Quattro Pro

Exercise: Graphing and Least Squares Fitting in Quattro Pro Chapter 5 Exercise: Graphing and Least Squares Fitting in Quattro Pro 5.1 Purpose The purpose of this experiment is to become familiar with using Quattro Pro to produce graphs and analyze graphical data.

More information

Semantic Security Analysis of SCADA Networks to Detect Malicious Control Commands in Power Grids

Semantic Security Analysis of SCADA Networks to Detect Malicious Control Commands in Power Grids Semantic Security Analysis of SCADA Networks to Detect Malicious Control Commands in Power Grids Hui Lin, Adam Slagell, Zbigniew Kalbarczyk, Peter W. Sauer, and Ravishankar K. Iyer Department of Electrical

More information

Constrained and Unconstrained Optimization

Constrained and Unconstrained Optimization Constrained and Unconstrained Optimization Carlos Hurtado Department of Economics University of Illinois at Urbana-Champaign hrtdmrt2@illinois.edu Oct 10th, 2017 C. Hurtado (UIUC - Economics) Numerical

More information

Laboratory 1 Introduction to MATLAB for Signals and Systems

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

More information

CHAPTER 5 OPTIMIZATION OF CONTIKIRPL

CHAPTER 5 OPTIMIZATION OF CONTIKIRPL 113 CHAPTER 5 OPTIMIZATION OF CONTIKIRPL 5.1 INTRODUCTION The WSN network-link reliability and best link selection depends upon the routing protocol objective function and routing protocol parameters.

More information

MATLAB Project: Getting Started with MATLAB

MATLAB Project: Getting Started with MATLAB Name Purpose: To learn to create matrices and use various MATLAB commands for reference later MATLAB built-in functions used: [ ] : ; + - * ^, size, help, format, eye, zeros, ones, diag, rand, round, cos,

More information

Network Drawing. Computer Specs, I ve used. Installing a Network-Based Intrusion Detection

Network Drawing. Computer Specs, I ve used. Installing a Network-Based Intrusion Detection HS1 HS2 OK1 OK2 PS 1 2 3 4 5 6 7 8 9 101112 COL- ACT- STA.- CONSOLE SD Installing a Network-Based Intrusion Detection created by: Rainer Bemsel Version 1.0 Dated: Apr/10/2003 The purpose of this document

More information

Index. Bar charts, 106 bartlett.test function, 159 Bottles dataset, 69 Box plots, 113

Index. Bar charts, 106 bartlett.test function, 159 Bottles dataset, 69 Box plots, 113 Index A Add-on packages information page, 186 187 Linux users, 191 Mac users, 189 mirror sites, 185 Windows users, 187 aggregate function, 62 Analysis of variance (ANOVA), 152 anova function, 152 as.data.frame

More information

Getting Started with Hadoop

Getting Started with Hadoop Getting Started with Hadoop May 28, 2018 Michael Völske, Shahbaz Syed Web Technology & Information Systems Bauhaus-Universität Weimar 1 webis 2018 What is Hadoop Started in 2004 by Yahoo Open-Source implementation

More information

Getting Started in Matlab

Getting Started in Matlab Lesson 1: Getting Started in Matlab 1.1 Applied Problem. Heat transfer in a mass is very important for a number of objects such as cooling of electronic parts or the fabrication of large beams. Although

More information

Linux Exercise. pwd answer: We call this directory (into which you get when you log in) your home directory.

Linux Exercise. pwd answer: We call this directory (into which you get when you log in) your home directory. Linux Exercise The following steps will guide you through the most common Linux commands. If you are using windows (Library and any Windows lab on campus), then start with step 1. If you are using a linux

More information

Lab 5a Shell Script Lab 4 Using Arithmetic Operators in shell script

Lab 5a Shell Script Lab 4 Using Arithmetic Operators in shell script Lab 5a Shell Script Lab 4 Using Arithmetic Operators in shell script Objective Upon completion of this lab, the student will be able to use arithmetic operators in Linux shell script. Scenario The student

More information

Introduction to MATLAB

Introduction to MATLAB to MATLAB Spring 2019 to MATLAB Spring 2019 1 / 39 The Basics What is MATLAB? MATLAB Short for Matrix Laboratory matrix data structures are at the heart of programming in MATLAB We will consider arrays

More information

DATA MINING I - CLUSTERING - EXERCISES

DATA MINING I - CLUSTERING - EXERCISES EPFL ENAC TRANSP-OR Prof. M. Bierlaire Gael Lederrey & Nikola Obrenovic Decision Aids Spring 2018 DATA MINING I - CLUSTERING - EXERCISES Exercise 1 In this exercise, you will implement the k-means clustering

More information

PROGRAMMING AND ENGINEERING COMPUTING WITH MATLAB Huei-Huang Lee SDC. Better Textbooks. Lower Prices.

PROGRAMMING AND ENGINEERING COMPUTING WITH MATLAB Huei-Huang Lee SDC. Better Textbooks. Lower Prices. PROGRAMMING AND ENGINEERING COMPUTING WITH MATLAB 2018 Huei-Huang Lee SDC P U B L I C AT I O N S Better Textbooks. Lower Prices. www.sdcpublications.com Powered by TCPDF (www.tcpdf.org) Visit the following

More information

Getting to Know Your Data

Getting to Know Your Data Chapter 2 Getting to Know Your Data 2.1 Exercises 1. Give three additional commonly used statistical measures (i.e., not illustrated in this chapter) for the characterization of data dispersion, and discuss

More information

Computer Project: Getting Started with MATLAB

Computer Project: Getting Started with MATLAB Computer Project: Getting Started with MATLAB Name Purpose: To learn to create matrices and use various MATLAB commands. Examples here can be useful for reference later. MATLAB functions: [ ] : ; + - *

More information

Bash scripting basics

Bash scripting basics Bash scripting basics prepared by Anatoliy Antonov for ESSReS community September 2012 1 Outline Definitions Foundations Flow control References and exercises 2 Definitions 3 Definitions Script - [small]

More information

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Lecture - 24

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Lecture - 24 Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras Lecture - 24 So in today s class, we will look at quadrilateral elements; and we will

More information

Variable Selection 6.783, Biomedical Decision Support

Variable Selection 6.783, Biomedical Decision Support 6.783, Biomedical Decision Support (lrosasco@mit.edu) Department of Brain and Cognitive Science- MIT November 2, 2009 About this class Why selecting variables Approaches to variable selection Sparsity-based

More information

Learner Expectations UNIT 1: GRAPICAL AND NUMERIC REPRESENTATIONS OF DATA. Sept. Fathom Lab: Distributions and Best Methods of Display

Learner Expectations UNIT 1: GRAPICAL AND NUMERIC REPRESENTATIONS OF DATA. Sept. Fathom Lab: Distributions and Best Methods of Display CURRICULUM MAP TEMPLATE Priority Standards = Approximately 70% Supporting Standards = Approximately 20% Additional Standards = Approximately 10% HONORS PROBABILITY AND STATISTICS Essential Questions &

More information

Full Disclosure Report

Full Disclosure Report Full Disclosure Report Exchange MAPI Messaging Benchmark 3 (MMB3) Category: 3+1 Cluster Hardware: PowerEdge 1850 Software: Exchange Server 2003 Test Profile: MAPI Messaging Benchmark 3 Date Accepted: 2/28/2005

More information

Configuring Web Server Devices

Configuring Web Server Devices CHAPTER 13 To use web logging with MARS, you need to configure the host, the webserver, and MARS. MARS can process up to 100 MB of web log data per receive from your host. Web logging is only supported

More information

To see what directory your work is stored in, and the directory in which Matlab will look for files, type

To see what directory your work is stored in, and the directory in which Matlab will look for files, type Matlab Tutorial For Machine Dynamics, here s what you ll need to do: 1. Solve n equations in n unknowns (as in analytical velocity and acceleration calculations) - in Matlab, this is done using matrix

More information

MATLAB Basics. Configure a MATLAB Package 6/7/2017. Stanley Liang, PhD York University. Get a MATLAB Student License on Matworks

MATLAB Basics. Configure a MATLAB Package 6/7/2017. Stanley Liang, PhD York University. Get a MATLAB Student License on Matworks MATLAB Basics Stanley Liang, PhD York University Configure a MATLAB Package Get a MATLAB Student License on Matworks Visit MathWorks at https://www.mathworks.com/ It is recommended signing up with a student

More information

Soci Statistics for Sociologists

Soci Statistics for Sociologists University of North Carolina Chapel Hill Soci708-001 Statistics for Sociologists Fall 2009 Professor François Nielsen Stata Commands for Module 7 Inference for Distributions For further information on

More information

Building 96-processor Opteron Cluster at Florida International University (FIU) January 5-10, 2004

Building 96-processor Opteron Cluster at Florida International University (FIU) January 5-10, 2004 Building 96-processor Opteron Cluster at Florida International University (FIU) January 5-10, 2004 Brian Dennis, Ph.D. Visiting Associate Professor University of Tokyo Designing the Cluster Goal: provide

More information

Tips and Guidance for Analyzing Data. Executive Summary

Tips and Guidance for Analyzing Data. Executive Summary Tips and Guidance for Analyzing Data Executive Summary This document has information and suggestions about three things: 1) how to quickly do a preliminary analysis of time-series data; 2) key things to

More information

Lesson 10: Representing, Naming, and Evaluating Functions

Lesson 10: Representing, Naming, and Evaluating Functions : Representing, Naming, and Evaluation Functions Classwork Opening Exercise Study the 4 representations of a function below. How are these representations alike? How are they different? TABLE: Input 0

More information

Mon Sep 17, 2007 Lecture 3: Process Management

Mon Sep 17, 2007 Lecture 3: Process Management Mon Sep 17, 2007 Lecture 3: Process Management September 19, 2007 1 Review OS mediates between hardware and user software QUIZ: Q: Name three layers of a computer system where the OS is one of these layers.

More information

Exercise 1: Basic Tools

Exercise 1: Basic Tools Exercise 1: Basic Tools This exercise is created so everybody can learn the basic tools we will use during this course. It is really more like a tutorial than an exercise and, you are not required to submit

More information

MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras

MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras Module No. #01 Lecture No. #1.1 Introduction to MATLAB programming

More information

Lecture 1. A. Sahu and S. V. Rao. Indian Institute of Technology Guwahati

Lecture 1. A. Sahu and S. V. Rao. Indian Institute of Technology Guwahati Lecture 1 Introduction to Computing A. Sahu and S. V. Rao Dept of Comp. Sc. & Engg. Indian Institute of Technology Guwahati 1 Outline Computer System Problem Solving and Flow Chart Linux Command ls, mkdir,

More information

CSE/NEUBEH 528 Homework 0: Introduction to Matlab

CSE/NEUBEH 528 Homework 0: Introduction to Matlab CSE/NEUBEH 528 Homework 0: Introduction to Matlab (Practice only: Do not turn in) Okay, let s begin! Open Matlab by double-clicking the Matlab icon (on MS Windows systems) or typing matlab at the prompt

More information

POLYMATH Example for the Numerical Solution of ODEs

POLYMATH Example for the Numerical Solution of ODEs for the Numerical Solution of ODEs Differential Equations... 1 POLYMATH 5.0... 2 POLYMATH 6.0... 15 The equations & methods outlined here provide a framework with which one could create programs or spreadsheets

More information

University of Alberta

University of Alberta A Brief Introduction to MATLAB University of Alberta M.G. Lipsett 2008 MATLAB is an interactive program for numerical computation and data visualization, used extensively by engineers for analysis of systems.

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Dong-Yun Lee (dylee@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating

More information

Chapter 11: File System Implementation. Objectives

Chapter 11: File System Implementation. Objectives Chapter 11: File System Implementation Objectives To describe the details of implementing local file systems and directory structures To describe the implementation of remote file systems To discuss block

More information

MATLAB Code Description

MATLAB Code Description MATLAB Code Description 17 October 2016 Predictive analysis of mechanistic triggers and mitigation strategies for pathological scarring in skin wounds by Sridevi Nagaraja, Lin Chen, Jian Zhou, Yan Zhao,

More information

MATLAB INTRODUCTION. Risk analysis lab Ceffer Attila. PhD student BUTE Department Of Networked Systems and Services

MATLAB INTRODUCTION. Risk analysis lab Ceffer Attila. PhD student BUTE Department Of Networked Systems and Services MATLAB INTRODUCTION Risk analysis lab 2018 2018. szeptember 10., Budapest Ceffer Attila PhD student BUTE Department Of Networked Systems and Services ceffer@hit.bme.hu Előadó képe MATLAB Introduction 2

More information

commandname flags arguments

commandname flags arguments Unix Review, additional Unix commands CS101, Mock Introduction This handout/lecture reviews some basic UNIX commands that you should know how to use. A more detailed description of this and other commands

More information

Math F302: Octave Miscellany September 28, e 1 x3 dx. Here s how to find a numerical approximation with Octave

Math F302: Octave Miscellany September 28, e 1 x3 dx. Here s how to find a numerical approximation with Octave Definite Integrals Despite your training in Calculus, most definite integrals cannot be computed exactly, and must be approximated numerically. You learned a number of rules for doing this: the trapezoidal

More information

Introduction to Matlab

Introduction to Matlab Introduction to Matlab Outline: What is Matlab? Matlab Screen Variables, array, matrix, indexing Operators (Arithmetic, relational, logical ) Display Facilities Flow Control Using of M-File Writing User

More information

MAT 110 WORKSHOP. Updated Fall 2018

MAT 110 WORKSHOP. Updated Fall 2018 MAT 110 WORKSHOP Updated Fall 2018 UNIT 3: STATISTICS Introduction Choosing a Sample Simple Random Sample: a set of individuals from the population chosen in a way that every individual has an equal chance

More information

BRUSH UP ON MATLAB UNIVERSITY OF PAVIA. Industrial Control FACULTY OF ENGINEERING. Prof. Lalo Magni

BRUSH UP ON MATLAB UNIVERSITY OF PAVIA. Industrial Control FACULTY OF ENGINEERING. Prof. Lalo Magni UNIVERSITY OF PAVIA FACULTY OF ENGINEERING Industrial Control Prof. Lalo Magni BRUSH UP ON MATLAB Chiara Toffanin, Assistant Professor Gian Paolo Incremona, Ph.D. MATLAB: What is it? MATLAB (from MATrix

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

Lecture 1: Hello, MATLAB!

Lecture 1: Hello, MATLAB! Lecture 1: Hello, MATLAB! Math 98, Spring 2018 Math 98, Spring 2018 Lecture 1: Hello, MATLAB! 1 / 21 Syllabus Instructor: Eric Hallman Class Website: https://math.berkeley.edu/~ehallman/98-fa18/ Login:!cmfmath98

More information

Response to API 1163 and Its Impact on Pipeline Integrity Management

Response to API 1163 and Its Impact on Pipeline Integrity Management ECNDT 2 - Tu.2.7.1 Response to API 3 and Its Impact on Pipeline Integrity Management Munendra S TOMAR, Martin FINGERHUT; RTD Quality Services, USA Abstract. Knowing the accuracy and reliability of ILI

More information

README for Generalized Model Aggregation (GMA) codes

README for Generalized Model Aggregation (GMA) codes README for Generalized Model Aggregation (GMA) codes MATLAB (Version 2) Summary: This document provides you with: - instructions on how to read and execute the codes - descriptions about the notations

More information

Version control. what is version control? setting up Git simple command-line usage Git basics

Version control. what is version control? setting up Git simple command-line usage Git basics Version control what is version control? setting up Git simple command-line usage Git basics Version control - intro ensure we keep track of changes, updates, contributions, suggested mods... could try

More information

AMS 200: Working on Linux/Unix Machines

AMS 200: Working on Linux/Unix Machines AMS 200, Oct 20, 2014 AMS 200: Working on Linux/Unix Machines Profs. Nic Brummell (brummell@soe.ucsc.edu) & Dongwook Lee (dlee79@ucsc.edu) Department of Applied Mathematics and Statistics University of

More information

Let s write our first function. It s easier to just go under File New M-file. You should see this:

Let s write our first function. It s easier to just go under File New M-file. You should see this: Matlab Functions In Matlab, every mathematical function (such as sin) is actually a series of instructions in a function_name.m file. In my example, when I type in the consul: >>sin(3.14) 0.0016 What is

More information

Reals 1. Floating-point numbers and their properties. Pitfalls of numeric computation. Horner's method. Bisection. Newton's method.

Reals 1. Floating-point numbers and their properties. Pitfalls of numeric computation. Horner's method. Bisection. Newton's method. Reals 1 13 Reals Floating-point numbers and their properties. Pitfalls of numeric computation. Horner's method. Bisection. Newton's method. 13.1 Floating-point numbers Real numbers, those declared to be

More information

IP Matrix Client Software WV-ASM970 (Ver2.0)

IP Matrix Client Software WV-ASM970 (Ver2.0) IP Matrix Client Software WV-ASM970 (Ver2.0) Security & AV Systems Business Unit Panasonic System Networks Company What is WV-ASM970 Client software for WV-ASC970 system. Control and operate almost all

More information

Grade 6 Math Curriculum Sequence School Year

Grade 6 Math Curriculum Sequence School Year Grade 6 Math Curriculum Sequence School Year 2010-2011 QUARTER 1 (Aug 30 Nov 5) 45 days BENCHMARK A (same skills as June Benchmark in previous grade) UNIT 1: Fractions 1 Review Add and Subtract Fractions

More information