Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.2 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Elementary Functions > Trigonometry > sinc

sinc

sinc function

Calling Sequence

t=sinc(x)

Arguments

x

a real or complex vector or matrix, in radians.

t

a real or complex vector or matrix.

Description

If x is a vector or a matrix, t=sinc(x) is the vector or matrix such that t(i)=sin(x(i))/x(i) if x(i)~=0 and t(i)=1 if x(i)==0.

Examples

x=linspace(-10,10,3000);
plot2d(x,sinc(x))
[X,Y] = meshgrid(-10:0.25:10,-10:0.25:10);
f = sinc(sqrt((X).^2+(Y).^2));
mesh(X,Y,f);

See Also

  • sin — sine function
  • cos — cosine function
Report an issue
<< sin Trigonometry sind >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Apr 01 10:13:53 CEST 2015