Show Menu
Cheatography

Audio and Speech Processing with MATLAB Cheat Sheet (DRAFT) by

MATLAB code for audio and speech processing

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Data Structures

In MATLAB, datatype (int, float, double, etc.) is stored as a matrix or vector.

Row vector

g = [3, 7, 9]
or
g = [3 7 9]
By separating elements by comma or spaces

Column vector

g = [3; 7; 9]
or
g = [3, 7, 9]'
By separating elements by semicolons or doing the transpose of a row vector

Column vector (copy)

g = [3; 7; 9]
or
g = [3, 7, 9]'
By separating elements by semicolons or doing the transpose of a row vector