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

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 6 Mär. 2016

0 Stimmen

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 Kommentar

mandy
mandy am 6 Mär. 2016
Thank u sir for the reply. The example is very simple but precise. :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

the cyclist
the cyclist am 5 Mär. 2016

0 Stimmen

1 Kommentar

mandy
mandy am 5 Mär. 2016
Thanks for the link. but can you be a little more specific.

Melden Sie sich an, um zu kommentieren.

Kategorien

Gefragt:

am 5 Mär. 2016

Kommentiert:

am 6 Mär. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by