Permalink
Browse files

formatting

  • Loading branch information...
1 parent 7c5c343 commit e7f0bd2606f549f90641b85b4963c9beca09e61c @fronx fronx committed Oct 31, 2011
Showing with 8 additions and 8 deletions.
  1. +4 −4 bingoprob.m
  2. +2 −2 makebingocard.m
  3. +2 −2 playbingo.m
View
8 bingoprob.m
@@ -1,12 +1,12 @@
function [avg,stddev,numturns] = bingoprob(numcards,numruns,...
sidelength,delta,freespace)
-if ~exist('numruns','var'), numruns = 1000; end
-if ~exist('numcards','var'), numcards = 1; end
+if ~exist('numruns','var'), numruns = 1000; end
+if ~exist('numcards','var'), numcards = 1; end
if ~exist('sidelength','var'), sidelength = []; end
-if ~exist('delta','var'), delta = []; end
-if ~exist('freespace','var'), freespace = []; end
+if ~exist('delta','var'), delta = []; end
+if ~exist('freespace','var'), freespace = []; end
[sidelength,delta,freespace] = ...
bingocarddefaults(sidelength,delta,freespace);
View
4 makebingocard.m
@@ -4,8 +4,8 @@
% with or without a free space in the middle
if ~exist('sidelength','var'), sidelength = []; end
-if ~exist('delta','var'), delta = []; end
-if ~exist('freespace','var'), freespace = []; end
+if ~exist('delta','var'), delta = []; end
+if ~exist('freespace','var'), freespace = []; end
[sidelength,delta,freespace] = ...
bingocarddefaults(sidelength,delta,freespace);
View
4 playbingo.m
@@ -7,8 +7,8 @@
if ~exist('numcards','var'), numcards = 1; end
if ~exist('sidelength','var'), sidelength = []; end
-if ~exist('delta','var'), delta = []; end
-if ~exist('freespace','var'), freespace = []; end
+if ~exist('delta','var'), delta = []; end
+if ~exist('freespace','var'), freespace = []; end
[sidelength,delta,freespace] = ...
bingocarddefaults(sidelength,delta,freespace);

0 comments on commit e7f0bd2

Please sign in to comment.