Community Profile

photo


Last seen: 1 month ago Active since 2022

Programming Languages:
C++, MATLAB
Spoken Languages:
English, Japanese

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


累積平均の求め方を知りたいです
ビュフォンの針という、円周率をシュミレーションによって求める問題を研究しているmatlab初心者の学生です。 得られた値の累積平均が実際の円周率の値にどのように収束するか調べたいのですが、どのように累積平均を取ればいいのかわかりません。 教えていただき...

1 year ago | 1 answer | 0

1

answer

Question


ビュフォンの針のシミュレーション
格子に針を落とした時の針と講師が交わる確率を求めようとして下のコードを書きましたが、理論値と大きくずれてしまいます。 MATLAB初心者で見様見真似で作りました。コードのどこが間違っているか教えていただきたいです。(短いコードなのですべて投稿させていただ...

1 year ago | 0 answers | 0

0

answers

Question


1×2ベクトル内で条件を満たす列の数を求める方法を教えていただきたいです。
1 0 1 1 1 1 1 0 0 1 このような1×2ベクトル内で列内が下線のように2つの要素がともに1の列の個数を求める方法を教えていただきたいです。 この場合は2と出力されるのが望ましいです。

1 year ago | 1 answer | 0

1

answer

Question


Error in a simulation of Buffon's needle problem for lattice
Heello, every one. I had a proble in a script which is for a simulation of Buffon's needle problem for lattice. I am a beginne...

1 year ago | 0 answers | 0

0

answers

Question


How can I simulate Buffon's needle on MATLAB?
Good after noon, every one. I am studying what is called Buffon's needle at school. I am a beginner who has rarely used MATLAB...

1 year ago | 1 answer | 0

1

answer