I just discovered Octave and I’m liking it a lot, mainly because it’s open source free and because almost all of my code from Matlab can be used here without change being needed.
I’d like to ask colleagues support in order to fix my code to avoid warning from symbolic package as indicated below.
Warning: passing floating-point values to sym is dangerous, see “help sym”.
Below the minimum part of the code to reproduce the warning.
M=sym('M'); CC=0.3; AX=2.3430; % AX comes form a equation, but i'm putting a number here as example. DCC=diff(-sqrt(CC^2-(M-AX).^2));
How could I change the DDC expression to get the same result and avoid the warning from symbolic package?