What are the obsessions you saw in MATLAB Answers or in MATLAB programming?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Those obsessions that seem to persist but not necessarly good.
0 commentaires
Réponses (4)
madhan ravi
le 9 Oct 2020
Modifié(e) : madhan ravi
le 9 Oct 2020
Have to use MATLAB even for a simple calculation eventhough it could be done in mind.
Image Analyst
le 12 Oct 2020
- Those who say they can't use built-in functions but when pressed and asked why, and if it's homework, will go to extraordinary lengths to avoid disclosing that it's homework.
- Those who, after being provided with simple demos they can adapt, say they're beginners and can't do it, and can I do it for them.
- Those who accept the shortest answer, not the best answer because they think a longer self explanatory solution with descriptive variable names, lots of comments, and graphs and figures to show results, just looks too complicated, even if the shorter solution they accepted is more cryptic for beginners (like it uses anonymous functions, cellfun(), bsxfun(), arrayfun(), regular expressions, etc.) and they have to come back and ask for an explanation of it.
- Those obsessed with getting a fast solution who blow right past the posting guidelines, which leads to several back and forth clarifying questions from us to get the info they should have posted in the first place if they had just read the posting guidelines. Contrary to what they think, this actually makes it take longer for them to get a working solution.
- Those who won't post code or data, despite being repeatedly asked directly. They are obsessed with the idea that we should be able to read their mind and give the solution after having seen only a snippet of their code.
Hopefully no one will think that we are "mean" because we're posting these (like this poster). After all, we just want to provide them the best solution in the fastest amount of time, with the least effort by us.
Fangjun Jiang
le 9 Oct 2020
Modifié(e) : Fangjun Jiang
le 29 Jan 2022
4 commentaires
DGM
le 29 Jan 2022
6b. While-looper: uses while-loops instead of for-loops unnecessarily; calamity ensues.
Image Analyst
le 29 Jan 2022
Right, usually because they don't put in a failsafe to bail out of the loop if the number of iterations exceeds a predetermined number of iterations and so they get an infinite loop. While loops should always have a loop counter as a failsafe.
Image Analyst
le 29 Jan 2022
Another obsession is image processing novices who always want to do edge detection as the first step in any image processing task regardless if it's the proper thing to do or not. Just because you can see edges doesn't mean you need to find them. Often/usually the edges are not closed and then they ask how to close the perimeters. Usually a simple thresholding will find the objects of interest and is better than an edge detection.
0 commentaires
Voir également
Catégories
En savoir plus sur Historical Contests dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!