Created by: Tomasz Jakub

**
Tags
**
basic matlab, diagonal, basics

Created by: Sarah McDonald

**
Tags
**
matlab 101, matrices, basics

Created by: James

**
Tags
**
vectors, consecutive, repeating

Created by: Doug Hull

**
Tags
**
indexing, basic matlab, ml101

Created by: Pritesh Shah

**
Tags
**
matlab, vector, basic matlab

Created by: AMITAVA BISWAS

**
Tags
**
vector, basic matlab, basics

Created by: Vishwanathan Iyer

**
Tags
**
sorting, vector, basic matlab

Created by: Cody Team

**
Tags
**
math, matlab 101, permutations

Created by: Yudong Zhang

**
Tags
**
vector, basic matlab, basics

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

Select web siteYou can also select a web site from the following list:

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

- América Latina (Español)
- Canada (English)
- United States (English)

- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)

- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)