11
votes
3answers
227 views

Converting Graphics geometry to a Graph

I need a representation of a 3D Sierpinski Gasket in a form of a graph to perform some simulations on. The 2D version is included in Graphdata[] but the 3D one is nowhere to be found, so I was ...
0
votes
0answers
2 views

$n$-gon - Mathematica

I don't know if I can ask this question on this website; tell me if it is wrong. I'm not a usual user the website Mathematica. Could anyone be able to construct two shapes, a $n$-gon $P$ and a regular ...
0
votes
2answers
34 views

Large matrix: Finding eigenvalues and ordering it with respec to the highest coefficient of its eigenvectors

I have a 900x900 matrix to diagonalize. After diagonalizing it, I have a table of eigenvalues and eigenvectors. For convenience, I start with 3x3 matrix. ...
1
vote
2answers
42 views
7
votes
1answer
36 views

Working with DynamicModule: SetDelayed + OwnValues

Shortly, definitions in form of e.g. x:= RandomReal[] have to be avoided inside DynamicModule[{x}, ...]. Minimal example, this <...
0
votes
1answer
21 views

CountryData function

I under that Mathematica are able to extract data from a cloud/ online sources. Pardon the improper use of jargon for programming and IT is not my area of familiarity. Are the data that Mathematica ...
6
votes
1answer
270 views
+50

How do I numerically evaluate and plot the Fabius function?

The Fabius function is a well-known example in analysis of a non-analytic function that is infinitely differentiable. I want to be able to numerically evaluate the function for any real argument, as ...
0
votes
1answer
31 views

Infinite Sum - Result not correct for all cases?

Evaluating the Sum Sum[a^i, {i, ∞}] yields -(a/(-1 + a)) which obviously only holds ...
0
votes
1answer
21 views

Trying to get the values of sliders from a module

I generated n number of Sliders using the idea from Manipulate with a variable number of sliders But I need the updated values of these sliders to use to evaluate ...
5
votes
1answer
503 views

Wavelet Transform Modulus Maxima (WTMM) method

Has anyone already coded the Wavelet Transform Modulus Maxima (WTMM) method for computing the singular spectrum using multi fractal formalism in Mathematica? The goal is to analyse 1D, 2D and 3D data....
0
votes
1answer
56 views

How to combine Nest and list Part

I have a list $L$ of Length $n\geq6$ and a function $f$ that, when applied to $L$, generates $n-5$ lists $\mathscr{L}_i$ of Length $n-1$ (at the outermost level). I ...
0
votes
0answers
38 views

Robust FindRoot search

I have the following simulation that models a rocket landing (flat Earth, no atmosphere, constant gravitational acceleration), which uses root finding to figure out when to start and stop the engines ...
0
votes
1answer
23 views

How can I plot the graph based on time from TimeUsed?

Good day everyone, Can anyone help me how to plot the result using time from computer. Here, I used timeUSed to generate the time; ...
1
vote
2answers
215 views

planar Conic Sections plot

Among answers of ConicsAssemblyQuery, I posted images that are not pretty. In particular, the parabola is elusive due to large parameter step. Please help. The program attempts to translate and ...
1
vote
1answer
57 views

NB loading code broken in MMA 10 is there a workaround?

In MMA 9 I use the following code to load multiple nb's and close them after they are evaluated. In MMA 10 this code is broken. It appears that MMA 10 takes far longer to evaluate the code than the ...
3
votes
1answer
90 views

Why does RegionUnion fail for these Regions?

Bug introduced in V10.0 and persisting through 10.4.1. Introduction Lately, I asked for a solution to inflate and unite a List of BoundaryMeshRegions: Inflate ...
4
votes
1answer
109 views

What's reliable way of finding declared but undefined functions/symbols in several interrelated packages?

I have many packages some of which use some of others. I have many symbols defined in them. Is there a reliable way of finding declared/exported but undefined functions/symbols in several ...
6
votes
3answers
77 views

Transformation rule for arbitrary number of argument expressions

I am failing to write a Mathematica transformation rule that replaces e.g. f[a + 3, b + 3, c + 3] with f[a, b, c] + 3 for an ...
29
votes
2answers
2k views

Trying to visualize the Collatz conjecture

I happen to have this collatz collatz[x_, y_] := If[x == 3*y || x == 2*y + 1 || y == 3*x || y == 2*x + 2, 2, 0] So i want a visual 3D adjacency graph of my ...
15
votes
0answers
59 views

What has changed in pattern matching functions with the Orderless attribute?

In making an attempt to answer this question, we ran into a version-dependent pattern-matching issue. An extended discussion in the comments transpired, and some inconsistencies arose. Consider the ...
19
votes
3answers
556 views

Can Mathematica produce manipulatable 3D plots for deployment on the web?

I have a 3D plot I produced in Mathematica and I would like to share it with the world in a way that allows my audience to rotate it and interact with it in the broadest possible way. I would like ...
1
vote
0answers
21 views

Filling between two plots up to some boundaries only [duplicate]

Suppose I have plotted two functions $f(x)$ and $g(x)$ on the same plot. I would like to shade the area between the two curves only when $f(x) \geq g(x)$, but I cannot get the Filling command to do ...
0
votes
1answer
84 views

Solving and Plotting Infinite sums over solutions to transcendental equation involving Bessel functions

I am trying to use Mathematica to plot the following equation $E(q,\Delta)$ vs $qa$, for set values of $ D \Delta/a^2$ and $\bar\rho a/D$. I have looked at other stackexchange posts which deal with ...
4
votes
1answer
47 views

