Stack Exchange Network

Stack Exchange network consists of 175 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
25 views

How to obtain the correct interpolation for the following data?

I have a dataset DistrTemp.dat. It represents a set of data in the form {{x,y,z,f[x,y,z]}}. Here, x defines a system, while ...
2
votes
1answer
99 views

Why doesn't Mathematica completely draw the fit?

I have a question, and I really need your help, because I think I'm not understanding the reason... I have a potential model.. F[x_] := k x^n for the next ...
0
votes
0answers
15 views

Strange Import behaviour from wls script

I have a data file that is composed as follows ...
5
votes
4answers
225 views

Threading data on TimeSeries

Say I have two TimeSeries: x = TimeSeries[{2, 4, 1, 10}, {{1, 2, 4, 5}}] y = TimeSeries[{6, 2, 6, 3, 9}, {{1, 2, 3, 4, 5}}] x has a value at times: 1,2,4,5 y ...
3
votes
2answers
78 views

How do I import data formatted in C or Fortran into Wolfram Language?

I want to import some data that has been formatted using C language. I am not sure if there is a way to read in data by specifying column widths in WL. The data has been formatted using ...
2
votes
4answers
62 views

Creating custom values for a histogram

Let's consider the following test case ...
1
vote
1answer
46 views

Plotting Data Points Yields Strange Result

I want to plot a rather big amount of data points. About 16000 points. I'm still a newbie to Mathematica so I hope it's just a simple mistake. Heres a minimal example: ...
0
votes
0answers
36 views

Plotting data imported from Excel and overlaying it on a disk

I'm new to Mathematica and I'm trying to get the hang of plotting data from an external CSV file. The data is just x, y, z values from an experiment I ran. I would ...
0
votes
1answer
32 views

Why UnitCovert doesn't work with Fit?

I need to find the Hubble constant (Ho) in light years, from some data, the exercise tells me that the constant of the hubble is the slope of the line. data: r1 is in MegaParsecs. ...
2
votes
0answers
36 views

Error with combining lists

I'm attempting to combine lists of the form ...
3
votes
0answers
49 views

How to make BarcodeImage carry more information?

We could use QR code to encode and decode small data ...
1
vote
1answer
37 views

Problem with plotting data [closed]

I am attempting to plot a large amount of data that I have imported from a file — dimensions {400, 2}. Both ListPlot and Plot ...
4
votes
1answer
42 views

Plotting evolution of probability with time

I have compiled data about the evolution of a function with time and the data looks something like this. I wanted to plot this data in the form of a density histogram such that every row represents ...
5
votes
3answers
133 views

Automatically Trimming Noisy Experimental Data and Extrapolating It

I have experimental data which looks something like this I first want to remove the outlier points which are at quite high value such as around x= -10,000 etc, how to automatically trim these points....
8
votes
1answer
156 views

Most efficient method for export/import of non-traditional tensor-style dimensions of matrices/tables/lists-of-lists-of-lists(-of lists)?

