MATLAB Tips & Tricks
by Gabriel Peyre
05 Aug 2004
(Updated 19 Nov 2007)
A list of useful tips and tricks with concise piece of code and comments.
|
Watch this File
|
| File Information |
| Description |
First keep in mind that this is not a MATLAB tutorial. This is just a list of tricks I have found useful while writing my toolboxes available on the MATLAB Central repository.
You can e-mail me if you have corrections about these pieces of code, or if you would like to add your own tips to those described in this document.
Some random examples (you will find piece of code in the pdf) :
- Access a matrix from a list of entries.
- Output a string without carriage return.
- Draw a 3D sphere.
- Remove the ticks from a drawing.
- Compute centered finite differences.
- Generate n points sampled uniformly at random on a sphere.
- Compute the 3D rotation matrix M around an axis v.
- Display the result of an FFT with the 0 frequency in the middle.
- Perform a symmetric boundary adapted convolution.
- Draw the image of a disk and a square.
- Generate a C^alpha regular function.
- Turn a triangulation into an adjacency matrix.
etc. |
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (18) |
| 12 Aug 2004 |
T U
|
|
|
| 13 Aug 2004 |
Eleonore A.
|
|
|
| 13 Sep 2004 |
Sandra Ogunya
|
|
|
| 28 Oct 2004 |
Walid M.
|
|
|
| 02 Nov 2004 |
xianwei Wang
|
|
|
| 28 Nov 2004 |
manhey yim
|
|
|
| 23 Feb 2005 |
sarma narasimha
|
|
|
| 14 Mar 2005 |
peng peng
|
|
|
| 30 Nov 2005 |
Jas Ellis
|
|
|
| 13 Feb 2006 |
Vassili Pas
|
|
|
| 17 Jul 2006 |
George Caminha
|
|
|
| 07 Oct 2006 |
Dine Dino
|
|
|
| 03 Jan 2007 |
Vishnuvenkatesh Dhage
|
|
|
| 27 Apr 2007 |
Poulpi Nou
|
|
|
| 20 Jul 2007 |
Norbert P.
|
|
|
| 02 Apr 2008 |
amr hesham
|
|
|
| 17 Oct 2009 |
Raymond Cheng
|
|
|
| 13 Dec 2011 |
bahar cham
|
|
|
| Updates |
| 11 Aug 2004 |
Added some corrections. |
| 29 Aug 2005 |
Added some tips. |
| 02 Jul 2007 |
Added new tips. |
| 19 Nov 2007 |
Update some tricks. |
|
Contact us at files@mathworks.com