Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [data]

Questions on systematic data handling and analysis, including data correction, manipulation, or selection of user-data or built-in data available with Mathematica.

0
votes
1answer
32 views

How do I extract data points from an audio plot at a constant spaced time interval?

AudioPlot[Audio[File["Downloads/1_mp3.wav"]]] data = Cases[AudioPlot[Audio[File["Downloads/1_mp3.wav"]]], Line[x_] :> x, Infinity] This code can extract data ...
4
votes
0answers
47 views

Candidate sampling for softmax neural networks in mathematica

Though I've been using mathematica for a few years, I've never really delved into its ML capabilities (except for the occasional clustering). I'm curious if anyone who has some experience using ...
2
votes
3answers
62 views

Merge Associations and replace absent value with 0

I have two associations like this ...
3
votes
3answers
136 views

Rank Transformation of an Array

Is there a built in function which rank transforms an array of data? By rank transformation I mean data = {2.4,5,1,6,7,10,2} Rank[data]={3,4,1,5,6,7,2} where ...
1
vote
2answers
96 views

Sampling data from numerical values of density distribution of nucleons

How could i sample my data which follows distribution if i have only numerical values of density distribution as an example data attached as in picture I tried but do not know how to do it. The data:...
2
votes
4answers
114 views

Subdivision of a line into n intervals of linearly changing length

This question is separate, but connected to my previous question on this site, that can be found here. Let's say that we have a line of length X (in this case X=5), defined by a list ...
4
votes
3answers
120 views

Linearly change the step size in a table

I am trying to create a table of points, where the size of the step would change linearly from a certain value to another. Bellow is a simple code to demonstrate a table of points with a constant step ...
-1
votes
1answer
90 views

Functional operations with data [on hold]

I have the following data (a shorter sample of the whole data) : ...
2
votes
1answer
378 views

Converting built-in Mathematica symbol to C [closed]

I am trying to convert my Mathematica code to C since it can sometimes takes the Mathematica code quite a while to execute since the arrival times lists are hundreds of thousands of counts long, and ...
0
votes
1answer
44 views

Forcing a 2D nonlinear fit through a set of points

I am trying to fit a set of data points using exponential functions as the underlying process suggests an exponential decay. The data points are: ...
1
vote
0answers
37 views

Fourier transform of non-uniform sampled data

I need to perform an inverse Fourier transform of this set of data, which is in the frequency domain (the x-axis is in $\mu$Hz). However, I'm having two doubts $-$ firstly, this spectral spacing is ...
0
votes
1answer
60 views

Permanently Import an Excel CSV File to Mathematica

I had imported the file already and everything is working from my computer, but when the notebook is opened in a different computer none all the commands work properly. Thanks.
1
vote
2answers
24 views

Import multiple datasets, then plot separately

First of all, I am pretty inexperienced with Mathematica. I am using it for data analysis for a lab class. I have a file folder with my data as tab-separated values in .txt files. They are named ...
3
votes
1answer
61 views

Changing the averaging window dynamically in a moving average

I have some temperature decay data (2k points) that is very noisy for large time values. I don't want to do much or any smoothing to the data early on, but would like a large window to average over ...
0
votes
1answer
79 views

Problem with fitting square root-like function

I have following data: ...
0
votes
0answers
41 views
1
vote
0answers
26 views

Test if data is regularly sampled

I want to determine whether I have regularly sampled data or not, a là RegularlySampledQ. The data itself might be huge. I tried a bunch of different approaches and ...
2
votes
1answer
59 views

How to calculate asymptotic convergence of 2D data

I have the following data: ...
2
votes
1answer
72 views

Fitting an equation to data set, am I doing this right?

I have a large data set of different values of time. I want to make 1) a histogram 2) fit an exponential function of form A+B*exp(-t/b) from the data To my understanding, this is how I'd do it <...
1
vote
1answer
67 views

Problem importing from HDF5

I'm trying to import an item from a valid HDF5 file, but I get this error: I can read the metadata, but cannot import the actual tensor dataset: And yet it's not an issue with the file's data - as ...
5
votes
2answers
120 views

Selecting points on either side of a curve

I have the following array of data. Suppose I want only to keep data within the two lines. I can achieve my result using the following code: ...
4
votes
1answer
141 views

Interpolation of data

Consider a set of data points ...
1
vote
3answers
71 views

How to convert DateList format to standard SQL format?

I have a date in standard SQL format YYYY-MM-DD HH:MM:SS.xx, where the xx are hundredths of seconds: x = 2016-05-30 11:58:46.84 I have a file with 200,000+ ...
0
votes
0answers
33 views

Problem get the difference between two plots using their data

Everyone :) In the next algoritm I made two set data (NFW1tbcx.dat and SIS1tbcx.dat) with which I make two different plots and I need to make a third plot that would be the difference of the previous ...
1
vote
2answers
66 views

Making a histogram with bin spacing and exporting the data

I want to create a histogram which has spacing between its bins (as shown below): to create this I used the following method: ...
1
vote
1answer
74 views

