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.

Filter by
Sorted by
Tagged with
1
vote
0answers
42 views

Finding total Period length of dataset

I've been tasked with trying to do some analysis on some data. I've been given 50000 points of data, which were claimed to have been collected at a discrete period of $1 m s$ Going under this ...
1
vote
0answers
29 views

How to perform a 2D-multi-peak fitting?

I am wondering how to decompose the data[x,y] into several elliptic-shaped functions, i.e. $f[x,y]=\frac{H}{(1+(\frac{x-x1}{a1})^2+(\frac{y-y1}{b1})^2)^{3/2}}$. I could follow in 1D case, ...
12
votes
3answers
582 views

Generate better looking correlation table

I have this code: ...
9
votes
2answers
422 views

ABC analysis in Mathematica

I would like to take a table with columns for the product name and total profit and segment it into three categories. Each category would have ~1/3 of the total profit (for all products). The first ...
1
vote
0answers
44 views

Persistence diagram

Is there an easy way to get a persistence diagram of given planar points? For example the following points: ...
0
votes
2answers
53 views

Select a number in a list

here is my question. I have a range of parameters spanning in a given range, a={1,50},b={100,200} and c={300,500}. For every set of parameters I have an indexed vector like this (for a given set): <...
4
votes
2answers
77 views

TableView: How to change column headings?

I am not even sure whether it is possible. I would like to change column headings of TableView output to letters such as A, B, C etc instead of 1,2,3. Here is an example: ...
3
votes
1answer
59 views

How can I normalize a dataset relative to data already given previously?

Some scientific libraries, like Scikit-Learn for Python are able to create normalizing/standardizing functions based on data that is previously given. Looking at the documentation for ...
1
vote
1answer
78 views

How to select data from a *.dat file?

Good evening, I have a *.dat file with four columns of data, $ \{t, x_1, x, y\} $. I would like to create another *.dat file containing all the $ y $ corresponding to $ x = x_1 $. Could you please ...
2
votes
3answers
125 views

FindFit refuses to work properly

I have the following simple task at hand: given the data ...
0
votes
3answers
54 views

Point manipulations to list form

I tend to do a lot of code the manual way, which doesn't work out for bigger data sets. I wanted to know if there were in built functions to do the following; ...
5
votes
1answer
63 views

Sort Data Sets by Lines/Neighbours

I have several sets of data which together yield Fig. 1. As can be seen from the colours of the dots, the data sets are mixed, but do obviously belong to several distinct lines. My question is: How ...
0
votes
1answer
79 views

How to remove duplicate points from a plot

I have this equation and I want to draw the contour plot. ...
1
vote
1answer
50 views

Plotting a 2D grid “spectrogram” from a large .csv file [closed]

I'm aware of this question here that uses MatrixPlot to plot the spectrogram of a sound file, but it's too complicated for me to understand, unfortunately. My file ...
1
vote
1answer
31 views

Converting String in “Data” Format within Mathematica [closed]

Hi I have a simple question. Given a random string in the format accepted by the Import[fileWithString, "Data"] i.e the file contents being ...
1
vote
0answers
16 views

Exporting output from many NDSolve's to common .txt [duplicate]

Let there be the following working example ...
1
vote
3answers
45 views

Displaying multiple parts of an expression in a single output

I have the following code: ...
1
vote
1answer
86 views

Logistic fit of data

I would like to use LogitModelFit to find the logistic function to my data. The error I obtain is LogitModelFit::binrsp: The response values are expected to be ...
2
votes
1answer
73 views

NonlinearModelFit won't fit to gaussian data

The form I'm using should be correct because when I input my initial guesses it plots a shape similar to my data. When I use NonlinearModelFit, the fit is not correct at all and is almost flat, then ...
1
vote
1answer
59 views

Remove regular transient spikes from - otherwise - pretty level data

and let me just say thank you for all the help you good people have been providing to stalkers like me through the years. So, in the next few days or months or years, I'll be acquiring data of the ...
0
votes
0answers
41 views

Finding Fourier transform of a quantity v/s theta (0 to 360 degrees)

I have a physical quantity (experimentally measured) lets say T whose variation I have measured with angle (theta in degrees). I want to find out the Fourier components of this quantity with respect ...
2
votes
1answer
55 views

Importing a csv file yields weird first character

Whenever I import a CSV file, I get this weird character at the beginning of the file ,I am not sure why. How can I avoid this?
2
votes
1answer
42 views

Interpolating and subtracting two sets of data

I have a data set "data9k" with x varying from 0 to 365, and another data "data0" set with x varying from 0 to 365. But the x values for both data sets are not same but similar. I want to subtract the ...
2
votes
2answers
44 views
2
votes
1answer
78 views

Better curve fitting of sinusoids

I am trying to fit sinusoids to my experimental data of the form: $y= a+b sin(\theta)+csin(2\theta)+dsin(4\theta)$ and I am using the non-linear fit model. However I feel the data fitting is not good, ...
2
votes
0answers
34 views

Using Wolfram Language for Non-Relational (NoSQL) Data Storage

