MATLAB: How to wrote theta as a matlab code

theta

How to wrote theta as matlab code
for example 2sintheta

Best Answer

syms theta
2*sin(theta)
Then by substituting theta with any numeric variable, you can calculate 2*sin(theta)
Related Question