2
votes
0answers
85 views

How to use Mathematica to help me get highest score in every layout? [closed]

The game is hitting the headline in these day and everyone can click this link to play it.The game have a very simple rule like following: Game Rule It will give you a initial layout when you click ...
1
vote
0answers
42 views

Solving ode which solution oscillate violently

This is a ordinary differential equation: y[x]/(-1 + x^4)^2 - ((1 + 2 x^2 + 3 x^4 - 2 x^6) Derivative[1][y][x])/(x - x^5) + Derivative[2][y][x] == 0 I want to ...
2
votes
1answer
35 views

Export of all notebook files as text files

I want to export all my notebook files located in a root directory as text files. Below is a simple code that I use. Ho can I export "only" the necessary text content of each notebook file? ...
0
votes
0answers
27 views

Solving equations but cannot define argument [closed]

Hi everyone I am new to mathematica and I really need help now. The question is like this: I defined a function H(e1,e2) and I want to solve PDEs like ...
2
votes
0answers
15 views

How to change the default stylesheet?

How to change $\textbf{default} $ output font color in Mathematica? for instance : how to set following style as default And how to set the default magnification to 200% instead 100%
1
vote
2answers
44 views

expressing a rising factorial as a polynomial

I have an equation in $x$ as follows: $f(x)=\prod_{j=0}^{k}(j+x)=x.(1+x).(2+x)\cdots.(k+x)$ I want to express this as a polynomial in $x$, i.e., as $a_0x^0+a_1x^1+\cdots+a_kx^k$ I tried doing the ...
-1
votes
0answers
25 views

How to apply Image3D dynamically [duplicate]

I have a 3D image which is made up of a number of 2D slices. I want to select mophological components dynamically by clicking on them as done here for each slice. Then form a 3D image consisting of ...
1
vote
1answer
41 views

How to list all functions in a package? [duplicate]

I got a package which can be loaded in MMA. The manual for the package does not give demonstrations of all functions/commands. Hoe can i find all the commands in the package?
-4
votes
0answers
79 views

Bifurcation diagram for delayed dynamical system [closed]

The delayed dynamical system describe as $\dot{x}(t)=y(t)-ax^3(t)+bx^2(t)-z(t-\tau)+I \\ \dot{y}(t)=c-dx^2(t)-y(t)\\ \dot{z}(t)=r[s(x(t)-e)-z(t)]$ where $a=1.0; b=3.0; c=1.0; d=5.0; r=0.006; s=4.0; ...
5
votes
3answers
286 views

Box plot combined with histogram and normal curve

