Sunteți pe pagina 1din 15

Data Analysis and Visualization with

MATLAB

Adam Filion
Application Engineer

© 2013 The MathWorks, Inc.1


Agenda

 Data Analysis with MATLAB

 Demo: Solar Radiation Estimation


– Introduction to MATLAB environment
– Building analysis routines
– Creating documentation
– Automating analysis for multiple files
– Building graphical applications

 Summary

2
Data Analysis Tasks

Access Explore & Discover Share


Files Reporting and
Data Analysis Documentation
& Modeling

Algorithm
Software Outputs for Design
Development

Code & Applications


Application
Development
Hardware Deployment

Automate
3
Demo:
Solar Radiation Estimation

 Goal:
– Estimate daily mean global solar radiation
given low cost and easily obtained measurements

 Approach:
– Process historical measurements
– Develop and test predictive model
– Document analysis in a report
– Link analysis to Excel workbook
– Extend analysis on multiple files

4
Modeling Global Solar Radiation

−𝑐 ∆𝑇 𝑛
𝑅𝑠 = 𝑎 (1 + 𝑏𝐻)(1 − 𝑒 )
Rs: Solar Ratio (global solar radiation/ extraterrestrial solar radiation)
H: Relative humidity
∆𝑇: TDailyMax – TDailyMin
a,b,c,n: Model coefficients extraterrestrial
radiation

 Value of extraterrestrial solar


radiation is calculated for a
given day-of-year (ordinal date) total global
and latitude using a known formula radiation

 Daily temperature variations are largely


driven by solar radiation received at the surface

5
Demo: Estimate Electricity Usage Products Used
 MATLAB
 Statistics Toolbox
 Curve Fitting Toolbox
 MATLAB Compiler & Builder EX

Access Explore & Discover Share


Files Reporting and
Data Analysis Documentation
& Modeling

Algorithm
Software Outputs for Design
Development

Code & Applications


Application
Development
Hardware Deployment

Automate
6
Accessing Data from MATLAB

Access Explore & Discover Share

 Files
– Excel, text, or binary
– Multimedia, scientific
– Web, XML
 Applications and languages
– C/C++, Java, FORTRAN
– COM, .NET, shared libraries
– Databases
 Measurement hardware
– Data acquisition hardware for
signals or images
– Stand-alone instruments and devices
7
Data Analysis and Visualization in MATLAB

Access Explore & Discover Share

 Data analysis
– Manipulate, preprocess, and
manage data
– Fast, accurate analysis with pre-built
math and engineering functions

 Visualization
– Built in graphics functions for
engineering and science
(2D, 3D, VolViz)
– Interactive tools to annotate and
customize graphics
8
Expanding the Capabilities of MATLAB

Access Explore & Discover Share

 MathWorks add-on tools for:


– Statistics and curve fitting
– Signal and image processing
– System identification and
control system analysis
– Neural networks and fuzzy logic
– Optimization
– Model-based calibration and more …
 Partner products for:
– Additional interfaces
– Domain-specific analysis
– Niche applications
9
Sharing Results from MATLAB

Access Explore & Discover Share

 Automatically generate
structured reports
– Published MATLAB files
– MATLAB Report Generator

 Feed your results into


downstream design tools

 Deploy applications to
other environments

10
Deploying Applications with MATLAB

Access Explore & Discover Share

 Give MATLAB code


to other users
MATLAB Compiler

MATLAB MATLAB MATLAB


 Share applications Builder EX Builder JA Builder NE

with end users who


do not need MATLAB
– Stand-alone
executables .exe
.dll
Excel Java .NET
.lib Web
– Shared libraries
– Software components

11
Deploying Applications with MATLAB

3
Toolboxes

1 MATLAB End-User
Desktop Machine

MATLAB Compiler

.exe

12
Agenda

 Data Analysis with MATLAB

 Demo: Solar Radiation Estimation


– Introduction to MATLAB environment
– Building analysis routines
– Creating documentation
– Automating analysis for multiple files
– Building graphical applications

 Summary

13
Benefits of Using MATLAB

 Thousands of engineering, science, and math functions

 Extensive plotting capabilities

 Automation of custom analysis routines

 Integration with Excel and other environments

14
Learn More

http://www.mathworks.com/company/events/webinars/wbnr37971.html 15

S-ar putea să vă placă și