Understanding Arrays: Definitions and Practical Applications in Data Analysis
This introduction to arrays explores their definition as a single variable containing multiple values, such as vectors (1D) and matrices (2D, 3D). Arrays are essential in data management, used to keep related data together, create data tables for financial analysis, and study properties of fluids in Computational Fluid Dynamics (CFD). Learn when to use arrays in various scenarios, like maintaining top scores or analyzing multiple aspects of gas engine parameters. Gain insight through examples and understand the differences between vectors and matrices, and discover how to create arrays using MATLAB.
Understanding Arrays: Definitions and Practical Applications in Data Analysis
E N D
Presentation Transcript
Arrays - Introduction What are arrays? When are they used/useful? Many examples
Definition: ARRAYS • What? • ONE variable that contains MORE THAN ONE value. VECTORS (1D) MATRICES (2D,3D..) pressures velocity densities temperatures
When to use arrays • Data Base (Keep data together)
Examples Database “VECTORS” Keep the top 5 scores: Keep the part numbers of a specific Gas Engine:
When to use arrays • Keep data together (data base) • Create data tables (financial analysis…)
Example Data Tables “MATRIX” Financial: Loan Analysis
When to use arrays • Keep data together (data base) • Create data tables (multiplication, sine, cosine, financial analysis…) • Study properties of fluids (CFD)
CFD Shock Waves Aerodynamics CFD = Computational Fluid Dynamics ->Solve and analyze problems that involve fluid flows Shock Waves
CFD Shock Waves Aerodynamics Matrices: Grids or Mesh T : temperature P : pressure u : velocity : density Fluid Flow
CFD Shock Waves Aerodynamics Matrices: Grids or Mesh 1st layer : T 2nd layer: P 3rd layer: 4th layer: u Fluid Flow Or.. 1 unique 3Dimensional array !!!
When to use arrays • Keep data together (data base) • Create data tables (multiplication, sine, cosine, financial analysis…) • Study properties of fluids (CFD) • Upload tremendous amount of data from files
Example Files • Online Data Files can be downloaded & Analyzed
When to use arrays • Keep data together (data base) • Create data tables (multiplication, sine, cosine, financial analysis…) • Study properties of fluids (CFD) • Upload tremendous amount of data from files Etc…
Lessons Learned • What is an array? • Difference between “vector” and “matrix” • Various examples showing the big pictures of arrays • What’s next? Creating arrays using MATLAB!