The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
0answers
10 views

Why should we make sure the calculated MD5 is of length 32?

I see when people write code on calculating MD5, (even in the documentation), they write like this: IntegerString[Hash[something, "MD5"], 16, 32] But I think ...
2
votes
2answers
46 views

FindDistributionParameters gives an error for a mixture of user defined sinh-arcsinh distributions

I have some data (1593 values). I first binned it using the Knuth rule and fitted a function that is a linear combination of two sinh-arcsinh functions. I then ...
1
vote
1answer
121 views
3
votes
1answer
193 views

Spectral Clustering

I am attempting to implement a spectral clustering routine using Mathematica, but I am encountering difficulties. Using the standard Gaussian similarity function found in section 2.2 of this paper ...
0
votes
0answers
29 views

Set precision on output dataset [on hold]

How do I set the output precision such that if a value is calculated to be e.g. 9.7942*10^-18, Mathematica doesn't output that value, but it just outputs $0$ instead. I tried ...
0
votes
0answers
38 views

Solve an integral equation: to fit the given data with an integral of two functions?

I am trying to find an efficient way to solve the following equation $$h\left(b\right)=\int_{0}^{b}f\left(\frac{b-c}{1-c}\right)\frac{g\left(c\right)}{1-c}dc$$ where for $h(b)$ I have the data ...
0
votes
0answers
35 views

Handling *.in and *.out files

im trying to use Mathematica in solving of algorithm tasks like this one: http://poj.org/problem?id=1274 When i was doing those in c/c++ i was able to easily pass input/output in Windows command line ...
0
votes
1answer
32 views

how to read a list from a file which has mixed types of data?

I need to read in a file with the first several lines reading as ...
2
votes
2answers
216 views

Using Periodogram to investigate the seasonality of the data

After asking how to get rid of the seasonality of this set of data, I'd like to ask how to investigate the seasonality in data using Mathematica. Which tool would you use to study seasonality? I.e. ...
15
votes
2answers
2k views

How do you deal with very large datasets in Mathematica?

This question is in two related parts. The first is about dataset size, the second data wrangling. Part 1: I've built a naive Bayesian classifier on Mathematica. It uses ...
1
vote
2answers
177 views

How to Fit experimental data with 4D ParametricNDSolve?

Let me first explain the background problem. I'm trying to solve a problem with a projectile motion in 4D such that the position vector is: $\boldsymbol{r}(t)=\boldsymbol{r}[x(t),y(t),z(t)]$ I have ...
1
vote
2answers
80 views

Slicing multidimensional table

Say I have a multidimensional list created in the following way grid= Table[{i, j+1, k+2}, {i, 0, 1}, {j, 0, 1}, {k, 0, 1}] grid={{{{0, 1, 2}, {0, 1, 3}}, {{0, 2, 2}, {0, 2, 3}}}, {{{1, ...
1
vote
1answer
67 views

Importing Data Issue, Breaking Up Elements

I am trying to import a comma delimited text file as a Table and I am having two issues: First, the file imports all of the numbers that should be separate columns as a single string. This is not ...
0
votes
1answer
68 views

Loop and list all p-values

I have the following mathematica code (see below). Is there a way to iterate this approach in such a way to get the p-value results of each test in a list? I would like to get say 1000 p-values for ...
3
votes
2answers
73 views

Manipulation of .csv imported data — no blanks in either of two lists

Above is a .csv file. I am trying to construct two lists of male and female math test scores such that only districts which include info for both male and female students are included i.e. neither ...
0
votes
1answer
46 views

Binomial Regression where n > 1

I am not well versed in Generalized Linear Models, but am trying to use this approach to model some discrete data. I have binomial data where the sample size for each observation is the same size, ...
2
votes
2answers
43 views

Extracting coordinates from a ListLinePlot

I used an iterative method to resolve equations, then i plotted the results using ListLinePlot. Unfortunately, now I need to use some of the data that was plot. I know the X-coordinate, and need to ...
5
votes
0answers
42 views

Built-in way to handle uncertainty in measurment and physical constants?

Is there a built-in or fairly elegant way to handle uncertainties in measurement data and/or physical constants? For instance, the 2010 CODATA for the elementary charge is given as $\mathsf{1.602 176 ...
4
votes
1answer
99 views

Find fit of an experimental PDF

After quite some struggle, I managed to put up a code that is syntaxically correct. The goal is to find the parameters for a gamma distribution that best match experimental data. The data is a set of ...
0
votes
0answers
55 views

How to handle substrings of a matrix by a named index

I am using open source code to run stochastic simulations. The output looks like this: ...
4
votes
2answers
121 views

Deseasonalize the data of traffic growth for the past data

In another question (Using TimeSeriesForecast for forecasting the traffic growth) I asked to use the TimeSeriesForecast on this set of data the answer provided the plot with and without the ...
19
votes
5answers
1k views

Moving maximum function?

How can I construct a moving maximum function? For example, if I have a list of 12 values: { 5, 6, 9, 3, 2, 6, 7, 8, 1, 1, 4, 7 } and I want to maximize over 3 ...
1
vote
1answer
42 views

Data plotting to estimate answers

I have some data such that I am estimating the time taken by system to reach at some stage. For example. 1 sec to reach at stage 1, 3 seconds to reach at stage 2, 5 seconds to reach at stage 3 and so ...
1
vote
1answer
65 views

Simple pick up an element from above line [duplicate]

( Did not readily find from Documentation even if used before). NSolve[ 2 x^3 + x ^2 - 5 x + 2 == 0, x] How to collect roots with new labels a,b and c?
8
votes
4answers
750 views

Replacing a for-loop with something functional

I'm a physics grad and have been using Mathematica mostly for data visualization. The evaluation part I normally do with C/Python, but I've been wanting to try out Mathematica for these tasks, too. ...
7
votes
1answer
131 views

Is Mathematica's (v10.0.2) NetCDF exporter broken?

I'm trying something very simple, namely: Export["file.nc", {"Datasets" -> {"seqs" -> {"AAA", "BBB"}}}, "Rules"] And getting Java errors about "illegal ...
8
votes
3answers
375 views

Turning a set of random walk data 45 degrees

I have a set of data that is just a "random" (generated by me, not by computer) sequence of length 2000 of 1's and (-1)'s. I used it to plot a 1-D random walk where +1 is step up, (-1) is step down, ...
3
votes
2answers
144 views

How can I create a 3D representation of an object with known coordinates and adjacency table in mathematica?

Basically I want to create an object with specified coordinates and adjacency table, like in page two of this article. I'm completely new to using Mathematica, any help would be great! EDIT: So I ...
22
votes
5answers
5k views

How to perform a multi-peak fitting?

I am wondering how to implement the multi-peak detecting and fitting in Mathematica. Following is an example of fitting the data using three peaks (such that the data ~ peak1 + peak2 + peak3). The ...
1
vote
1answer
58 views

Data Table Manipulation in Mathematica 10

I would like to select columns from a table by column name. I tried the solution described here: Data Table Manipulation in Mathematica: Step 2 . I am using Mathematica 10. (I would write a comment ...
3
votes
1answer
47 views

How do I find local minimums in data? [duplicate]

Mathematica easily allows you to use FindPeaks to find local maxima in your data is there any equivalent function for finding local minima?
2
votes
2answers
156 views

Entropy of the elements of a general data set

I have the following data set, and wish to track the evolution of the entropy of each element within the set. I have evaluated the entropy for some elements, but how does one evaluate the entropy of ...
0
votes
0answers
76 views

System stochastic nonlinear differential equation, Ito process?

I'm trying to solve a system of nonlinear stochastic differential equation. It is a discrete nonlinear schrodinger system of n equation, with n independet weiner process. I'm actually using the Ito ...
2
votes
1answer
97 views

Export generated mesh

Say I have generated a mesh using ToElementMesh, following one of the examples here: http://reference.wolfram.com/language/FEMDocumentation/ref/ToElementMesh.html ...
0
votes
1answer
41 views

Working on a certain column after importing data from a file

I'm trying to import a file with 2 columns, in TSV format. Something like this: ...
1
vote
3answers
114 views

Read data from file starting at a certain point

I have files of data that come with a whole bunch of junk in the beginning before the actual columns of data start. Is there any way to tell Mathematica to start putting the data into a table from ...
0
votes
2answers
40 views

Selecting elements from a list [duplicate]

I have the following array of numbers: a = {{0, 2, 5}, {3, 5, 1}, {4, 0, 5}, {8, 3, 4}, {0, 8, 6}}; then I make a list of the first row with ...
1
vote
2answers
76 views

Entering coordinates of 2D points using the keyboard

I am studying the singular points of a triangle. I need to get the vertices of the triangle and then work with them. I have worked with the function Input, but I ...
2
votes
3answers
151 views

Plot a bunch of lines in 3D from point data

I have a 12*25 array, wherein each entry is of the form $\{x,y,z\}$. So 12 different $x$ values, 25 different $y$ values and 12*15 $z$ values in all. I'd like to plot 12 curves of various $x$ values ...
0
votes
2answers
56 views

Fitting data in form $f = f_0 + c A^x$

The Fit[] function in Mathematica can fit data in form of $f = f_0+c_1x+c_2x^2+...$ ($f_0$ and $c_i$ are unknown constants), is there a function can fit date in ...
2
votes
3answers
154 views

Plot a table of lists

I want to make a point plot of a table with lists in it. Assume I have data like this: data={{1,2,3,4},{5,6},{1,5},{2,4}}; and now I want to make a point plot ...
1
vote
1answer
91 views

A bug won't let me import JSON files

I have been working on a project and I have been using JSON to build some networks, the code I use is: ...
4
votes
0answers
80 views

How to efficiently read data from any part inside huge file

I have a data file (over 2.5 GB) and I want to do calculations on the data. At first I used. data=ReadList["file", Record,n] I still have three problems: 1- ...
22
votes
1answer
367 views

Visual representation of a Ranking over time (image provided)

[Disclaimer: I initially posted this question on stackOverflow 2 months ago and think it might be better suited for this forum (link to original question)] The graph below shows a ranking of ...
1
vote
2answers
191 views
0
votes
0answers
22 views

how can sent data to Mathematica and get result in java? [duplicate]

I try to develop an math script calculator in java. My script has advance math functions and I can't calculate them in java.(for example limit, plot, ... ) Is any way for sending script to ...
19
votes
4answers
1k views

Graph databases / Nosql with Mathematica

I am very new to mathematica but it looks like an interesting language and I would like to explore it for a future project to create a web search engine. It seems like it would be fairly well suited ...
0
votes
1answer
36 views

Is there a limit for DensityHistogram data amount?

I'm trying Mathematica for first time and while trying to do a Density Histogram with around 300 000 points, I get an error "THE INPUTED DATA is not a valid dataset or list of datasets." Maybe it's ...
1
vote
0answers
43 views