1k views

### Is it possible in mathematica to use dynamic names of variables [duplicate]

I have variables in my code following the following notation : theta12, theta13, theta14 etc.. I would check the values of all this variable so I could write an if condition for each theta but I ...
• 2,164
304 views

### How to joint symbolic expressions together [duplicate]

I want to joint symbolic expressions together to create a another symbolic expressions. one way to do that is as follows: ...
• 19.9k
1 vote
50 views

### Some challenge for a Table mixing between output number Variables and ToString symbols [duplicate]

How can I output a series of data, ranging from s00, s01, s02, s10, s11, s12, s20, s21, s22; by writing a table with s is a fixed, and m and n are running parameters, for example: ...
• 923
4k views

### Getting a String from a list of strings

Is there a way to write down Mathematica with a string such as: {"M","a","t","h","e","m","a","t","i","c","a"}?
• 8,587
1k views

### Opposite of StringSplit

What is an appropriate command that does the opposite of the following? StringSplit["a b c d e f g"," "]
• 7,605
223 views

### StringReplace adds "~~" to words with Tooltip

I'm adding tooltip to certain words in a text. I guess since words with tooltips are not considered as strings, it gives the ~~ operators before and after the word ...
• 123
1k views

### How to name a variable with the value of another variable?

A simple but very important (at least for me) question. In some languages for defining a variable, for example, we can do: i=10 "d"&i=30 So I have defined the variable d10, and... d10=30 ...
1k views

### How to switch from array to string?

Considering we have an array: a = {2/3, 4/5, 9/7, 3/7, 1/7, 1/9}; How can I get this to be: "2/3 4/5 9/7 3/7 1/7 1/9" ...
• 1,708
1k views

### Understanding Function and Variable in Mathematica for beginner [closed]

I'm reading the book of Leonid Shifrin, and I love the way the book explains the core in Mathematica. As everything is an expression, now I understand that, there ...
• 1,761
619 views

### How to Convert a Number to String for Export a Table

I am generating a table with 4 columns, wheras only the columns 3 and 4 have the same length. ...
• 321
347 views

### Generating plot legends [duplicate]

I want to generate a list as below for the legend of my plot, {D=0, D=0.5, D=1, ...} using the code ...
• 575
1 vote
152 views

### How to generate a training set in an automatic way?

This question is related to [my previous item][1] where arithmetic with machine learning was considered. The results of the Predict command were not good because of ...
• 26.4k