how do I properly format using the syms function in matlab
显示 更早的评论
I am new to matlab and after reading the tutorials for factoring, solving and simplifying algebraic operations, I'm still not getting it. I beleive I have a formatting issue. Do I need to put parenthisis around the x's?

syms x
c=factor(2*x^4+x^3-19*x^2-9*x+9);
fprintf('Problem 3a answer is :',c)
syms x
d =solve (2*x^4+x^3-19*x^2-9*x+9==0,x);
fprintf('Problem 3b answer is :',d)
syms x
e =simplify 3*(x-2y+4(3x+7y-81));
fprintf('Problem 3b answer is:', e)
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Multidimensional Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!