Closed NRJank closed 1 year ago
Almost certainly because of #8, long time limitation of the upstream Octave parser.
My preferred workaround would be to ensure every row has at least one sym
:
m1 = sym(12325)/100
Tetta1 = sym(657)/100
Ua = [sym(1), 0, 0, 0; sym(0), 1, 0, 0; -m1*(Omega)^2, 0, 1, 0; 0, -Tetta1*(Omega)^2, 0, 1];
over on the octave.discourse.group, a user reports the following running fine in Matlab symbolic, but giving warnings and errors in Octave (verifiied in Octave 8.2.0 with bundled symbolic 3.1.1)
the warnings are understandable but the error is unexpected.
the user was able to avoid the error by instead using:
Ua = cell2sym({1, 0, 0, 0; 0, 1, 0, 0; -m1*(Omega)^2, 0, 1, 0; 0, -Tetta1*(Omega)^2, 0, 1});
but reports that he was 'unable to solve the system'