I need to solve this equation for the variable \theta:
using Matlab WITHOUT using symbolic toolbox. The reason for this is that I am compiling the m-file to .Net Assembly and symbolic toolbox can not be used.
I know how to solve it using vpasolve
, but as far as I know it needs the variable to be defined using syms
.
I appreciate if you can suggest me a method to solve this equation in Matlab without symbolic toolbox.
As @rayryeng said, that is only possible if you know the value of the other variables, is so, you can declare f as an anonymous function and use
fsolve()
like this:but using your correct values.