Code covered by the BSD License  

Highlights from
MATLAB Tips & Tricks

4.0625

4.1 | 16 ratings Rate this file 19 Downloads (last 30 days) File Size: 125.45 KB File ID: #5642

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.

nice tks

13 Sep 2004 Sandra Ogunya

Its great and I found it really helpful.

28 Oct 2004 Walid M.

I can't download the file( is it because of Iexplorer?)
could you send it to me please?

02 Nov 2004 xianwei Wang  
28 Nov 2004 manhey yim

thanks man!!!

23 Feb 2005 sarma narasimha  
14 Mar 2005 peng peng

useful for student

30 Nov 2005 Jas Ellis

Some good tips.

13 Feb 2006 Vassili Pas

Never confuse i and j (which are variables with possible default values) and 1i and 1j which are ALWAYS imaginary units.

17 Jul 2006 George Caminha  
07 Oct 2006 Dine Dino

good

03 Jan 2007 Vishnuvenkatesh Dhage  
27 Apr 2007 Poulpi Nou

Cool!

20 Jul 2007 Norbert P.  
02 Apr 2008 amr hesham  
17 Oct 2009 Raymond Cheng

Thanks for your sharing.

13 Dec 2011 bahar cham  
Please login to add a comment or rating.
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.

Tag Activity for this File
Tag Applied By Date/Time
whitepaper Gabriel Peyre 22 Oct 2008 07:29:07
article Gabriel Peyre 22 Oct 2008 07:29:07
paper Gabriel Peyre 22 Oct 2008 07:29:07
matlab Gabriel Peyre 22 Oct 2008 07:29:07
tips Gabriel Peyre 22 Oct 2008 07:29:07
tricks Gabriel Peyre 22 Oct 2008 07:29:07
articles Gabriel Peyre 22 Oct 2008 07:29:07
hints Gabriel Peyre 22 Oct 2008 07:29:07
tools Gabriel Peyre 22 Oct 2008 07:29:07
help Gabriel Peyre 22 Oct 2008 07:29:07
text Gabriel Peyre 22 Oct 2008 07:29:08
tutorial Gabriel Peyre 22 Oct 2008 07:29:08
matlab Ricardo 10 Jun 2009 08:19:34

Contact us at files@mathworks.com