something wierd with sinc function

3 ビュー (過去 30 日間)
Kobi
Kobi 2014 年 11 月 24 日
編集済み: Matt J 2014 年 11 月 24 日
while using sinc(x) function there is a difference between sinc(x) and sin(x)/x also when i manually calculate its equal to
sinc(1.5)= -0.2 (negative value) sin(1.5)/1.5 = 0.6 (positive value)
why?

採用された回答

Matt J
Matt J 2014 年 11 月 24 日
編集済み: Matt J 2014 年 11 月 24 日
Sounds like you're using a pi-normalized sinc
>> sin(1.5*pi)/(1.5*pi)
ans =
-0.2122
It's a normalization often used so that the roots of the sinc() will be at the integers.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by