photo

Christopher Pierro


Attivo dal 2017

Followers: 0   Following: 0

Statistica

MATLAB Answers

3 Domande
0 Risposte

RANK
247.964
of 301.213

REPUTAZIONE
0

CONTRIBUTI
3 Domande
0 Risposte

ACCETTAZIONE DELLE RISPOSTE
0.0%

VOTI RICEVUTI
0

RANK
 of 21.191

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK

of 173.422

CONTRIBUTI
0 Problemi
0 Soluzioni

PUNTEGGIO
0

NUMERO DI BADGE
0

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

Feeds

Visto da

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta