You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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://www.mathworks.com/matlabcentral/fileexchange/180637-symbolic-math-applied-on-algebraic-math), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Syms to TF Conversion, Moku Cloud Compile with MathWorks HDL Coder - Part 1 MATLAB, Numerical Computing with MATLAB
General Information
- Version 1.0.0 (4.38 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
