what does matlab algorithm means? How to write an algorithm? Is it the accumulation of codes for writing any program?

 Réponse acceptée

Walter Roberson
Walter Roberson le 6 Mar 2016

0 votes

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 commentaire

mandy
mandy le 6 Mar 2016
Thank u sir for the reply. The example is very simple but precise. :)

Connectez-vous pour commenter.

Plus de réponses (1)

the cyclist
the cyclist le 5 Mar 2016

0 votes

1 commentaire

mandy
mandy le 5 Mar 2016
Thanks for the link. but can you be a little more specific.

Connectez-vous pour commenter.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by