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
0answers
33 views

Fitting of 2D data [migrated]

I have a 2D data-set. If we plot, it looks like above. Now if I want to know the central value of the distribution $\theta$ and width of the distribution $W$. How do I do that?
0
votes
0answers
37 views

Variable Plotted in 3d Space

I am trying to plot dose rate in 3d space in terms of r, theta and z. None of the variables are functions of each other they are just arrays of points with the following sizes: Dose 220x35 r 220x35 z ...
1
vote
1answer
34 views

How to select the data in a given way?

Consider the data data = {{x1,y1,z1},{x2,y2,z2},{x3,y3,z3},{x4,y4,z4},{x5,y5,z5},{x6,y6,z6},...} with N rows. It can be divided into N/6 sets of 6 rows. I want ...
2
votes
1answer
27 views

How to plot one set of data as solid line for one domain and as dashed line for another domain?

Consider a set of data {{x,y}}. How to plot it in the way such that for all x > x0 the plot line will be solid, while for x < x0 it will be dashed?
3
votes
1answer
53 views

What's the best way to import such dataset?

https://www.ocr.org.uk/Images/400305-large-data-set-lds_1-h630-2018-h640-2018-2019-pre-release-data-mei.xlsx What's the best way to import such dataset? I have tried to use ...
0
votes
0answers
31 views

Adding points to plot created with interpolate [duplicate]

I have created plot of my model function: energy[kx_,ky_]:=Sqrt[1-(Cos[kx/2]Cos[ky/2])^2] using the material from question that I have previously asked (Energy ...
3
votes
0answers
60 views

Good habits for handling intense computations with mathematica

I always used mathematica for more "theoretical" computations: maybe I had to handle intricated manipulations, but things that you could almost do on paper. Now I just joined a new project where we ...
1
vote
0answers
32 views

How to visualize and interactively correct time series data [closed]

I am looking for an efficient method to visualize measured time series data with about 100.000 data points per year, such that eye-catching data points may interactively be tagged as suspicious, e.g. ...
1
vote
1answer
39 views

Make a plot from data [closed]

I have two variables $x$ and $y$ satisfying, say, $y^2 + x < 1$, such that $0 \le x < 1$ and $0\le y<1$. I want to plot all the points satisfying the inequality $y^2 + x < 1$ and also show ...
0
votes
1answer
31 views

How to close the contourplot3D from top?

I received a very nice solution by Chip Hurst to make my 3DContourPlots smooth and closed in here. Now I have another problem that is simpler but I still want to know the ideas of the others. The data ...
1
vote
1answer
45 views

How to make the ListContourPlot3D smooth and closed?

I am struggling with making my plot in ListContourPlot3D smooth and closed. I have seen so many posts regarding the same issue but in other functions, the solution of which can not be applied to ...
2
votes
2answers
50 views

Median of multiple lists of points

I have three lists of points that I want to combine, take the median of and then plot. I'm not entirely certain how to combine and median them. They are data points from three different months, and ...
0
votes
0answers
42 views

Ignoring text when converting strings of text to numbers

I have a string of measurements--mostly numbers, but occasionally an NA. Right now Mathematica is reading it all as text, so I'm using ...
1
vote
1answer
36 views

Building a data frame from a list of lists of lists

OK, let's say we have a following list of lists of lists: ...
2
votes
1answer
64 views

Label quartile / quantile data

I searched for a WL implementation of the Python Pandas qcut function but could not find one. Anyone aware of an implementation? For the moment I just need quartiles and the assignment of values in ...
-1
votes
1answer
107 views

Importing large csv files [duplicate]

I'm trying to import a large csv file (around 1.5GB) so I can multiply one of the columns, and plot it against another. There are seven columns in the file when I try and open it in excel, and I need ...
0
votes
1answer
50 views

Plotting massive amount of data

I have to plot a huge amount of data. I have only one file, I've already imported it. The file contains the following: 48 separate smaller fractions. Every fraction begins with six numbers (which ...
-1
votes
0answers
45 views

Trying to select data in a csv based on month

I have a csv file that has the measured data (conc), where it was collected (z) and date. I'm trying to select data based on the month it was collected in so I can plot them separately and compare. I ...
1
vote
2answers
32 views

How can I get LanguagesFractions data in different years?

I want to do that. But it failed. May I change my code? Or Where can I get these data?
0
votes
1answer
46 views

Where can I get these data?

Look at this, I want to find such data, but I found Wolfram doesn't have. May I use other code?
0
votes
3answers
108 views

Find peaks in data set and correlate variables [closed]

I have a data set composed of a X variable (col 1) and two Y variables. Y1 shows roughly 40 peaks while Y2 is a linear function. Is it possible to find the approximated 40 Y2 values for which Y1 is a ...
0
votes
1answer
62 views

Fitting data using a parametric differential equation

I was fit the data using differential equation(eqns) and pfun I tried data fitting (I gave the parameter directly..a=22500, b=10^-22, c=2*10^-40 and scaling factor k=1.04 10^-36) ...
1
vote
1answer
41 views

Rule based list manipulation

I'm trying to restructure the following expression: start = Table[{1, 2, 3, 4}, 5]; Join[{ToString /@ {first, second, third, fourth}},start] Into this: ...
1
vote
0answers
47 views

K-medians clustering computation

Is there a built-in function for data clustering using k-medians algorithm? I found out about the ClusterDissimilarityFunction of the ...
0
votes
1answer
95 views

numerical solution of nonlinear differential equation : parameter fitting

I want to fit data X-axis and Y-axis are L and P, respectively n'[L,t] == L a - b n[L,t]^2 - c n[t]^3, n[L,0]==0 a,b,c is independent parameters. P value is ...
3
votes
1answer
154 views

Cleaning away data points which are enveloped within a function

I have some data taken in an experiment which I want to fit and analyse. But before I start fitting function, I want to clean points away in a robust but elegant way. I first provide some sample data ...
0
votes
1answer
32 views

Fit data with a given function depending on parameters

I want to fit the data of a star's temperature with a function from a model. That function depend on several parameters. I want to know how can I find the value of those parameters. The data is: <...
0
votes
1answer
78 views

Density plot with a list of $ (x, y) $ data

I have a list of $ (x, y) $, say {{x1, y1}, {x2, y2}, ..., {x1000, y1000}} and would like to make a density plot. I understand that I may categorize the data into ...
0
votes
1answer
33 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
50 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
75 views

Merge Associations and replace absent value with 0

I have two associations like this ...
3
votes
3answers
139 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
102 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
129 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
4answers
147 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
92 views

Functional operations with data [closed]

I have the following data (a shorter sample of the whole data) : ...
2
votes
1answer
387 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
51 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
44 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
68 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
1answer
31 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
70 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
102 views

Problem with fitting square root-like function

I have following data: ...
0
votes
0answers
43 views

Simultaneous fitting of polynomial parameters to data [duplicate]

I have two following data-sets: ...
1
vote
0answers
27 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
61 views

How to calculate asymptotic convergence of 2D data

I have the following data: ...
2
votes
1answer
76 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
98 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
121 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
150 views

Interpolation of data

Consider a set of data points ...