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

21 views (last 30 days)
How to write and solve a maths formula in matlab?
  5 Comments
Walter Roberson
Walter Roberson on 24 Sep 2021
How does that differ from the 2016 response by CS Researcher ?

Sign in to comment.

Answers (1)

mariya babu
mariya babu on 1 Aug 2019
a^2+b^2+2ab
  1 Comment
Walter Roberson
Walter Roberson on 24 Sep 2021
No, this is not valid MATLAB; MATLAB has no implied multiplication, so 2ab is a syntax error.

Sign in to comment.

Categories

Find more on Mathematics and Optimization in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!