Statistics
RANK
125,936
of 301,383
REPUTATION
0
CONTRIBUTIONS
1 Question
2 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
0
RANK
of 21,252
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 174,306
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Question
how to plot pi estimation using two for loops
N = 10000; count=0; for i=1:N x=rand(); y=rand(); if x^2+y^2<=1 count=count+1; else %for j=1...
3 years ago | 1 answer | 0
1
answerAnswered
I am new to Maltlab, i wanted to use a while loop to calculate pi using Montecarlo method. the code below is not giving me any answer can anyone help please.
%hi all i'm new to matlab i wanted to estimate PI valuve using two loops of for (and plot the result).. can you help me! N = 10...
I am new to Maltlab, i wanted to use a while loop to calculate pi using Montecarlo method. the code below is not giving me any answer can anyone help please.
%hi all i'm new to matlab i wanted to estimate PI valuve using two loops of for (and plot the result).. can you help me! N = 10...
3 years ago | 0
