1.0

1.0 | 2 ratings Rate this file 117 downloads (last 30 days) File Size: 46.49 KB File ID: #5240

Toolbox Misc

by Gabriel Peyre

 

13 Jun 2004 (Updated 19 Jul 2009)

Code covered by BSD License  

A bunch of useful functions.

Download Now | Watch this File

File Information
Description

toolbox_misc - a bunch of useful functions.
 
    List of functions:
        - keep_above - keep only the coefficients above threshold T, set the rest to zero.
        - keep_biggest - keep only the n biggest coef, set the rest to zero.
        - l2error - compute the decreasing of the L^2 error from orthogonal coefficients.
        - norme - just the L^2 norm of a vector/matrix
        - plot_curve - plot a 2d curve.
        - plot_scattered - plot 2D scattered data using triangulation.
        - rescale - rescale data in [a,b]
        - rev_sort_abs - sort by decreasing order of absolute value
        - reverse - flip a vector.
        - reverse_permutation - compute the inverse of a permuation
        - save_image - save current graphic with given base name
        - verbose - display a string.
        - build_vandermonde_matrix - build the Vandermonde matrix associdated to the sampling x.
        - clamp - clamp a value
        - mmax - maximum entry from a matrix
        - poly_derivate - compute the derivative of the polynomial
        - poly_root - find the roots of a polynomial
        - poly_val - evaluate a polynomial
        - remove_doublon - remove doublon from a vector.
 
    Copyright (c) 2004 Gabriel Peyré

