Difference between revisions of "MatlabIntro"

From CCRMA Wiki
Jump to: navigation, search
(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 ==
  
1.Try to vectorize every operation if you can
+
# Try to vectorize every operation if you can
1.
+
#

Revision as of 11:32, 21 September 2010


Use square brackets to define a vector/matrix

x = [1 2 3 4 5]


General tips

  1. Try to vectorize every operation if you can