FUNCTION REFERENCE

pi

The number pi.

The number pi.

Syntax

pi

A constant, 3.14159265358979.

Example

2*pi   % 6.2832

Differences from MATLAB: Written without parentheses.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.