photo

Mingxuan


Last seen: mehr als ein Jahr vor Aktiv seit 2022

Followers: 0   Following: 0

Statistik

  • Thankful Level 2

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort