Hi all. I am analyzing a basic Slider-Crank in Matlab and ran into an issue where my professor does not have the Solve function in his copy of Matlab.

1 view (last 30 days)
Hi all. I am analyzing a basic Slider-Crank in Matlab and ran into an issue where my professor does not have the Solve function in his copy of Matlab. It would be really helpful if someone could inform me how I could rewrite this so that it doesn't require the Solve function.
eqnC = (xB - xCsol)^2 + (yB - yC)^2 == LengthBC^2; solC = solve(eqnC, xCsol); xC1 = eval(solC(1)); xC2 = eval(solC(2));
Thanks!

Answers (0)

Categories

Find more on Statics and Dynamics 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!