The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
0
votes
0answers
13 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
22 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
38 views
2
votes
1answer
67 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
26 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
71 views

Fitting with only few data points [on hold]

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, ...
4
votes
2answers
85 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
48 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
48 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/...
0
votes
0answers
21 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
35 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
53 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
28 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
94 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
53 views

FindFit gives poor regression

My code is ...
1
vote
1answer
34 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
44 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
47 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 ...
5
votes
1answer
138 views

Assign Error bars for y-intercept

I have some data (x,y) with error bars in y direction: ...
6
votes
1answer
348 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
121 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
52 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
47 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
71 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
70 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
117 views
2
votes
1answer
70 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
46 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 ...
0
votes
0answers
65 views

Rearranging a list of data

I need help for rearranging my data If I have data for 10 cases depends on L values (from 1 to 10) and every case has 5 columns (the first row has 5 values for L=1, the second row is for L=2, and ...
0
votes
1answer
39 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
113 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
19 views

Strange Import behaviour from wls script

I have a data file that is composed as follows ...
5
votes
4answers
269 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
94 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
66 views

Creating custom values for a histogram

Let's consider the following test case ...
1
vote
1answer
47 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
44 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 ...
1
vote
1answer
44 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
37 views

Error with combining lists

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

How to make BarcodeImage carry more information?

We could use QR code to encode and decode small data ...
1
vote
1answer
42 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
47 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
152 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
171 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
63 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
143 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
49 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
74 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
424 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 ...