Sie sind auf Seite 1von 23

Introduction to

Programming with
MATLAB

Instructor: Abdel-Aziz Mohamed H.


Hussein
INTRODUCTION MATLAB PROGRAMMING FOR SCIENCES AND ENGINEERING'S

What is MATLAB

MATLAB ® is one of a number of commercially


available, sophisticated mathematical
computation tools, which also include Maple,
Mathematica, and MathCad.

Instructor : Eng. Abdel-Aziz Mohamed H. Hussein Training Course: Introduction to Programming with MATLAB
INTRODUCTION MATLAB PROGRAMMING FOR SCIENCES AND ENGINEERING'S

PROBLEM SOLVING IN ENGINEERING AND SCIENCE

5 Steps to solve problems


1. State the problem .
Drawing a picture is often helpful in this step.
If you do not have a clear understanding of the
problem, you are not likely to be able to solve it.
2. Describe the input values (knowns) and the required
outputs (unknowns).
Be careful to include units. Sloppy handling of units
often leads to wrong answers.
 Identify constants (Gravity , speed of light , etc) .

Instructor : Eng. Abdel-Aziz Mohamed H. Hussein Training Course: Introduction to Programming with MATLAB
INTRODUCTION MATLAB PROGRAMMING FOR SCIENCES AND ENGINEERING'S

PROBLEM SOLVING IN ENGINEERING AND SCIENCE

3. Develop an algorithm to solve the problem.


Identify any equations relating the knowns and
unknowns.
 Work through a simplified version of the problem
by hand or with a calculator.
4. Solve the problem. In this training course,
this step involves creating a MATLAB ®
solution

Instructor : Eng. Abdel-Aziz Mohamed H. Hussein Training Course: Introduction to Programming with MATLAB
INTRODUCTION MATLAB PROGRAMMING FOR SCIENCES AND ENGINEERING'S

PROBLEM SOLVING IN ENGINEERING AND SCIENCE

5. Test the solution .


Do your results make sense physically?
 Do they match your sample calculations?
Is your answer really what was asked for?
 Graphs are often useful ways to check your
calculations for reasonableness.

Instructor : Eng. Abdel-Aziz Mohamed H. Hussein Training Course: Introduction to Programming with MATLAB
INTRODUCTION MATLAB PROGRAMMING FOR SCIENCES AND ENGINEERING'S

Introduction to MATLAB

 MATrix LABoratory
 MATLAB
 High-level language
 Interactive Environment
 Numerical computing environment
 Plotting (i.e. visualization) of functions and data
 Algorithm implementation
 User interfaces
 Rapid prototyping, with toolboxes

Instructor : Eng. Abdel-Aziz Mohamed H. Hussein Training Course: Introduction to Programming with MATLAB
INTRODUCTION MATLAB PROGRAMMING FOR SCIENCES AND ENGINEERING'S

Introduction to MATLAB

Making you a better Engineer

Basic Advance
Engineering
MATLAB MATLAB
Applications
Programming

Redefine your engineering


Instructor : Eng. Abdel-Aziz Mohamed H. Hussein Training Course: Introduction to Programming with MATLAB
INTRODUCTION MATLAB PROGRAMMING FOR SCIENCES AND ENGINEERING'S

Introduction to MATLAB

Instructor : Eng. Abdel-Aziz Mohamed H. Hussein Training Course: Introduction to Programming with MATLAB
INTRODUCTION MATLAB PROGRAMMING FOR SCIENCES AND ENGINEERING'S

Why MATLAB

Easy to learn
Easy to debug
Great tool for scientific work
Exploring your data
Visualizing your data
Many useful “toolboxes”

Instructor : Eng. Abdel-Aziz Mohamed H. Hussein Training Course: Introduction to Programming with MATLAB
:
INTRODUCTION MATLAB PROGRAMMING FOR SCIENCES AND ENGINEERING'S

Solving with Mathematics

Arithmetic

Algebra

Solving
Enq.
 2 2
Integral  5
 3  x  6 x .dx

Differentiation

Instructor : Eng. Abdel-Aziz Mohamed H. Hussein Training Course: Introduction to Programming with MATLAB
INTRODUCTION MATLAB PROGRAMMING FOR SCIENCES AND ENGINEERING'S

Some Applications

Symbolic Mathematics
Structure
Mechanics
Control
Electrical circuits
Sound and Image processing

Instructor : Eng. Abdel-Aziz Mohamed H. Hussein Training Course: Introduction to Programming with MATLAB
Tue. Jan 5, 2015
Session 1
MATLAB Overview

Introduction to Matlab
MATLAB Environment
Programming Basic
Solving Equations
Wed. Jan 6, 2015
Session 2
Matrix and System Equations

Array and Matrix


System of Equations
Plotting
Thursday Jan 7, and Friday
Jan 8 , 2015
Off days
Sat. Jan 9, 2015
Session 3
Symbolic Mathematics

Symbolic Variables and


Expressions
Simplification Functions
Displaying Expressions
Differentiation
Integration
Sun. Jan 10, 2015
Session 4
Programming

Condition : if , else
Loops : for , while
Monday . Jan 10, 2015
Consultation Day
6:00 P.m. - 8:00 P.m.
Tue. 12, 2015
Session 5
Statistics

Average , Medium , Mean ,etc


Curve fitting Toolbox
13 &16, 2015
Session 6 & 7
Engineering Applications

Mechanics/ Structure /Electrical


/Telecommunication

Thursday Jan 14, 2015


Consultation Day
6:00 P.m. - 8:00 P.m.
INTRODUCTION MATLAB PROGRAMMING FOR SCIENCES AND ENGINEERING'S

Install MATLAB 2012

 Open MATLAB_R2012b_Cracked folder


 Open crack folder
 Click on MATLAB Install readme file as Notepad
 Read the instructions :
To install MATLAB R2012b make next steps:
1. Run 'setup.exe', choose 'Install without using the Internet',
enter serial: 23809-26556-08469-31324
2. Choose 'Custom install' to select needed components.
Uncheck 'MATLAB Distributed Computing Server 6.1' if you
DON'T use MDCE.
3. Activate with file 'matlab2012b_std.dat' from the crack
folder.

Instructor : Eng. Abdel-Aziz Mohamed H. Hussein Training Course: Introduction to Programming with MATLAB
INTRODUCTION MATLAB PROGRAMMING FOR SCIENCES AND ENGINEERING'S

Opening MATLAB

Instructor : Eng. Abdel-Aziz Mohamed H. Hussein Training Course: Introduction to Programming with MATLAB
INTRODUCTION MATLAB PROGRAMMING FOR SCIENCES AND ENGINEERING'S

Opening MATLAB

Examples

Instructor : Eng. Abdel-Aziz Mohamed H. Hussein Training Course: Introduction to Programming with MATLAB
INTRODUCTION MATLAB PROGRAMMING FOR SCIENCES AND ENGINEERING'S

Opening MATLAB

Instructor : Eng. Abdel-Aziz Mohamed H. Hussein Training Course: Introduction to Programming with MATLAB

Das könnte Ihnen auch gefallen