Converting these mathematical formulas to a matlab equation.

(x(2y^2-5))/(z+3), (2x-3x+7)/(x-5)^2, and (x-3)/(sqrt(x^2-3x+5)) How can i convert these to a proper matlab equation?

 Accepted Answer

(x-3)./(sqrt(x.^2-3.*x+5)) ;

3 Comments

says x is an undefined variable or function
(x*(2*y.^2-5))/(z+3), (2*x-3*x+7)/(x-5).^2 ;
ignore my previous comment, thank you

Sign in to comment.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!