Questions about getting data, files, images etc. from various formats into a form that can be read, tranformed and manipulated by Mathematica

learn more… | top users | synonyms

1
vote
1answer
23 views

Trying to get simple excel data to be imported as a social network directed graph

My data has two columns that we'll call A and B. The columns proceed as such A B A1 B1 A2 B2 A3 B3 .... I'm trying to make this into a directed graph where A1 has an outgoing edge to B1 and ...
2
votes
2answers
226 views

Follow each pixel brightness in set of images (Memory constrained)

I have a set of 2700 consecutive png images (8bit, 2048*2048 pixels). I would like to visualize the intensity variation of each pixel vs. image number. Here is an example of 10 images: ...
-1
votes
4answers
129 views

Import vs ReadList CSV file with Currency Values

A testing file with the specified format can be downloaded from here Let's read a few lines from this file ...
5
votes
2answers
240 views

Max of imported numerical data will not work

I loaded a list with 400,000 values from a file. The list was loaded correctly as I can get it's length (by Length[]) and I can also plot it. Why can't I get the Max or Min of this list though? When ...
5
votes
1answer
65 views

ReadList ignore comment lines?

Is there a way to make ReadList ignore certain "comment lines" (say, all lines that start with #, or in general all lines that ...
2
votes
0answers
25 views

why does ReadString[“fname”,term] open a persistent stream, and how to close it?

Create a file temp.txt with the following content: test1 ;;; test2 ;;; test3 ;;; Treating the semicolon sequence as ...
3
votes
0answers
78 views

WDF specification?

Motivated by a recent question on the meaning of all sorts of W* acronyms, I would like to get more information about the Wolfram Data Framework (WDF). On its web page ...
1
vote
2answers
104 views

open Matlab sheet and plot

I have managed to import my data into mathematica, but I can't find a way to show the plot the way it was in the lab (Matlab automatically generated file usually show me a graph). Is there a way ...
4
votes
2answers
198 views

How can I encrypt/decrypt a directory?

I'd like to use Mathematica 10's new Encrypt and Decrypt functions to secure files and folders on my mac. Here's what I have so far but something goes wrong along the way, since by the end of this ...
1
vote
0answers
47 views

Import Excel data from within Manipulate

I am processing a set of data using Manipulate, as I need some user input as well and the whole code must be delivered as .cdf . The set of data should be imported from an Excel file which is selected ...
3
votes
2answers
108 views

How to import 12-bit TIFF image

I have a CMOS camera which records images at 12 bit resolution. The camera software allows to save them as 12-bit TIFs. However, Mathematica cannot import this: ...
5
votes
0answers
119 views

Call Magma in Mathematica

I've written some code in Mathematica, related to some group theory questions I have. Subsequently, I found that part of the code could be significantly sped up if I could just call a routine in ...
2
votes
1answer
44 views

how to import plain text file, with mixed formats with strings that contain commas [closed]

I have been struggling with this basic task, and I am surprised it is this hard to do in Mathematica. I get lost in the maze of Import and options and sub-options and after trying many things, still ...
3
votes
2answers
125 views

Importing CSV with multiline text fields

Here is a valid CSV: a1,b1,c1,d1,"e1 e1 e1" a2,b2,"c2 c2 c2",d2,e2 It has two rows and five columns, and contains two fields with embedded CRLF. (See the CSV ...
4
votes
3answers
224 views

Histogram of a very large dataset?

I have a very large dataset stored in a file (over 2GB). The file contains a tab-separated table of floating-point numbers. I want to do an Histogram of all the numbers in the table. But if I try to ...
6
votes
1answer
95 views

Extracting PNG images from AVI movie

I have written the following code to extract all images from an uncompressed AVI movie and to save them as sequential PNGs. ...
3
votes
1answer
131 views

RawJSON vs JSON format

It has been very recently, since the release of version 10.3.0 I think, that Import/Export and ImportString/ExportString functions accept a format parameter with the value of "RawJSON". The ...
0
votes
3answers
62 views

Importing Text file with Null Character column separation

I have a text file (ANSI econding) with two columns of real numbers separated, unfortunately, by a "Null Character" ("\.00"). How can I import this data easily? ...
3
votes
1answer
82 views

Mathematica does not import .mat file correctly [closed]

I have .mat file that contains a binary (0,1) matrix with size 100*100*100. I have used this syntax to import it in mathematica ...
6
votes
2answers
145 views
0
votes
2answers
52 views

Why vertices number increased when importing .STL file

I import a .STL Import[*.st,"VertexData"] file on mathematica and I remark that the number of vertices is increased comparing to the number given by Blender. ...
0
votes
1answer
76 views

Package to read in data from excel files

I want make a package to add a function to Mathematica that reads all excel files is the working directory that is set after the package is loaded. ...
0
votes
1answer
37 views

Import a 3D CSV file results in the wrong dimensions

I exported a some of my data to a file, the data looks like this before the export ...
1
vote
2answers
151 views

Plot from data containing “e”

I have data as a "dat" file exported from matlab in this format: ...
1
vote
1answer
64 views

How to import an external pdf file leaving text as text?

When Importing in Mathematica (v10.3) a pdf file containing some text, the text is "vectorialized", meaning that it does not seem to be loaded as text, and ...
4
votes
2answers
132 views

Extract part of a matrix

I have imported a matrix from a .txt file (it could be better from an Excel file): ...
3
votes
1answer
173 views

how can i associate the headings of columns/rows with content of itself and then recall what i want after i've imported the excel file in mathematica

Hello, i make another try... I have to import a file like this below (it is an excel file, i show you just the beginnig. it should have thousend of rows and columns). After i've imported the file i ...
3
votes
2answers
121 views

Take a specific part of a matrix imported from a .xls

i would like to know if there are any ways to link headings of a table i had imported with the data in the table itself. I imported a matrix from an excel file and i want to take a specific part of ...
0
votes
1answer
79 views

What´s wrong with my FindFit

I updated the data which is a table I deleted the first coordinate as it was the quote from the document. ...
2
votes
2answers
75 views

How to separate the double columns while reading file

I have a file which has contents of the form 10533 "MENDOZAT " 115.0000 : 1 1.00000 Now I want to separate the words and get it as a list. like ...
0
votes
1answer
86 views

Import graphml file in mathematica

I am trying import a graphml file I created with NodeXL in mathematica in order to create a network. However when i try to import it I get the error message: "Cannot import data as GraphML format". ...
1
vote
1answer
46 views

Edit header information of a DICOM file and export it again

I have some DICOM files and want to edit a part of the Header and export the DICOM files with this edited header. I know how to Import a DICOM files and extract the Header Information, but how to ...
4
votes
0answers
31 views

Can't get Mathematica to Import PDF files with diacritics on the file name

Tested with versions 9.0.0, 10.0.2 and 10.3.0, all under OS X 10.10.5. The drag-and-drop ...
1
vote
1answer
41 views

Medium-sized graph won't build

Why can't Mathematica import a 40-KB file (mediumEWD.txt) and build the underlying graph in some decent time? I waited a minute, nothing. ...
3
votes
1answer
55 views

Mathematica can't Import data of NetCDF file with Datasets name including “.”

I have downloaded NetCDF data file EVE_L3_merged_1nm_2015323_005.ncdf from http://lasp.colorado.edu/eve/data_access/evewebdata/products/merged/ and read it by Mathematica 10.0.2 on my windows 7. ...
1
vote
1answer
68 views

Downloading a number of images from a web site as a list

For a MachineLearning project I need to form a training set using images taken from the web page containing lots of them. Like, for example this one. It would be very convenient, if all the images ...
0
votes
1answer
58 views

HDF5 file managing for dummies

I am new to HDF5 format and I am also not hundred percent confident with Mathematica. I have googled to find out examples to deal with HDF5 files in Mathematica but couldn't find one that work out for ...
4
votes
0answers
60 views

File Formats for Scientific Data

I have a simulation written in another language which currently just dumps all its data (doubles, lists of doubles, lists of lists of doubles) in lines in ASCII, and then I read it into Mathematica by ...
0
votes
1answer
48 views

file import from website failed (Http status code 403 returned) [closed]

I failed import an xls file from website in Mathematica but got no problem to download it directly using chrome. Can anyone help me solve the problem? Thanks. The detailed situation is listed as the ...
4
votes
1answer
81 views

Importing large datasets using streams

I work with large data sets with 22 columns and up to a million rows. Each row contains one observation with several variables. All variables are numbers. Simplyfied example: 1, 1, 2, 3, 4, 5, ...
3
votes
1answer
156 views

Run Command Not Executing Node

How do I make the following command work in Mathematia? Import["!\"C:\\Program Files\\nodejs\\node.exe\" -p console.log('test')", "Text"] I don't get any output ...
6
votes
0answers
44 views

Extending $CharacterEncodings support in Mathematica

The list of character encodings currently supported by Mathematica is still extremely limited. For example, it supports only three standard IBM PC (OEM) code pages ...
9
votes
1answer
119 views

Is there an efficient way to load a large list to Mathematica from R within Rlink?

I'm working on something that involves using both R and Mathematica. For this something, I first generate a large R list (1000 matrices, each 200x1000, mixed integer and real values) and then need to ...
2
votes
0answers
110 views

Animate FromQuarternionTo3DRotation nb file with 4 quarternion values

I have a csv file. Inside the csv file, there are few rows of 4 quartenion values. I would like to animate the quarternion nb in http://demonstrations.wolfram.com/FromQuaternionTo3DRotation/ I ...
1
vote
0answers
56 views

Import using POST method and web-page drill down

A response to a previous question about invoking the POST method via Mathematica was most informative in trying to further understand the intricacies of using the POST Method to obtain tabular data ...
1
vote
0answers
36 views

How to test if Import was successful? [duplicate]

I am importing and processing a bunch of files. Sometimes, for whatever reason, some of these files are not successfully imported so I'm looking for a way to Abort ...
0
votes
1answer
79 views

how to import a matlab 3 dimensional array into mathematica

I have created a three dimensional array "data" in matlab by using the following commands : ...
2
votes
1answer
52 views

Extract arguments from MeshRegion created by STL import

I've been trying to extract points and polygons from a MeshRegion expression created by importing an STL file. At first I thought I could use a simple ReplaceAll as shown below: ...
8
votes
1answer
184 views

CloudDeploy - Import[x] issue

My question is about why Import executed in Wolfram Cloud with a fixed value (see A) works and with a variable (see B) doesn't when you use the form and submit the value 5565471199 (same as the fixed ...
1
vote
1answer
83 views

Multiple Import and Export of Images

I wrote a program that imports an image and creates three new images, for example "black and white" or "grey scaled". My problem is that i work with around 200 images and it takes a long time to ...