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.
925
questions
0
votes
0
answers
29
views
Making NSum faster with higher precision and accuracy
I have the following code that I want to run to obtain a cumulative list out of various values of s1=3 to s1=10 (say) for the ...
1
vote
2
answers
122
views
Problems with diminishing particle diameter and increasing time step for a simulation of volcanic ashes
I am rather new to Mathematica, and I have been tasked with a project to attempt to simulate the trajectory of volcanic ash particles. In the long term, I am trying to simulate particles of diameters ...
4
votes
3
answers
229
views
How to make Mathematica plot for a very small region?
I have the following data that I would like to plot using ListPlot.
...
3
votes
1
answer
87
views
How to Convert WLSymbolFactory to Python String?
I'm trying to simulate with python and Mathematica, Python need to generate and save some pictures to the directory of current mma notebook, I know the function that ...
2
votes
1
answer
66
views
How to change the color of the bottom plot of my 3D plot?
I wanted to make this 3D plot over this 0 plot to better see the difference, but the problem is that they share the same blue color. I was thinking of making the 0 one red, for a better contrast, but ...
0
votes
2
answers
106
views
NonlinearModelFit extremely slow performance with a single iteration
I have been experiencing very slow performance of NonlinearModelFit. The code that in my case causes that is below. The first part gets the data, the model and ...
0
votes
1
answer
42
views
Is there a filter for smoothing out data that only changes the last incoming value that isn't MovingAverage?
So I'm studying financial markets and I want to smooth out some data. This can be achieved by using MovingAverage(MA) or ExponentialMovingAverage(EMA) but I'm trying to find something better.
There ...
2
votes
2
answers
143
views
Compile does not boost the speed
I have these functions that are used to defineMyFun below
...
0
votes
1
answer
71
views
Why does ListDensityPlot give different profiles for the same data when x and y data excluded?
I have data of the form $\{x,y,z\}$, and ListDensityPlot gives different profiles if we exclude $x$ and $y$ points. Here is an example
...
1
vote
1
answer
73
views
How to compute a weighted mean as a measure of central tendency?
Imagine I have data points in triplicates, as follows
$$
L=\begin{pmatrix}
p_{11} & p_{12} & p_{13}\\
p_{21} & p_{22} & p_{23}\\
& \vdots &\\
p_{n1} & p_{n2} & p_{n3}
\...
0
votes
0
answers
43
views
Splitting HDF5 file
Below I am attaching the h5 file that I want to analyze.
There are two branches "S_F_VAL_0", "S_F_VAL_1"
Each branch has 10 branches, which then have a dataset that is a 3D array ...
0
votes
1
answer
104
views
Removing empty values after importing CSV file
I am trying to import a CSV file with the following structure:
the 1st column has 15 values,
the 2nd column has 10 values,
and 3rd column has 15 values.
But when I import and try to access the 2nd ...
1
vote
2
answers
85
views
How do I fit unknown function to my data?
I have a set of data, to which I am trying to fit an unknown function. I believe it might be a logarithmic function, but I am not sure. Can you help me find a working model?
...
2
votes
4
answers
115
views
Rescaling the data points
Lets say I have the following data points,
...
2
votes
0
answers
37
views
How to avoid disparity in BarChart? [duplicate]
Consider the following code
...
3
votes
1
answer
75
views
StandardizedVector returned by FeatureExtract/FeatureExtraction is not the same as Standardize
The documentation would suggest that the "StandardizedVector" option of FeatureExtract and FeatureExtraction should give the same results as Standardize ("numeric data processed with ...
3
votes
1
answer
84
views
Extracting sub data from large one [duplicate]
LargData =
Table[{i, 2 i, 3 i}, {i, 10000000}]; // AbsoluteTiming
{0.450277, Null}
I want to extract specific columns from the data above but it takes ...
0
votes
1
answer
172
views
Plot roots of polynomials [closed]
I am a newbie with Mathematica.
I would like to simulate/plot the distribution of the roots of both the polynomials and the derivatives of polynomials. In particular, I would like plot the ...
0
votes
2
answers
183
views
Fitting data for an implicit function with two parameters
I have an implicit function of independent variable sB and dependent variable H with two parameters ...
3
votes
0
answers
69
views
How to display a circular data set?
Is there a straighftorward way of building the following plot
where 5 data sets are displayed circularly, and some specific regions are highlighted (indexed i to vi)?
2
votes
1
answer
69
views
Solution for WordData corruption
WordData["telecommuting", "BaseForm"]
return the result $Failed
but ...
0
votes
1
answer
52
views
Trouble using Integrate as the model in NonlinearModelFit
I'm trying to fit a set of heat capacity data to the Debye model.
This is the sample dataset that I'm using:
...
0
votes
1
answer
61
views
Normal Distribution of random plot
I have the following data,
...
1
vote
0
answers
67
views
What can be improved in the following custom interpolation?
Consider some test data: a grid of x, y, and values of some function on this grid:
...
4
votes
2
answers
283
views
How fit my data to sinus?
I have problem with fit sinus to my date, because this sin is very tiny.
This is my code:
...
6
votes
2
answers
250
views
Error bars in ListPolarPlot
I am trying to visualise my data in polar coordinates including error bars. This with Mathematica 12 and the function Around. However,
...
4
votes
3
answers
401
views
How to fit function with data?
I have
...
0
votes
0
answers
35
views
Getting frequency domain data from time domain using Fourier transformation [duplicate]
I have a dataset following cosine function [e.g. cos(200t)] in time domain. In frequency domain two sharp lines should appear at -200 and +200.
I have to do Fourier transform (or Fast Fourier ...
0
votes
0
answers
40
views
How to subtract a data from a analytic formula?
I have the following analytic formula
...
5
votes
1
answer
93
views
How to accomodate empty data set in ListPlot, ListLinePlot?
The simple case often arises where multiple data sets are generated, and one or more is empty. ListPlot and related functions fail to plot such multidata sets. The ...
0
votes
1
answer
93
views
How to make a 2D plot using Manipulate with slider bar?
In the data below, I solved a heat transfer equation which gave me the Temperature for a given position and time. I want to make a 2D plot as a function of Temperature and position with the ...
0
votes
1
answer
107
views
1
vote
0
answers
154
views
Loading UCI datasets in Mathematica
I'm looking for way to load UCI datasets in Mathematica.
Currently these datasets provide a Python interface like below. I'm looking for Mathematica equivalent
...
8
votes
9
answers
854
views
Visualization of two nearly identical datasets of 2D points
This question is similar to
Best way to plot nearly identically overlapping data?
In my case I have two clouds of 2D points that are nearly identical. If I draw them into the same coordinate system, ...
0
votes
0
answers
61
views
Automatic evaluation of a function for variable values defined from different data tables in the attachments
I want to evaluate a function whose variable values are defined in different data files. I want to know that how can I write code such that when the function's evaluation is exhausted for one table, ...
3
votes
4
answers
312
views
Volume of Region Contained by 3D Data Points
I have a dataset consisting of (x,y,z) data that describe a surface, and I need to find the volume of the region bounded by that surface. The data do not follow any mathematical equation, but the ...
4
votes
4
answers
336
views
How to extract the following data?
Consider the following table:
...
1
vote
1
answer
48
views
How to obtain a messing part of data knowing a specific symmetry?
ex. I have this data
...
0
votes
1
answer
68
views
Fitting data to peaks visually with manipulate - how to compactly implement for many peaks
I am trying to create a visual aid for peak fitting. There should be a background profile and on top, I want to place peaks. So far, I am stuck with the following issue. For simplicity, I am using a ...
0
votes
0
answers
54
views
Solutions for Storing Large Amounts of Data for Re-Import into Mathematica
The Problem
I have a decently large amount of data that I'm performing a bunch of computation on. My typical M.O. in Mathematica is to use Table to generate a ...
3
votes
1
answer
175
views
Plot multiple lines along with converging dotted line
I have a dataset as follows.
...
1
vote
1
answer
164
views
How to prefetch all Entity types?
I would like to prefetch all entity types. How can I speed up computations by prefetching all entity types?
This question is unique from other questions because I am interested in the exact mechanisms ...
4
votes
5
answers
296
views
1
vote
3
answers
213
views
Finding a continuous distribution that fits the empirical density of dataset $1,1/4,1/9,1/16\ldots$
I have a list of coefs of the form $1,1/4,1/9,1/16,\ldots,1/d^2$ sampled with relative sampling frequencies $1,1/4,1/9,1/16,\ldots,1/d^2$.
How do I find a nice continuous density whose CDF closely ...
3
votes
3
answers
88
views
Selecting particular data with a particular string at-first
I have a dataset and I want to select the only data that starting with C_i (where "i" is a numeric with variability).
Here is my dataset:
...
1
vote
1
answer
49
views
How do I assign PlotMarkers based on two different variables?
I'm trying to create ternary diagrams with 6 data points (samples) that each have two values - a type and a location. I have these two pieces:
...
2
votes
1
answer
83
views
How to plot properly the disconnected regions if using the option Joined->True?
Consider the following domain:
...
1
vote
1
answer
79
views
How to define the boundary of the 2D region outside of the list of sub-regions?
Consider the following file. It includes a list of tables defining some regions.
...
1
vote
1
answer
92
views
How to group the table in the following way?
Consider the following table:
...
0
votes
1
answer
37
views
saving output and ListPlot the output:
Let's say I have
x = 1; y = 2;
d = x^2 + y^5 ;
and
x = 5; y = 3;
d = x^2 + y^5 ;
and
...