Tony Phan
2018 年からアクティブ
統計
MATLAB Answers
2 質問
0 回答
ランク
of 143,099
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Content Feed
質問
I have a set of points S(0) that is closer to (0,0) than the edges of of a square with vertices (1,1),(1,-1),(-1,-1),(-1,1). I have the code and now i just need to modify it to estimate the area of S(0)
close all rng('Shuffle'); NumberInside = 0; PiEstimate = zeros(500,1); for k=1:500 x =...
約6年 前 | 1 件の回答 | 0
1
回答質問
I have a script already done I just need to add to the code so that i can run the code and store the index of the first 1 that occurs in a vector g. Can anyone help me add to the code to implement it?
for m = 1:200 x = zeros(200,1); x(m) = 1; x(1) = input('Enter initial positive integer:'); k = 1; whi...
約6年 前 | 1 件の回答 | 0