MATLAB: Sym(1/3) bug symboli On https://www.mathworks.com/help/symbolic/create-symbolic-numbers-variables-and-expressions.html I see But when I try running this I get Is this a bug or am I doing something wrong? Best Answer Check your symbolic preferences. symprefans = struct with fields: FourierParameters: [1×2 sym] HeavisideAtOrigin: [1×1 sym] AbbreviateOutput: 1 TypesetOutput: 1 FloatingPointOutput: 0 PolynomialDisplayStyle: 'default' MatrixWithSquareBrackets: 0 If the FloatingPointOutput if true change it to falsesympref('FloatingPointOutput',true);sym(1/3)ans = 0.3333sympref('FloatingPointOutput',false);sym(1/3)ans = Related SolutionsMATLAB: Bug R2009a Win7 32bitNo problems:ft = fints([(now-99:now).' rand(100,1)]);toquarterly(ft)toquarterly(ft,'EM',1) MATLAB: Equation Manipulation in MuPad Use the expand() function. Related Question“Substitution function” by symbolic math toolboxTimeseries bugIt’s a bug
Best Answer