中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-13 22:40
47,812 topics / 349,916 posts / today 0 new / 48,268 members
网络日志(Blog) » [plp626]MATLAB Study Notes
Printable Version  6,510 / 7
Floor1 plp626 Posted 2008-05-15 08:28
银牌会员 Posts 1,020 Credits 2,278
Floor2 plp626 Posted 2008-05-15 08:31
银牌会员 Posts 1,020 Credits 2,278
Floor3 plp626 Posted 2008-05-15 08:31
银牌会员 Posts 1,020 Credits 2,278
Floor4 plp626 Posted 2008-06-29 19:42
银牌会员 Posts 1,020 Credits 2,278
```
%One level, one table, total (0.995 0.99 0.975 0.95 0.9 0.75 0.25 0.1 0.05 0.025 0.01 0.005) 12 tables

%Coefficient of variation starts from 0.01 with a step of 0.005, that is: 0.01:0.005:0.1
function r=main(r)
vectorn=4:7;
vectorv=0.01:0.005:0.1;

n=vectorn;v=vectorv;
fprintf('/** Upper quantile table of h with horizontal value r=.2f **/\n',r)
fprintf('───');xecho(length(v),'┬');fprintf('\n')
fprintf(' n\\v ')
for j=1:length(v) fprintf('│%8.3f ',v(j))
end
fprintf('\n───');xecho(length(v),'┼');fprintf('\n')

for i=1:length(n) %Degrees of freedom
fprintf('%5.1d ',n(i));
for j=1:length(v)
aa=finda(v(j),n(i),r);linjie=sqrt(n(i))/v(j);
%pause
if aa < linjie
fprintf('│%9.4f ',aa)
else
fprintf('│*%8.3f ',aa)
end
if j==length(v) fprintf('\n')
%fprintf(' Critical value: %8.4f\n',linjie)
end
end
end


fprintf('───');xecho(length(v),'┴');fprintf('\n')
%/*------------xecho--------------
function xecho(length,str)
for i=1:length*5
if rem(i,5)==1 fprintf('%s',str)
end
fprintf('─')
end
%--------------------------------*/
```
Floor5 plp626 Posted 2008-06-29 19:44
银牌会员 Posts 1,020 Credits 2,278
───┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────
n\v │ 0.010 │ 0.015 │ 0.020 │ 0.025 │ 0.030 │ 0.035 │ 0.040 │ 0.045 │ 0.050 │ 0.055 │ 0.060 │ 0.065 │ 0.070 │ 0.075 │ 0.080 │ 0.085 │ 0.090 │ 0.095 │ 0.100
───┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────
4 │* 306.880 │* 204.597 │* 153.458 │* 122.778 │* 102.326 │* 87.719 │* 76.766 │* 68.248 │* 61.434 │* 55.861 │* 51.217 │* 47.289 │* 43.923 │* 41.007 │* 38.455 │* 36.205 │* 34.205 │* 32.417 │* 30.808
5 │* 266.825 │* 177.893 │* 133.431 │* 106.755 │* 88.974 │* 76.275 │* 66.752 │* 59.346 │* 53.423 │* 48.578 │* 44.542 │* 41.127 │* 38.201 │* 35.666 │* 33.449 │* 31.493 │* 29.755 │* 28.201 │* 26.803
6 │ 242.2118 │ 161.4847 │ 121.1241 │ 96.9103 │ 80.7697 │ 69.2425 │ 60.5987 │ 53.8769 │ 48.5008 │ 44.1032 │ 40.4396 │ 37.3405 │ 34.6850 │ 32.3844 │ 30.3722 │ 28.5973 │ 27.0203 │ 25.6100 │ 24.3413
7 │ 225.4804 │ 150.3305 │ 112.7585 │ 90.2177 │ 75.1926 │ 64.4621 │ 56.4157 │ 50.1588 │ 45.1545 │ 41.0611 │ 37.6510 │ 34.7665 │ 32.2948 │ 30.1535 │ 28.2807 │ 26.6289 │ 25.1613 │ 23.8488 │ 22.6681
───┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────
Floor6 523066680 Posted 2008-07-23 16:29
银牌会员 Posts 1,133 Credits 2,361
Floor7 feijichang Posted 2008-09-11 00:41
新手上路 Posts 1 Credits 2
Floor8 qinchun36 Posted 2010-03-07 03:15
高级用户 Posts 400 Credits 609
So professional!
Can I ask what you do for a living? My graduation thesis is about using MATLAB to process images, but now I feel it's not useful at all, not as good as PS...
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023