MATLAB: Symbolic variable – proving positive

MATLABsymbolicvariable

Hi everyone. How can I prove that a symbolic variable is positive? It is not possible to use if statement for symbolic variables.
close all
clear all
a=sym('a','positive');
if(a>0)
disp('OK')
else
disp('KO')
end
Thank you.

Best Answer

syms a positive
if isAlways(a>0); disp('OK'); else disp('KO'); end