How can i create a symbolic function it depends on other two functions?
Show older comments
Eg:
syms x y;
f(x)=3*x;
g(y)=2*y;
t(x,y)=f*g+3*g+f/g;
I have to operate with f and g because f and g are functions created by other variables.
Error using symfun/privResolveArgs (line 171)
Symbolic function inputs must match.
Error in sym/privBinaryOp (line 1692)
args = privResolveArgs(A, B);
Error in sym/mtimes (line 179)
X = privBinaryOp(A, B, 'symobj::mtimes');
Accepted Answer
More Answers (0)
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!