Software Listing of Author : "Carlos Adrian Vargas Aguilera"
- datevecfix.m
- License: Freeware
- Price: 0.00


This program is the same as DATEVEC but rounds the seconds, so, eliminates the problem with the 60 seconds not rounded value. It uses DATAVEC and takes a little time while checking the date components.
- Publisher: Carlos Adrian Vargas Aguilera
- Date Released: 11-03-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- ginput2.m
- License: Shareware
- Price:


Do you still use GINPUT to graphically select points on current axes with the mouse? Try this one! With GINPUT2 you can also: 1. ZOOM: in, out (double-click)! 2. PAN: when dragging! 3. DELETE: last selected point! 4. PLOT: while selecting! (optional, just input the line style!) 5. SCALE or GEOREFERENCE images! (optional, just input: true) So, besides of selecting points in a more precise way (zooming) you can DIGITIZE(!!!) lines with the last two options, by simply using: >> ginput2(true,'.k') Enjoy it! Bug reports and comments will be very appreciated!
- Publisher: Carlos Adrian Vargas Aguilera
- Date Released: 14-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- imagescnan.m (Aug 2009)
- License: Freeware
- Price: 0.00


Syntax: >> imagescnan(Z) % Uncolored NaNs >> imagescnan(Z,'k') % Colored IMAGESC is a good option when the user doesn't like the interpolating behaviour of SURF or PCOLOR, because EVERY element is drawn as a single pixel CENTERED with the axis value. The problem with this function is that it doesn't work properly with NaNs elements (although sometimes SURF neither does): they are drawn with the lower color of the current colormap. This functions uses IMAGESC but ignores the NaNs elements. The user can specify the NaNs color, a different color mask, or another value to be ignored. If the user gives X and Y data with no constant increment, PATCH is used instead of IMAGESC (this is experimental!). To freeze the colormap check COLORFREEZE and CBFREEZE here at the FileExchange. (Bugs reports and suggestions will be very appreciated)
- Publisher: Carlos Adrian Vargas Aguilera
- Date Released: 23-04-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- lick2smooth.m (Sep 2009)
- License: Freeware
- Price: 0.00


With this program you can smooth your data automatically only by selecting the area to be smoothed with 2 clicks. Then INTERP1 is used to smooth. The operation is repeated until you press ENTER. Many other options are available. Like the use of BEZIER curves. Just type >> help click2smooth Or to get started try >> V = click2smooth( rand(100,1) ); and press [H] on your keyboard to get some help. The input data may had NaNs! Is recommended to download my GINPUT2. For citation see: http://matlabwiki.mathworks.com/Citing_Fil...e_File_Exchange Enjoy it! Bugs reports and suggestion will be very appreciated!
- Publisher: Carlos Adrian Vargas Aguilera
- Date Released: 21-04-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- linkzoom.m (Aug 2009)(Scripts)
- License: Freeware
- Price: 0.00


LINKAXES links the axis limits of several axes. LINKZOOM links the ZOOM and PAN regions ignoring the axes limits, then, it can be used to link several axes with different limits. Usage: >> subplot(311) >> ... >> subplot(312) >> ... >> subplot(313) >> ... >> linkzoom % links all axes on current figure! and that's it. Make a zoom or a panning of any of the axes and the others will do the same! Other options are the figure or axes handles and the axis to be linked: 'x' or 'y' or both 'xy' (default). By now the panning is actualized on all axes until the mouse is released :P, any help? Check out the included example to notice the difference with LINKAXES. (Bugs reports and suggestions will be very appreciated)
- Publisher: Carlos Adrian Vargas Aguilera
- Date Released: 21-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- numcmp.m
- License: Shareware
- Price:


This program compares numerical arrays up to a certain precision. Examples: >> numcmp(x); % compares x==0.1 >> numcmp(x,'<=',y,3); % compares x<=y up to 0.001 See the screenshot for another example. This is usefull to compare serial dates up to 0.1 seconds by using: >> numcmp(time1*86400,FUN,time2*86400) and avoiding floating point problems with the serial dates in days.
- Publisher: Carlos Adrian Vargas Aguilera
- Date Released: 02-06-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- saveas2.m
- License: Shareware
- Price:


This function is a modification of SAVE2PDF by Gabe Hoffmann. It saves the current (or specified handle's) figure to the given filename (if not given, it displays a gui to introduce it). If the image extension is not valid or 'unknown' it also displays a menu with valid ones. It's as easy as SAVEAS but with extra inputs (all optionals). For example, to save the current figure to (defaults) PNG and 150x150 pixels use >> saveas2('myfigure') and that's it. Or to 300x300 pixels in JPG: >> saveas2('myfigure.jpg',300) Or as 'fig': >> saveas2('myfigure.fig') It accepts multiple inputs. Enjoy it! (Bugs reports ans suggestions will be very appreciated)
- Publisher: Carlos Adrian Vargas Aguilera
- Date Released: 15-06-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- tlabel.m (Sep 2009)
- License: Freeware
- Price: 0.00


This program places dates on time axis as DATETICK and works with ZOOM and PAN as DATETICKZOOM by Christophe Lauwerys. But, it also shows the full date after zooming or panning by using the ticks and time-axis label. So, if you zoom in down to second, you won't loose "when" you are. The input arguments are equal to those of DATETICK function, but if more than one axis handle is specified, they all will be LINKED! Also, some other options are available, for example, the use of LOCAL LANGUAGE for the months (default), or the use of an specific date format: 'DD HH:MM SS.FFF' for example. Besides, sometimes with DATETICK you don't get optimal results. This program (try to) fix this problem. Just use it after some plot function with days (see DATENUM) in one of his axis (time-axis): t = linspace(0,1) + now; x = rand(size(t));...
- Publisher: Carlos Adrian Vargas Aguilera
- Date Released: 21-05-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- velocity_triangulation.m
- License: Shareware
- Price:


This function finds the velocity of a 2-dimensional planar wave from at least 2 sensors, by specifying its location (x,y) or (lon,lat) and its respective arrival time. It returns the speed and direction (or tracking if coordinates were given): >> [VEL,DIR] = velocity_triangulation(x,y,time,TOL); where TOL is a tolerance time. You may get a figure with the results, like the one shown in the screenshot. Just take a look to the optional arguments. Enjoy it! Any comments and bugs reports will be very appreciated!
- Publisher: Carlos Adrian Vargas Aguilera
- Date Released: 16-05-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Wave packet dispersion and refration
- License: Shareware
- Price:


With several interactive windows it is seen a light wave packet refraction, a de Broglie wave packet dispersion, etc. The program is a GUI M file, and it's a good an example of how to pass data from one window to another. The comments are in spanish.
- Publisher: Carlos Adrian Vargas Aguilera
- Date Released: 20-06-2013
- Download Size: 41 KB
- Download
- Platform: Matlab, Scripts
