This question already has an answer here:


doesn't clear subscripted variables. It won't clear these variables for example.

Subscript[x, D] = {{0.97, 0.95, 0.93, 0.94, 0.96}}
Subscript[x, B] = {{0.04, 0.05, 0.06, 0.06, 0.04}}

marked as duplicate by Michael E2, m_goldberg, ubpdqn, MarcoB, Yves Klett Feb 10 '16 at 6:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ Related: mathematica.stackexchange.com/a/46239/1871 $\endgroup$ – xzczd Feb 10 '16 at 2:59
  • $\begingroup$ Welcome to Mathematica.SE! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! $\endgroup$ – Michael E2 Feb 10 '16 at 3:10
  • $\begingroup$ You can format inline code and code blocks by selecting the code and clicking the {} button above the edit window. The edit window help button ? is also useful for learning how to format your questions and answers. You may also find this this meta Q&A helpful $\endgroup$ – Michael E2 Feb 10 '16 at 3:11
  • 1
    $\begingroup$ Please don't use subscripts until you're really proficient in Mathematica. See mathematica.stackexchange.com/a/18395/193 $\endgroup$ – Dr. belisarius Feb 10 '16 at 3:12

Subscript[x, D], etc., are expressions, not variables. Your definitions are stored as down-values of the symbol Subscript. You need to use


Not the answer you're looking for? Browse other questions tagged or ask your own question.