Anda di halaman 1dari 1

1st Assigment

Numerical Computation (TKU 602/S-2)


Instructor: Dr.Eng. Sunu Wibirama, S.T., M.Eng.
Monday, 16 February 2015

1. You can use Bahasa Indonesia to answer this assignment. Don’t forget to
put your name and your student number in the report. The report should
be submitted in printed format by 23 February 2015 (direct submission to
Dr. Sunu before the class begins).

2. Matlab is a scientific software to help engineers and scientists doing their


computation jobs. Install a Matlab software (or Matlab-like software)
in your computer. Execute the following command and make a screen
capture of the results. Explain the result of each command.
>> pwd
>> ls
3. Execute the following commands and explain the result of each command:
>> A = [16 3 2 13; 5 10 11 8; 9 6 7 12; 4 15 14 1]
>> size(A)
>> [r,c] = size(A)
>> A(1,1) = 6
>> A1=A(:,1:3)
>> A2=A(1:3,:)
>> A1’
>> A1’+ A2
4. You can find several useful tutorials of Matlab in the course webpage.
However, instructor strongly recommends you to learn Matlab program-
ming using the following resources:
• A.Gilat and V. Subramaniam, ”Appendix A: Introductory Matlab,”
in Numerical Methods for Engineers and Scientists, 3rd Edition, John
Wiley & Sons, 2014, p. 509-542.
• K. Sigmon, ”Matlab Primer 3rd Edition,” Department of Mathemat-
ics, University of Florida.Online PDF.
• C. Xenophontos, ”A Beginner’s Guide to Matlab,” Department of
Mathematics and Computer Science, Clarkson University.Online PDF.
• MATLAB Launchpad : Official Matlab Tutorials and Learning Re-
sources from MathWorks. Online Page.

Anda mungkin juga menyukai