フィルターのクリア

count bins

1 回表示 (過去 30 日間)
George
George 2011 年 2 月 12 日
Hello, i need help in counting bins. I have this command in mathematica:
nBin = BinCounts[dataX, {-5 sX, 5 sX, step}]
,where datax is a matrix. How can i possible write it in matlab?

採用された回答

Matt Fig
Matt Fig 2011 年 2 月 12 日
I think you might need to use the HISTC function. Have a look at the help to see if it meets your needs.
  7 件のコメント
George
George 2011 年 2 月 13 日
The histc(datax(:), -5*sX:step:5*sX) worked just fine!Thank you!
Matt Tearle
Matt Tearle 2011 年 2 月 13 日
@WR: sorry, I missed George's first comment, so I missed the context of the discussion. Another thing to add to wish list, I think...

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeHistorical Contests についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by