I am trying to create a symbolic function that uses sqrt and min and I am getting an error. The code is
xx = sym('xx','real') ;LambdaCC = symfun(sqrt(1-2*min(xx,1/2)), xx) ;
and the error is that 'xx' is not convertible to floating-point number. Does that mean that it's not possible to use 'min' inside a symbolic function?
Best Answer