Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
12Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
MATLAB Array Manipulation Tips and Tricks

MATLAB Array Manipulation Tips and Tricks

Ratings:

4.7

(10)
|Views: 10,812 |Likes:
Published by eebeta
from Internet
from Internet

More info:

Published by: eebeta on Feb 14, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF or read online from Scribd
See more
See less

07/02/2013

 
M
ATLAB
array manipulation tips and tricks
Peter J. AcklamE-mail:
URL:
18th October 2003
 
Copyright © 2000–2003 Peter J. Acklam. All rights reserved.Any material in this document may be reproduced or duplicated for personal or educational use.M
ATLAB
is a trademark of The MathWorks, Inc.TEX is a trademark of the American Mathematical Society.Adobe, Acrobat, Acrobat Reader, and PostScript are trademarks of Adobe Systems Incorporated.
 
Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
1.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 Advantages and disadvantages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2.1 Portability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2.2 Verbosity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.2.3 Speed. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.2.4 Obscurity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.2.5 Difficulty. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.3 Words of warning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2.1 Operators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32.2 Built-in functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42.3 M-file functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.1 Size. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63.1.1 Size along a specific dimension. . . . . . . . . . . . . . . . . . . . . . . . 63.1.2 Size along multiple dimensions. . . . . . . . . . . . . . . . . . . . . . . . 63.2 Dimensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73.2.1 Number of dimensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73.2.2 Singleton dimensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73.3 Number of elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73.3.1 Empty arrays. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
5.1 Creating a constant array. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105.1.1 When the class is determined by the scalar to replicate. . . . . . . . . . . . 105.1.2 When the class is stored in a string variable. . . . . . . . . . . . . . . . . . 115.2 Special vectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115.2.1 Uniformly spaced elements. . . . . . . . . . . . . . . . . . . . . . . . . . . 11
6.1 Vectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126.2 Matrices and arrays. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12ii

Activity (12)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Josue liked this
Josue liked this
shihginc liked this
Josue liked this
Josferba liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->