MATLAB: How to get a better simplification of the results

factorizationfactorizeMATLABnumberpresentationresultresultsshownsimplificationsimplifysolution

I have been working on a program that gives me some results as a function of "k" and "m" (symbolic variables). However, this result is shown as this:
When, it is much simpler, the solution is just this:
How can I manage to make Matlab give me the result in a more digestible way? (I've already tried "simplify")
Thank you very much guys

Best Answer

syms k m
s = [-(3*10^(1/2)*(k*m)^(1/2))/(10*m);
(3*10^(1/2)*(k*m)^(1/2))/(10*m)];
assume([m,k],'positive');
s_sign = sign(s); % signum
assume([m,k],'clear') % reset assume
S = s.^2;
S = simplify(S);
s = s_sign.*sqrt(S)