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 year 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0