- the documentation should have included complete code instead of linking to a source for the code?
- the documentation should only link to Mathworks-supplied contributions, not third-party contributions?
- if it is important enough to be worth linking to a FEX contribution, Mathworks should have made it a distinct command ?
What are Your Thoughts on TMW Documentation Linking to the File Exchange
1 view (last 30 days)
Show older comments
Kind of similar to this Question, I noticed that the Tips section of integral3 cites this File Exchange submission as an option to evaluate higher order integrals. I appreciate the tip, but it seems like that's not how the doc should work. Thoughts?
6 Comments
Mike Hosea
on 17 Jul 2023
Perhaps the tip in question
- To solve 4-D and higher order integrals, you can nest calls to integral, integral2, and integral3. Another option is to use the integralN function on the MATLAB® File Exchange, which solves integrals of orders 4 - 6.
could be reworded a little to cast the reference to the FEX in a different light than it was received in this case. You can use integralN as a black box without understanding how it works, but it actually is an implementation nesting integral, integral2, and integral3 as articulated in the first sentence of the tip. I literally wrote it because writing it was easier than explaining how to nest calls.
When seen as a black box for higher dimensional integration, it is only a brute-force approach. The help text at the top of integralN explains as much. I didn't try to get it adopted into MATLAB because I think MATLAB should implement something more efficient.
Answers (2)
Walter Roberson
on 15 Jul 2023
I have no problem with Mathworks documentation pointing to FEX contributions, even third-party FEX contributions.
This may be because I do not consider the role of documentation to be master records of pristine Definition of the product, in which every word must be TRVTH from on high. I have seen enough sterile Just The Facts Java documentation to know that style is frustrating and of low value for most people.
I consider the role of documentation to be more to help the users get things done.
Mathworks documentation is generally valuable because it explains and gives examples. If someone on the documentation staff wants to say, "You could learn something by looking at this particular File Exchange Contribution, which applies these principles", then that is completely fine with me.
If, though, Mathworks were to neglect its own efforts and just say, "Shrug, poke around the File Exchange, maybe you'll pick something up somewhere", then Yes, that would be a problem. But that isn't the problem being discussed, and I would be disappointed if this all turns out to be a Slipperly Slope argument.
4 Comments
Walter Roberson
on 16 Jul 2023
Edited: Walter Roberson
on 16 Jul 2023
https://www.mathworks.com/help//simscape/lang/scatteredlookup.html is an example of a Mathworks documentation page that points to wikipedia
https://learn.microsoft.com/en-us/javascript/api/%40azure/service-bus/topicproperties?view=azure-node-latest is an example of a Microsoft site that points to wikipedia .
https://docs.oracle.com/cd/E19316-01/821-1857/gkepn/index.html is an example of an oracle page that points to wikipedia.
Walter Roberson
on 16 Jul 2023
Edited: Walter Roberson
on 17 Jul 2023
Image Analyst
on 14 Jul 2023
I think that as long as the documentation refers to other Mathworks staff-supplied web pages or code, it's fine by me.
6 Comments
Walter Roberson
on 15 Jul 2023
Mathworks does not consider a disclaimer needed on the FEX page about staff contributions because the only "official" contributions are those marked as author Mathworks Support or one of the various Hardware Support teams or one of the assorted Contest teams. The contributions from individuals marked Staff are considered to be individual contributions from people who "just happen" to work at Mathworks.
See Also
Categories
Find more on Introduction to Installation and Licensing 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!