Selecting an answer

2 ビュー (過去 30 日間)
Sven
Sven 2011 年 11 月 7 日
Ok here's a brain-teaser type question. It's multiple choice. Enjoy :)
options = {'A','B','C','D};
myAnswer = options{randi(4)};
Now, what is the chance of "myAnswer" being correct for A,B,C,D below?
A) 25%
B) 50%
C) 60%
D) 25%
... and should I get the Statistics Toolbox to help me? :)
  5 件のコメント
Andrei Bobrov
Andrei Bobrov 2011 年 11 月 7 日
options{randi(4)} - 25% 25% 25% 25%
Sven
Sven 2011 年 11 月 7 日
This video may help:
http://www.youtube.com/watch?feature=player_embedded&v=evKYF1G_uDI

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

回答 (1 件)

LY Cao
LY Cao 2011 年 11 月 7 日
B, have any questions?
  1 件のコメント
Sven
Sven 2011 年 11 月 7 日
hehe... please show your working? ;)

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

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by