Symbolic math Applied on algebraic math

版本 1.0.0 (4.4 KB) 作者: Willie
The aim of the code is to solve matrix function numerically using the power of symbolic math
3.0 次下载
更新时间 2025/4/3

查看许可证

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

引用格式

Willie (2025). Symbolic math Applied on algebraic math (https://ww2.mathworks.cn/matlabcentral/fileexchange/180637-symbolic-math-applied-on-algebraic-math), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2024b
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0