1st - Yr - Lecture 01 - NEW
1st - Yr - Lecture 01 - NEW
2
What is Engineering Computing ?
• Introduction
Computer models are required to solve
• What does
programming fundamental mathematical problems, often
provide you ?
very repetedly:
• MATLAB - a
programming
language
• Interpolation
• Subject
Overview • Solving Simultaneous Equations
• Assessment
• Solving Ordinary Differential
• MATLAB: An
Introduction Equations
• Integration
3
What will this unit provide you?
• Introduction Through attending the lectures, and completing the
• What does tutorials and laboratories you will learn how to use
programming
provide you ?
computers to solve difficult engineering problems:
• MATLAB - a
programming Consider an engineering problem
language
• Subject
Overview
Construct a mathematical model to the problem
• Assessment
Write a program to solve the model
• MATLAB: An
Introduction
Present the results to the problem
4
What will this unit provide you?
• Introduction
You will also learn a programming
• What does
programming language called MATLAB.
provide you ?
• MATLAB - a
programming
language MATLAB is very similar to other high-level languages used
• Subject
in engineering (C, Fortan, Delphi).
Overview
• Assessment However, it has a lot more help associated, and many inbuilt
• MATLAB: An functions designed to help you solve engineering problems.
Introduction
5
Why learn programming?
• Introduction
• What does
programming Computers can model where
provide you ?
• MATLAB - a
experiments can’t venture…
programming
language
(e.g. biomedical applications)
• Subject
Overview
• Assessment
• MATLAB: An
Introduction
6
Why learn programming?
• Introduction
• What does
programming Computers can model where
provide you ?
• MATLAB - a
experiments can’t venture…
programming
language
(e.g. Crack development)
• Subject
Overview
• Assessment
• MATLAB: An
Introduction
7
MATLAB
• Introduction To program we will be using a computer
• What does package called Matlab.
programming
provide you ?
• MATLAB - a
programming
language
Matlab is an excellent
• Subject
Overview programming language
• Assessment
• MATLAB: An
Introduction
It’s also an excellent tool to view scientific
images
8
Matlab – Why learn it?
• Introduction
• What does
• It is specially designed for scientific
programming
provide you ? and engineering research.
• MATLAB - a
programming
• It is very accurate at modeling
language
• Subject
• It is very easy to visualize your data.
Overview
• Assessment
• MATLAB: An
Introduction
9
Matlab – Why learn it?
• Introduction
It is excellent at handling arrays and
• What does
programming matrices.
provide you ?
• MATLAB - a
In fact its name comes from MATrix LABoratory
programming
language It is programmable
It is used by Engineering firms the world
• Subject
Overview
• Assessment over.
• MATLAB: An
Introduction
10
Subject Overview
• Introduction
• MATLAB: An
Introduction
11
Subject Overview
• Introduction
Week 1-6: Learning to Program:
• What does
programming
provide you ?
3 : Arrays and Matrices
• MATLAB - a
programming
4 : Logical Operations
language
• Subject
5 : Loop structures
6 : Graphical Output
Overview
• Assessment
• MATLAB: An
Introduction
12
Subject Overview
• Introduction
Week 1-6: Learning to Program:
• What does
programming
provide you ?
7 : Function files
• MATLAB - a
programming
8 : Advanced file input/output
language
• Subject
Overview
• Assessment
• MATLAB: An
Introduction
13
Subject Overview
• Introduction
Week 7-12: Numerical Methods
• What does
programming
provide you ?
Week 7 Root Finding and Optimization
• MATLAB - a
programming
language
Week 8 Linear Algebra in Engineering
• Subject
Overview
• Assessment
• MATLAB: An
Introduction
14
Subject Overview
• Introduction
Week 7-12: Numerical Methods
• What does
programming
provide you ?
Week 9 Matrix Manipulation
• MATLAB - a Week 10 Curve fitting of data
programming
language
• Subject
Overview
• Assessment
• MATLAB: An
Introduction
15
Subject Overview
• Introduction
Week 7-12: Numerical Methods
• What does
programming
provide you ?
Week 11 Numerical Integration
• MATLAB - a Week 12 The solution of Ordinary
programming
language Differential Equations
• Subject
Overview
• Assessment
• MATLAB: An
Introduction
16
Prescribed Text
• Introduction
• What does
programming
provide you ?
“Applied Numerical
Methods with Matlab for
• MATLAB - a
programming Engineers and
language
Scientists”, Steven C.
• Subject
Overview Chapra, McGraw Hill,
• Assessment
2005.
• MATLAB: An
Introduction
This text is good because
it involves both MATLAB
programming and the
application of Numerical
Methods. –Other texts are
also available
which might be
17
Recommended texts
• Introduction
Recommended Texts & Further
• What does
programming Reading:
provide you ?
• What does
Recommended Texts &
programming
provide you ?
Further Reading:
• MATLAB - a
programming
language “Numerical Methods using
• Subject
Matlab”, George Lindfield and
Overview John Penny, Prentice Hall,
• Assessment 1999.
• MATLAB: An
Introduction
Slightly older book, however it
does discuss both MATLAB
programming and the
application of Numerical
Methods.
19
Assessment
• Introduction
20
Practice Classes
• The only way to succeed in
• Introduction
• What does
programming
provide you ? programming is practice practice
• MATLAB - a
programming
practice.
language
• Subject
Overview
• Assessment
• The tutorials and laboratories are
• MATLAB: An
Introduction
the best way for you to learn
material for this subject.
21
Laboratories – why attend them?
• Introduction • The practice classes are designed to
• What does
programming offer you the opportunity to practice
programming while knowledgeable
provide you ?
• MATLAB - a
programming
language
staff are available to help you.
• Subject
Overview
• It is important that you attend your
• Assessment designated practice class session.
• MATLAB: An
Introduction
22
Practice Classes
• Introduction • For those of you who haven’t already…
• What does
programming You have to select which tutorials/laboratory
provide you ?
classes you will be attending using the online
• MATLAB - a
programming website Allocate+.
language
• Subject http://allocate.cc.monash.edu.au/
Overview
• Assessment
• MATLAB: An
Introduction
23
For People who are repeating
• Introduction
• What does
programming
• Some of you may have attempted this
provide you ?
course last year.
• MATLAB - a
programming
language
• Assessment
• MATLAB: An
Introduction
• In addition we expect that you should
hand in all assignments and sit all tests.
24
AUTHCATE & MUSO
• Introduction
25
AUTHCATE & MUSO
• Introduction
• What does
1
programming
provide you ?
• MATLAB - a
programming
language
• Subject
Overview
• Assessment
• MATLAB: An
Introduction
26
Where is Matlab at Monash?
• Introduction
• What does
programming – Matlab is available on all
provide you ?
• MATLAB - a
engineering student laboratory
programming
language
computers at Monash.
• Subject
Overview
– A link to start Matlab is on the start
• Assessment menu.
• MATLAB: An
Introduction
– You need an Authcate
username/password to use the
computer system.
27
Asking me questions
• Introduction Another important source of information is
• What does your lecturer.
programming
provide you ?
• MATLAB - a
programming
I can answer questions you may have (on
language my part of the course) out of lecture hours.
• Subject
Overview I will be available at the following times in
• Assessment my office (Room 5-5-20):
• MATLAB: An
Introduction
Tuesday : 3:00pm – 4:00 pm
Wednesday : 3:00pm – 4:00 pm
Thursday : 3:00pm – 4:00 pm
28
ENG 1060
Computing for Engineers
Lecturer: Dr V. Ganapathy
Lecture 1:
MATLAB
Matlab Graphical User Interface
– When you first
start MATLAB
several windows
appear by default
– These include:
– Command Window
– Command History
– Current Directory
– Workspace
30
Matlab Graphical User Interface
– In the
command
window you
type
commands for
MATLAB to
process.
31
Matlab Graphical User Interface
– The command
history window
provides a running
history of prior
commands issued
in the command
window.
32
Matlab Graphical User Interface
– The current directory
window provides
information of the
files in the current
directory (more on
changing directories
in lecture 3)
33
Matlab Graphical User Interface
– The workspace
window provides
information
regarding variables
MATLAB has stored
in the computers
memory.
34
Matlab - Help
36
Matlab - Help
This opens
up a new
window
with very
detailed
help and
examples
on how to
use
MATLAB.
37
Matlab - Help
There is an
index, where
you can look
up a command
of interest (for
example
“cos”).
• Subject
– A boom in demand for launches to
Overview low Earth orbit is predicted. These
companies also expect to serve
• Assessment new markets such as passenger
• MATLAB: An service, fast package delivery,
Introduction space station resupply, and
commercial microgravity missions.
40
Matlab : An example
• Introduction – Kistler used MATLAB to model, analyze,
• What does and implement a control system consisting
programming
provide you ? of a series of flow-regulating valves.
• MATLAB - a
programming
language
– An efficient and cost-effective design
• Subject
Overview process
• Assessment
• MATLAB: An
Introduction
41
Lecture Summary
• Introduction
• Syllabus
• MATLAB - a
programming
language
• Assessment
• Subject
Overview
• Assessment
• MATLAB: An
Introduction
• Text books
• On-line resources
• Matlab – an introduction
42