photo

Christopher Pierro


2017 年からアクティブ

Followers: 0   Following: 0

統計

MATLAB Answers

3 質問
0 回答

ランク
247,583
of 300,857

評判
0

コントリビューション
3 質問
0 回答

回答採用率
0.0%

獲得投票数
0

ランク
 of 21,097

評判
N/A

平均評価
0.00

コントリビューション
0 ファイル

ダウンロード
0

ALL TIME ダウンロード
0

ランク

of 171,361

コントリビューション
0 問題
0 解答

スコア
0

バッジ数
0

コントリビューション
0 投稿

コントリビューション
0 パブリック チャネル

平均評価

コントリビューション
0 ハイライト

平均いいねの数

Feeds

表示方法

質問


i've created a function to gather x and y coordinates from user, but i dont know how to call them out in program
function [abscissa,ordinate]=inputPoints(n) clc; s = 'Please enter points, one per point per line, in the form (#,...

8年以上 前 | 1 件の回答 | 0

1

回答

質問


created a function that inputs coordinate points like (1,2) in a loop for n number of points and keeps the x and y in seperate arrays. problem is it is only taking the first numbers entered... any clues?
function[x,y] = readCoordinates(n) x = zeros(n,1); y = zeros(n,1); for i = 1:n enterString = input('Pl...

8年以上 前 | 1 件の回答 | 0

1

回答

質問


I need to find the area of a circle using the monte carlo method the twist is i need to generate random points until the number that lie outside reach a specified number ie. 4*(#inside/inside+outside)=pi
I need to count the points that fall outside and inside and not stop till the number outside reach a specified number

8年以上 前 | 1 件の回答 | 0

1

回答