arrays introduction
Download
Skip this Video
Download Presentation
Arrays - Introduction

Loading in 2 Seconds...

play fullscreen
1 / 14

Arrays - Introduction - PowerPoint PPT Presentation


  • 103 Views
  • Uploaded on

Arrays - Introduction. What are arrays? When are they used/useful?. Many examples. Definition: ARRAYS. What? ONE variable that contains MORE THAN ONE value. VECTORS ( 1 D) . MATRICES ( 2 D, 3 D.. ). pressures. velocity. densities. temperatures. When to use arrays.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Arrays - Introduction' - kaleb


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
arrays introduction

Arrays - Introduction

What are arrays?

When are they used/useful?

Many examples

definition arrays
Definition: ARRAYS
  • What?
    • ONE variable that contains MORE THAN ONE value.

VECTORS (1D)

MATRICES (2D,3D..)

pressures

velocity

densities

temperatures

when to use arrays
When to use arrays
  • Data Base (Keep data together)
examples
Examples

Database

“VECTORS”

Keep the top 5 scores:

Keep the part numbers of a specific Gas Engine:

when to use arrays1
When to use arrays
  • Keep data together (data base)
  • Create data tables (financial analysis…)
example
Example

Data Tables

“MATRIX”

Financial: Loan Analysis

when to use arrays2
When to use arrays
  • Keep data together (data base)
  • Create data tables (multiplication, sine, cosine, financial analysis…)
  • Study properties of fluids (CFD)
slide8
CFD

Shock Waves

Aerodynamics

CFD = Computational Fluid Dynamics

->Solve and analyze problems that involve fluid flows

Shock Waves

slide9
CFD

Shock Waves

Aerodynamics

Matrices: Grids or Mesh

T : temperature

P : pressure

u : velocity

: density

Fluid Flow

slide10
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 arrays3
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
example1
Example

Files

  • Online Data Files can be downloaded & Analyzed
when to use arrays4
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
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!
ad