 |
Matlab
Programming -
(Matlab Cookbook II)
This page continues our work with Matlab programming. You can see other
pages like:
Polynomial
Roots (zero finding)
To
find polynomial roots
(aka 'zero finding' process), Matlab has a
specific command, namely 'roots'.
If you type on the command window...
Check
Writer – how to manipulate strings in Matlab
This Matlab program is a ‘check
writer’. You enter a number and the script returns the
same amount in letters (any
number between 1.00 and 999,999.99...
Fibonacci
Numbers
The first two Fibonacci
numbers are 0 and 1, and each remaining
number
is the sum of the
previous two. Some sources neglect the initial
0, and
instead beginning the sequence with the first two 1s...
Binary to
decimal conversion
We're going to present four variations of a binary-to-decimal conversion
in Matlab; that is, we're going to convert binary
numbers (numbers with only symbols '0' and '1') to decimal numbers...
Decimal to
Binary conversion
Two methods for a decimal-to-binary
conversion
in Matlab; we're going to
convert decimal numbers
(numbers with 10 different symbols, from '0' to '9', or in base 10)
into binary
numbers...
Binary to Hexadecimal numbers A major numbering system
used in digital systems is the
hexadecimal system (base 16). Let's see how we can work with 4-bit binary groups...
Hex to Binary conversion The following table shows
the meaning of all the symbols in
the hexadecimal numbering system and their conversion to binary equivalents...
MS Excel and Matlab Interchange of information between these two programs...
Circuit
Simulation using WinSpice and Matlab
In this article, a Matlab
routine to drive the WinSpice circuit
simulator is
presented. This
method can be easily adapted to
simulate and drive any circuit entered in WinSpice. The
performance of the Matlab
driver is illustrated by simulating an amplifier...
An improved
routine to drive WinSpice from Matlab
The
approach
developed now utilizes the inherent capability of
this SPICE simulator to include
other circuit text files
with parameters, and print data
to external .csv (comma separated values) files...
Mathematical Optimization To continue with our Matlab programming ideas, let's explore functions 'fminbnd' and 'fminsearch' to achieve minimization of functions, which also can be considered a mathematical optimization for the function...
Nonlinear Simultaneous Equations Another application of the optimization techniques is the solution of nonlinear systems. We can express the solution as a minimization problem...
Curve Fitting based on Optimization techniques
In this article we're going to show a practical approach to
solve a curve fitting with Matlab. This explanation is
neither formal nor comprehensive, but straightforward and
useful...
Simple Image Processing These are some basic
ideas on RGB images (or image process in Matlab programming).
These concepts are fundamental and don't require any special toolbox...
Line detection This
experiment explores line detection (for image analysis) with this numerical software. No toolbox is needed...
From
'Matlab Programming'
to home


|
|