FUNCTION REFERENCE
true
Logical ones.
Logical ones.
Syntax
trueSyntax
true(n)Syntax
true(r, c) or true([r c])true alone is a logical scalar; true(n) is n-by-n.
Example
true(1, 3) % [true true true]Differences from MATLAB: Two-dimensional output only.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.