Programmer Guide/Command Reference/EVAL/sinc: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{DISPLAYTITLE:sinc (alias: sinx)}}
{{DISPLAYTITLE:sinc (alias: sinx)}}
Compute the function <code>sin(''x'') / ''x''</code>.
Compute the function <code>sin(''x'') / ''x''</code>.
 
;Usage: <code>sinc(<var>x</var>)</code>
;Usage: '''<code>sinc(<var>x</var>)</code>'''
:;<var>x</var>:a scalar, vector or matrix
:;<var>x</var>:a scalar, vector or matrix
;Result: The result ''r'' of this function has always the same type as the argument ''x''.
;Result: The result ''r'' of this function has always the same type as the argument ''x''.
::''x''<sub>i,j</sub> = 0: ''r''<sub>i,j</sub> = 1
::''x''<sub>i,j</sub> = 0: ''r''<sub>i,j</sub> = 1
::otherwise: r<sub>i,j</sub> = sin(''x''<sub>i,j</sub>) / ''x''<sub>i,j</sub>
::otherwise: r<sub>i,j</sub> = sin(''x''<sub>i,j</sub>) / ''x''<sub>i,j</sub>
;See also: [[Programmer_Guide/Command_Reference/EVAL/sin|sin]]
;See also: [[../sin|sin]]


[[Programmer_Guide/Command_Reference/EVAL#Functions|<function list>]]
[[../#Functions|<function list>]]

Latest revision as of 11:52, 21 April 2011

Compute the function sin(x) / x.

Usage
sinc(x)
x
a scalar, vector or matrix
Result
The result r of this function has always the same type as the argument x.
xi,j = 0: ri,j = 1
otherwise: ri,j = sin(xi,j) / xi,j
See also
sin

<function list>

Navigation menu

Personal tools