1
vote
3answers
241 views

How to fit a Distribution to data that already looks like a distribution?

I have a set of data that is already ordered as a distribution. Here is a picture worth 999 words: I tried FindDistributionParameters, and ...
0
votes
0answers
6 views

Find least number of radial-subgraph of a graph [migrated]

Background: Here is a group G of a people, one maybe another's friend. How to select least number of people to be a leader of a subgroup, so that everyone in the group G has a friend as a leader? ...
12
votes
2answers
271 views

Fractal basins of attraction in a Magnetic Pendulum

I am trying to write a Mathematica program that realizes a graphical approximation of the basins of attraction in a Magnetic pendulum subject to friction and gravity, in which the three magnets are ...
3
votes
2answers
181 views

ColorFunction with the function of luminance

I want to have a DensityPlot or ListDensityPlot, whose color function is a rainbow but whose luminance is given by another ...
6
votes
0answers
53 views

Finish(Asynchronous)Dynamic[]

I have a question deriving from a recent topic Synchronizing Dynamics with EventActions. tl;dr; How to authoritatively explain the influence of ...
2
votes
1answer
32 views

Replacing expressions with variables [closed]

I have a large matrix where the entries are rational in Jacobi elliptic functions e.g. I'd like to replace the elliptic functions by variables, e.g. ...
0
votes
1answer
80 views

Integration of harmonic function

I am trying to calculate the average distance of electron above the surface. However when I did the Integral, for the first couple of state(n from 1 to around 15) the results are pretty good. However, ...
1
vote
1answer
171 views

Visualizing interference of two waves on the plane

I need to make an animation of interfering coherent waves on the plane, that are produced by two sources. I would really appreciate if I am able to change the wavelength. I am quite new to Wolfram, ...
0
votes
2answers
84 views

Defining the Hirota operator

The Hirota $D$-operator (derivative) is mathematically defined as follows: $$D_x^n f\cdot g=\left.\frac{\partial^n}{\partial s ^n} f(x+s)g(x-s)\right|_{s=0} $$ An example of this operator acting on ...
1
vote
1answer
47 views

Scale Vertex by Node Property

I would like to scale the nodes in a network according to various properties of those nodes. It's a fairly common thing to do with networks, but Mathematica's Graph...
3
votes
1answer
72 views

Convergence of a multiple numerical integration

I would like to define the following function $F(A,\nu)$, which is the result of a numerical integration, and needs the following function definitions. ...
4
votes
2answers
93 views

Set hour of DateObject

Say I have a date object date = DateObject[{2016, 7, 17, 0, 0}], how do I later change the hour of that date object, without needing to know the value it currently ...
3
votes
2answers
56 views

How to change the colour of parts of a 3D plot, rather than the whole figure?

By exporting Matlab data to a txt file and importing it with List3DPlot, I plotted the density of states in a nanowire ...
3
votes
1answer
117 views

Find biggest Circle having all points close to a List of Polygons

Setting Imagine a List of polygons polys (type: BoundaryMeshRegion, polygons may also overlap): ...
2
votes
1answer
66 views

How to save in PDF the SAME Result? The numbers and Labels in graph are erased when I save the PDF

I want to save some bullet gauges in PDF, as a dashboard, but what I obtain in the PDF has the numbers erased, and the Titles/Numbers erased as you can see here when What Mathematica10 show is ...
3
votes
1answer
48 views

How to center Title/Label in a Bullet Gauge rotated? and how to add a second line?

