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 |
||
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>''' |
Revision as of 12:52, 4 April 2011
Compute the function sin(x) / x
.
- Usage
sinc(x)
- xa 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