gistlib
other matlab categories
symbolic-computation code snippets in matlab
% put your answer code below syms x(t) mata = matb = matans = k1= k2= k3= k4= % enter force respose equation with constants here: yp = in matlab
prove that symbolic equation is always greater than 0 in matlab
what does this code do? syms x f = exp(x); % function f(x) = exp(x) df = diff(f, x); % calculatet the derivative of f(x) df_value = subs(df, x, 1); % substitute x = 1 in the derivative df_value in matlab
what is a symbolic variable, and how is it used? in matlab
gistlib
by LogSnag