Rank: 2124 based on 41 downloads (last 30 days) and 2 files submitted
photo

Marc

E-mail

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Files Posted by Marc View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Sep 2008 Peirce's method Applies Peirce's method for outlier rejection Author: Marc statistics, probability, rejection, outlier, peirce 14 1
22 Sep 2008 demorse Converts audio of morse code into English text. Author: Marc convert, morse, sound, morse code, audio, utilities 27 1
  • 5.0
5.0 | 1 rating
Comments and Ratings by Marc
Updated File Comments Rating
01 May 2009 How fast is your graphics card? Creates a challenging 3-d benchmark for graphics processing speed measurement. Author: Michael Kleder

1.5 on Mac.

any idea how this compares to other vid benchmarking?

Comments and Ratings on Marc's Files View all
Updated File Comment by Comments Rating
05 Oct 2008 demorse Converts audio of morse code into English text. Author: Marc Al Mahmood, Fahad

I loved it very much! You did exactly what I wanted to do long time ago but I was so lazy to do it. Congratulations :)

30 Sep 2008 Peirce's method Applies Peirce's method for outlier rejection Author: Marc ., MarC

Here is some code that uses the fxn. Copy and paste-able.

% generate random data:

pop_mean = 20;
pop_sd = 2;

% 1) to see how method works on random samples drawn from a normal distribution, use
% this dataset
sample_data1 = pop_mean + pop_sd*randn(1, 25);

% 2) to see how method works on random data that has built-in tendency to
% include outliers, use this method
sample_data2 = pop_mean + pop_sd*randn(1, 20);
% add in 1-4 obs of potentially outlying data
funny_data1 = pop_mean + 2*pop_sd + 3*pop_sd*rand(1, 2 + round(rand(1)));
funny_data2 = pop_mean + 4*pop_sd*randn(1,4);

sample_data2 = [sample_data2 funny_data2];

% 3) Ross example data; contains 2 points which will be rejected by Peirce's
% method

Ross_data = [101.2, 90.0, 99.0, 102.0, 103.0, 100.2, 89.0, 98.1, 101.5, 102.0];
    
% pick which dataset should be used

%mydata = Ross_data;
mydata = sample_data2;

% shuffle data, for the fun of it
mydata = mydata(randperm(length(mydata)));

% apply peirce criterion

[cleaned_data outlier_data] = apply_peirce(mydata);

% prep data for display

% make filter -- to help with display purposes -- (might want to make this
% part of apply_peirce.m)
pass_peirce = zeros(size(mydata));
for j=1:length(cleaned_data)
   pass_peirce = pass_peirce | mydata == cleaned_data(j);
end

obs_index = 1:length(mydata);

% plot data (kept == blue circles) and outliers (red x's)

figure(1);

plot(obs_index, mydata, '.k');
hold on;
plot(obs_index(pass_peirce), mydata(pass_peirce), 'ob', 'MarkerSize', 10);
plot(obs_index(~pass_peirce), mydata(~pass_peirce), 'xr', 'MarkerSize', 15);
hold off;

set(gca, 'XLim', [0 length(mydata)+1]);
set(gca, 'YLim', [min(mydata)-1 max(mydata)+1]);

xlabel('Observation Index');
ylabel('Variable of Interest');

title('Sample Data as Categorized by Peirce Criterion')
legend('datapoint', 'included', 'outlier', 'Location', 'SouthOutside')

Top Tags Applied by Marc
audio, convert, morse, morse code, outlier
Files Tagged by Marc View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Sep 2008 Peirce's method Applies Peirce's method for outlier rejection Author: Marc statistics, probability, rejection, outlier, peirce 14 1
22 Sep 2008 demorse Converts audio of morse code into English text. Author: Marc convert, morse, sound, morse code, audio, utilities 27 1
  • 5.0
5.0 | 1 rating
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com