Mingxuan
Followers: 0 Following: 0
Feeds
질문
Error in Hermite Polynomial
Hermite_Polynomial.m function Q = Hermite_Polynomial(X, Y, YP) n = length(X) - 1; Q = zeros(2*n + 2, 2*n + 2); ...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
put it in a function
How would I put the following code in a in script function with a function name calc_pi(n). count = 0; for i = 1:N u = ra...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
The approximation error of Monte-Carlo method
Define the in-script function calc_pi(n) which inplements the Monte-Carlo method to approximate pi with n points generated. th...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
How to define a function with summation.
how would I define a function named ccsum , whose inputs are function handle f and the total number of terms for summation k. Th...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
I tried to create a mid point formula and trapezoid formula in Matlab and solve a integral using it but I'm not getting the same result as the build in function.
we are trying to use these two formula to approximate a integral value. instead of using the build in function of format lon...
대략 2년 전 | 답변 수: 1 | 0