photo

Christopher Pierro


自 2017 起处于活动状态

Followers: 0   Following: 0

统计学

MATLAB Answers

3 个提问
0 个回答

排名
90,625
of 299,763

声誉
0

贡献数
3 个提问
0 个回答

回答接受率
0.0%

收到投票数
0

排名
 of 20,798

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名

of 165,797

贡献数
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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0

1

个回答