Each MATLAB Answers Question may be assigned one or more "tags". But what are tags? Why are they useful? And which tags are the best to use?
"Tags" are words, or abbreviations, or short phrases that can be associated with Questions. Tags represent Question categories, or subject areas, or technology areas. Tags can be searched on, to find Questions related to the same topic.
By reviewing Questions in a category you are interested in, you may find a solution for your own query, or you may find inspiration for approaches to try.
When you assign appropriate key tags to your Questions, you increase the chances that people with experience in the topic area will find your Question, and either respond to you or learn from your Question and the discussions that follow. It is not uncommon for people with particular subject expertise to look at a Question's tags more than at the Question's title.
Sometimes the tags to use are obvious, such as tagging an FFT-related question with "fft". But sometimes the tags to use grow through popular use, when there are alternatives. Good tags should be easy to remember and closely related to the topic.
The Answers below list some of the tags in common use, and their meanings.
No products are associated with this question.
Tags dealing with the tone or manner of Questions
Tags are sometimes used to indicate something about the form or tone or manner of a question, rather than about the Question itself. These tags are usually applied by people who read the Questions. A few the tags people apply are more factual than anything, but some of them hint that the poster should improve the way the question was written.
I find the underscore style different from what everything else uses, so I would prefer the space style.
At the moment, there are about 110 no_details, 41 "no attempt", and 63 "no question", so either way I would have MATLAB Central has a bulk tag-changer. I can be pretty persistent in fixing those kinds of little details, but given the nature of those tags, if I review all those questions (in order to manually edit), I worry for my blood pressure
This is building on something Jan said someplace else and I agree with. I think we should remove the majority of these tags and replace with a flagging/closing of the question. The only ones I am not sure of are retag, urgent, and energizer bunny. I think flagging, but not closing, is appropriate for retag. I am not sure what to do about urgent and energizer bunny.
Searching Tags
To search on a tag, you can click on the tag name where it appears in a summary list of Questions, or when a Question is being displayed. An index of Questions with the same tag will be displayed.
If you know the right spelling of a tag, you can give the tag directly in the Answers search box, with the prefix tag:, such as tag:tutorial . If there is a space in the tag, enclose the tag in double-quotes in the search box, such as tag:"image segmentation" . Spelling counts, but the search is not sensitive to upper or lower case.
If you only know part of the name of the tag, you can use asterisk as a "wild-card" in the Answers search box. For example, to search for all of the IEEE standard power-bus systems, you can search on tag:"ieee*bus" . This will match "ieee 30 bus", "ieee 6 bus", "ieee 57 bus" and the others.
Tags to Avoid Using
Also, if you are wanting to tag with a MATLAB release number, please use its "R name", such as R13 or R2011b, rather than its version number.
Tags dealing with the kind of Question
"meta" includes "matlab answers", but the latter might be confused with the frequently used, but meaningless "matlab" tag.
"matlab answers" has been used relatively cleanly. It means something distinct from "meta" to me, but I am not sure what the difference is at the moment.
Creating and Editing Tags
When you first create a Question, you should add some relevant tags in the Tag input area below the Question input area. The tags entered can be altered later. The tags you enter will be converted to lower-case. Separate tags with commas (not with semi-colons). Do not use # in front of the names.
You can use a tag phrase that did not previously exist, creating your own tag, but if you are discussing a common topic, it is much recommended that you use the existing tags for the topic
As you type in your proposed tag, if you pause a bit, the Answers system will search many of the existing tags and show you matches. This helps you to retain consistency with tags other people have entered. Tags that have not been applied much before will not be suggested. The details are not known, but it appears that tags will be included in the search once they have been used some 5 to 10 times.
If you have a Answers Reputation of 5 or more, then you can add tags to any Question, by clicking on the "Add/Edit Tags" link in the top right of the Tags display of Questions. This will expand the Tag area into an input area in which you can enter new tags.
If you have a Answers Reputation of 50 or more, then you can remove tags from any Question, by click on the "Add/Edit Tags" link in the top right of the Tags display of Questions, or by clicking on the red circle shown directly after the tag.
Tags dealing with filters
I do not know at the moment what the consensus name is for low-pass or high-pass filters ("lowpass" ? "low pass"? "low-pass"? With or without "filter"? Is "filter" usually written in the plural?)
Also to be resolved: "filter" vs "filters"
I suggest to use the singular for all tags: While it is not the nicest choice sometimes, it is easy to apply and to remember.
The wikipedia approach? No final "s" unless the final "s" changes the meaning rather than simply creating the plural ?
Test case: robotics vs robotic . The "s" makes it into "the study of", not the plural of "robotic"
Tags dealing with Communications Systems and Communications Theory
Tags dealing with Differential Equations
Tags dealing with Optimization
Unresolved: "genetic algorithm" or "genetic algorithms", or use "ga" as the canonical form?
Unresolved: "linprog" versus "linear programming"
Tags dealing with Graphics
Unresolved: is "plot" specific to the plot() routine, or is it about plotting in general, or should that be "plotting" as a tag ?
Unresolved: "contour plot" or "contour plots" or "contour-plot" ?
Should we split this into plotting vs GUI ? plotting is a big subject.
"plot" is fine for all 2D graphics. For 3D graphics "plot3D" might be better than "mesh"/"patch"/"surf", because it covers "surface", "cylinder", "sphere" etc also. If a question really concerns a specific command like "surf", I'd use the command name as additional tag at all.
I would prefer to have some way to tell the difference between discussion of plotting, and discussion of the plot command. In the cases of "error" and "help" when referencing the command I tag complete with () afterwards, such as "error()", but I suspect there are too many people likely to use "plot" without "()" to make that usable. I think I would feel more comfortable with "plotting" as the category and "plot" for the command.
I keep in mind, though, the number of Questions that would have to be reviewed to impose consistency. Still, we can always come up with something that we apply going ahead, and only on any old postings that we feel like touching up.
Tags dealing with Image Processing
The tag "npr", meaning Number Plate Recognition, is sufficiently less common that it is not encouraged.
Unresolved: "optical character recognition" or should "ocr" be the canonical form?
Possibly add a tag to handle medical image modalities such as CT/MRI/all the fuzzy and letter named (K,C) clustering segmentation methods?
I do not often see the modalities listed as tags. Though I do see dicom related tags. But please go ahead and propose.
The clustering techniques are used for other tasks as well, but as far as I am concerned it would be fine to list a tag under multiple groups.
Best spelling of "kmeans" vs "k-means" vs "k means" needs to be decided, partly by review of existing postings to see what people actually use now.
Tags for Energy and Power
Unresolved: merge "load flow" and "load flow analysis" ?
Unresolved: "newton's method" or "newton raphson method"
Tags dealing with Symbolic Computing
The search engine automatically removes plural "s" from the search criteria, and from the text to be matched, so searching for "syms" is currently the same as searching for "sym" and either would find the other.
The search engine is smart with trailing s?! I failed last week using "tags: meta", because it must be "tag: meta". Brr.
I'm thinking of when the user searches without a prefix, e.g., search for sym would be the same as search for syms
Tags dealing with Data Analysis
Unresolved: "principal component analysis" or "principal components analysis" or use "pca" as the canonical form?
Tags dealing with Neural Networks
Unresolved: "ann" or "nn"; "neural network" or "neural networks" or use "nn" as the canonical form?
Tags for Data Import and Export
Unresolved: "activex" or "activexserver"
"activex" will catch the "activexserver" questions also. What is "textread"?
"textread" is largely historical, but some of the users here still use very old versions.
Tags not yet categorized
Unresolved: "k-means" or "kmeans"?
"duplicate post requiring merging" and "duplicate post" should be caught by a flag. As soon as the duplicate post is deleted, the tags are meaningless.
There are bunch of old duplicates still in the system.
Also, "duplicate post requiring merging" usually implies that "someone" should move Answers or Comments to another Question, because the topic is active on multiple Questions. Sometimes, though, I do tag posts that way and leave them when there has been no response on the duplicate, as I sometimes get weary of doing the editing needed to merge the new phrasing into the old Question. I guess I could Close and include the URL of the duplicate in the closure message, but sometimes I do not feel like looking up the old URL. Especially if my connection to Answers is acting up like it was all last week.
Tags dealing with elements of the MATLAB Language
Avoid "if loop", as there is no such thing in MATLAB.
Unresolved: "while" or "while loop" ? "matlab function" or "matlab functions"? "cell" or "cell array" or "cell arrays" ?
Tags dealing with MATLAB data types
Unresolved: "structure" or "structures"
"struct" for structures. Singular "string". "uint64" etc. "oop" for object oriented programming.
"struct" is the implementing call, but it is often more natural to discuss the topic, "structures"
People seem to find "strings" more natural to discuss than "string"; I do too.
Tags dealing with Simulink
More experienced Simulink users can contribute additional tags, no doubt.
9 Comments
Direct link to this comment:
http://www.mathworks.co.uk/matlabcentral/answers/43073#comment_88539
Please contribute common tags, or clarify meanings, or rephrase, or propose categories or suggest movement within categories.
This is not intended to be a complete list of tags, ever, but for any particular subject area it would be nice if it covered the most important or most commonly used tags -- or at least gave guidance for preferred forms of tags that people are more likely to enter differently.
Direct link to this comment:
http://www.mathworks.co.uk/matlabcentral/answers/43073#comment_88546
I am thinking of adding
to the title of this Question. It isn't quite a glossary and is not intended as one at the moment, but it is starting to look like one...
Direct link to this comment:
http://www.mathworks.co.uk/matlabcentral/answers/43073#comment_88721
its a very nice thing and very good initiative taken by an active member of the forum.
Direct link to this comment:
http://www.mathworks.co.uk/matlabcentral/answers/43073#comment_88742
Thank you for volunteering, Lucas!
Direct link to this comment:
http://www.mathworks.co.uk/matlabcentral/answers/43073#comment_88875
Terrific resource!
Thank you Walter.
Direct link to this comment:
http://www.mathworks.co.uk/matlabcentral/answers/43073#comment_88939
I was thinking this morning, that to keep from duplicating the entire MATLAB function list, and keep the effort required for this thread manageable, that perhaps we should not bother to list tags that are MATLAB routine names, not unless the tag also has a broader meaning. For example, "plot" can be broader than "plot()".
What do people think?
Direct link to this comment:
http://www.mathworks.co.uk/matlabcentral/answers/43073#comment_88947
What is the purpose of this thread? Do we collect a list of tags in common use? Or do we try to organize the usage of tags in the future?
Direct link to this comment:
http://www.mathworks.co.uk/matlabcentral/answers/43073#comment_89211
how about a statistics section?
Direct link to this comment:
http://www.mathworks.co.uk/matlabcentral/answers/43073#comment_89212
When you start typing a tag, it already gives you suggestions of tags used in the past, so I think people will just use those if they like the tags and I don't think they will come to this thread to check beforehand on the proper tag to use. Though I think editors should be able to modify the list. For example, we don't need both "digital image processing" and "image processing" - some people even pick both of them.