Questions tagged [tostring]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
52 views

import a data file

I have 350 data files which i have exported like ...
user avatar
0 votes
0 answers
38 views

Concatenate string with the value of each element of a vector/list

I have a vector/list t = {4, 5, 6}. I want to output each element (its value) of t in a string of characters. For example, the ...
user avatar
  • 443
1 vote
4 answers
72 views

Link elements from list to make more lists from certain lenght [closed]

How can I go from this list [36, 73, 84, 0, 73, 83, 0, 69, 69, 78, 0, 84, 69, 75, 83, 84, 31] to this [0000003673, 8400738300, 6969780084, 6975838431]. Is there also a way to make the elements the ...
user avatar
  • 27
0 votes
0 answers
72 views

How to Shape Text?

Imagine I have a certain number 23819657294172004194219023914217958273128471531429470113 If I convert it to a string with ...
user avatar
  • 4,228
2 votes
1 answer
87 views

Make a Greek letter with a subscript appear in an Input message

I've got a variable that has two names on it. It is defined as follows: par={b, Subscript[λ, 0]} I would like to ask the user to enter a value of the second ...
user avatar
4 votes
5 answers
582 views

String permutation

I have a string "abcd". Is there any way in Mathematica such that when I apply some exchange operator $P^{ab}$ it gives me string "bacd"? Edit: After reading answers I felt like I ...
user avatar
0 votes
1 answer
51 views

Converting HyperInt Hlog to Polylogtool G [closed]

how do I replace efficiently HyperInt's Hlog (in maple expression) {Hlog(Y,[1]),Hlog(X, [1, -Y + 1]),Hlog(X,[1,1,1])} in an expression into PolyLogTool G: {G[1,Y],G[1,-Y+1,X],G[1,1,1,X]} Basically, ...
user avatar
  • 7
3 votes
3 answers
225 views

Make matrixes with numbered name

Suppose I have two matrixes M1 = {{0, 0}, {0, 0}} M2 = {{0, 0}, {0, 0}} Now I wanna have $N$ matrixes in this form called M1, M2, M3, M4,...MN How to code to ...
user avatar
  • 701
0 votes
0 answers
65 views

A function that maps Held symbol to string

Rougly my question is about constructing a function that maps Hold[var] to "var" even when var has an assigned value. In details : ...
user avatar
  • 2,825
1 vote
2 answers
127 views

Making an expression to Iceberg-like object?

Can we construct a function Iceberg, which maps a given expression X to Iceberg[X] satisfying 1. and 2. and 3. ? 1. From Iceberg[X], it is not possible to inspect/extract a part of X with usual ...
user avatar
  • 2,825