The difference between using and not using '' in the solve() function
显示 更早的评论
what is The difference between using and not using '' in the solve() function?
and should we use '' ?
codes are as this
clc;
clear all;
close all;
syms x;
syms a b c;
solution1=solve(a*x^2+b*x+c==0,x)
solution2=solve(a*x^2+b*x+c==0,'x')
solution3=solve('a*x^2+b*x+c==0','x')
equation=a*x^2+b*x+c==0;
solution4=solve(equation,'x')
solution5=solve(equation,x)
solution6=solve('equation',x)
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Common Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!