photo

Christopher Pierro


2017년부터 활동

Followers: 0   Following: 0

통계

MATLAB Answers

3 질문
0 답변

순위
247,564
of 300,840

평판
0

참여
3 질문
0 답변

답변 채택
0.0%

획득한 표
0

순위
 of 21,092

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 171,238

참여
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

답변