필터 지우기
필터 지우기

How do i intergrate a signal (sinewave)?

조회 수: 4 (최근 30일)
ken thompson
ken thompson 2012년 2월 21일
Using "INT(sinewave)" gives the error "Undefined function or method 'int' for input arguments of type 'double'" i dont know what this means. How do i intergrate my sinewave. thanks dan.

답변 (1개)

Honglei Chen
Honglei Chen 2012년 2월 21일
int is the symbolic toolbox integration. There are many numerical integration methods in MATLAB, just pick one of them.
doc quad
doc quadl
doc integral
I'll use quad as an example. Let's say I want to integrate a sin function, which has a period of pi,
quad(@sin,0,pi)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by