The difference between using and not using '' in the solve() function
Mostrar comentarios más antiguos
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)
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Common Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!