Numerical integration problem (quad). with approximating polynomials.
1 回表示 (過去 30 日間)
古いコメントを表示
I have a function L = integral of (cp(t))/(h(t)(ts-t) for t from t1 to t2 ( L,t1,t2 are given )
where cp is a function of t and it is given in expression form cp(t)= ---- h is a function of t where h(t)=(cp)/( m * k) m is a function of t and it is given in expression form m(t)= ---- k is a function of t and it is given only and some discrete points ( 9 points of form (k(t),t))
we are asked to plot the degree 1,2,3,.... interpolating polynomial for the data, using normalized data then prompts to choose a degree of approximating polynomial, (abeg = beginning point), (bend =end point) , from which a ts is sought.
I want to used * Ts=fzero(@myfun,[abeg,bend],[],p1,p2...) * [vintegral]=quad(@myfun,t1,t2,[],[],p1,p2...)
where p1,p2... are the parameters needed to execute fzero and quad
Any help is highly highly appreciated.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Numerical Integration and Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!