Feeds
질문
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.
function [estimatepi,c] = estimatepi9(tol) x=rand; y=rand; c=0; hits=rand; n= 0; hit=[]; error=[]; estimatepi=[]; to...
5년 초과 전 | 답변 수: 2 | 0
