Gistlib Logo

gistlib

other matlab categories

subs-command code snippets in matlab

create the symbolic expression shown then use the subs command to evaluate the expression for x = 4. save the final value as y_value with the class 'double'. y= 5x^4-2x/x^2-1 in matlab

gistlibby LogSnag