Using Two Expressions together in factor()
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Ehsan Wadood
el 2 de Mzo. de 2021
Comentada: Ehsan Wadood
el 2 de Mzo. de 2021
Could anyon ehelp em with this as I am getting the below mentioned error while using two expressions together in the factor() function. Thanks
syms x y
factor([x^2-y^2,x^3+y^3])
First argument must be scalar.
2 comentarios
Respuesta aceptada
Walter Roberson
el 2 de Mzo. de 2021
syms x y
f = arrayfun(@factor, [x^2-y^2,x^3+y^3], 'uniform', 0);
vertcat(f{:})
Más respuestas (0)
Ver también
Categorías
Más información sobre Formula Manipulation and Simplification en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!