Difference between revisions of "MatlabIntro"
From CCRMA Wiki
(Created page with 'Category:MATLAB == General tips == 1.Try to vectorize every operation if you can 1.') |
(→General tips) |
||
Line 1: | Line 1: | ||
[[Category:MATLAB]] | [[Category:MATLAB]] | ||
+ | |||
+ | Use square brackets to define a vector/matrix | ||
+ | |||
+ | <code> | ||
+ | x = [1 2 3 4 5] | ||
+ | </code> | ||
+ | |||
== General tips == | == General tips == | ||
− | + | # Try to vectorize every operation if you can | |
− | + | # |
Revision as of 10:32, 21 September 2010
Use square brackets to define a vector/matrix
x = [1 2 3 4 5]
General tips
- Try to vectorize every operation if you can