Write a MATLAB function that will integrate discrete da

8 ビュー (過去 30 日間)
ruwi
ruwi 2017 年 4 月 21 日
コメント済み: Walter Roberson 2017 年 4 月 21 日
Could some please give me the answer for this question on MATLAB?
Write a MATLAB function that will integrate discrete data, using Simpson's rules (1/3rd and 3/8th ) where possible and trapezoidal rule elsewhere. You must use the following variables for your function input arguments: x and y. Where y represents a vector of values dependent on the corresponding values in vector x. The user of the function will input two vectors into your compsite_integration function. You must use the variable int_y_dx for your function output. This will represent the integration of area covered by x and y.

回答 (0 件)

カテゴリ

Help Center および File ExchangeNumerical Integration and Differential Equations についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by