Rank: 18 based on 1161 downloads (last 30 days) and 34 files submitted
photo

Carlos Adrian Vargas Aguilera

E-mail
Company/University
Universidad de Guadalajara, México
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
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 arrow, quiver, feather, quiver3, vector field 22 1
  • 5.0
5.0 | 1 rating
12 Nov 2009 Screenshot ginput2.m v3.1 (Nov 2009) Same as GINPUT but with ZOOM, PAN and (optionally) PLOT and image SCALE/GEOREFERENCE! Author: Carlos Adrian Vargas Aguilera georeference, ginput, digitize, zoom, double click, doble click 41 4
  • 4.75
4.8 | 4 ratings
12 Nov 2009 Screenshot der.m v1.0 (Nov, 2009) Estimates first derivative of an array by using POLYFIT locally on each point ignoring NaNs! Author: Carlos Adrian Vargas Aguilera diff, gradient, derivative, integral, smooth, polyfit 6 2
30 Oct 2009 Screenshot saveascii.m v6.2 (Oct 2009) Save or display a matrix with given precision, delimiter or format for each (or every) column! Author: Carlos Adrian Vargas Aguilera ascii, sprintf, save matrix, data import, save, fprintf 18 18
  • 4.4
4.4 | 15 ratings
02 Oct 2009 Screenshot velocity_triangulation.m v1.0 (Sep 2009) Triangulates velocity from a 2D planar wave. Author: Carlos Adrian Vargas Aguilera gps, wave, velocity, coordinates, measurement, triangulation 12 0
Comments and Ratings by Carlos Adrian View all
Updated File Comments Rating
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!

 

23 Oct 2009 Robust spline smoothing for 1-D to N-D data SMOOTHN allows automatized and robust smoothing in one and higher dimensions w/wo missing values Author: Damien Garcia

Welcome back!

20 Oct 2009 List files with specified suffix %GETFILELIST generates a list of files with specified suffix under topDir. Author: Shiquan Wang

You may use LS with wildcard '*' and that's it.

Comments and Ratings on Carlos Adrian's Files View all
Updated File Comment by Comments Rating
04 May 2012 moving_average v3.1 (Mar 2008) Smooths a matrix (with/without NaN's) via recursive moving average method and eliminates data gaps. Author: Carlos Adrian Vargas Aguilera Kottayil , AJIl

I would like to get a moving average function dealing with nan values

30 Apr 2012 extrema.m, extrema2.m Search all extrema points of a time series or a surface with/without NaN's. Author: Carlos Adrian Vargas Aguilera Couzi, Camille

Hola Carlos!
Thanks for your contribution.
I am having some issues though... I am using your function inside a script which uses fminsearch also... and getting the following error message:

Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
to change the limit. Be aware that exceeding your available stack space can
crash MATLAB and/or your computer.

Error in extrema

Error while evaluating uicontrol Callback

Help! How do I solve this problem!
 Gracias y muchos saludos!

27 Mar 2012 plots.m, plotses.m Plots each column of a matriz vs a single axis. Improvement of plotyyy. Author: Carlos Adrian Vargas Aguilera K, P

Thanks for the code, but I am getting the same error as Matt got:
Error in ==> plots at 62
set(gca,'Position',pos_fix); % New position

Error in ==> F_comparison at 94
[hlines,haxes]=plots(x,Y,location,labels);

22 Mar 2012 extrema.m, extrema2.m Search all extrema points of a time series or a surface with/without NaN's. Author: Carlos Adrian Vargas Aguilera raj

{surf(T,f,G'), shading interp
      [Gmax,imax,Gmin,imin] = extrema2(G);
      hold on
       plot3(T(imax),f(imax),Gmax,'bo')
       for i = 1:length(Gmax)
        text(x(imax(i)),y(imax(i)),zmax(i),[' ' num2str(zmax(i))])
       end
       hold off}
My problem is the T,f,G are of different sizes and an error comes up saying '??? Index exceeds matrix dimensions.' any suggestions please help

22 Mar 2012 extrema.m, extrema2.m Search all extrema points of a time series or a surface with/without NaN's. Author: Carlos Adrian Vargas Aguilera raj

I have a problem while using it for an array can u explain an example as u did it for a vector please, I am a begginer with this stuff

Top Tags Applied by Carlos Adrian
signal processing, smooth, spectral analysis, annotation, colorbar
Files Tagged by Carlos Adrian View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
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 arrow, quiver, feather, quiver3, vector field 22 1
  • 5.0
5.0 | 1 rating
12 Nov 2009 Screenshot ginput2.m v3.1 (Nov 2009) Same as GINPUT but with ZOOM, PAN and (optionally) PLOT and image SCALE/GEOREFERENCE! Author: Carlos Adrian Vargas Aguilera georeference, ginput, digitize, zoom, double click, doble click 41 4
  • 4.75
4.8 | 4 ratings
12 Nov 2009 Screenshot der.m v1.0 (Nov, 2009) Estimates first derivative of an array by using POLYFIT locally on each point ignoring NaNs! Author: Carlos Adrian Vargas Aguilera diff, gradient, derivative, integral, smooth, polyfit 6 2
30 Oct 2009 Screenshot saveascii.m v6.2 (Oct 2009) Save or display a matrix with given precision, delimiter or format for each (or every) column! Author: Carlos Adrian Vargas Aguilera ascii, sprintf, save matrix, data import, save, fprintf 18 18
  • 4.4
4.4 | 15 ratings
02 Oct 2009 Screenshot velocity_triangulation.m v1.0 (Sep 2009) Triangulates velocity from a 2D planar wave. Author: Carlos Adrian Vargas Aguilera gps, wave, velocity, coordinates, measurement, triangulation 12 0

Contact us at files@mathworks.com