photo

Christopher Pierro


Aktiv seit 2017

Followers: 0   Following: 0

Statistik

MATLAB Answers

3 Fragen
0 Antworten

RANG
90.759
of 300.331

REPUTATION
0

BEITRÄGE
3 Fragen
0 Antworten

ANTWORTZUSTIMMUNG
0.0%

ERHALTENE STIMMEN
0

RANG
 of 20.920

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG

of 168.124

BEITRÄGE
0 Probleme
0 Lösungen

PUNKTESTAND
0

ANZAHL DER ABZEICHEN
0

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Highlights

DURCHSCHNITTLICHE ANZAHL DER LIKES

Feeds

Anzeigen nach

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort