Jump to content

Mus320: Difference between revisions

From CCRMA Wiki
Njb (talk | contribs)
No edit summary
Njb (talk | contribs)
Line 1: Line 1:
==Common Matlab Trickiness==
==Common Matlab Trickiness==
* Vector and matrix indices start at 1 (not 0).  If you are familiar with other programming languages such as C or C++, this might cause some slight difficulties in the beginning


* The transpose operator ' (apostrophe) acts as a Hermitian transpose.  The Hermitian transpose takes the complex conjugate as well as the normal transpose of a matrix.  To take avoid taking the complex conjugate you can use .'
* The transpose operator ' (apostrophe) acts as a Hermitian transpose.  The Hermitian transpose takes the complex conjugate as well as the normal transpose of a matrix.  To take avoid taking the complex conjugate you can use .'


* Sound I/O on matlab is pretty basic.  For the linux machines, audio will sometimes be a problem if: a web browser is playing audio, JACK is running, some other audio program is locking the audio resources on your computer.
* Sound I/O on matlab is pretty basic.  For the linux machines, audio will sometimes be a problem if: a web browser is playing audio, JACK is running, some other audio program is locking the audio resources on your computer.

Revision as of 06:12, 25 September 2009

Common Matlab Trickiness

  • Vector and matrix indices start at 1 (not 0). If you are familiar with other programming languages such as C or C++, this might cause some slight difficulties in the beginning
  • The transpose operator ' (apostrophe) acts as a Hermitian transpose. The Hermitian transpose takes the complex conjugate as well as the normal transpose of a matrix. To take avoid taking the complex conjugate you can use .'
  • Sound I/O on matlab is pretty basic. For the linux machines, audio will sometimes be a problem if: a web browser is playing audio, JACK is running, some other audio program is locking the audio resources on your computer.