http://www.cyclismo.org/tutorial/matlab/
Matlab is a program that was originally designed to simplify the implementation of numerical linear algebra routines. It has since grown into something much bigger, and it is used to implement numerical algorithms for a wide range of applications. The basic language used is very similar to standard linear algebra notation, but there are a few extensions that will likely cause you some problems at first.
The goal of the tutorials here is to provide a simple overview and introduction to matlab. The tutorials are broken up into some of the basic topics. The first includes a few examples of how Matlab makes it easy to create and manipulate vectors. The tutorials move from the simple examples and lead to more complicated examples.
We have tutorials on the following subjects:
-
A basic introduction on how to define and manipulate vectors in matlab. This is the most basic way that numbers are stored and accessed in matlab.
-
An introduction on how to define and manipulate matrices. We demonstrate how to create matrices and how to access parts of a matrix.
-
Here we bring together elements of the first two tutorials. The real power of matlab is that the basic operations defined in linear algebra can be carried out with similar notation and a minimal number of programming steps.
-
We introduce the basic loop construct used in matlab. We show how to define a for loop and provide an example of a how it can be used to solve a problem.
-
A general overiew of the basic plotting commands is given. This is a very basic overview given to demonstrate some of the ways data can be plotted.
-
An introduction is given on how to define files that contain command that matlab can execute as if they had been typed in at the command prompt.
-
An introduction to subroutines is given. This is a more general way to provide an executable file in which generic arguments are passed back and forth through the command line.
-
The basic control structure in matlab is the "if" statement which allows for conditional execution of certain parts of a code. This is useful when you have to check conditions before deciding what actions should be taken.
-
Matlab allows a number of ways to access data files for use in a session. The different ways to save all of the data, a particular matrix, and C style read write statements is examined. Also, thediarycommand is examined to demonstrate how a text copy of a session can be saved.
分享到:
相关推荐
Computational Fourier Optics a MATLAB tutorial
Computational Fourier Optics:a MATLAB tutorial 傅里叶光学,带MATLAB代码,非常实用
MATLAB Tutorial (MIT 10.34)
1.MATLAB Tutorial 第1章matlab入门 第2章matlab矩阵 第3章Matlab程序设计 第4章matlab数值 第5章matlab符号 第6章matlab绘图 第7章matlab图形用户界面(GUI) 第8章MatlabSimulink 详细目录见:MATLAB Tutorial ...
质量很高的一份MATLAB教程,英文原版PDF,初学推荐
This book began as a collection of notes and computer examples prepared for a first-year graduate course on Fourier optics. In teaching Fourier optics over a number of years, I found that I developed ...
MATLAB TUTORIAL MATLAB 教程.pdf
How to Write a MATLAB Program - MATLAB Tutorial.zip
Matlab Tutorial - 41 - Joining Matrices Together
Matlab Tutorial - 38 - Multiplying Matrices
Matlab Tutorial - 60 - Plotting Functions.zip
Matlab Tutorial - 61 - Changing Plot Appearance.zip
Matlab Tutorial - 59 - Basic Scatter Plots.zip
Matlab Tutorial - 42 - Apply Mathematical Functions to Matrices
Matlab Tutorial - 53 - Defining Mathematical Functions.zip
Matlab Tutorial - 49 - Solving Algebraic Equations.zip
Matlab Tutorial - 58 - Taking Limits in Calculus.zip
Matlab Tutorial - 54 - Taking Derivatives in Calculus.zip
Matlab Tutorial - 43 - Creating an Identity Matrix.zip