EE 194/BIO 196: Modeling,simulating and optimizing

EE 194/BIO 196: Modeling,simulating and optimizing
1 / 1
EE 194/BIO 196: Modeling,simulating and optimizing - slide 1 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 2 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 3 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 4 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 5 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 6 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 7 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 8 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 9 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 10 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 11 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 12 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 13 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 14 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 15 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 16 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 17 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 18 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 19 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 20 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 21 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 22 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 23 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 24 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 25 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 26 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 27 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 28 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 29 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 30 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 31 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 32 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 33 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 34 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 35 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 36 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 37 of 38 EE 194/BIO 196: Modeling,simulating and optimizing - slide 38 of 38
EE 194BIO 196: Modeling,simulating and optimizing biological systems Spring 2018 Tufts University Instructor: Joel Grodstein joel.grodsteintufts.edu Arrays (part 1) EE 194Bio 196 Joel Grodstein What is a an array An array is an ordered,

Related Topics

Download this presentation From Below

"EE 194/BIO 196: Modeling,simulating and optimizing" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
EE 194/BIO 196: Modeling,simulating and optimizing biological systems Spring 2018
Tufts University

Instructor: Joel Grodstein
joel.grodstein@tufts.edu

Arrays (part 1)<br>
02
EE 194/Bio 196 Joel Grodstein What is a an array An array is an ordered, indexed group of variables that share the same name.
It's like a variable, but with a bunch of buckets in a row that are all numbered.
Demo with using a 1D egg carton and eggs to represent an array.<br>
03
EE 194/Bio 196 Joel Grodstein What is a an array Example:
import numpy as np
arr1 = np.array ([1, 3, 7])
Our variable arr1 has three little buckets in it
We can access each bucket individually:
arr1[0] is 1; arr1[1] is 3; arr1[2] is 7. Arrays are in the numpy package. We’ll talk about packages more in the functions lecture The name of the variable 1 3 7 arr1[0] arr1[1] arr1[2]<br>