Community Profile

photo

Mingxuan


Last seen: 8 mesi fa Attivo dal 2022

Followers: 0   Following: 0

Statistiche

  • Thankful Level 2

Visualizza badge

Feeds

Visto da

Domanda


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

8 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta