I have a function containing several variables which I am looking to pull from it the individual variables and their values. i.e. function =5x+3y+8z. I need to be able to extract from this, say just the x variable and its value, answer=5x. Thanks in advance
MATLAB: Breaking a function into components
matlab function
Best Answer