2
votes
2answers
75 views

Network Graph: show highly connected components

I want to create a network graph without the small subgraphs which are disconnected from the big network graph. Suppose I want to visualize the edgelist: ...
1
vote
1answer
80 views

Displaying a matrix with integral entries

I have a matrix nxn with coefficients a[i,j] like: a[i,j]=NIntegrate[T[r], {r, -le, le}] - NIntegrate[T[r] Abs[r]/le, {r, -le, le}] I can solve the matrix but I ...
0
votes
0answers
76 views

How to extract the time t of an interpolated function created by NDSolve? [duplicate]

I'm working with the function NDSolve. I give it the time of integration, the time I want it to evaluate my differential equations. Sometimes, it crashes before the end of its attribuated time ; For ...
8
votes
0answers
118 views

How to connect to a video stream?

Is there a way to get a current frame from video streams (especially from RTSP streams)? I would like to connect to a camera in my local network and get a snapshot from it to do some further ...
2
votes
1answer
58 views

Sum of Products [closed]

What is a way to nest a product in a sum: $$\sum_{i=2}^{N}\cos\theta_i\cos\theta_i^\prime\prod_{j=i+1}^{M}\sin\theta_j\theta_j^\prime$$ where $N$ and $M$ are two numbers? Thank you.
2
votes
0answers
322 views

Any examples how the software industry uses the Mathematica in production? [closed]

Many researchers prototype the algorithms in Mathematica. I know the Mathematica is great for doing the scientific research. But what about the software industry? Do you know some companies that use ...
3
votes
1answer
100 views

Count two or more equal consecutive elements in a list and create histogram

I have a list generated by: list = RandomInteger[{1}, 100] it contains only 0's and 1's ...
1
vote
4answers
101 views

GatherBy output with given Shape

I would like to group items in a binary list according to some property like in the following simple example. ...
1
vote
0answers
39 views

DynamicModule - Bookmarks / Autorun menu?

Using DynamicModule in my code, I observed that there is no Bookmarks / Autorun menu (the small "+" in the upper right corner...). Is it possible to add it somehow and to make Bookmarks available only ...
10
votes
2answers
176 views

List of Recently Opened Files

If I go to the menu bar and press File I get a list of recently opened files.This would be useful except they are edited and mostly replaced by dots thus making choosing difficult. See the screen shot ...
1
vote
0answers
59 views

function of a function [closed]

I have the following two functions, 'f' and 's': ...
1
vote
0answers
48 views

Apply ListPlot to various data sets [duplicate]

Assume that I have data in the form: list = {{{1, 2, 3}, {10, 10, 10}}, {{4, 5, 6}, {20, 20, 20}}} I want to plot ...
0
votes
1answer
52 views

Finding function by constraints

I have the following coefficient finding problem: f[x] := a * Log[b*x + c] + d Constraints: f[0] = 1 f[80] = 0.5 I want to find the coefficients of f that ...
5
votes
1answer
191 views

Arbitrary shape GridGraph

There is a function GridGraph that generates a finite square lattice graph. Is there a way to make a generalized solution (e.g. with hexagons, or triangles instead of squares)? To put it in more ...
-4
votes
1answer
81 views

How to type this certain expression (duplicate question for reference purpose)? [duplicate]

In graphing I hope to output the following format for example $|a_{1020}|^2$. I need to use this as my axes label in a plot and to type this expression in Mathematica. I am fully aware there is a ...
0
votes
0answers
42 views

Finding intersection of two infinitely long lines using points [duplicate]

EDITED In the Find intersection of pairs of straight lines problem, it is assumed that line are intersected by default and the purpose is to find the intersection points. In the present problem, two ...
1
vote
0answers
70 views

Floor inconsistent with Less for machine-precision approximate numbers

For machine-precision numbers, Mathematica uses a tolerance for comparisons, so that 1.-$MachineEpsilon==1. However, Floor does ...
1
vote
0answers
19 views

