Rank: 307 based on 206 downloads (last 30 days) and 3 files submitted
photo

Arturo Serrano

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Arturo View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Jun 2009 Screenshot Tab panel Copy Creates replicas of a panel created using GUIDE that works like a tab panel. Author: Arturo Serrano tabpanel, guide, gui, panel, tab, replicate 11 1
  • 5.0
5.0 | 1 rating
28 Jan 2009 Screenshot Normalized histogram Same as histogram, but the area sum is 1. Author: Arturo Serrano histogram, normalized 193 10
  • 4.0
4.0 | 6 ratings
11 Dec 2008 objfun Apply a function to each object of an object array. Author: Arturo Serrano cellfun, object, vectorization, array 2 0
Comments and Ratings by Arturo View all
Updated File Comments Rating
19 Oct 2011 Framing Routines Functions for division of a vector into overlapped frames and its reconstruction back from frames. Author: Kamil Wojcicki
04 Oct 2010 Normalized histogram Same as histogram, but the area sum is 1. Author: Arturo Serrano

Hi Anne,
you can change the colors by setting properties from the matlab command window. This should does the trick:

>> set (findobj (gca, 'type', 'patch'), 'edgecolor', [0.5 0.5 0.5], 'facecolor', [0.1 0.1 0.1]);

Edgecolor and facecolor values are the RGB values for bin colors (you can use letters also as plot does).

22 Mar 2010 Label connected components in 2-D array LABEL is a generalization of BWLABEL Author: Damien Garcia
26 Feb 2009 waitbar with time estimation Estimated remaining, elapsed time, and percentage complete. Author: Andrew
12 Jan 2009 Multicore - Parallel processing on multiple cores This package realizes parallel processing on multiple cores/machines. Author: Markus Buehren
Comments and Ratings on Arturo's Files View all
Updated File Comment by Comments Rating
04 Sep 2011 Normalized histogram Same as histogram, but the area sum is 1. Author: Arturo Serrano Prattico, Flavio

Great!!!

18 Aug 2011 Normalized histogram Same as histogram, but the area sum is 1. Author: Arturo Serrano Bob

disregard above comment about the mean...

18 Aug 2011 Normalized histogram Same as histogram, but the area sum is 1. Author: Arturo Serrano Bob

Doesn't seem to work with non-zero mean data sets. I found that the code below works better. It can not handle the case where you specify your own bin widths. But it can handle a matrix of data.
e.g.: histnorm([randn(1e3,1) randn(1e3,1)+8],50)

function varargout = histnorm(varargin)

len = size(varargin{1});
n = len(2);
[xo,no] = hist (varargin{:});
binwidths = diff(no);
xonorm = xo/sum (xo .* (binwidths(1)*ones(size(xo))))*n;
bar(no,xonorm);

13 Oct 2010 Normalized histogram Same as histogram, but the area sum is 1. Author: Arturo Serrano Calder, Anne

Thank you! Works perfect!

04 Oct 2010 Normalized histogram Same as histogram, but the area sum is 1. Author: Arturo Serrano Serrano, Arturo

Hi Anne,
you can change the colors by setting properties from the matlab command window. This should does the trick:

>> set (findobj (gca, 'type', 'patch'), 'edgecolor', [0.5 0.5 0.5], 'facecolor', [0.1 0.1 0.1]);

Edgecolor and facecolor values are the RGB values for bin colors (you can use letters also as plot does).

Top Tags Applied by Arturo
tabpanel, array, camera, cellfun, gui
Files Tagged by Arturo View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
07 Feb 2011 Screenshot Rotate X-axis tick labels Rotate x-tick labels to any angle, preserving font settings and coping with resize, zoom, pan etc Author: Ben Tordoff plotting, xtick 96 19
  • 5.0
5.0 | 4 ratings
31 Jul 2009 Screenshot Image Aquisition Three VC++ MEX projects enabling simple access to any VfW-source (with multiple cam support). Author: Eric videoinput, ocvgrab, opencv, vfm, mex, vfw 18 1
25 Jun 2009 Screenshot Tab panel Copy Creates replicas of a panel created using GUIDE that works like a tab panel. Author: Arturo Serrano tabpanel, guide, gui, panel, tab, replicate 11 1
  • 5.0
5.0 | 1 rating
28 Jan 2009 Screenshot Normalized histogram Same as histogram, but the area sum is 1. Author: Arturo Serrano histogram, normalized 193 10
  • 4.0
4.0 | 6 ratings
11 Dec 2008 objfun Apply a function to each object of an object array. Author: Arturo Serrano cellfun, object, vectorization, array 2 0

Contact us at files@mathworks.com