Text-only
Table of Contents (
frame
/
no frame
)
(11) Array Operations
Array Operations
Matlab uses matrix calculations
You do not have to use loops to perform matrix calculations
Example: if you have 10000 samples of a,b and c = a*b
Most efficient matrix command:
>> c= a*b;
Less efficient to use a loop
>> for i=1:10000
c(i)= a(i)*b(i);
Try:
>> array_examp
Array_Operations.src last modified Sep 29, 2009
Introduction
Table of Contents
(
frame
/
no frame
)
Printable
(single file)
© Dartmouth College