how to write (a+b)square formula in matlab?

14 vues (au cours des 30 derniers jours)
pinki talukdar
pinki talukdar le 3 Mai 2016
Commenté : Walter Roberson le 24 Sep 2021
How to write and solve a maths formula in matlab?
  5 commentaires
Abdur Rahman
Abdur Rahman le 24 Sep 2021
(a+b)^2
Walter Roberson
Walter Roberson le 24 Sep 2021
How does that differ from the 2016 response by CS Researcher ?

Connectez-vous pour commenter.

Réponses (1)

mariya babu
mariya babu le 1 Août 2019
a^2+b^2+2ab
  1 commentaire
Walter Roberson
Walter Roberson le 24 Sep 2021
No, this is not valid MATLAB; MATLAB has no implied multiplication, so 2ab is a syntax error.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Mathematics and Optimization dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by