Using Interval Slider in Manipulate for Plot Functionality

I am trying to incorporate Interval Sliders in Manipulate to allow the user to select a range to view a given plot. Here is an example that I have constructed for ...
4
votes
3answers
71 views

Using a function from inside a module [duplicate]

I try to plot a function for special values of some parameters which I don't want to set globally: ...
0
votes
0answers
43 views
0
votes
1answer
43 views

How to solve time dependent pde?

I have set out to try and solve a time dependent wave equation with specific boundary conditions, but I am running into a bit of a snag. As you can see, I am trying to solve for the wave function u[t, ...
0
votes
1answer
34 views

Max iterations for NestWhileList [on hold]

I'm writing Turing machines with a halting state. Many of these tms will never reach the halt state and I want a way to tweak NestWhileList so it runs a max of $n$ ...
2
votes
2answers
58 views
0
votes
0answers
34 views

Create n number of sliders with push of a button

I am trying to create an app and a part of it I want to plot 2D slices of n dimensional data. For that purpose I ask the user which plane he/she wants to use and change the other dimensions with a ...
0
votes
0answers
42 views

Mathematica, stop sorting my output! [on hold]

I'm trying to get some output from Mathematica / WolframAlpha, but it's coming out in a useless format. Mathematica is, for some reason, sorting my output. Below is the output from my function and ...
1
vote
0answers
60 views

Complex function plot issue [on hold]

I am plotting the real part of a simple complex function defined in two equivalent ways, and the plots do not agree. ...
1
vote
0answers
32 views

\$MinNumber vs. \$MinMachineNumber [on hold]

I'm working on some code that is giving me a division by 0 error, but I don't think I'm dividing by any functions that could come out to be 0. At one point it was suggested that this could be caused ...
4
votes
0answers
53 views

Does Mathematica have built-in support for multivariate regression?

I know that LinearModelFit can generate a model of a single response variable as a function of a set in input variables. Does Mathematica provide support for ...
2
votes
2answers
239 views

Building a Career Ladder Lattice (Follow up)

I want to thank you both for your help above. I'm going to abandon my quest for a number to label substitution using VertexRenderingFunction; because I need the ...
0
votes
1answer
31 views

Is it possible to get same answer from NonlinearModelFit with and without errors on data? - How to insert errors in NonlinearModelFit?

I want to use NonlinearModelFit with the following data. I tried it firstly without inserting any error bar. ...
2
votes
1answer
22 views

How does AdjacencyLists work on SparseArray

I have been working with large SparseArray and have noticed the properties are very very useful and fast. I wanted to manipulate my large sparse array in ways similar to the properties. Looking at the ...
0
votes
0answers
17 views

Wolfram Development Platform won't show my files

I just logged into Wolfram Cloud, so far I had no problems using it. But now, with this error when I try to open the home directory: What could be the problem? I don't have access to any of my ...
3
votes
4answers
320 views

How to solve an equation with a nested function

I have the equation f[f[x]] == 28 + 9 x How can I solve this for f[x]? I note that this post relates to the topic, but ...
2
votes
2answers
223 views

Define PolyLog so that positive reals evaluate on upper edge of branch cut

Generalizing the previous question: Define Log so that negative reals evaluate on lower edge of branch For real positive values $x>1$, Mathematica's polylogarithm function ...
0
votes
0answers
34 views

What is wrong with my formulas for a mathematical model of a double pendulum? [on hold]

I wanted to create a computer simulation on Matlab, using a model for a pendulum from this study (A double pendulum model of tennis strokes. Rod Cross. Uni of Sydney, 2006) - Link I wanted to use the ...
5
votes
1answer
80 views

single slit diffraction numerical simulation

I'm trying to simulate the Fraunhoffer diffraction at slits(single,double,triple) with Mathematica. In the picture, the red one is analytical result and the green one is numerical result. The ...
0
votes
0answers
15 views

Problem in plotting [on hold]

What is wrong with Plot3D[Sin[x y], {x, -2, 2}, {y, -2, 2}, PlotPoints -> 30, Mesh -> True, ]; It is almost the same as here (on page $15$) with the exception that I erased the last line ...
0
votes
0answers
23 views

Evaluating Elliptic Sine function

I am new to mathematica. I want to evaluate the elliptic sine function(se_r): http://mathworld.wolfram.com/EllipticSine.html The straightforward way of doing it would be using it's definition ...
0
votes
0answers
26 views

Filtering bad urls from a list of image urls [on hold]

I have about 90k image urls and I'd like to Select only the ones that are real images. Map[Check[Import[#], Nothing] &, urls] would take about 6 hours. Any ...
6
votes
5answers
566 views

Elegant method of generating this matrix?

Good evening, I need to determine an elegant (as possible) method of computing an $n\times n$ matrix below (the matrix shown is just a $16\times16$ example). I've been toying with ...
0
votes
3answers
117 views

how to change the name of exporting file automatically

I want to export some sort of data from Mathematica to .txt files but every time with a different name.clearly I want the name of files change automatically in each loop for each series of data that ...
4
votes
1answer
58 views

Does mathematica have a k-furthest neighbors?

I'd like to pick k points from a set of points in n-dimensions that are maximally apart. What is the simplest way to do this? Example: ...
9
votes
3answers
1k views

Increase 3D Graph thickness for 3D printing in Mathematica?

My code: Plot3D[{(2*x*y)/(x^2 + y^2)}, {x, -2, 2}, {y, -2, 2}] Output: And now I can export this to STL by using the export STL command, however, when I try ...

15 30 50 per page