Symbolic math Applied on algebraic math

Version 1.0.0 (4.38 KB) by Willie
The aim of the code is to solve matrix function numerically using the power of symbolic math
3 Downloads
Updated 3 Apr 2025

View License

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])

Cite As

Willie (2026). Symbolic math Applied on algebraic math (https://au.mathworks.com/matlabcentral/fileexchange/180637-symbolic-math-applied-on-algebraic-math), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0