Working With Data.

Slides:



Advertisements
Similar presentations
IENG 423 Design of Decision Support Systems Modeling with Excel Excel Basics Pivot Tables and Pivot Charts in Decision Support Systems.
Advertisements

Course in Statistics and Data analysis Course B DAY2 September 2009 Stephan Frickenhaus
Click the mouse to continue. Relative references Absolute referencesMixed references.
Excel Objects, User Interface, and Data Entry. ◦ Application Window  Title Bar  Menu Bar  Toolbars  Status Bar  Worksheet Window  Worksheet Input.
CTS130 Spreadsheet Lesson 20 Data Consolidation. Consolidation is a process in which data from multiple worksheets or workbooks is combined and summarized.
Presenter – Alan Wheat Product Manager - DocsCorp Pty Ltd Can mismanagement of metadata expose sensitive information?
Excel Chapter 6 Review slides. How many worksheets are in a workbook, by default? three.
Data in R. General form of data ID numberSexWeightLengthDiseased… 112m … 256f3.61 NA1… 3……………… 4……………… n91m5.1711… NOTE: A DATASET IS NOT A MATRIX!
Lecture 7 Debugging Code & Data Import/Export © 2007 Daniel Valentine. All rights reserved. Published by Elsevier.
Visualizing Multiple Physician Office Locations Exercise 9 GIS in Planning and Public Health Wansoo Im, Ph.D.
Microsoft Access Exporting Access Data and Mail Merging.
Fall 2006AE6382 Design Computing1 Matlab File & Directory Management Learning Objectives Define file input and output terminology Compare high and low.
Integrating Microsoft Project with Other Programs
Guide to Using Excel 2007 or 2010 For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 7th Ed. Chapter 5: Discrete.
Text Processing and More about Wrapper Classes. Contents I.The Test Score Problem II.Exercise.
Cell Arrays 1.Definition 2.Creating Cell Arrays 3.Referencing Cell Arrays 4.Augmenting Cell Arrays 5.Use of Cell Arrays 1.
Relational Lists.txt Excel can import multiple file types.txt Excel can import multiple file types.
File I/O 1. Goals of this chapter 2. General Concept, lots of examples 3. High-level I/O 1. Built-in functions that do everything in one step 4. Low-level.
Intro to Excel - Session 1.21 Tutorial 1 - Session 1.2 Using Worksheets to Make Business Decisions.
Introduction to File I/O High-Level Functions 1.Data files 2."High level" File I/O 3.dlmread() 4.xlsread() 1.
MS Excel Introduction Short Course Warilla High School April 2008.
Lecture 13 File Input/Output From Chapter 8. Outline 8.1 Concept: Serial Input and Output (I/O) 8.2 MATLAB Workspace I/O 8.3 High-level I/O Functions.
1 Microsoft Excel An Introduction to Spreadsheets Lecture 18.
Intro to Excel Spreadsheets. Cell Reference (Cell Name) The unique identifier associated with a cell The unique identifier associated with a cell Combine.
Plotting in Microsoft Excel. 1) Enter your data into the Excel spreadsheet in table format. Your data should have column headers, row headers and data.
What is Excel? A spreadsheet program created by Microsoft.
Text Processing and More about Wrapper Classes
CMPS 1371 Introduction to Computing for Engineers FILE Input / Output.
File I/O High-Level Functions 1. Definition 2. Is a High-Level function appropriate? 3. xlsread() 4. dlmread() 1.
PRINTING & PAGE BREAKS 1 Nolan Tomboulian Tomboulian.Wikispaces.com.
Microsoft Excel Spreadsheet Software
Spreadsheets the basics. Readings n As per Module 5.
COMP 116: Introduction to Scientific Programming Lecture 29: File I/O.
INTRODUCTION TO EXCEL Learning About Spreadsheets BTT 1O1.
Files: By the end of this class you should be able to: Prepare for EXAM 1. create an ASCII file describe the nature of an ASCII text Use and describe string.
1 Lecture 4 Post-Graduate Students Advanced Programming (Introduction to MATLAB) Code: ENG 505 Dr. Basheer M. Nasef Computers & Systems Dept.
Early File I/O To help you get started with your final project 1. Definition of “high level” 2. Is using a High Level function appropriate? 3. xlsread()
Excel 2007 Non-Mathematical Uses of Excel. DASD Technology Click column
More Oracle SQL Scripts. Highlight (but don’t open) authors table, got o External data Excel, and make an external spreadsheet with the data.
We are tracking the position of an object as it is launched with an initial speed of 40m/s at an angle of 45 o. The system we are using to track the object.
Workshop 3: Data Import. Importing data Normally, data to be imported into Excel work sheet are available as: - Excel work sheet file (.XLS) - Public.
Excel Introduction to computers. Excel 2007 Starting the Excel program.
Sundermeyer MAR 999 Spring Laboratory in Oceanography: Data and Methods MAR599, Spring 2009 Miles A. Sundermeyer Data Handling in Matlab.
Excel Class Outline What is a spreadsheet? What can you do with them? The Cell - basic unit of a spreadsheet Making a Table - cells in Rows and Columns.
Education And Training CTC IT DIVISION PivotLink User Training April 2010.
Exploring Office Grauer and Barber 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1 – Introduction to Excel: What is a Spreadsheet?
Working with files Saving and loading Matlab variables to and from .mat files does not require any special file handling, just use save() and load() However,
Spreadsheets.
Writing & reading txt files with python 3
Creates the file on disk and opens it for writing
Appendix B MathScript Basics
WOCAT Mapping methodology
Microsoft Excel Basic Skills
IMPORTING AND EXPORTING DATA
Spam Database Tool Use The purpose of this Tool is to Store all SPAM Numbers in Database for matching and excluding from CDRs. Note All files will be stored.
Cells Cells are pretty cool.
Access Lesson 14 Import and Export Data
Functions (subprograms)
Lesson 1: Introduction to Trifacta Wrangler
Advanced Data Import & Export Jeff Henrikson
Jose Almeida, BI Consultant
Vendor Portal Upload Process
Beautiful PROC CONTENTS Output Using the ODS Excel Destination
Creates the file on disk and opens it for writing
Guide to Using Excel 2007 For Basic Statistical Applications
funCTIONs and Data Import/Export
Pivot Tables= impromptu data reports for student grade data
Introduction to MATLAB
Excel Training Katie Kotynski Conferencecorner.weebly.com.
Microsoft Excel Done by : Suaad Mohamed.
Presentation transcript:

