Linked Questions

0 votes
2 answers

Import a large no. of image from a folder together to Mathematica and assign a variable to each of the image [duplicate]

I am using Mathematica for the processing of images. For this I have to process a lot of images. Currently, I import one by one of the images to run the simulation. I want to import all the image ...
  • 371
3 votes
1 answer

Importation multiple dcm images [duplicate]

I'm extremely new to Mathematica. I want to import 201 .dcm (DICOM) files into Mathematica 9. Is there a way to do this which doesn't require my doing it an image at a time? My ultimate need to is to ...
1 vote
2 answers

Importing .txt files from directory with Do loop [duplicate]

I'm new to Mathematica. I'm trying to write a script that automatically imports a bunch of .txt files from a directory into different lists. The files are labeled fileXX.txt where XX are numbers 00 ...
  • 13
0 votes
0 answers

How to automatically Import, Name and Export multiple images? [duplicate]

I have a directory (myDataDir) full of images ("myImage1.tif", "myImage2.tif", ...), and I ...
  • 161
0 votes
0 answers

Importing multiple data files into my notebook [duplicate]

I am trying to import several data files all at once into my Mathematica notebook. I want get all of them together by evaluating one expression (perhaps a Do-Loop). ...
2 votes
2 answers

Import a given column from an excel file? [closed]

It seems that I can get the first column of excle data, say "test.xls", if I know the total length... ...
  • 1,225
5 votes
1 answer

Get the last line from each of a large number of files, transform them, and write all results to a single new file

I have several hundreds of .csv files that are not logically named (contains numbers, characters, and special characters), all stored in a directory. Each file has large but unequal number of rows and ...
  • 888
3 votes
1 answer

How to import several files at once?

I tried to import multiple files at once. Following this topic my code is files = FileNames["*.phz", NotebookDirectory[]] neki = Import[#, "Table"] & /@ files ...
  • 1,245
1 vote
3 answers

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 ...
3 votes
1 answer

Excel to Mathematica and plot [closed]

I have an csv file that I open with excel. In it 2 columns of numbers. I'd like to import it to mathematica and plot it. How can I do ?
  • 1,235
0 votes
1 answer

Elegant ways of solving this file batching task

There are a batch of data files in a folder (dir = "D:\\Documents\\datadir"), each of which consists of a list of data items, one per line. Each data item is a pair ...
  • 818
4 votes
0 answers

Can one combine Mathematica with bash script?

For example, I create a Mathematica nb file which can work on a set of parameter values or several files at once. It needs me to change the parameter after finishing computing one parameter. If I ...