David
Farruggio

MathGenie

true

Logical 1 (true)

Syntax and Description

true(n) is an n-by-n array of logical ones.
true(sz) is an array of logical ones where the size vector, sz, defines size(F). For example, true([2 3]) returns a 2-by-3 array of logical ones.
true(m,n) returns an m-by-n matrix of logical ones.

Back to functions