3
votes
2answers
216 views

Extracting RGB color code from a plot

I have let Mathematica to draw a plot of some functions written as below: ...
1
vote
1answer
64 views

Untangling a tangly block of If statements

This is a followup to my previous question: How to simplify block of multiple repetitive If statements? I have another block of If statements, somewhat like the other one I need help simplifying ...
0
votes
0answers
28 views

Recycle boundary condition

I'm having the following issue that can not find a solution , by using this boundary condition u[0, t] == 2 u[1, t] that Mathematica does not understand, someone ...
1
vote
1answer
47 views

Extract every nth character from a string

I'm trying to extract every 21st character from this text, s (given below), to create new strings of all 1st characters, 2nd characters, etc. I have already separated the long string into substrings ...
0
votes
1answer
47 views

Simplify assuming $x$ is small [on hold]

I would like to assume that $x$ is small so that values of the order $x^2$ (and higher orders) are negligible. For example, I would like Mathematica to return $1-2m$ when I ask it to simplify ...
0
votes
1answer
64 views

How to find roots using the bisection method

First I plot the function and then I try to find a domain such that I can see the curve cut through the x-axis. I do this via trial and error ...
1
vote
0answers
27 views

How to calculate Probability of “Ranking”? [on hold]

I took a course with other 10 students. After the final exam, the professor reported statistical result of scores to us: 1. The range of score: 46~98; 2. The average score: 73.3; 3 The S.D of score: ...
0
votes
0answers
15 views

how to find interpolating bicubic surface given a 4 x 4 grid P of 3 D points and parameter values? [on hold]

The bicubic surface is N B M = P where N is the u parameter Vandermonde matrix and M is the v parameter matrix, B is the matrix of unknown control points, P is the matrix of given 3D points. The ...
0
votes
1answer
67 views

Why are CoefficientRules and MonomialList so slow?

Why is CoefficientRules so slow in this example (v10.2 on OS X 10.11.4)? ...
5
votes
0answers
87 views

Good clearing practices

I have been using Mathematica for about 2 years and I'm pretty ok to write and optimize my code. Wanting to improve my practice, I often look at code examples. However, I can not determine if there is ...
2
votes
1answer
41 views

Change of parameters on ouput graph

I have generated the graph, but i lost the settings, i would like to make the Plotmarkers slightly bigger. Is there anything to do this without redoing the computation? Like ...
0
votes
1answer
49 views
0
votes
0answers
16 views

How I change Arduino baudrate with Mathematica 10.4?

I need to change the baudrate of communication between Arduino and Mathematica (ArduinoLink) because i'm trying to get the angular position from a object and with the standard baudrate the data ...
2
votes
0answers
83 views

Integrate producing bad result

I noticed a bug in Mathematica. It computes incorrectly a definite integral ...
3
votes
2answers
303 views

Creating a bifurcation diagram of the logistics map

I am brand new to Mathematica so please keep that in mind. I've run into trouble trying to make a bifurcation diagram. Here is what I have done: I have a function $f(x)$ that relies on a value $r$ ...
3
votes
0answers
61 views

Accuracy of PrimeQ function

Using PrimeQ in Mathematica 10 on integers up to $2\cdot 10^{5717}$ the function appears to work. The Documentation for Mathematica 5 says that ...
0
votes
1answer
45 views

Loading FeynCalc

I am trying to install the FeynCalc package, but I cannot load it, it always gives the following errors: Loading FeynCalc from /home/gabi/.Mathematica/Applications SetDirectory::cdir: Cannot set ...
3
votes
3answers
170 views

Drop in nested tables?

I want to drop a specified number of elements from a 'table ...
0
votes
0answers
40 views

Evaluating interpolating functions embedded in equation [on hold]

I have created an interpolating function v(x,y) that contains an interpolation. When called, it returns an equation that contains embedded interpolating functions. ...
0
votes
2answers
97 views

determine frequencies [on hold]

Is it possible to determine all the frequencies , or all periods of graphic ? Example graphic :
-3
votes
1answer
45 views

Problems in getting derivatives [on hold]

i have a problem in getting partial derivative of dtest[a,b,c,d]/da Let me post my real code, ...
0
votes
0answers
62 views

Why are my associations not consistantly followed? [on hold]

I'm working on a code that automatically reorders the words of a phrase. I'm getting some inconsistencies with the word "glass". EDIT: Sorry for not simplifying the code to a basic example. Here's a ...
-1
votes
2answers
46 views

Plot a cone and a cylinder [on hold]

I have to plot 0=x^2-2y+y^2 and z=sqrt(x^2+y^2) for a class project but Mathematica does not accept raw input, any ideas? I have tried with "cylinder" in the functions but it does not work.
1
vote
2answers
88 views

Numerical integration does excessive coarse-graining?

I am trying to perform numerically the following integral $$\int_0^8\text{d}x\,\text{Re}\left[\frac{e^{-\frac{a^2}{2}-\frac{x^2}{2}} x^4 \sin (b x)\left(e^{-i c x} \text{erfc}\left(\frac{-c +i x ...
-1
votes
0answers
21 views

How does d/dx (ln(1/x) + c) = d/dx (c - ln(x))? [migrated]

I have to find the derivative of the following expression ln(1/x) + c it appears the answer is -1/x however i am told it can ...
2
votes
1answer
36 views

Why does the following integral generate an error message for Delete::partw and Integrate`ImproperDump`tmp

The following integral generates a couple of errors that I'm not sure what they mean or how to prevent them ...
0
votes
0answers
36 views

Curve moving on the torus [duplicate]

I'm trying to do parametric curve moving on the torus. Already have created sample torus : ...
3
votes
1answer
40 views

What options for project development exist if the Cloud and Mathematica Online cannot be used

Due to contractual obligations to protect IP and client information, we unfortunately, cannot use Cloud or Mathematica Online for development in the development of our projects. We are further ...
0
votes
0answers
50 views

Mathematica 10 cannot use EulerMatrix? [on hold]

I am using Mathematica 10 on Linux 64-bit and the function EulerMatrix does not work. Is it related with an unloaded package or something? Does every copy of ...
-1
votes
1answer
54 views

moving of a material point on the surface - paraboloid spiral

I have to do project on my studies. I wanna place spiral in this shape. I'm stuck on this point: I have these details: z=4x^2+2y^2 spiral w= (0,0,0) spiral in up Do you have any ideas? Every ...
2
votes
0answers
84 views

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

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
39 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
33 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 [on hold]

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
37 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
23 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
39 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?
-3
votes
0answers
67 views

Bifurcation diagram for delayed dynamical system

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
269 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 [on hold]

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
196 views

Make a fractal-like dot animation

How to make an animation of following fractal-like gif by using Mathematica?
5
votes
4answers
429 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
78 views

Jump boundary conditions

I'm having the following issue that can not find a solution , by using this boundary condition ...
5
votes
1answer
111 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 ...
2
votes
4answers
106 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
25 views

How is Attributes protected and yet can still be set?

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

Reading a set of files in Mathematica in Parallel

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
63 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
43 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 ...

15 30 50 per page