Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

ans - Most recent answer

Syntax

ans

Description

The MATLAB software creates the ans variable automatically when you specify no output argument.

Examples

The statement

2+2

is the same as

ans = 2+2

See Also

display

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS