Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> 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-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:36 CEST 2016