what does matlab algorithm means?

11 views (last 30 days)
mandy
mandy on 5 Mar 2016
Commented: mandy on 6 Mar 2016
what does matlab algorithm means? How to write an algorithm? Is it the accumulation of codes for writing any program?

Accepted Answer

Walter Roberson
Walter Roberson on 6 Mar 2016
An algorithm is an abstract description of how to solve a problem. Algorithms are not specific to any programming language. There is no particular structure to algorithms: they can be written in any way understandable to someone else.
A "MATLAB algorithm", to the extent those can be said to exist at all, would be an outline of how to solve a problem using the facilities of MATLAB.
"Is it the accumulation of codes for writing any program?"
No. An algorithm is not code, it is any formal method of doing something. If you tell someone "Take the milk out of the refrigerator and look behind it and get the jar of jam there", then that is an algorithm for getting jars of jam out.
  1 Comment
mandy
mandy on 6 Mar 2016
Thank u sir for the reply. The example is very simple but precise. :)

Sign in to comment.

More Answers (1)

the cyclist
the cyclist on 5 Mar 2016
  1 Comment
mandy
mandy on 5 Mar 2016
Thanks for the link. but can you be a little more specific.

Sign in to comment.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!