Rank: 1572 based on 38 downloads (last 30 days) and 5 files submitted
photo

Mauro

E-mail

Personal Profile:
Professional Interests:
datanalysis and processdesign

 

Watch this Author's files

 

Files Posted by Mauro View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 May 2011 Cpk capability index with NaN's calculates Cpk value and confidence intervall with matrices containing NaN's Author: Mauro cpk, nan, process, capability, index, ci 1 0
11 Mar 2010 Screenshot cumulativ statistic cumstat calculate the mean and std of an array from 1 to n Author: Mauro cumulative, cumulativ, statistic, mean, std, s 2 0
11 Mar 2010 Screenshot cumulative statistic with NaN's cumstat calculate the mean and std of an array with NaN's from 1 to n Author: Mauro cumulative cumulativ, statistic, mean, std, s, m 2 0
11 Mar 2010 samplepick pick a random sample out of an array Author: Mauro statistics, simulation, random, sample, samples, sampling 1 2
18 Sep 2009 Screenshot bihist (back to back histogram) create a back-to-back histogram Author: Mauro statistics, back, back to back, hist, histogram, bihistogram 32 3
  • 5.0
5.0 | 1 rating
Comments and Ratings by Mauro View all
Updated File Comments Rating
09 Sep 2010 Sub-Sample Peak Fitting 2D Find sub-sample location of global maximum in a 2-dimensional numerical matrix. Author: Eric

thx a lot :-) i use it for track movements on a avi-video

10 Mar 2010 samplepick pick a random sample out of an array Author: Mauro

jep, and it's faster ;-) ...

07 Oct 2009 bihist (back to back histogram) create a back-to-back histogram Author: Mauro

Thx, i hope you like the new version

18 Mar 2009 bihist (back to back histogram) create a back-to-back histogram Author: Mauro

new version is on the way

Comments and Ratings on Mauro's Files View all
Updated File Comment by Comments Rating
10 Mar 2010 samplepick pick a random sample out of an array Author: Mauro Mauro

jep, and it's faster ;-) ...

10 Mar 2010 samplepick pick a random sample out of an array Author: Mauro Rowland, Darren

The function randperm is practically ready-made for this application. To draw a subset, s, of size m from a dataset, d, of size n, one can simply do

perm = randperm(n);
s = d(perm(1:m));

07 Oct 2009 bihist (back to back histogram) create a back-to-back histogram Author: Mauro Mauro

Thx, i hope you like the new version

09 Sep 2009 bihist (back to back histogram) create a back-to-back histogram Author: Mauro Anastasia

%Just edited this one a bit to have more consistency in setting %colours and to keep the variable names a bit more clear %(left/right).
%Also, I put the scale back in and the histograms are now on the %same scale, although it shows a negative value on the left at %the moment.
%Hope it's a useful addition.

% BIHIST(X1,X2,N) open a new figure an plot a back to back histogram
% X1: variable 1 (right side, colour blue)
% X2: variable 2 (right side, colour green)
% n : number of classes for each histogramm

% make two dummy-histogram
[temp, d1] = hist(x1,n);
[temp, d2] = hist(x2,n);
clear temp
% calculate classes
d = min([d1 d2]):((max([d1 d2])-min([d1 d2]))/(n-1)) : max([d1 d2]);
% create the two histograms
templ = hist(x1,d);
tempr = hist(x2,d);
% scaling the histograms
%temp1 = temp1/sum(temp1);
%temp2 = temp2/sum(temp2)*-1;
templ=templ*-1
% create bar plot
left=barh(templ,'style','hist')
hold on
right = barh(tempr,'style','hist');
plot([0 0], [1 n],'k')
% change color of left histogram
set(left,'FaceColor',[0 0 1]);
% change color of right histogram
set(right,'FaceColor',[0 1 0]);
%clear the x-axis
%set(gca,'XTick',0)
%set(gca,'XTickLabel',{''})
dt=1.2;
xlim([-max(abs([templ tempr]))*dt max(abs([templ tempr]))*dt])
% mark the y-axis
yl = get(gca,'YTick');
b = (max(d)-min(d))/(n-1);
a = max(d)-b*n;
yl2 = yl*b+a;
ds = cell(size(yl2));
for k=1:length(yl2)
    ds{k} = num2str(yl2(k),3);
end
set(gca,'YTickLabel',ds)
clear k

18 Mar 2009 bihist (back to back histogram) create a back-to-back histogram Author: Mauro Mauro

new version is on the way

Top Tags Applied by Mauro
statistics, deviation, enumerativ, enumerative, m
Files Tagged by Mauro View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 May 2011 Cpk capability index with NaN's calculates Cpk value and confidence intervall with matrices containing NaN's Author: Mauro cpk, nan, process, capability, index, ci 1 0
11 Mar 2010 Screenshot cumulativ statistic cumstat calculate the mean and std of an array from 1 to n Author: Mauro cumulative, cumulativ, statistic, mean, std, s 2 0
11 Mar 2010 Screenshot cumulative statistic with NaN's cumstat calculate the mean and std of an array with NaN's from 1 to n Author: Mauro cumulative cumulativ, statistic, mean, std, s, m 2 0
11 Mar 2010 samplepick pick a random sample out of an array Author: Mauro statistics, simulation, random, sample, samples, sampling 1 2
18 Sep 2009 Screenshot bihist (back to back histogram) create a back-to-back histogram Author: Mauro statistics, back, back to back, hist, histogram, bihistogram 32 3
  • 5.0
5.0 | 1 rating

Contact us at files@mathworks.com