Programmer Guide/Command Reference/EVAL/sinc: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
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: | :;<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: [[ | ;See also: [[../sin|sin]] | ||
[[ | [[../#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