Hi,I am trying to fit normal distribution to a histogram. So, I'd like to choose N size equal to that for the histogram data. But irrespective of the N values I choose, I still get the default 101.;======================================================For example:
opt = True opt@N = 301 xave = 10. xsd = 3. ;xNorm = genNormalDist(xave,xsd,opt) xNorm = genNormalDist(xave,xsd,301)
printVarSummary(xNorm)
Variable: xNormType: floatTotal Size: 404 bytes 101 valuesNumber of Dimensions: 1Dimensions and sizes: [101]Coordinates: Number Of Attributes: 3 long_name : Normal Distribution x : <ARRAY of 101 elements> xsd : <ARRAY of 101 elements>;========================================================
Is something wrong with the function?
Thanks,
Hyacinthncl V6.1
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jun 19 08:20:02 2013
This archive was generated by hypermail 2.1.8 : Mon Jun 24 2013 - 11:46:47 MDT