WelcomeBasicsPlots and GUIApplicationsOther

MATLAB
Examples
These Matlab
examples thoroughly introduce the basics you need to get started. They
supplement very well the Tutorial
Section.

Basic
Matlab Code
Here
you can find examples on different types of arithmetic, exponential,
trigonometry
and complex number
operations handled easily with Matlab
code...
Example:
Simple Vector Algebra
On this page we expose how simple it is to work with vector algebra,
within Matlab...

Example:
MATLAB Plots
In this group of examples, we create several cosine MATLAB plots, work with different resolution
and plot parameters...
Example:
MATLAB programming (Script Files)
In
this example, we program the plotting of two concentric circles
and mark the center point with a black square. We use polar coordinates
in this case (for a variation)...
Example:
A custommade Matlab function
Even
though Matlab has plenty of useful functions, in this example we
develop a custommade
Matlab function. We have one input value and two
output values to transform a given number in both Celsius
and Farenheit
degrees...
Ex.:
Matrix manipulation
In this section we study and experiment with matrix manipulation
and boolean algebra.
This tutorial creates some simple matrices and then combines them to
form new ones of higher
dimensions. We also extract
data from certain rows or columns to form matrices of lower dimensions...
Ex.
Dot Product
The dot product
is a scalar number and so it is also known as the
scalar or
inner
product.
In a real vector space, the scalar product
between two vectors...
Ex.:
Cross Product
In this example, we are going to write a function to find the cross product of two
given vectors u
and v.
If u
= [u1 u2 u3] and v
= [v1 v2 v3]...
Complex
Numbers
The unit of imaginary
numbers
is root of 1
and is generally designated by the letter i
(or j).
Many laws which are true for real numbers are true for imaginary
numbers as well. Thus, in this Matlab example...
Future
Value of investment
This
program is an example of a financial
application in Matlab. It calculates the
future value
of an investment when interest is a factor. It is necessary to
provide the amount of
the initial investment...
Recursion
Recursion
is a kind of tricky and smart construction which
allows a function to
call itself. The Matlab programming language supports it...
Electricity Cost
Calculation
We’ll now implement a kind of electricity
cost calculator
with Matlab... This calculator will help you estimate the cost of operating any
given electrical device or appliance at home, based on the
average kilowatthours
(KWH) used...
Palindromes  working with indices
and ascii
A palindrome
is a phrase, word, number or other sequence of characters
that can be read the same way in either direction...
From
'Matlab Examples' to home
From
'Matlab Examples' to 'Matlab Tutorial'


