What can't you complete? Is part of your problem that you spelled it incorrectly as differntiate in the classdef? Then when you spell it properly when you call it, it must fail.
Or is the problem that you don't know how to use subs?
help subs
Or is the problem that you are trying to differentiate equation, rather than f.equation?
Why did you feel the need to make x a property anyway?
1 Comment
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/8496-how-do-i-pass-an-equation-as-a-parameter-to-a-class-constructor#comment_18430
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/8496-how-do-i-pass-an-equation-as-a-parameter-to-a-class-constructor#comment_18430
Sign in to comment.