|
363 | 363 | end |
364 | 364 |
|
365 | 365 | warndlg('The data are not uniformly spaced') |
366 | | -% ctlim=0; |
367 | | - |
368 | | - % allow users type three times |
369 | | - |
370 | | -% while ctlim < 3 |
371 | | -% |
372 | | -% ctlim=fix(ctlim+1); |
373 | | -% |
374 | | -% if(ctlim > 5) |
375 | | -% [writeErrFlag]=writeFmt(1,[]); |
376 | | -% [writeErrFlag]=writeFmt(1,['%c'],''' *** No response registered ***'''); |
377 | | -% [writeErrFlag]=writeFmt(1,['%c'],''' Stopping...'''); |
378 | | -% end |
379 | | -% |
380 | | -% [writeErrFlag]=writeFmt(1,[]); |
381 | | -% [writeErrFlag]=writeFmt(1,[format_22],'ndata'); |
382 | | -% [writeErrFlag]=writeFmt(1,[]); |
383 | | -% [writeErrFlag]=writeFmt(1,['%c'],''' Do you want to stop the program here?'''); |
384 | | -% [writeErrFlag]=writeFmt(1,['%c'],''' (e.g. if the no. of points is incorrect)'''); |
385 | | -% |
386 | | -% if(nirr == 1) |
387 | | -% [writeErrFlag]=writeFmt(1,['%c'],''' (or the data are meant to be uniformly spaced)'''); |
388 | | -% end |
389 | | -% |
390 | | -% [writeErrFlag]=writeFmt(1,['%c'],''' Proceed = P'''); |
391 | | -% [writeErrFlag]=writeFmt(1,['%c'],''' Stop the program = S'''); |
392 | | - |
393 | | - %lmn=strAssign(lmn,[],[],input('','s')) |
394 | | -% lmn = input('','s'); |
395 | | -% |
396 | | -% if(strcmp(deblank(lmn),deblank('P')) || strcmp(deblank(lmn),deblank('p'))) |
397 | | -% tempBreak=1; |
398 | | -% break; |
399 | | -% end |
400 | | -% |
401 | | -% if(strcmp(deblank(lmn),deblank('S'))||strcmp(deblank(lmn),deblank('s'))) |
402 | | -% return |
403 | | -% end |
404 | | -% |
405 | | -% if(ios ~= 0) |
406 | | -% |
407 | | -% [writeErrFlag]=writeFmt(1,[]); |
408 | | -% [writeErrFlag]=writeFmt(1,['%c'],''' *** Enter P or S ***'''); |
409 | | -% |
410 | | -% continue; |
411 | | -% |
412 | | -% end |
413 | | -% end |
414 | | - |
| 366 | + |
415 | 367 | else |
416 | 368 |
|
417 | 369 | if(tintmax ~= tintmin) |
|
987 | 939 |
|
988 | 940 | % Step 1 of Miller et al. (2001): Sort probabilities observed |
989 | 941 | % (smallest to largest alpha). |
990 | | -%alphsort = alphob; |
991 | | -alphsort = [0;alphob]; % debug, add 0 |
| 942 | +alphsort = alphob; |
992 | 943 | alphsort = hpsort(alphsort); |
993 | 944 |
|
994 | 945 | % Allow for correlation of spectral estimates by setting CN. |
|
0 commit comments