Is MATLAB 100% reliable? Do the users need to modify it according to their usage? I need this for my presentation in class. Thank you!

67 visualizaciones (últimos 30 días)
Is MATLAB 100% reliable? Do the users need to modify it according to their usage?
  2 comentarios
Star Strider
Star Strider el 29 de Mzo. de 2024 a las 1:30
Please provide a definition of what you intend by ‘reliable’. Stable? Reproducible results?
Bug fixes and updates appear at intervals to correct and augment existing functions.
Beyond that, it is a programming language, and many functions have options. Special functions that are not provided as part of MATLAB and its Toolboxes appear in the File Exchange.
DGM
DGM el 29 de Mzo. de 2024 a las 1:40
Editada: DGM el 29 de Mzo. de 2024 a las 2:06
Do people need to modify it?
What is modification? I changed the preferences from the defaults. Does that count? I wrote a toolbox of functions for things that I find convenient. Does that count? I think it's fair to ask what degree of customization is unexpected when the application we're talking about is an IDE.
So let's see. We've questioned the definition of "reliable" and "modification". Now comes the unexpected. What is MATLAB? No, really. On desktop, I regularly use three different versions spanning a decade (R2009b, R2015b, R2019b). On the forum and MATLAB Online, I use whatever's current. Certain aspects of the experience are more or less performant or reliable depending on what task I'm trying to do, which version I'm using, and whether I have to rely on a web interface. It's a valid question.
EDIT:
Let us not forget the famed proverb:
"all hardware sucks; all software sucks"

Iniciar sesión para comentar.

Respuestas (2)

John D'Errico
John D'Errico el 29 de Mzo. de 2024 a las 1:39
Editada: John D'Errico el 29 de Mzo. de 2024 a las 2:03
I'm sorry, but this question makes no sense at all. Define what you mean by "reliable" in this context. Are you asking if it will ALWAYS produce the correct answer to any problem posed in code? If that is your question, then you need to define what the correct answer would be. NO tool is perfectly reliable, if used by someone who does not understand the tool. In this respect, that means you need to understand the mathematics/theory behind what you are doing when you write code. In many cases, that means an understanding of the numerical methods.
If, by reliable you mean is it consistent, always producing the same result for different people, given the "same" code? Again, that is not really a valid question, since some code will be based on random numbers. You may get subtly different results basd on a random seed. And in other cases, you may get VERY different results. But the word "reliability" is meaningless in that context.
If by reliable, do you mean it will always produce a mathematically correct result? Well, no. It is trivially easy to pose a problem that has no valid result obtainable by mathematics, or by any computing language. Again, this means you need to understand the mathematics when you use a tool like MATLAB. You need to understand the theory of what you are doing. Would you put a child in the driver's seat of your automobile, and expect a good result to arise? As well, it is easy to pose a problem where computer code will fail, due to numerical issues. As I said, you may need an understanding of numerical methods to use such a tool.
Do users need to modify MATLAB, according to their needs? Again, that is a question with no clear answer. Yes, EVERYONE (who uses the language for any period of itme) tends to write functions that do what they tend to need to do. That makes MATLAB work better, for their personal use. But in my eyes, that is not a question of reliability. It is merely the way that anyone tends to use any such programming environment.
Anyway, if I look for the definition of reliable, I see this:
consistently good in quality or performance; able to be trusted.
"a reliable source of information"
Google, referencing Oxford Languages dictionaries as its source.
Can MATLAB be trusted in that sense? Yes, and no. If you write complete crap for code, then you should expect complete crap for results. What can I say? A tool is no better than its user. Is MATLAB trustable, in the sense that the code has been written by trusted professionals in the art, and has been tested to every extent possible? Well, yes. Of course, no code is provably perfect. So asking if MATLAB is 100% perfectly trustable, that is surely asking too much.
  1 comentario
DGM
DGM el 29 de Mzo. de 2024 a las 1:55
Editada: DGM el 29 de Mzo. de 2024 a las 1:55
FWIW, "consistently good in [...] performance" is something easy to defeat without any fault on the part of MATLAB. I can try to use MATLAB online from my trash-quality DSL at 200kbps with 1500 CRC errors per minute and get absolutely nothing productive accomplished over the course of an hour. TMW can't fix that. :D

Iniciar sesión para comentar.


Walter Roberson
Walter Roberson el 29 de Mzo. de 2024 a las 1:57
MATLAB has not undergone formal proof of correctness, so it is not 100% reliable.
(There are not many mathematical software packages that have gone through formal proof of correctness. There are a couple that have, though.)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by