Binning by solid angle
7 ビュー (過去 30 日間)
古いコメントを表示
I have vectors distributed on the unit sphere that I would like to bin according to their Cartesian values (x,y,z) or their description in spherical coordinates (theta,phi). Ideally, the output would be the bin index for the given vector and I would like to be able to specify the total number of bins used.
I have thus far experimented using hista(thetas,phis,4*pi/angBin,S,'radians') with S=referenceSphere and angBin being the number of angular bins on the sphere.
However, the behaviour of the function is unexpected. Can anyone tell me how to use hista() properly or suggest an alternative method?
Thanks.
0 件のコメント
回答 (1 件)
Walter Roberson
2013 年 6 月 13 日
The documentation for hista does not show any syntax for calling with 5 parameters. The units parameter looks like it cannot be used with the reference shape. (I do not have the toolbox to examine the code to see if there would be a way to provide both.)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Polar Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!