Linked Questions
34 questions linked to/from How do you convert a string containing a number in C scientific notation to a Mathematica number?
3
votes
2
answers
4k
views
Faster way to convert real strings into numbers [duplicate]
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 ...
0
votes
1
answer
1k
views
Converting strings of the form "1.34e5" to real numbers? [duplicate]
ToExpresssion doesn't understand real numbers of the form "1.34e5". How do I convert the string ...
2
votes
1
answer
673
views
Convert matrix of strings to matrix of numbers [duplicate]
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 ...
1
vote
0
answers
216
views
ReadList with type Expression unable to read scientific notation? [duplicate]
I have a file that defines an array of numbers like this:
freq["AQs"] = 8.846947803007962E-4
...
I am reading the file with ...
0
votes
0
answers
22
views
How to get back from CForm to ScientificForm? [duplicate]
Consider a number
number = 2.*10^20
It is in the representation of ScientificForm.
I convert it to C-form:
...
604
votes
19
answers
158k
views
Where can I find examples of good Mathematica programming practice?
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 ...
215
votes
26
answers
18k
views
What are some useful, undocumented Mathematica functions?
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?...
169
votes
6
answers
8k
views
How can one find undocumented options or option values in Mathematica?
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
How do I extract a number from a string?
I want to extract the number from an alphanumeric string. This is what I tried:
StringTake["thiru3", {6, 6}]
The result I got is ...
14
votes
6
answers
19k
views
Convert a string into a list of numbers
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 ...
10
votes
4
answers
5k
views
Import values from tab separated file, change decimal point?
I have files that look like this:
...
14
votes
3
answers
6k
views
Reading in scientific notation from C++ to Mathematica
With a text file with entries formatted as (output from C++):
f[38.67] = -2.5387862698183892298317350539374412777263289550697e-05;
⋮
Is there a way to read this ...
21
votes
1
answer
1k
views
Is Internal`StringToDouble broken in 12.3?
I believe Internal`StringToDouble was the only way to fast convert string into numbers. Now in V12.3 it was removed:
Internal`StringToDouble["1"]
...
13
votes
2
answers
1k
views
Parsing a CSV file using Interpreter
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.
...
4
votes
3
answers
391
views
Plotting data with exponentials
I have some data with 19000 sublists such as :
{" 7.9080000e+01 1.9283193e+04"}
Where the first number is the value for variable ...