determinant_a =
Warning: Unable to display symbolic object because 'symengine' was reset. Repeat commands to regenerate result.
Afficher commentaires plus anciens
Applying cramer's rule for a 2x2 matrix to solve for constants C_1 and C_2 but keeps returning "Unable to display symbolic object because 'symengine' was reset. Repeat commands to regenerate result". Hopefully not making an elementary error but recently updated to 2024a version and been having error message for other codes. I'm using syms, as I'm not provided with spring constant, n, or xi. Therefore I treat them as scalar variables. I appreciate any pointers/tips to resolve this problem. Thanks.
%Clamped and Rotational Spring
clc
clear all
format short g
syms k n xi
a = [(1-(k/2)), (1-k); (1/6), (1/2)];
x = [((k*(1)^(n+2))/((n)*(n+1)*(n+2)))-((1^(n+1))/((n)*(n+1))), (1-k); ((1)^(n+3))/((n)*(n+1)*(n+2)*(n+3)), 1/2];
y = [(1-(k/2)), ((k*(1)^(n+2))/((n)*(n+1)*(n+2)))-((1^(n+1))/((n)*(n+1))); 1/6, -((1^(n+3))/((n)*(n+1)*(n+2)*(n+3)))];
determinant_a = det(a)
determinant_x = det(x)
determinant_y = det(y)
C_1 = determinant_x * (determinant_a)^-1
C_2 = determinant_y * (determinant_a)^-1
f = (((xi)^(n+3))/((n)*(n+1)*(n+2)*(n+3))) + (C_1)*(((xi)^(3))/(6)) + (C_2)*(((xi)^(2))/(2))
5 commentaires
Runs here without problems (see above).
Below is the link to a forum contribution of someone who got the same warning message. But I can't imagine that not enough RAM could be the reason in your case.
Alexander Gaudreau
le 10 Avr 2024
Modifié(e) : Alexander Gaudreau
le 10 Avr 2024
Possible bug?
Maybe. You don't seem to be the only one with this problem:
You should report it to Technical Support as a potential bug.
Alexander Gaudreau
le 11 Avr 2024
Product Usage > Report a bug
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


