Plotting the left and right side of a tricky equation?
Show older comments
Hi, I am trying to find the intersection betweeen two sides of an equation that include some tricky trigonometric terms by plotting them. My code is as follows:
syms k3
eqn = -0.1925 == -k3*cot(k3*9.415/2)
fplot([lhs(eqn) rhs(eqn)] , [0.05 0.55])
However, the error message I get is "Warning: Failed to initialize symbolic preferences. Error using mupadmex Internal error with symbolic engine. Quit and restart MATLAB."
Having checked on Wolfram Alpha about an approximation of the plots these should look like, I don't understand what the difficulty is. I've obviously missed something mathmatical?
3 Comments
David Goodmanson
on 19 Jul 2018
Hi Harvey, this works in Matlab 2017b.
Harvey Rael
on 19 Jul 2018
David Goodmanson
on 19 Jul 2018
Yes, I should have said it works in 2017b update 7. Syms and mupad were locking up after certain updates to Windows 10. As Stephan pointed out in his Answer, updates to 2018a [also 2017b] fixed it, and hopefully that will be your experience.
Accepted Answer
More Answers (0)
Categories
Find more on 2-D Function Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!