I've got a relatively small amount of personal data I'd like to try to store and manipulate within the WolframWorld (tm forthcoming). It's not enough data to spin up a MongoDB instance, but since each ...
1
vote
1answer
75 views

Fitting with only few data points [closed]

I am trying to fit an upside down Cauchy distribution to very few data points which are seen in the picture below: I know that the minimum should be near x = 4, ...
5
votes
2answers
117 views

How to plot Parallel Coordinates?

I am looking for a way to plot these parallel coordiantes plot. Can anyone help me out, or point me in a direction?
1
vote
1answer
51 views

How to mark a centroid (=mean) for each clustering

I have a huge dataset in Txt file and I did clustering by using Kmean Method, but I could not mark the centroid for each clustering. If you know the code for that, please reply to this post, Thank ...
1
vote
0answers
49 views

Webscraping when links do not change

I would like to webscrape college sports data. Specifically, I would like to get match by match data from baseball. Manually, this is tiresome but possibly. I go to http://web1.ncaa.org/stats/...
1
vote
1answer
59 views

Exporting data from Wolfram Cloud

I have this table: data = Table[{x, y, Sqrt[r^2-x^2-y^2]-r+RandomReal[{0,0.005}]}, {x, 0, 2.5,0.5}, {y, 0, 2.5,0.5}]; How can I export it to a .txt file using ...
0
votes
0answers
36 views

How can I fit two out of phase data sets to an envelope?

My situation is similar to having a Cos and Sin functions that would combine to the profile of the envelope but the envelope is offset horizontally by some dt. It would be something like aCos(t+dt)+ ...
1
vote
2answers
62 views

Importing a data file with names

I have the following data file which contains four columns of data However when I import it as data = Import["Exo_data.txt", "Table"]; I get the following list ...
2
votes
0answers
35 views

ListDensityPlot3D ColorFunction Interpolation

ListDensityPlot3D seems to do some sub-pixel colorfunction interpolation that results in an odd "halo" around some of the data. ...
4
votes
2answers
167 views

Plotting perpendicular lines to a contour plot (electric field from equipotential curves)

I'm currently working on a experiment about Electric Fields and Equipotential Curves. The problem is that I want to plot (estimate) the curves of electric field using the fact that every one of these ...
0
votes
1answer
57 views

FindFit gives poor regression

My code is ...
1
vote
1answer
35 views

Interactively extracting arbitrary portion of elements from a 2D list

I have a 2D list which can be plotted as follows: Image 1 Based on the plotted image, I would like to select some of the shapes on the image and extract the data for further analysis, for example, ...
1
vote
1answer
50 views

How can I Plot lines in different colors from a data in Graphics 3D?

I want to plot all these different line in different colors to visualize them better. But all I get is the black color for all of them. ...
0
votes
1answer
49 views

How to use a Table to generate numerical data from tridimensional scalar or vector function? [closed]

I am interested to generate numerical values for a scalar and vector function (both are complex functions). My question and concern are how is possible to evaluate if the functions have three ...
6
votes
1answer
161 views

Assign Error bars for y-intercept

I have some data (x,y) with error bars in y direction: ...
6
votes
1answer
351 views

Why is my read in of data taking so long?

I'm just trying to read in some data before I do some calculations. The data set is over 200,000 values that look like this: Here is the code I am using: ...
0
votes
0answers
34 views

How to export the following table?

Consider a table ...
2
votes
2answers
173 views

Fitting two-dimensional data

For this question, I cannot use random sample data. So the actual data can be found here. The data file contains three columns, where the first two are the coordinates $(x,y)$, while the third is the ...
2
votes
2answers
59 views

Replacing within a column without extracting it/modifying data

I look for an efficient way to work with a column as a part of large dataset. Unfortunatly because of my limited experience, so far the only sure way for me was to extract the column first, do my ...
0
votes
1answer
61 views

Using NonlinearModelFit function with polynomial I have defined

I have a data set that I wish to write a loop for to fit polynomials to. I want to be able to type in the max order polynomial I want it to calculate the fit for and have it solve each along the way. ...
3
votes
1answer
76 views

Choosing the best fit from given plots

I have some data: x={1,2,3,4,5,6,7,8,9,10} y={3.05,21.05,69.05,162.05,315.05,543.05,861.05,1284.05,1827.05,2505.05} That I plot with ...
1
vote
2answers
92 views

Interpolating missing data

I have a data set that contains data of the form (x0, y0, f1, f2, i1, i2, i3). The (x0, y0) are the coordinates, while the values f1 and f2 are real numbers (i1, i2, i3 correspond to some integers ...
-1
votes
1answer
122 views
2
votes
1answer
74 views

How to read in and assign values from a txt file?

I have a text file that I would like to import into Mathematica - after searching around the internet, I can't seem to find any pages that explain how to do this: The text file containes these four ...
2
votes
1answer
52 views

Creating a new data list [duplicate]

Let's consider the following data set data = {{1,3},{-2,4},{5,2}}; with pairs of $(x,y)$, where the $y$ values indicate the count of the $x$ values. Now I want ...

1 2 3 4 5 13