Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - 日本語 -
Справка Scilab >> Signal Processing > Miscellaneous > sincd

sincd

digital sinc function or Dirichlet kernel

Syntax

[s]=sincd(n,flag)

Arguments

n

integer

flag

if flag = 1 the function is centred around the origin; if flag = 2 the function is delayed by %pi/(2*n)

s

vector of values of the function on a dense grid of frequencies

Description

function which calculates the function Sin(N*x)/N*Sin(x)

Examples

plot(sincd(10,1))
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:13:24 CET 2017