MATLAB release MATLAB 6.5 (R13)
Zip File Content  
Other Files
__MACOSX/._toolbox_misc,
__MACOSX/toolbox_misc/._.DS_Store,
__MACOSX/toolbox_misc/._apply_tensorial.m,
__MACOSX/toolbox_misc/._array_get_dimension.m,
__MACOSX/toolbox_misc/._array_get_val.m,
__MACOSX/toolbox_misc/._array_set_dimension.m,
__MACOSX/toolbox_misc/._array_set_val.m,
__MACOSX/toolbox_misc/._build_vandermonde_matrix.m,
__MACOSX/toolbox_misc/._ccc.m,
__MACOSX/toolbox_misc/._cell_add.m,
__MACOSX/toolbox_misc/._clamp.m,
__MACOSX/toolbox_misc/._compute_all_patch.m,
__MACOSX/toolbox_misc/._compute_all_patch.m~,
__MACOSX/toolbox_misc/._compute_orthogonal_projection.m,
__MACOSX/toolbox_misc/._compute_patch_library.m,
__MACOSX/toolbox_misc/._compute_tensorial_operator.m,
__MACOSX/toolbox_misc/._compute_zeros.m,
__MACOSX/toolbox_misc/._crossp.m,
__MACOSX/toolbox_misc/._det3.m,
__MACOSX/toolbox_misc/._dist_eucl.m,
__MACOSX/toolbox_misc/._dist_sphere.m,
__MACOSX/toolbox_misc/._dump_struct.m,
__MACOSX/toolbox_misc/._eval_spline.m,
__MACOSX/toolbox_misc/._extract_subsquares.m,
__MACOSX/toolbox_misc/._get_color_from_index.m,
__MACOSX/toolbox_misc/._getoptions.m,
__MACOSX/toolbox_misc/._invmod.m,
__MACOSX/toolbox_misc/._keep_above.m,
__MACOSX/toolbox_misc/._keep_biggest.m,
__MACOSX/toolbox_misc/._l2error.m,
__MACOSX/toolbox_misc/._lexicmp.m,
__MACOSX/toolbox_misc/._matrix_sampling_add.m,
__MACOSX/toolbox_misc/._matrix_sampling_get.m,
__MACOSX/toolbox_misc/._matrix_sampling_set.m,
__MACOSX/toolbox_misc/._mmax.m,
__MACOSX/toolbox_misc/._mmin.m,
__MACOSX/toolbox_misc/._nb_dims.m,
__MACOSX/toolbox_misc/._norme.m,
__MACOSX/toolbox_misc/._num2string_fixeddigit.m,
__MACOSX/toolbox_misc/._perform_square_extraction.m,
__MACOSX/toolbox_misc/._play_movie.m,
__MACOSX/toolbox_misc/._plot_circle.m,
__MACOSX/toolbox_misc/._plot_scattered.m,
__MACOSX/toolbox_misc/._poly_derivate.m,
__MACOSX/toolbox_misc/._poly_root.m,
__MACOSX/toolbox_misc/._poly_val.m,
__MACOSX/toolbox_misc/._progressbar.m,
__MACOSX/toolbox_misc/._remove_doublon.m,
__MACOSX/toolbox_misc/._rescale.m,
__MACOSX/toolbox_misc/._rev_sort_abs.m,
__MACOSX/toolbox_misc/._reverse.m,
__MACOSX/toolbox_misc/._reverse_permutation.m,
__MACOSX/toolbox_misc/._set_thicklines.m,
__MACOSX/toolbox_misc/._shuffle.m,
__MACOSX/toolbox_misc/._toolbox_array.m,
__MACOSX/toolbox_misc/._toolbox_misc.m,
__MACOSX/toolbox_misc/._verbose_output.m,
license.txt,
toolbox_misc/.DS_Store,
toolbox_misc/apply_tensorial.m,
toolbox_misc/array_get_dimension.m,
toolbox_misc/array_get_val.m,
toolbox_misc/array_set_dimension.m,
toolbox_misc/array_set_val.m,
toolbox_misc/build_vandermonde_matrix.m,
toolbox_misc/ccc.m,
toolbox_misc/cell_add.m,
toolbox_misc/clamp.m,
toolbox_misc/compute_all_patch.m,
toolbox_misc/compute_all_patch.m~,
toolbox_misc/compute_orthogonal_projection.m,
toolbox_misc/compute_patch_library.m,
toolbox_misc/compute_tensorial_operator.m,
toolbox_misc/compute_zeros.m,
toolbox_misc/crossp.m,
toolbox_misc/det3.m,
toolbox_misc/dist_eucl.m,
toolbox_misc/dist_sphere.m,
toolbox_misc/dump_struct.m,
toolbox_misc/eval_spline.m,
toolbox_misc/extract_subsquares.m,
toolbox_misc/get_color_from_index.m,
toolbox_misc/getoptions.m,
toolbox_misc/invmod.m,
toolbox_misc/keep_above.m,
toolbox_misc/keep_biggest.m,
toolbox_misc/l2error.m,
toolbox_misc/lexicmp.m,
toolbox_misc/matrix_sampling_add.m,
toolbox_misc/matrix_sampling_get.m,
toolbox_misc/matrix_sampling_set.m,
toolbox_misc/mmax.m,
toolbox_misc/mmin.m,
toolbox_misc/nb_dims.m,
toolbox_misc/norme.m,
toolbox_misc/num2string_fixeddigit.m,
toolbox_misc/perform_square_extraction.m,
toolbox_misc/play_movie.m,
toolbox_misc/plot_circle.m,
toolbox_misc/plot_scattered.m,
toolbox_misc/poly_derivate.m,
toolbox_misc/poly_root.m,
toolbox_misc/poly_val.m,
toolbox_misc/progressbar.m,
toolbox_misc/remove_doublon.m,
toolbox_misc/rescale.m,
toolbox_misc/rev_sort_abs.m,
toolbox_misc/reverse.m,
toolbox_misc/reverse_permutation.m,
toolbox_misc/set_thicklines.m,
toolbox_misc/shuffle.m,
toolbox_misc/toolbox_array.m,
toolbox_misc/toolbox_misc.m,
toolbox_misc/verbose_output.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
18 Jan 2005 teuteu teuteu

ça a l'air pas mal ta ptite toolbox
mon vieux gab'

05 Dec 2005 Duane Hanselman

This collection of functions appear to duplicate what is inherently available in MATLAB. Those functions that are not in MATLAB can be resubmitted as individual files.

01 May 2006 Con Fused

What's the need of this toolbox?

25 Sep 2007 Jimmy Banker

i need poly_root to work, it is throwing an error at me

Error in ==> poly_root at 14
if size(P,1)==1 && size(P,2)==1

idk how to fix it

Please login to add a comment or rating.
Updates
11 Aug 2004

Added shuffle, build_vandermonde_matrix, clamp ...

27 Jun 2009

Update of Licence

19 Jul 2009

Modified license.

Tag Activity for this File
Tag Applied By Date/Time
root Gabriel Peyre 22 Oct 2008 07:23:54
polynomial Gabriel Peyre 22 Oct 2008 07:23:54
permutation Gabriel Peyre 22 Oct 2008 07:23:54
curve Gabriel Peyre 22 Oct 2008 07:23:54
scattered Gabriel Peyre 22 Oct 2008 07:23:54
vandermonde Gabriel Peyre 22 Oct 2008 07:23:54
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com