photo

Christopher Pierro


Active since 2017

Followers: 0   Following: 0

Statistics

MATLAB Answers

3 Questions
0 Answers

RANK
297 249
of 298 641

REPUTATION
0

CONTRIBUTIONS
3 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 20 635

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 161 878

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

Feeds

View by

Question


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 (#,...

ungefär 8 år ago | 1 answer | 0

1

answer

Question


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...

ungefär 8 år ago | 1 answer | 0

1

answer

Question


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

ungefär 8 år ago | 1 answer | 0

1

answer