Hello World! (I did it for my first answer, so it only feels proper...I'm not nostalgic, you are!) OKAY, here we go! Let's start off with the good-stuff, here's my code, made relatively arbitrary, ...
0
votes
0answers
60 views

find gravity acceleration (g) using FindFit

I need some help again, with this simple exercise: Use the data to determine g, but this time use the functional form T = 2 pi Sqrt[L/g] for the period T of a ...
4
votes
2answers
109 views

Non Linear Model Fit - Fitting ODE to Data

Thank you everyone for your meaningful contributions! My Goal and Problem I'm trying to fit a particular ODE in a set of ODE's to experimental data. I've attempted to implement this by following the ...
2
votes
1answer
23 views

What would be the best implementation of the D'Hondt method of highest averages for allocating seats on party-list proportional representation?

The 2019 European Parliament elections are happening shortly and seat allocation will use the D'Hondt method of highest averages. In order to analyse possible scenarios and results I need a Wolfram ...
1
vote
2answers
48 views

Estimating the uncertainty in the slope of a straight line given the uncertainty in the data points

Basically I have some datapoints on the form $(x_i,y_i)$ ...
6
votes
2answers
398 views

Convert a huge txt-file into a dataset

My friend has this huge txt-log of sea levels. He wants to organize it into a dataset. After importing it this file a used StringSplit to separate it into rows, then to singular elements ...
0
votes
1answer
54 views

Generate a table of data points from a surface in 3D

I'm trying to extract the data points from a general 3D surface and saving the data points, in the form of the coordinate triples $\mathbf{ \{ x,y,z\} }$, in a table/array in the format: $\mathbf{\{ \{...
0
votes
0answers
16 views

How can I know the true range of the values returned by AudioLocalMeasurements?

I need to normalize the values of different AudioLocalMeasurements results but I can't seem to find any info regarding the range of values in which each measurement ...
1
vote
0answers
24 views

one Dataset from multiple csv files

In one folder I have many csv files, all sharing an identical header. I can use SemanticImport to produce a Dataset from each ...
4
votes
2answers
168 views

How to leave only the following strings?

Consider a data having the form data = {{1,7,4,6},{1,6,4,8},{2,4,9,2},{E,...},{1,4,6,3},{4,4,6,2},{E,...},...} i.e., some number $n_{1}$ of rows followed by row $...
0
votes
1answer
36 views

How to remove the given columns and strings?

Consider a data having the form data={{P,4,3,2},{V,7,8,9,55},{P,19,3,4},{V,48,6,1,55}} How to remove all rows with V and then to remove the first column, i.e., ...
0
votes
0answers
40 views

Call a function on a list

I have a list that looks like ...
0
votes
1answer
57 views

PDF for one-dimensional data [closed]

Consider a dataset data={{x1},{x2},{x3},...}. How to generate a distribution function over $x$ using it? I tried to construct something like PDF[data,x], however ...
0
votes
0answers
43 views

Creating a prediction/distribution based on several years of data

So I have several years of data from a survey. For each year I've used FindDistribution and Predict to see if I can fit the data. Here's one example Where I used FindDistribution to get ...
0
votes
1answer
58 views

Errors in Gaussian fitting curve [closed]

I fitted simulation data with Gaussian fitting curve, ...
0
votes
0answers
38 views

Moving average of events per minute

Suppose I have a list of times corresponding to event onset over the course of about an hour (in my case, skin conductance responses from electrodermal activity measurements). The amplitude of the ...
5
votes
4answers
95 views

Import every 50th record from a data file [closed]

I want to import a really big data file which seems like it is too big for Mathematica. That's why I want to import the data in parts. For example, if I have 15,000 rows of data then I would read in ...
2
votes
1answer
97 views

Importing and visualizing 4D data

I am very, very new to Mathematica (I downloaded it 1 hour ago). I have a set of 1000 rows, 4 columns data, in a CSV file: data My first problem is that I don't know how to select the columns in the ...
6
votes
1answer
462 views

Solar radiation data

Is there somewhere in Mathematica I can find direct and diffuse solar radiation for a specific position on Earth ? If not, is there a way to import those data from a website within a Mathematica code ?...
1
vote
1answer
48 views

How to produce ListPlot that samples a given distribution?

I wanted to get a binned plot that a uniform background distribution with a spike at some bin. My first instinct was to use RandomVariate, and then ListPlot. What i get is this This makes sense as ...
4
votes
3answers
153 views

Map list to bin numbers

Does WL have the equivalent of Matlab's discretize or NumPy's digitize? I.e., a function that takes a length-N list and a list of bin edges and returns a length-N list of bin numbers, mapping each ...
5
votes
0answers
64 views

Hyperspectral files in the ENVI format?

Have any of you had the pleasure of reading geospatial / hyperspectral files in the ENVI format? Headers that describe the data here, https://www.harrisgeospatial.com/docs/enviheaderfiles.html which ...
-1
votes
1answer
73 views

Liquefying of Nitrogen & Oxygen Gaseous to Liquid Phase. Thermodynamics. How to plot solution? Solved [closed]

Process of Liquefying of air composed of 79% Nitrogen & 21% Oxygen from Gaseous to Liquid Phases as Follows: 1) When Temperature is higher than T>83 k they both are gas. 2) at T=83 k and less ...
1
vote
2answers
55 views

Reading CSV data from a stream [duplicate]

I'm trying to figure out how many rows/records my csv file has, which I have to stream because it's quite large. Can someone tell me if my approach works and how I can get it to loop through the ...
0
votes
0answers
38 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
49 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
35 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
61 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
32 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
66 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
35 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
44 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
32 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
75 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
56 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
43 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 ...