Symbolic math Applied on algebraic math
Version 1.0.0 (4,38 ko) par
Willie
The aim of the code is to solve matrix function numerically using the power of symbolic math
syms a b c s x t
"by WILLIE B"
% Defferantiate cubic equation twice, and plot it on the same axis with its
% respective derivatives
% Give a,b,c and s as constants of cubic equation
a=2
b=3
c=8
s=12
syms p [0,5]
p=a
% Original equation
e=a*x*t+b
% Compute analytic solution of a symbolic equation
e
solution = solve(e,x*t,...
"Real",true,...
"MaxDegree",8);
% Display symbolic solution returned by solve
displaySymSolution(solution);
x==e-a*x*t==-e
var = taylor(e ...
)
hold on
% First derivative
de=diff(e)
% Second derivative
dde=diff(de)
var2 = taylor(dde,x)
% We can the plot the follwing Graphs
fplot(x)
fplot(de)
fplot(dde)
title("Compounded Plot")
xlabel("(x*t)")
ylabel("(y)")
legend(EdgeColor='r')
grid on
hold off
syms f(o,v) 5
f
f1_1=1
f2_2 =1
f3_3=1
f4_4=1
f5_5=1
m=subs(f)
m=f(3,2)
f1_1
f2_2
i=vpa(f)
var3 = subs(i,[o,v],[0,0])
Citation pour cette source
Willie (2025). Symbolic math Applied on algebraic math (https://fr.mathworks.com/matlabcentral/fileexchange/180637-symbolic-math-applied-on-algebraic-math), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2024b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Remerciements
Inspiré par : Syms to TF Conversion, Moku Cloud Compile with MathWorks HDL Coder - Part 1 MATLAB, Numerical Computing with MATLAB
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0 |