Build a histogram from stochastic data

I have the following code yielding my stochastic "paths": ...
2
votes
1answer
64 views

Reorder sets of 3D points to retrieve line segments coordinates

I have the following two sets of 3D points representing lines coordinates and points. : ...
5
votes
1answer
53 views

How to submit new state-by-state information to the Data Repository

I'm interested in algorithms for apportioning seats of Congress to states after every decennial Census, for which I'm using Mathematica to test different functions. To this end, I wrote a Notebook ...
1
vote
1answer
49 views

Inserting dat by using for? [duplicate]

I have data set in a form ROG1.dat, ROG2.dat,...,ROG100.dat, I want to import all of them in Mathematica, Can you tell me how? Best
1
vote
0answers
66 views

List of Financial Index in Mathematica

I have to work with different Financial Futures Index in Mathematica using the function "InteractiveTradingChart". But, I can't able to find a complete list of all the available Financial Futures ...
0
votes
0answers
12 views

Importing clampex .abf data into mathematica

I`ve been looking for a way of directly importing data from axon binary files (.ABF) acquired with the clampex software (software webpage). I believe this will be very helpful for all the user that ...
2
votes
3answers
113 views

Fitting two equations to diferent parts of the same dataset

I have a system that transit between two different states. Each state output varies linearly with time, given by $m t+c$, where both lines intersect the $x$ axis in the same point. The output of this ...
0
votes
0answers
35 views

How should I import list of results with scientific numbers so they can be used for further calculation?

I have a file, listOfResults.txt, consisting of many rows of which the following is an example: ...
1
vote
1answer
36 views

Deleting list points that are in a certain 3D region

Hello I have a large number of data points, from which I want to remove these(between the red lines) that seem to fall onto one plane, what would be the best and easiest approach. Also added the ...
2
votes
1answer
58 views

How to speed up `ReplaceRepeated` `//.`?

I have to replace all the elements smaller than 0 in a large matrix to 0.But i found the speed is really slow when the matrix is big. Here is my code. ...
2
votes
1answer
35 views

Data Type that can contain multiple data types

In MATLAB one can use cell arrays and structures to "hold" data of different types. For example, one can define a cell array in which the first cell contains an array, the second a differently sized ...
3
votes
0answers
121 views

Why is there a lot of noise in the Wolfram Blockchain?

I tried to look into the transaction history of the Wolfram Blockchain. I tried this:- ...
3
votes
0answers
41 views

How to find the block number of a transaction in a Wolfram Blockchain?

For example, in block 1004 of the Wolfram Blockchain, I can get the 4th transaction's ID by using the following code:- ...
2
votes
1answer
62 views

Select the right XMLelement

I scrape data from a public website about houses for rent. All pages have the same structure. But the pages can differ in the amount of information. Below I give two examples: page/house 1: ...
1
vote
2answers
77 views

Import data from Excel and plot in Mathematica

I'm trying to Plot data in Mathematica that I upload from Excel. The Excel file has 5 columns. The first column I would like to be the x-values, and the remaining ...
0
votes
1answer
54 views

Given a data set, how to do the following

Please help in executing the following problem in Mathematica: I have the following set:$A=\{1, 2,3,4,5,6,7,8,9,10\}$ (my actual data has more than 10 points). I need to do the following three steps: ...
0
votes
0answers
14 views

How to locate the data behind WordFrequencyData?

I would like to do some historical textual analysis. For example, the following codes with WordFrequencyData and TimeSeries ...
2
votes
1answer
29 views

Attempting to fill a table with the number of elements in each bin and make a table with the elements in the bins?

I am having some difficulty trying to fill a table with the number of elements in each bin while also making a table that holds the elements in each bin. Okay, let me go over my thoughts: So I have ...
0
votes
1answer
33 views

Switching rows and columns for an import file

How can I generate a code for switching rows and columns of a random .txt file? The data inside that file may contain strings, which must be switched too. I import the data in a table format, but I ...
0
votes
1answer
61 views

Plotting line fit

...
2
votes
1answer
67 views

Interpolating and plotting from a list

I have a dataset in this form (but much bigger of course): ...
0
votes
2answers
88 views

Exporting result of calculation to file at each step of iterative routine

I am performing a calculation that involves a triple "For" command. My goal is to export the table of all values of some function (which depends on the three indices) to a data file for statistical ...
1
vote
1answer
71 views

Drawing a surface using an Excel file

I’m totally new to Mathlab. I have the following ‘grid data’ to be read from ‘Office Excel’ that I need them to be drawn as a surface in the Mathematica or Mathlab. I’ve done this with the ‘Surface’ ...
4
votes
3answers
232 views

Multi-peak fitting for peak position

I have a {x,f} data-set featuring multiple peaks. The peaks evolve with a second variable y. I would like to fit the multiple ...
1
vote
2answers
100 views

Binning with negative weights

I have a long list of events consisting of pairs {{e_1,w_1},{e_2,w_2}, ....{e_n,w_n}} I want to bin the energies e_i and then sum the 'weights' w_i of all ...