Working With Data

High Level I/O save: export workspace variables to file load: import file into workspace variables fileread: read an entire file as text xlsread: load an Excel file xlswrite: write an Excel file readtable: load an Excel or text file (loads into special table object)

Working with Excel Files >> a=randi(100,3,6); >> xlswrite('rand.xls', a) >> b=xlsread('rand.xls') b = 23 33 24 58 56 84 19 80 69 100 93 18 68 55 5 37 26 88 WARNING: xlswrite() does not clear the entire worksheet; if there's data beyond the area that is written, they will still be there. Your best bet is to remove the file before you use xlswrite().

Excel files with mixed content >> xlswrite('temp.xls',{'a' 'b' 'c' 'd'; ... 123 333 432 987; ... 'Cindy' 'Suzanne' 'David' 'Burt'}') >> [nums, txt, raw] = xlsread('temp.xls') nums = 123 333 432 987 txt = 4×3 cell array {'a'} {0×0 char} {'Cindy' } {'b'} {0×0 char} {'Suzanne'} {'c'} {0×0 char} {'David' } {'d'} {0×0 char} {'Burt' } raw = 4×3 cell array {'a'} {[123]} {'Cindy' } {'b'} {[333]} {'Suzanne'} {'c'} {[432]} {'David' } {'d'} {[987]} {'Burt' }

Working with Excel Files that have a Header Row % Sample file available at: http://sacan.biomed.drexel.edu/ftp/bmeprog/crps_data.xlsx % Exercise: Find average pain score for female persons. [~,~, raw] = xlsread('crps.xls’)