Using solve command, to solve user defined function
21 views (last 30 days)
Prateek Rai on 21 Feb 2022
You can use "syms" to create symbolic function with four arguments:
here, f is abstract symbolic function. It does not have symbolic expressions assigned to it.
Then, specify the following formula for f.
% formula for f
After that, you can use "solve" function: