Skip to main content

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
2 votes
1 answer
92 views

Fitting data to a system of ODE using ParametricNDSolveValue

I am trying to create the following code to fit data to a system of ODE. ...
shewlong's user avatar
2 votes
1 answer
55 views

Two-dimensional integral over data

I am trying to calculate the integral of the data. Following this post, I know what to do with a one-dimensional list. But, let's consider a simple function, just to show you, what I want to do. ...
blahblah's user avatar
2 votes
1 answer
156 views

How can we arrange data for ListLinePlot? [duplicate]

I have this data ...
MMA13's user avatar
  • 4,732
0 votes
1 answer
98 views

Need explanation on data[[i]][[1]]

I am trying to train a physics model and then check its profile. For this model, data for physics model is defined with: ...
Dean's user avatar
  • 655
0 votes
0 answers
31 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 ...
QFTheorist's user avatar
3 votes
2 answers
200 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 ...
Miguel's user avatar
  • 43
4 votes
3 answers
238 views

How to make Mathematica plot for a very small region?

I have the following data that I would like to plot using ListPlot. ...
QFTheorist's user avatar
3 votes
1 answer
92 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 ...
Yao Li's user avatar
  • 111
2 votes
1 answer
68 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 ...
Alexandru Chirvasa's user avatar
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 ...
atapaka's user avatar
  • 3,954
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 ...
Alberto Sierraalta's user avatar
2 votes
2 answers
149 views

Compile does not boost the speed

I have these functions that are used to defineMyFun below ...
MMA13's user avatar
  • 4,732
0 votes
1 answer
72 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 ...
MMA13's user avatar
  • 4,732
1 vote
1 answer
75 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} \...
sam wolfe's user avatar
  • 4,863
0 votes
0 answers
47 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 ...
PhysicsStudy's user avatar
0 votes
1 answer
107 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 ...
a019's user avatar
  • 867
1 vote
2 answers
86 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? ...
DarnokPL's user avatar
2 votes
4 answers
116 views

Rescaling the data points

Lets say I have the following data points, ...
a019's user avatar
  • 867
2 votes
0 answers
37 views

How to avoid disparity in BarChart? [duplicate]

Consider the following code ...
sam wolfe's user avatar
  • 4,863
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 ...
Joshua Schrier's user avatar
3 votes
1 answer
85 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 ...
MMA13's user avatar
  • 4,732
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 ...
user52523's user avatar
  • 101
0 votes
2 answers
185 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 ...
Karen Simonyan's user avatar
3 votes
0 answers
70 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)?
sam wolfe's user avatar
  • 4,863
2 votes
1 answer
69 views

Solution for WordData corruption

WordData["telecommuting", "BaseForm"] return the result $Failed but ...
Nhan_nht's user avatar
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: ...
YohanChad's user avatar
0 votes
1 answer
63 views

Normal Distribution of random plot

I have the following data, ...
a019's user avatar
  • 867
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: ...
John Taylor's user avatar
  • 5,827
4 votes
2 answers
286 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: ...
DarnokPL's user avatar
6 votes
2 answers
257 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, ...
Armin's user avatar
  • 63
4 votes
3 answers
404 views

How to fit function with data?

I have ...
Sale Gauss's user avatar
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 ...
P Pyne's user avatar
  • 453
0 votes
0 answers
40 views

How to subtract a data from a analytic formula?

I have the following analytic formula ...
Lohrasb's user avatar
  • 359
5 votes
1 answer
94 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 ...
István Zachar's user avatar
0 votes
1 answer
95 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 ...
Mule's user avatar
  • 43
0 votes
1 answer
107 views

How to find the 10 foods with the highest Protein per Calorie?

...
DrSvanHay's user avatar
  • 167
1 vote
0 answers
169 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 ...
Yaroslav Bulatov's user avatar
8 votes
9 answers
860 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, ...
Preem's user avatar
  • 205
0 votes
0 answers
62 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, ...
SciJewel's user avatar
  • 422
3 votes
4 answers
314 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 ...
John's user avatar
  • 85
4 votes
4 answers
336 views

How to extract the following data?

Consider the following table: ...
John Taylor's user avatar
  • 5,827
1 vote
1 answer
49 views

How to obtain a messing part of data knowing a specific symmetry?

ex. I have this data ...
MMA13's user avatar
  • 4,732
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 ...
atapaka's user avatar
  • 3,954
0 votes
0 answers
55 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 ...
BesselFunct's user avatar
3 votes
1 answer
178 views

Plot multiple lines along with converging dotted line

I have a dataset as follows. ...
ppp's user avatar
  • 817
1 vote
1 answer
170 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 ...
Peter Burbery's user avatar
4 votes
5 answers
297 views

Coloring data points for different ranges

...
user444's user avatar
  • 2,446
1 vote
3 answers
217 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 ...
Yaroslav Bulatov's user avatar
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: ...
P Pyne's user avatar
  • 453
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: ...
Ilene Kruger's user avatar

1
2 3 4 5
19