My target is make a dashboard with VERTICAL bullet gauges (that is not available in Mathematica, only the horizontals), a previous Q & A helped me to obtain vertical gauges (that its good but I ...
3
votes
1answer
38 views

(Custom) domain restrictions for NMaximize

I'm new to mathematica, so please be forbearing with me :D I would like to use NMaximize together with domain restriction (where the domain is a custom domain). I've got an example: ...
0
votes
1answer
87 views

Problem with FoldList: Use Foldlist with more than one List/Use FoldList with multidimensional array

I have the following function: vt[ea_, v0_, cm_, b_] := ea + (v0 - cm)*b ea is a set of lists and ...
6
votes
2answers
143 views

How to fill outside instead of inside graphical shapes?

I want to omit parts of Graphics from scenes by defining a geometric shape where details are visible, a "keyhole" of sorts, and fill all the rest as one would do to ...
1
vote
0answers
80 views

How to suppress the Windows crash report dialog results from Mathematica sporadical crash when the code is running [closed]

This problem occurs in mathematica 10.0 for windows 7 64 bit. The dialog box in the center of the picture shows that "mathematica kernel for windows has stopped working". I don't know when this error ...
1
vote
0answers
65 views

Detecting lines of handwritten text

Additionaly to question Identifying and removing features from scanned handwriten text, I'm looking for procedure suggestion that will identify only the lines of text like from But problem is that ...
0
votes
1answer
49 views

why does this function fail to return? [closed]

I have written 2 functions to calculate the stress and strain of a material, the strain function works perfectly, but the stress function which very similar to the Strain function did not return what ...
0
votes
0answers
39 views

Using Third Party Package [duplicate]

I am new to mathematica. I wish to use the third Party Code QHull in mathematica. The code was written in C and compiled into .exe. Are there any settings that I have to do in Mathematica so that I ...
1
vote
0answers
30 views

Failing to Load Cloud-Related Functions

I am running Mathematica 10.2 (Student Edition), and am encountering an issue with Cloud-related functions. Specifically, when I evaluate anything like CloudConnect or ...
1
vote
1answer
46 views

Help with ColorFunction [duplicate]

I'm trying to graph a list of data with ListDensityPlot. My idea is to color negative values in red, zero in white and positive values in blue. I created a ...
0
votes
0answers
40 views

expand[] without multiplying binomial coefficients

I'd like to expand an expression of the form (ax+b)^5 without the binomial coefficents being multiplied out. I would like to see Binomial[5,0], Binomial[5,1] , etc... that intermediate step for ...
1
vote
1answer
40 views

How do I plot the columns of an $M \times N$ matrix as separate lines on the same graph using ListLinePlot?

I have seen many examples that show how to plot several functions on the same graph using ListLinePlot is this manner: e.g. ...
-4
votes
0answers
46 views

How to add new formula in existing formula in certain time?

Good day, May anyone help me to give an idea to edit the coding For as below towards my problems. ...
5
votes
5answers
287 views

How can I make a lists of pairs out of two lists of triples?

I want to use this expression for my computation: FoldList[vt[#2[[1]], #1, #2[[2]], b] &, v0, Transpose[Join[{ea, cm}]]] My problem now is that ...
0
votes
0answers
34 views

A list of bound variables

I have been given a set of (bound) variables and inequalities, and then I want to use Exists[...,...] to get an quantified formula. But when I tried, trouble will ...
2
votes
2answers
156 views

Killing a tick - ListPlot [closed]

Consider this code ...
2
votes
2answers
67 views
1
vote
1answer
41 views

Splitting Logical Expression in list of expressions

I have long results of a Reduce statement in the form of {(expr1) || (expr2) || (expr3) || ...} I am looking for a way to split ...
4
votes
0answers
50 views

Integrating WSTP/MathLink communication into existing main loop

I have a C++ application that does some interactive rendering, and I'd like to link it up with a Mathematica notebook with two-way communication (there are some tasks like drawing plots that are ...
1
vote
0answers
27 views

Error Processing CityData

I try get the populations of all cities by this common used line pop0 = Map[{#, CityData[#, "Population"]} &, CityData[All]]; But it gives me this error ...
0
votes
1answer
83 views

Solving a System of Simultaneous Equations [duplicate]

I have the command: Solve[{Cos[η] == Sqrt[3/6], Sin[α] Cos[η] == Sqrt [1/6], Sin[α] Sin[η] == Sqrt [2/6]}, {η, α}] I get the output ...
2
votes
2answers
96 views

Recursion: How can i program this expression?

i have the following expression: Vt[EA_, V0_, Cm_, B_] := EA + (V0 - Cm)*B For EA and Cm ...
1
vote
1answer
71 views

getting a following error,large data points,desired output-best fit to expt. data sets

I am trying to carry out list operation but running into a following error I have large data sets(more than 0.2 million data points) and desired output will be a best fit (numerical data points ) to ...
4
votes
3answers
216 views

How to find the Bottom

While I was thinking about Plot with a reference line and shaded / colored region, I came up with ...
21
votes
2answers
341 views

How can I better mimic the graphics at earth.nullschool.net?

I'd like to be able to better mimic the graphics at earth.nullschool.net using Mathematica and I'm looking for suggestions for either improving my code or getting directed to some other approach. ...
11
votes
6answers
402 views

Create a polynomial of a given degree

In Mathematica, how can I create a polynomial function in given variables of a given degree with unknown coefficents? That is, I am looking for a function ...
0
votes
1answer
48 views

Replacing Non-Constant Elements from List with Pattern [closed]

I have a list list = {0, 0}, 0, {0, 0}, 0, 1}, {{0, 0}, 0, {0, 0}, 0, 2}, {{7,7}, 20, {7, 7}, 3}, {{8,8}, 30, {8, 9}, 4}} And I want to remove all elements which ...
2
votes
2answers
76 views

Plot with a reference line and shaded / colored region

How can I add horizontal reference lines at 4 and 6 (y-axis) and shading below each reference line on the following plot? Plot[i, {i, 1, 10}] Thank you!
1
vote
1answer
38 views

Replace empty list elements with pattern

I have a list which sometimes looks like: list = {{},{}} I need to catch these occurrences and replace them with {{0,0},0}. The following hasn't worked So, ...
3
votes
1answer
83 views

Better way to use Nearest

I'm trying to write a snippet of code that, given an input value (value), checks a list of arbitrary length (data) for the ...
6
votes
1answer
87 views

Cloud Deploying a Scheduled Task

cross-posted on the Wolfram Community forum I am trying to deploy a ScheduledTask that monitors the state of a google spread sheet every hour. I want the object to ...
1
vote
1answer
53 views

Deleting duplicate cells from notebook

I need to delete all duplicate cells in my notebook, keeping just one occurrence of each pair (or tuple). No need to choose which to keep. Is there a (simple) way to do it?
5
votes
1answer
94 views

Synchronizing code in Dynamics with other procedures

I have huge code and some problem. I don't know how to make example. I'm afraid I can't make good SMALL example to demonstrate you the problem. So I'll try to explain. Maybe somebody know about such ...
3
votes
1answer
144 views

NDSolveValue - Heat flux continuity

I'm having some problems with NDSolve and the problem of conduction of heat. Specifically I'm having problems with the continuity of heat flux. First, let me explain what is the physical problem: ...
6
votes
4answers
193 views

Why does Mathematica return Indeterminate for this converging infinite sum?

Limit[Sum[k/(n^2 - k + 1), {k, 1, n}], n -> Infinity] This should converge to 1/2, but ...

15 30 50 per page