Understanding Arrays in MATLAB, Representation and Operation on Arrays
Arrays: Creation , Accessing Elements , Sub Arrays, Representation, Operations
1. Maximum and Minimum values in Matrix
2. Potential Energy-Spring Problem
2. Session objective
Arrays
Array Creation , Accessing Elements
Sub Arrays, Representation, Operations
Maximum and Minimum values in Matrix
Potential Energy-Spring Problem
SUMMARY
3. Introduction to an Array
1. An array is a collection of data items, all
of the same type, accessed using a
common name.
2. A one-dimensional array is like a list
3. A two dimensional array is like a table The
C language places no limits on the number
of dimensions in an array, though specific
implementations may.
4. Need of an Array
1. Faster and can be utilized anywhere.
2. Store data of similar data types together
and can be used anywhere in the code.
3. All the elements of an arrays are stored in
the homogeneous memory location
7. Programming Exercises
1. Matrix manipulation
Addition, subtraction, division, multiplication, Finding
largest element
2. Vibrational analysis using spring damper