Download presentation
Presentation is loading. Please wait.
Published byRoss McKenzie Modified over 9 years ago
1
ENG004 ALGORITHMS & INT. TO PROGRAMMING Week 2 “Exploring MATLAB” Ahmet Anıl Dindar 28.02.2007
2
ENG004.01 2 The class facts E-mail address: iku.eng004.01@gmail.comiku.eng004.01@gmail.com Class web page: http://web.iku.edu.tr/courses/insaat/eng004/ http://web.iku.edu.tr/courses/insaat/eng004/
3
ENG004.01 3 Last week The syllabus was distributed. The facts about the class was mentioned The class e-mail was introduced and the students were asked to send a registration mail to the class e-mail.
4
ENG004.01 4 This week What is Algorithm and Programming? Why do we need programs? A powerful tool- MATLAB What is MATLAB? Why MATLAB? HOw to use it? The first commands in MATLAB.
5
ENG004.01 5 Algorithm and Programming The best way to do some work is to know how to do it. ALGORITHM Some examples to Algorithm
6
ENG004.01 6 Programming How to make a machine to perform the algorithms? PROGRAMMING How to program?
7
ENG004.01 7 You need some tools to make the machine perform your algorithms Basic Pascal C,C++ Java Perl...
8
ENG004.01 8 MATLAB MATLAB (MATrix LABoratory) is a powerful program based on C++ and JAVA applications. It has wide range of command library. Almost every engineering student in USA uses MATLAB. Most of the Turkish Universities started teaching MATLAB in introductory classes.
9
ENG004.01 9 MATLAB and Columns-Beams? What is the relationship? MATLAB in Civil Engineering? Do we need it? Does any Civil Engineer use MATLAB in work? Have you ever seen any Civil Engineer using MATLAB?
10
ENG004.01 10 And now let’s see How MATLAB looks? Follow me now!
11
ENG004.01 11 Let’s do some Calculations The 4 basic calculation 1+2 5-1 15*2 8/4 (1+2)*5-1
12
ENG004.01 12 Gauss Number 1+2+3+...+100=? Let’s use MATLAB >> 100*(100 +1)/2 ans = 5050 >>
13
ENG004.01 13 Assignment #1 Please do the following calculations in MATLAB >> 10*(10+1)/2 >> (10+50)*(10+20)/10 >>10*(10+1)+(10+1/2)*(58+1) >>25/2+8-9 >>8+9*9-5 >> 8+9*(9-5) >> (8+9)*9-5 Are there any difference between these calculations?
14
ENG004.01 14 Send your diary files to class e-mail
15
ENG004.01 15 Next week... WeeksDateClassAssignment 121.02Introduction to the classRegistration 228.02Exploring MATLABAssignment 1 307.03 Arrays and Matrix Operations N.A. 414.03 Arrays and Matrix Operations Assignment 2 521.03 Arrays and Matrix OperationsAssignment 3 628.03Polynomials and curve-fitting Assignment 4 704.04Descriptive statistics Assignment 5 811.04Programming Elements of MATLAB N.A. 918.04Programming Elements of MATLAB Assignment 6 1025.04Programming Elements of MATLAB Assignment 7 1102.05Plotting and Animations N.A. 1209.05Plotting and Animations Assignment 8 1316.05Numerical Integration Assignment 9 1423.05Symbolic Math Assignment 10 1530.05Take-home final projectN.A.
16
ENG004.01 16 See you next week!
17
ENG004.01 17
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.