Rank: 25 based on 1475 downloads (last 30 days) and 37 files submitted
photo

Carlos Adrian Vargas Aguilera

E-mail
Company/University
Universidad de Guadalajara, Mexico
Lat/Long
20.658348, -103.326065

Personal Profile:

Playing with Matlab as a hobby... isn't it fun?

Professional Interests:
spectral analysis, oceanography and meteorology

 

Watch this Author's files

 

Files Posted by Carlos Adrian View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
07 Jul 2014 Screenshot xunits, yunits and zunits.m (Jul 2014) Add unit (and prefix) to your axis labels. Author: Carlos Adrian Vargas Aguilera units, xlabel, title, scientific notation, exponential notation, international system ... 56 1
  • 5.0
5.0 | 1 rating
03 Jul 2014 Screenshot COLORMAP and COLORBAR utilities (Jul 2014) MATLAB color utilities including COLORMAP join and interpolation; freeze and fit COLORBAR, etc. Author: Carlos Adrian Vargas Aguilera color, caxis, colormap, colorbar, colormapeditor, setcolormaps 292 30
  • 4.23529
4.2 | 17 ratings
03 Jan 2014 Screenshot fitsize.m v1 (Jan 2014) Forces arrays to have the same size by replications of the singleton dimensions. Author: Carlos Adrian Vargas Aguilera repmat, bsxfun, cellfun, arrayfun, deal, cell 9 0
22 Jul 2013 Screenshot evalit.m v3 (Jul 2013) Evaluates a mathematical expression and rounds it accordingly to the error propagation theory. Author: Carlos Adrian Vargas Aguilera error propagation, significant figures, precision, order of magnitude, round, roundn 18 0
12 Nov 2009 Screenshot quiver2.m v1.2 (Nov 2009) Same as QUIVER, QUIVER3 or FEATHER but with colored, normalized, widened and ARROW's! Author: Carlos Adrian Vargas Aguilera quiver, quiver3, feather, arrow, vector field 33 2
  • 4.5
4.5 | 2 ratings
Comments and Ratings by Carlos Adrian View all
Updated File Comments Rating
03 Jul 2014 One Dimensional Travelling wave with transparent and reflecting Boundaries 2-D Finite-Difference simulations of a 1-D travelling wave along positive x-axis. Author: Praveen Ranganath

Nice, Check out also my ondas:

http://www.mathworks.com/matlabcentral/fileexchange/4238-wave-packet-dispersion-and-refration

05 Jun 2014 COLORMAP and COLORBAR utilities (Jul 2014) MATLAB color utilities including COLORMAP join and interpolation; freeze and fit COLORBAR, etc. Author: Carlos Adrian Vargas Aguilera

Thank you all for your comments. Now the scientific notation 'x10' issues are fixed (well I guess so), and a new way to write it included: using International System Units' prefixes (mega, kilo, etc.).

Cheers, Carlos A.

17 Nov 2009 imagescnan.m v2.1 (Aug 2009) Same as IMAGESC but ignores NaNs. Author: Carlos Adrian Vargas Aguilera

Yes Olivier, or with:
>> imagesc(U,'AlphaData',~isnan(U),'AlphaDataMapping','none')
I just wanted to be able to paint NaNs with specifyc color without modifying the axes color.
Probably I should include this "transparent" option. Thank you!

Carlos

12 Nov 2009 % MATLAB Comment Stripping Toolbox A small collection of utilities for stripping MATLAB comments from strings and files. Author: Peter J. Acklam

Oh, besides of the NOT ignored lines after "...", also grouped comments are NOT ignored:
%{
bla
bla
%}
Carlos

12 Nov 2009 % MATLAB Comment Stripping Toolbox A small collection of utilities for stripping MATLAB comments from strings and files. Author: Peter J. Acklam

Great functions. Only my comments after a three points were left!

Comments and Ratings on Carlos Adrian's Files View all
Updated File Comment by Comments Rating
09 Jul 2014 extrema.m, extrema2.m Search all extrema points of a time series or a surface with/without NaN's. Author: Carlos Adrian Vargas Aguilera karlosgk

08 Jul 2014 xunits, yunits and zunits.m (Jul 2014) Add unit (and prefix) to your axis labels. Author: Carlos Adrian Vargas Aguilera Simon, Jan

I did not run it yet, butthe code looks really nice an clear. The documentation is useful and considers all of the Matlab standards. The comments in the code are meaningful, such that the user can understand, what is going on.

I would avoid calling an anonymous function in the CASE conditions and prefer hard coding. Then it would become clear, if 'deca' is prefered to 'deci' due to the initial leading 'dec'.

There is a typo in 'mili', which needs a 2nd 'l'. The three functions are almost equal, so it could be worth to combine them to improve the maintainability. E.g. that YUNITS calls XUNITS with an additional input argument to determine the axis.

05 Jun 2014 COLORMAP and COLORBAR utilities (Jul 2014) MATLAB color utilities including COLORMAP join and interpolation; freeze and fit COLORBAR, etc. Author: Carlos Adrian Vargas Aguilera Vargas Aguilera, Carlos Adrian

Thank you all for your comments. Now the scientific notation 'x10' issues are fixed (well I guess so), and a new way to write it included: using International System Units' prefixes (mega, kilo, etc.).

Cheers, Carlos A.

30 May 2014 COLORMAP and COLORBAR utilities (Jul 2014) MATLAB color utilities including COLORMAP join and interpolation; freeze and fit COLORBAR, etc. Author: Carlos Adrian Vargas Aguilera Pieter

Hello,

The function works very nicely, especially in combination with the freezeColors function :-)

However, it doesn't work with the lcolorbar. I'm mainly interested in this because I use colors to encode/visualize categories rather than actual values, where lcolorbar is very easy to add a label. Any quick fix in mind? I'll try to fix it by adding labels on the normal colorbar manually in the meantime.

Cheers,

Pieter

21 May 2014 linkzoom.m v1.3 (Aug 2009) Links the ZOOM and PAN regions of different axes. Author: Carlos Adrian Vargas Aguilera Zimmerman, Josh

this file works great, but you have to make sure your axes sizes are the same. If you use a function like multiplotyyy with this which creates different sized axis it will skew the x axis in the zooming. (see jsplotys.m which is a is similar to multiplotyyy.m, but lets you use linkzoom.m)

Contact us