Manipulate inside Module - “Order of evaluation conflicts” [duplicate]

In this example, Manipulate is contained within a Module: ...
5
votes
0answers
157 views

Logic programming with Mathematica

My question is: Wikipedia says that there is logic programming paradigm support in Mathematica (like In Prolog). Could anyone provide me with an example of using this paradigm in Mathematica?
4
votes
1answer
210 views

Specifying NeumannValue for Axial load instead of transverse load (Plane Stress situation)

I am trying to simulate a bar/link element under axial tensile load. The link is of unit thickness and I may use a plane stress model. A plane stress model is an approximation that may be used for ...
0
votes
0answers
18 views

Graph color to cylindir surface [duplicate]

l = 95 P = 300000 R = 15.8 h = 1.1 K = 2.9*10^10 a = 30.1 b = 1 c = Pi/6 d = 1/15.8 M[X_, [Phi]_] := (-((12*PR^4)/(Kh^3)))Sum[((4/(Pim))Sin[((mPi)/l)*a]Sin[((mPi)/l)b](4/(Pin)) Sin[((n*Pi)/((1/...
1
vote
0answers
30 views

Function to be used for spectral decompostion of matrix [duplicate]

Can anybody please help in finding out what is best way to do spectral decomposition (or Eigen decomposition) of the matrix. The details of Eigen decomposition can be found in attached link 1. https:/...
1
vote
1answer
199 views

Curve fitting data I imported from excel [closed]

This is my first time posting here, so sorry if I break any rules. There is this excel document from which I imported two columns of data to mathematica. I need to fit the data into a curve so that ...
3
votes
1answer
48 views

Order of evaluation of Exp and Normal on result from Series

This may be more math related than Mathematica related, but I thought this might be of interest to the group. I'm trying to work with some Taylor Series approximations of functions that are ...
20
votes
1answer
350 views

New behavior of PlotRange in Mathematica 10

In Mathematica 10, when I plot data that has small changes around some non-zero value, the plot chooses a PlotRange that "collapses" the data so that the variations ...
4
votes
2answers
176 views

A particular contour does not show up, even though it is in my list [duplicate]

Consider: f = Sqrt[9 - x^2 - y^2]; ContourPlot[f, {x, -4, 4}, {y, -4, 4}, Contours -> {0, 1, 2, 3}, ContourLabels -> All, ContourShading -> None] ...
4
votes
1answer
168 views
1
vote
1answer
108 views

InteractiveTradingChart and ChartElementFunction

I want plot a similar candlestick chart as on the picture below with blue down-candles and white up-candles with blue edges. With TrendStyle -> {White, Blue} I don't see shadows on up-candles ...
3
votes
1answer
117 views

One Mesh Line does not show up in ContourPlot

Consider: ...
0
votes
1answer
125 views

How to apply stress (moment) graph color to cylindrical surface?

so i want to apply this graph colors to cylindrical surface. Thanks Ahead! Code: ...
7
votes
0answers
294 views

Visualization of traces of moving objects

An example movie which is made with the listed mathematica code below shows traces of moving objects: https://youtu.be/8jN2uuSHCEg (Melting ...) http://youtu.be/5ET62846C-I (Crystallisation ...) ...
7
votes
1answer
145 views

Why is RegionMeasure so slow when calculating intersection area of a 2D and a 3D object?

If you think this description is too long, you can read the problem directly I know normally when one wants to calculate an region, this guide is useful. However, when it comes to calculating an ...
3
votes
1answer
56 views

Remove cases where region specified incorrrectly

I am using MeshPrimitives to get a list of 3D components of a Mesh Region. Within that list, I normally get some incorrectly specified regions, such as ...
8
votes
2answers
173 views

Mesh Problems with MatrixPlot

I've come across some weird behavior in 10.1 when trying to use Mesh with MatrixPlot. In the example below, when specifying Mesh, I only get one line along the X axis at 100 instead of lines at {100, ...
0
votes
1answer
62 views

Plotting with 2 variables and given list of f(u,v) values [closed]

Lets say I have a function y with 2 variables u and v : $f(u,v)=y=u+4v$ I want to plot y in 2-D. My first axis is u and my second is v. How do I plot this, if I have a list of values for my y? I ...
1
vote
2answers
173 views

Combining data sets by adding y values [duplicate]

Suppose I have the following list of data {{1,2},{1,5},{6,1},{1,3},{2,1},{2,2},{2,3},{5,4},{5,2}} This is similar to my actual data in that each x value has ...
3
votes
2answers
106 views

Add Results of ParallelMap in Parallel

I'm new to coding in parallel, but I really could use it. I need a command to call a function on each element in a huge list, and then add them all up. Currently I use something like this: ...
2
votes
3answers
131 views

Positions of elements in a list [duplicate]

I have two lists: list = {1, 2, 3, 4, 5} slist = {3, 5} I want to find the positions of the elements in slist in list. I tried it like this and I dont understand ...
2
votes
0answers
164 views

Can't get map of Italy from Geographics [closed]

On Mathematica 10.1 Desktop version, I'm trying: GeoGraphics[Polygon[Entity["Country", "Italy"]]] but it doesn't get the Italy location and throws this error: ...
10
votes
1answer
303 views

Dirichlet coefficients as limits: wrong

Perhaps I should have included the word "bug" in my question. Here we go There is a bug in this Limit Limit[3^s (-1 - 2^-s + Zeta[s]), s -> ∞] (* 0 *) which ...
2
votes
3answers
289 views

Solve a transcendental equation in Mathemathica

I believe it is called a "transcendental equation", and I would like to find the best possible sollution. I tried to use Solve: ...
1
vote
0answers
66 views

Getting an approximate analytical form for eigenvalues of a matrix

I have a 20x20 matrix: ...
3
votes
1answer
193 views

Finding closest point to implicitly defined curve

I'm facing the following problem: Given an implicit curve given by $f(x,y)=0$ and an initial guess $(x_0,y_0)$ which is hopefully close to the curve, I want to find the point $(x,y)$ on the curve ...
1
vote
0answers
94 views

What is the font that is most similar to latex fonts? [duplicate]

I am producing mathematica graphs so I hope the axis font can be as similar to latex fonts as possible. This is because I need to put them in a latex document. $\LaTeX$ and Mathematica What is ...
0
votes
1answer
101 views

second order nonlinear ode

I need to solve the following equation for $u_n(t)$: $u''=\frac{u'^2}{2u}+\frac{3u^3}{2}+4tu^2+2\left(t^2+\frac{n}{2}+(2p+1)\frac{1+3(-1)^n}{4}\right)u-\frac{n+(2p+1)(1-(-1)^n)}{4u}$ where $p$ is a ...
7
votes
1answer
144 views

How to debug this failing pattern-matching expression?

NB: this question is primarily about troubleshooting and debugging, and only secondarily about pattern-matching. IOW, I'm far less interested in getting an explanation for the situation described ...
5
votes
1answer
128 views

RegionIntersection fails for some values with polygons

Bug introduced in 10.1 and fixed in 10.3.0 I want to find the intersection (region) of 2 polygons. I use RegionInstersection but it only works for some sizes, ...
3
votes
1answer
155 views

Adding FrameLabels but without showing a Frame using GraphicsRow

I'm trying to create a set of plots that share similar axes (axes in the general sense, I'm actually using Frame). I'd like to have the text describing the axes plotted to the left of the first plot ...
2
votes
1answer
167 views

Drawing lines automatically between two different plots

I try to create a special plot where several lines have to be generated automatically between two plots at very precise coordinate. My goal is to make something exactlly like But I want to do it for ...
2
votes
0answers
90 views

15 30 50 per page