Symbolic math Applied on algebraic math
Versión 1.0.0 (4,38 KB) por
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])
Citar como
Willie (2025). Symbolic math Applied on algebraic math (https://es.mathworks.com/matlabcentral/fileexchange/180637-symbolic-math-applied-on-algebraic-math), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2024b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Agradecimientos
Inspirado por: 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!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0 |