Please forgive me if this is a relatively simple thing to do, but I'm relatively new to Mathematica and I've only recently started using it to visualise some statistics for my PhD work (I'm a linguist ...
0
votes
0answers
25 views

Mathematica Serious Startup Error [closed]

I am getting "Low-level WSTP error: Unknown internal error" during Mathematica 9.0-10.4.1 (tested with 9.0, 10.0, 10.1 and 10.4.1 fresh install) start-up on some specific Linux machine (x86_64, ...
2
votes
1answer
204 views

Make a fractal-like dot animation

How to make an animation of following fractal-like gif by using Mathematica?
5
votes
4answers
440 views

How to simplify block of multiple repetitive If statements?

I'm building a boardgame...game in Mathematica. I have the board state represented as a matrix. It's a two player game, and each player (let's call them A & B) only has one type of piece or ...
0
votes
2answers
82 views

Jump boundary conditions

I'm having the following issue that can not find a solution , by using this boundary condition ...
5
votes
1answer
123 views

Strange DiracDelta integration results in 10.4.1

Integrate[DiracDelta[s (x - c)] x, {x, -Infinity, Infinity}, Assumptions -> {s > 0, c > 0}] gives me c/s in ...
3
votes
4answers
122 views

Find the length of the intersection of two lists including duplicates

I have 2 Lists. The first one includes all the numbers from 1 to 10. listA={1,2,3,4,5,6,7,8,9,10} The second includes ...
4
votes
1answer
27 views

How is Attributes protected and yet can still be set?

The Attributes function itself has the attributes: Attributes[Attributes] ...
0
votes
0answers
27 views

Reading a set of files in Mathematica in Parallel [closed]

I have a number of very large files (each one of them containing a single list) that I want to import in Mathematica. Reading these files on a single core takes a couple of minutes. Since I run my ...
1
vote
0answers
75 views

How to “INJECT” with holding Evaluation, specifically into a WhenEvent

I am importing a set of differential and stochastic equations from an external package, and want to use Mathematica to analyse this. I am struggling building the set of equations that I can use with ...
0
votes
1answer
46 views

Manipulate a plot with display of a condition

This is a how to question --- the example is without importance. I want to manipulate the plot of say a x^2 + b y^2 for (a,b) belonging to a specific set, but a + b > 0. Is it possible to make ...
-2
votes
0answers
15 views

ArrayPlot arguments [closed]

ArrayPlot[initLat, ColorRules -> {1 -> White, -1 -> Black}, Mesh -> True, ImageSize -> Small] ArrayPlot::argt: ArrayPlot called with 3 arguments; 0 or 1 arguments are expected. Thanks!
0
votes
0answers
32 views

Pade approximants for Taylor series using mathematica [closed]

fluid-dynamics In running Pade Approximants for taylor series to rationalize using Mathematica for higher degrees, the program gets hanged. What can be the reason ?
0
votes
0answers
30 views

Pass List / Vector argument through NDSolve to a function

I am trying to pass vector or list as argument to the function from NDsolve.And I am getting these error. Also I am pretty new to stack overflow. Apology if this a possible duplicate. Here is my code. ...
3
votes
1answer
55 views

“Most compatible vector representation”

When saving a plot through right click ► Save Graphic As…, Mathematica lets me choose several options, including separate vector representations for areas with ...
1
vote
0answers
38 views

Periodic boundary condition trick

I'm plotting a curve on a compact space which is having periodic boundaries on the left and right parts. Currently, the code I'm using is working great, but I'm wondering if there's a simpler and ...
10
votes
3answers
192 views

How to describe the convex hull of a set of points as an implicit region for optimization?

Last edit: 2016-05-03 A.G.'s answer was the one helped me the most, see explanation at the end of this question. Original question In Mathematica you can create out of a set of points in 2D and 3D ...
0
votes
1answer
46 views

Need help extracting data

I'm a teacher on a $20,000/year salary so I'm using Wolfram Programming Lab online to experiment with Mathematica scripts to save money (although I'm hoping to get a raspberry pi as a birthday present ...
1
vote
1answer
35 views

portions of plot missing for a relatively simple function

I am trying to produce a graph of the linear dynamic system response to a step input. The code is as follows: ...
0
votes
1answer
42 views

Metric Simplify & grouping

I'm changing a basis from one metric to another. When simplifying the result Mathematica doesn't seem to grasp all the possible simplification: ...
0
votes
0answers
25 views

Is there a way to save the output from integrate as a function? [closed]

Is there a way I can save the result of my integration as a function? I would like to be able to assign the result of this integration to a function which accepts ...
1
vote
1answer
48 views

FunctionInterpolation on a 2D function does not match original function when plotted together

I met with a problem when trying to find the interpolation function of a 2 variable function. The function is like below (already simplified for brevity): ...
4
votes
0answers
103 views

Is there an internal logic behind short form symbols, such as @ (Prefix), @@ (Apply), /@ (Map), /. (ReplaceAll) [closed]

To me, function names (such as Apply and Map) seem more intuitive than their symbols (e.g. ...
7
votes
1answer
122 views

Map vs listable [duplicate]

What's the difference between setting a function's attribute as Listable and using Map? I understand that ...
0
votes
2answers
78 views

Free-fall air resistance problem

I´m working on a free fall problem and I got an equation with variable $k$ when the situation has air resistance. Then I compared with no air resistance equation ($-4.9$, considering t variable). So, ...
8
votes
1answer
71 views

How can I identify which solution triggered the WhenEvent?

I am using NDSolve for problems like this: ...
1
vote
1answer
81 views

Drawing spheres with texts on top of each other without overlapping [closed]

I want to use Graphics3D to draw a sphere with a text on it. Then, I'd like to draw another sphere (with a different text on it) on top of the first one. This is the code I'm using ...
1
vote
1answer
48 views

Subscripted variables give errors in Module expression [closed]

I have following problem. I want the R not to calculate before the integration but substitute later as a function of z. My Mathematica codes look like: Codes like big, (sorry) but most of them ...
2
votes
0answers
60 views

Ramanujan's asymptotic formula for $p(n)$

The following expression is the exact formula of partition function. Ramanujan's asymptotic formula for $p(n)$ is following $$p(n)\sim\frac{1}{4n \sqrt{3}}e^{\pi \sqrt{2n/3}}$$ Can I use ...
1
vote
2answers
52 views

MMA gives error when a different PDF expression is used for the same distribution

I have the following MMA code. Note that the function I declared at the very beginning is the PDF of square of a Nakagami Distributed random variable. With $m=1$ and $P=1$, $f(h)$ becomes Exponential ...
-3
votes
0answers
36 views

Polynomial Equation/Function With Even Degree Order [closed]

I have the following data for $x$ and $y$ axis, which I am reading from an Excel file by using the Import command and plotting by using the ...
8
votes
2answers
71 views

How to use `Except[]` inside of `Pick[]` [duplicate]

Pick[{1, 2}, {0, 1}, Except[0]] returns {1, 2}, the first element of which I did expect to be excluded. What is the thing I ...
8
votes
1answer
105 views

How can I use Mathematica to make a captcha image?

This was inspired by this post which is about the serious business of website deployment in the Wolfram Cloud, and interaction with Google's reCaptcha system. I started thinking of how to make those ...
0
votes
1answer
50 views

How to find this probability with PDF from TransformedDistribution?

I need to find the expression for the following equation, where $m>0$ ...
1
vote
1answer
66 views

Inconsistent Integrate behavior?

Evaluating the following integral with Mathematica Integrate[q0/(-1 + q0^2), {q0, 0, A}] gives a conditional expression ...
2
votes
0answers
57 views

Interface design to replace cascading dialogs which don't work

I would like to make a nice Interface of a simulation I wrote, but i don't know how. I want that you run the code and then a window asking for input of some values appears (either in the same ...
9
votes
6answers
562 views
5
votes
1answer
46 views

How to understand the different output of two UnsetShared?

Update From technical support, Thank you for contacting Wolfram Technical Support. I understand that you are reporting an issue with UnsetShared deleting the shared variable after a second ...
2
votes
2answers
54 views

How to translate/convert UTF-16 code to its corresponding word/characters by Mathematica?

I'm using Mathematica10.0.2 on my Win7. Recently I crawled some websites by mathematica and within the information returned by URLFetch there are plenty of UTF-16M codes. These UTF-16M codes are ...
5
votes
2answers
153 views

NSolve behaving differently in V9, V10.3 and V10.4

EDIT In a very fast response from Wolfram they state that this is a known problem and give an example of it working for version 10.4.1. $Version "10.4.1 for Microsoft Windows (64-bit) (April ...
0
votes
2answers
61 views

Random 3D cylinders plot [duplicate]

I have seen this trivial example for circles ...

15 30 50 per page