refactor so it looks clean

This commit is contained in:
LinlyBoi
2023-05-08 18:25:56 +03:00
parent 9d16acaedf
commit ea01e939e8
8 changed files with 0 additions and 12 deletions

7
symbolic.m Normal file
View File

@@ -0,0 +1,7 @@
clear,clc
f = @(x) x.^2 + 3*x - 1 + 5*x.*sin(x);
pkg load symbolic
syms x;
ff = f(x);
% now calculate the derivative of the function
ffd = diff(ff, x)