From: Wayne King on 9 Apr 2010 06:17 "Tava Eurdanceza" <tava_cute(a)yahoo.com> wrote in message <hpm1c0$cga$1(a)fred.mathworks.com>... > "Wayne King" <wmkingty(a)gmail.com> wrote in message <hphl6s$rei$1(a)fred.mathworks.com>... > > "Tava Eurdanceza" <tava_cute(a)yahoo.com> wrote in message <hpgsg7$ck8$1(a)fred.mathworks.com>... > > > "Wayne King" <wmkingty(a)gmail.com> wrote in message <hnq3fa$i3n$1(a)fred.mathworks.com>... > > > > "Tava Eurdanceza" <tava_cute(a)yahoo.com> wrote in message <hnpc76$op8$1(a)fred.mathworks.com>... > > > > > Hello > > > > > I want to know how Adapting histfit.m to tfit.m? > > > > > I want to fitting my data using pdf t distribution > > > > > Thanks before > > > > > > > > Hi Tava, histfit() already supports the t distribution. You can use the 'tlocationscale' option in histfit. > > > > > > > > R = trnd(4,400,1); > > > > histfit(R,15,'tlocationscale') > > > > > > > > Hope that helps, > > > > Wayne > > > > > > > > > Thanks for your answer Sir. But what the mean about 15 in histfit(R,15,'tlocationscale')? > > > > > > Hi Tava, 15 is the number of bins used in constructing the histogram, see > > > > >>doc histfit > > > > Wayne > > oh..i see. Thanks so much Sir. But can we not use the number of bins? In order for the number of bins is determined automatically by matlab > > Tava Hi Tava, yes, please see the documentation for histfit() >>doc histfit R = trnd(2,500,1); histfit(R,[],'tlocationscale'); Wayne
First
|
Prev
|
Pages: 1 2 Prev: Simulink fixed step solver Next: How to count time stamps in a mat file |