Connexions

You are here: Home » Content » Vectorizing loops in MATLAB

About: Vectorizing loops in MATLAB

Module by: Anders Gjendemsjø

View content

Metadata

Name: Vectorizing loops in MATLAB
ID: m13251
Language: English (en)
Summary: In MATLAB, one should always try to avoid using loops. This module introduce the concept of vectorization.
Subject: Science and Technology
Keywords: Loops, MATLAB, Performance, Vectorizing
Document Type: -//CNX//DTD CNXML 0.5 plus MathML//EN
License: Creative Commons Attribution License

Authors: Anders Gjendemsjø (gjendems@iet.ntnu.no)
Copyright Holders: Anders Gjendemsjø (gjendems@iet.ntnu.no)
Maintainers: Anders Gjendemsjø (gjendems@iet.ntnu.no)

Version: 1.4 (history)
Created: Jan 20, 2006 3:05 am US/Central
Revised: Jul 21, 2006 2:25 am GMT-5

Version History

Version: 1.4 Jul 21, 2006 2:25 am GMT-5 by Anders Gjendemsjø
Changes:
Fixed two typos.

Version: 1.3 Jul 21, 2006 2:22 am GMT-5 by Anders Gjendemsjø
Changes:
Fixed typo.

Version: 1.2 Jan 20, 2006 6:21 am US/Central by Anders Gjendemsjø
Changes:
1st rel.

Version: 1.1 Jan 20, 2006 3:07 am US/Central by Anders Gjendemsjø
Changes:
To get m number.

How to Cite This Content

Choose the citation style appropriate to your needs:

American Chemical Society (ACS) Style Guide:

Gjendemsjø, A. Vectorizing loops in MATLAB, Connexions Web site. http://cnx.org/content/m13251/1.4/, Jul 21, 2006.

American Medical Assocation (AMA) Manual of Style:

Gjendemsjø A. Vectorizing loops in MATLAB [Connexions Web site]. July 21, 2006. Available at: http://cnx.org/content/m13251/1.4/.

American Psychological Assocation (APA) Publication Manual:

Gjendemsjø, A. (2006, July 21). Vectorizing loops in MATLAB. Retrieved from the Connexions Web site: http://cnx.org/content/m13251/1.4/

Chicago Manual of Style (Bibliography):

Gjendemsjø, Anders. "Vectorizing loops in MATLAB." Connexions. July 21, 2006. http://cnx.org/content/m13251/1.4/.

Chicago Manual of Style (Note):

Anders Gjendemsjø, "Vectorizing loops in MATLAB," Connexions, July 21, 2006, http://cnx.org/content/m13251/1.4/.

Chicago Manual of Style (Reference, in Author-Date style):

Gjendemsjø, A. 2006. Vectorizing loops in MATLAB. Connexions, July 21, 2006. http://cnx.org/content/m13251/1.4/.

Modern Languages Association (MLA) Style Manual:

Gjendemsjø, Anders. Vectorizing loops in MATLAB. Connexions. 21 July 2006 <http://cnx.org/content/m13251/1.4/>.