To summarise (because I went on too much on my previous attempt to answer), the MATLAB documentation on Stack Overflow can be useful ...
because:
- Not everybody reads the official documentation (of any program for
that matter), yet some would read (a documentation built through)
practical examples and try to apply/modify to their need.
- Sometimes people need to hear/see things in a different manner than
the mainstream way of explaining it; this could be a place for that.
- MATLAB documentation is great indeed, yet most examples focus on the specific function they are illustrating. Only seldomly is this connected to wider topics. The documentation here could rejoin some of these lonely functionalities that work a lot better as part of a group
than on their own.
- The MATLAB documentation is not perfect and some holes can be plugged.
- As Brendan suggested, the Documentation would be a great place to
organise a collection of canonical solutions to the most-asked
questions which keep popping up again and again.
for:
- Experienced (and less experienced) programmers looking for a place
where the most useful trick/answer/hack can be found easily (I don't
know about yourself, but I find having to search back for an answer,
I remembered was fantastic, but I forgot to put in 'favourite', a
real pain in the backside...).
- Novice programmers, specially the one who understand better through
example than lecture.
- The MATLAB Stack Overflow community of answerers, who could redirect (too) common questions to the "canonical" answers (see point (5) above), instead
of having to find the best duplicate (because some questions have
been asked so many times than many non-closed duplicate exists, with
sometimes several quality answers).
Now I agree it would be a waste if the documentation here was a simple copy/paste of the official documentation. The Stack Overflow Documentation needs to be an addition to the existing documentation, or for some topic an alternative version explained in a different light.
As you said in the comment to your question, people investing time and effort in this project wish to more than just replicate the original documentation. I left the last bit ("in a different structure") out because the fact is a huge number of MATLAB question on Stack Overflow could be just answered by quoting the documentation, but for the class of people described below, it needs to be in a different structure to be considered/looked at/useful.
If you are a teacher and have only one strict way of explaining something, half of your students will never get it ... if you can explain it in a variety of ways, you'll get through to a lot more of them.
The two paragraph below were two distinct attempt to answer your questions. I've finally summarized them above so you can stop reading here if you've had enough. They do explain/illustrate a bit more some of my statements above though, so I leave the text for people curious.
MATLAB documentation is not for everybody:
MATLAB official documentation is good, very good even, but it is only useful to people who (i) understand it, and/or (ii) actually take the time to read it before swarming Stack Overflow with the same low-level questions which appear and reappear every second day.
Granted the Stack Overflow Documentation will not stop the people described in the second group above, but it could still improve the "Time to resolution" for a portion of this questions: Quite a number of these questions come from people "allergic" to most official documentation. Either by pure laziness or because they've come across so much other "bad" documentation, the fact is that now they modus operandi when confronted to a new problem is to look straight for "code samples" which does their stuff or close to it. If they can't find any, they just ask for it, on miscellaneous forums or here on Stack Overflow.
For these people, a link to the official documentation will be dismissed as quickly as it came, while a link to some "practical examples", hosted on the same site (I deliberately didn't call it "documentation" to not scare them ...) will be considered by at list a percentage of these askers. (now the next thing to do is to convince them to close their question if they got it solved, but that's another point).
MATLAB documentation is evolving:
I strongly agree with the statement "MATLAB documentation is good". I also have learnt so much from it, and it's not finished. I still go back to it often, even sometimes for functions I use with my eyes closed, because it is also evolving and new pearls can be found at unexpected times.
However, having seen the evolution since MATLAB v5, while it is true that it mostly evolved for the better, I have witnessed a few "changes" that I believe were degrading its usefulness. I'll illustrate that with an example, on a topic which triggers quite a few questions on Stack Overflow.
Take the function interp1
. It's a fantastic, easy-to-use yet very powerful, mean of data manipulations. The first time I needed to use it ~15 years ago, I searched for "interpolation in MATLAB" and was quickly directed to the interp1
documentation. There I immediately understood how to use the syntax given at the time:
yi = interp1(x,Y,xi)
by seeing the image (which was part of the official documentation):

I can't remember in which edition the image disappeared, but it is not there any more, and despite a long list of (good) examples now present in the documentation, a simple search on Stack Overflow returns quite a few questions about this function, and a significant portion of them has to do with the user just not understanding the syntax properly.
The Stack Overflow Documentation could fix some of these losses.
sum
.