Linked Questions

3 votes
2 answers
4k views

Working with big files, I have to convert some numbers that are in string format into real MMA numbers. I know that I can use ToExpression but it's slow when ...
Murta's user avatar
  • 26.5k
0 votes
1 answer
1k views

ToExpresssion doesn't understand real numbers of the form "1.34e5". How do I convert the string ...
a06e's user avatar
  • 11.7k
2 votes
1 answer
728 views

I have 101 files each with a lot of data. from C output. (.out files) I have imported them to Mathematica 9. However, Mathematica reads the data from each file as an element of a table. So I used ...
HuShu's user avatar
  • 459
1 vote
0 answers
218 views

I have a file that defines an array of numbers like this: freq["AQs"] = 8.846947803007962E-4 ... I am reading the file with ...
dabd's user avatar
  • 839
0 votes
0 answers
30 views

Consider a number number = 2.*10^20 It is in the representation of ScientificForm. I convert it to C-form: ...
John Taylor's user avatar
  • 6,063
608 votes
19 answers
161k views

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
216 votes
26 answers
19k views

There have already been some questions about some undocumented functionality in Mathematica. Such as (please add to these lists!) How can one find undocumented options or option values in Mathematica?...
171 votes
7 answers
9k views

Mathematica has a lot of undocumented or poorly documented options. How does one go about working out if there is an undocumented option that might solve a particular problem? How does one work out ...
17 votes
9 answers
17k views

I want to extract the number from an alphanumeric string. This is what I tried: StringTake["thiru3", {6, 6}] The result I got is ...
thirupathi's user avatar
14 votes
6 answers
20k views

I got the following problem I don't know how to solve or if it's at all possible to solve(I'm quite new to Mathematica and don't have an IT background, so please explain slowly if possible:)) I'm ...
Phily's user avatar
  • 181
10 votes
4 answers
5k views

I have files that look like this: ...
C. E.'s user avatar
  • 71.7k
14 votes
3 answers
7k views

With a text file with entries formatted as (output from C++): f[38.67] = -2.5387862698183892298317350539374412777263289550697e-05; ⋮ Is there a way to read this ...
fpghost's user avatar
  • 2,155
21 votes
1 answer
1k views

I believe Internal`StringToDouble was the only way to fast convert string into numbers. Now in V12.3 it was removed: Internal`StringToDouble["1"] ...
Murta's user avatar
  • 26.5k
13 votes
2 answers
1k views

The new Interpreter functionality in version 10 looks like it has the potential to make parsing custom data formats very easy. I'm trying to create a CSV parser. ...
Szabolcs's user avatar
  • 239k
4 votes
3 answers
499 views

I have some data with 19000 sublists such as : {" 7.9080000e+01 1.9283193e+04"} Where the first number is the value for variable ...
500's user avatar
  • 5,629

15 30 50 per page