Linked Questions

18 votes
5 answers
6k views

I have very strong desire to use superscript as the index of the variable. However, it looks like that the Mathematica automatically recognize the superscript as the power and I got message that my ...
Donggyu Jang's user avatar
19 votes
4 answers
2k views

Let's say I have a function formula[x_List] := (x[[1]] - x[[2]]) + (x[[3]] - x[[4]]); and I want to pass it a variable and get back the unevaluated formula with ...
Michael Stern's user avatar
20 votes
3 answers
4k views

I'm new to Mathematica and I've just begun reading Paul Wellin's Programming in Mathematica. The book, like many other books and online tutorials, revolves around using the notebook, with all its ...
Andrew Cheong's user avatar
16 votes
2 answers
660 views

I have an expression where I want to replace L but not L[_] For example, the following doesn't work and ...
jlperla's user avatar
  • 1,007
9 votes
2 answers
9k views

Sometimes one may want to execute a notebook via the command line (for example to run it remotely). As far as I know it's not possible to run notebooks directly, but ...
Emerson's user avatar
  • 1,257
11 votes
2 answers
474 views

Background: I had the same issue as described here, and I went to extend Mr.Wizard’s code such that a[b][c] would be shown as $a_b^c$. Issue: To my surprise, ...
LCC's user avatar
  • 211
2 votes
2 answers
459 views

So here is what I have thought: Use ToString and StringLength in order to get the number of characters in the variable name. If ...
Julian Wittische's user avatar
8 votes
1 answer
425 views

Bug introduced in 10.0.0 and fixed in 10.0.1 I had code to display with subscripts from Displaying index as subscript on output: e.g. C[i] -> C_i with Notation[...] or Interpretation[..]? which is ...
jlperla's user avatar
  • 1,007
5 votes
2 answers
485 views

How might I modify Mathematica such that I can get the following functionality when working with HEX values. The odd lines are input and the even output. Red values should be the HEX values. What ...
William's user avatar
  • 7,675
4 votes
1 answer
264 views

As part of another issue, the following has come up. Create an Interpretaion: Interpretation[Subscript[a, b], a[b]] Select ...
jlperla's user avatar
  • 1,007
4 votes
1 answer
159 views

Let's say, we have a list: values = {1.2, 0.04, 0.9}; Is it possible to replace 0.04 by some expression, which displays as <...
HannesK's user avatar
  • 81
3 votes
1 answer
159 views

I want a function that takes expressions of the following form: a$x and converts them to a[x]. In particular, consider the ...
jlperla's user avatar
  • 1,007
1 vote
0 answers
46 views

When i use Replace[] or /., I find that Mathematica does not treat $x_{j}$(Subscript[x, j]) ...
Aerterliusi's user avatar