Questions about getting data, files, images etc. from various formats into a form that can be read, tranformed and manipulated by Mathematica
6
votes
3answers
104 views
Is it possible to Import urls not type “”
These days I often copy urls from Internet Explorer's address bar.
When I paste the url into a Mathematica cell it is neither a string nor a expression.
...
1
vote
0answers
51 views
Exporting Specific Cells of Many Workbooks into One using Mathematica
I currently have a large number of detailed files from which I would like to extract certain cells' information to make an Archive spreadsheet.
There are approximately 9 parameters of each ...
1
vote
1answer
73 views
How to make the plot from geotiff format
I have a "GeoTIFF" format map, and I have imported it into Mathematica, then I used the Graphics to plot a point on the map. ...
2
votes
2answers
67 views
Importing LTSpice data into mathematica
I am working with LTSpice (Discret electrical circuit ( Spice) simulator). I would like to import LTSpice ouput data into mathematica for processing and plots.
An example of a file can be found here ...
2
votes
2answers
161 views
How can I import images from a Microsoft SQLServer database?
I have a table with binary data (images) in Microsoft SQlServer. I want to import that data and convert it into Image format. I wrote the following code, but it's ...
13
votes
1answer
291 views
Gravatars/identicons with Mathematica
The default avatar/identicon is based on an MD5 hash of your e-mail address. With some e-mail providers (e.g., GMail) the address gmailuser+foo@gmail.com is still ...
10
votes
3answers
1k views
Plot data from txt file?
I have data in file.txt which can be expressed by 20000x11 matrix. I do not want to import all of these data. How can I plot graph of the column 1 & column 4?
7
votes
2answers
82 views
How to show wireframes on imported Object / Mesh (.obj file)
I've managed to import a Wavefront (.obj) file and store it in a variable like so:
...
5
votes
1answer
61 views
Importing images from the web using ImportString & URLFetch
I can bring images from the web using the Import command like this:
Import["http://blog.wolfram.com/wp-content/uploads/2008/06/se-30.jpg"]
Sometimes the web ...
2
votes
4answers
192 views
Importing or reading data in binary format 212
I have a binary data file in format 212, and I want to import the file into Mathematica. How do I read or import binary format 212? I almost have no direct experience of working with any binary ...
5
votes
1answer
67 views
Why doesn't DumpSave work for elements created within a local notebook context?
I recently noticed that when dealing with notebooks with local context, I cannot successfully DumpSave variables, or, rather, when I call ...
2
votes
1answer
237 views
Reading in Huge Text Files
I would like to read in really large text files (about 2GB) into Mathematica. The structure of the file is such that the first row and the first column are text i.e strings. Rest is all numbers. Is it ...
0
votes
2answers
84 views
Import matrices side-by-side separated by TAB
The problem is 0(TAB)0 interpreted falsely as a dark red square although it should be a dark red square surrounded by zeroes/ones. Import has different data-formats ...
0
votes
0answers
38 views
location of csv file when importing [closed]
I am trying to import csv file to mathmematica.
However, when I tried to import, Mathematica was not able to find the file (see below).
Do I have to move the csv file to the specific position?
...
2
votes
1answer
74 views
ReadList importing negative times
This is probably an easy question to answer, but I need a fresh eye... I'm struggling with processing the following file (extract shown here) It's a list of dates, and positive/negative time durations ...
12
votes
3answers
169 views
How to Import random elements of huge data files
I am calculating huge data files with an external program. I would like then to import the data into Mathematica for analysis. The files are 2 columns and up to many millions of rows.
So for ...
0
votes
0answers
44 views
How to monitor the progress of Importing files? [duplicate]
I want now,how much of percentage was imported,while importing any file.
How can I solve this?
Can anyone help me?
Thank you.
0
votes
2answers
111 views
Import large amount of data with time stamps
I have a large data file (150 000 lines) which I want to import in Mathematica. The first few lines look like this
...
16
votes
3answers
615 views
Reading periodic elements from a large file
I have a large binary data file (big endian) with 100+ million "rows" of 11 elements, combination of floats and integers.
This is the format:
...
1
vote
0answers
54 views
Significant platform-dependent efficiency when importing data?
I'm curious, as I understand that answer this way:
If you are using a Linux derivative or something like cygwin on
Windows, then this is an efficient solution for reading only the third
field ...
2
votes
2answers
104 views
Importing several huge files with headers & footers
having here several files in ASCII format
http://ge.tt/91rv0Jf/v/0
I want to import, while removing headers and footers and then join the several lists.
...
0
votes
1answer
51 views
Error messages in importing data file
I want to copy the data in a public file (link in code below) and put each row of the data as a sub-list, i.e., in the format
...
0
votes
1answer
69 views
3D plot in Mathematica [closed]
I have data in my file format .dat. The data generated using 'C' program. This data file having 3 columns. How can I import this file using Mathematica? Is is possible to plot using ListDensityPlot() ...
0
votes
2answers
94 views
Convert *.txt file
I would like to Import and Convert a *.txt file which looks like:
https://docs.google.com/file/d/0Bw-308nJcF01Yl92RURCLUg4VzQ/edit?usp=sharing
and turn it into a Matrix which I can use to make ...
2
votes
1answer
55 views
Using NetLink to Import Excel File
I can import an Excel file into Mathematica easily:
But when I try from .Net it fails:
These are the commands and errors I am getting:
...
0
votes
1answer
55 views
How to import sound file from computer? [duplicate]
I know you can import sounds/images from the Mathematica library, but I was wondering if I could import sounds I have on my computer (i.e. .wav files)? I've tried using the Import functon and properly ...
21
votes
3answers
641 views
How to do http POST in Mathematica?
The Import command lets you do a HTTP GET from a URL, like this
Import @ "http://merkosoncampus.com/wp-content/uploads/2011/05/higgs-boson.jpg"
This sends an ...
3
votes
2answers
266 views
Check Google PageRank for a given URL
Does anyone know how to write a Mathematica function that returns the Google PageRank of a given URL?
I found a tutorial for achieving this in a bash script here, but I have no idea how to port this ...
0
votes
0answers
81 views
Determining if a point is inside or outside a 3DS (.3ds) or 3DS MAX (.max) object?
Imagine I import some 3DS (i.e. 3D studio) file (http://reference.wolfram.com/mathematica/ref/format/3DS.html) or a 3DS MAX file. How could I place this model (say, the 747.3ds file in the ...
2
votes
1answer
79 views
diff-able text-only notebooks?
I would like to save my Mathematica notebooks as plain-text documents, so that I can keep them under git version control.
I thought that ...
0
votes
0answers
28 views
Exporting large expression [duplicate]
I generated a huge mathematical expression (~200k terms, impossible to simplify yet) and want to save it for later analysis. Last time I did Export to *.nb file and ...
19
votes
3answers
743 views
Importing videos in Mathematica
Mathematica's Import command is purportedly able to import .AVI files. However, I find that many files that I want to import do only result in MMA showing a blank ...
2
votes
5answers
110 views
Creating ordered triplets from an Excel sheet
I have an Excel sheet of the form:
" " a b c
1 R S T
2 U V W
3 X Y Z
Where every entry is a number (except the blank quotes, ...
1
vote
3answers
69 views
problem with Importing multiple files
I need to import about 100000 "dat" files to my progrom. I want to do this using the last answer to this question:
Importing multiple files using a for-loop
I know that I should define a list of all ...
5
votes
3answers
113 views
Unencoding encoded URLs in a function
Is there a built-in function for decoding encoded URLs in Mathematica?
I would like to convert an encoded URL, for example
...
0
votes
0answers
42 views
The “Source” format of Import[], where's that from? [closed]
In my attempt to import an article from The NY Times, I found it's not working. So I did some searching, and in this thread the OP was in some similar situation.
It seems that the NYT's website is ...
7
votes
1answer
100 views
Exporting German Umlauts to PDF and importing them doesn't work - character encoding problem
I am using Mathematica 9.0.0.0 under German Windows 32bit. I am on trying to export and import German text to PDF and re-import it. It seems that there is a confusion about the character encoding. It ...
7
votes
1answer
98 views
Get both output and return code of external program
Run["program"] will run an external program and return the return code.
Import["!program", "String"] will run the program and ...
1
vote
3answers
123 views
Importing multiple files using a for-loop
once again I am stuck solving a seemingly easy problem :(
I would like to make a List of tables by importing data from several txt-Files.
Importing the data into a table works so far and I am able to ...
2
votes
4answers
181 views
Plotting a large number of data points
I would like to know how to plot when I have a large number of points (arround 600) in a specific format:
...
3
votes
1answer
56 views
Reading RData files without RLink
I am using Mathematica 8. I would like to read some RData files which I have received. I do not currently have an installation of R on the machine with Mathematica.
1
vote
1answer
80 views
Automating sequential import of data from web
I am trying to import data from multiple web pages hosted by a single online source. The data is posted by the source as one data set per web page for each week of the year. I would like to import the ...
4
votes
2answers
104 views
Image Rotation, Line Symmetry
I'd like to import an image, superimpose it, reduce the opacity of the overlaid image, and then use a manipulate to rotate the top image to illustrate rotational symmetry.
The image below is using ...
14
votes
1answer
195 views
Getting Mathematica.SE reputation data
I'm asking the following on behalf of Mr.Wizard.
On StackOverflow I used the old v1.0 SO API and Mathematica to obtain user reputation data. Now we are no longer a tag on StackOverflow and the v2.1 ...
2
votes
1answer
129 views
Beginner question. How do I read a CSV file and remove comments from it
I have very recently started using Mathematica 9.0 Home Edition and am trying to understand it as best I can so please be tolerant ;). I have a file of data (sugar.csv) which contains blood sugar ...
2
votes
1answer
46 views
Avoiding re-evaluation of RegionPlot3D on a second computer
After running a RegionPlot3D named "testplot" on my desktop, I followed an earlier suggestion from the forum and saved it using:
...
-4
votes
1answer
71 views
Exporting data from different notebooks to a common file
I am doing some calculations from different notebooks. I need to export the results from all those notebooks in columns of the same file, like
a1 b1 c1
a2 b2 c2
a3 b3 c3
. . .
where a, b ...
13
votes
3answers
625 views
Is it possible to use Mathematica to record sound and/or vision?
I think the title says it all. I know about ImageCapture which seems to capture stills.
Can ImageCapture be made to capture a ...
1
vote
1answer
82 views
Importing a matrix from a text file
I have a $4 \times N$ matrix in a .txt file of the form:
-17.071 137.567 16.554 0.65
-16.873 136.138 16.934 0.7
-15.397 135.738 16.894 0.7
-14.7 135.982 15.9 0.6
...
1
vote
0answers
102 views
Transferring a list from one notebook to another
I have Mathematica code split into two notebooks. The first part is supposed to run and output a list of numbers into a text file, using Export. The second part ...




