0
votes
1answer
22 views

How to Combine 3D graphics

I'm trying to put this solid S1 = RegionPlot3D[z - 50 <= -2 x^2 - 2 y^2, {x, -5, 5}, {y, -5, 5}, {z, 0, 50}] on top of this one ...
11
votes
1answer
52 views

Empty WhenEvent action crashes kernel

Bug introduced in 9.0 and persisting through 10.4.1 WhenEvent is new in 9.0. This is an example from the docs, slightly modified (action is wrapped in ...
1
vote
1answer
18 views

Symbolic calculation on roots of polynomial

Given a polynomial like $x^3 + a_2 x^2 + a_1 x + a_0$ with roots $r_i$, I would like to symbolically compute the coefficients of a polynomial whose roots are $r_i^3 + r_i + 1$. How can I do this in ...
7
votes
1answer
248 views

Difference between = and Ctrl+ =

What is a difference between $\textbf{=}$, and Ctrl + $\textbf{=}$? For instance there are some examples, but result is same. and
0
votes
1answer
36 views

Solving equations with change of variables is not working?

I have the following expression $$\text{expr=}\int_0^{\infty}\frac{C\exp(-\frac{mx^2}{\Omega})}{\Omega^m}\frac{1}{\sqrt{2\pi}\lambda\Omega}\exp\left(-\frac{(\ln ...
4
votes
1answer
59 views

Blocking dialog with a blocking child dialog

Suppose I have a DialogInput, in which there is a Button. The Button can trigger another ...
0
votes
0answers
6 views

How we get the ANOVA and Parameter Tables in Mathematica of the Ridge regression like the linear model

Dear how we find the ANOVA and Parameter Tables of the ridge regression like the linear model on randomly generated independent and dependent variables.
0
votes
1answer
11 views

Histogram plot for fixed class interval

Age Size of Kidney 0-20 8.5 20-40 9.2 40-60 10.4 60-80 9.3 80-100 8.9 The above data gives the average size of the kidney for the people of age ...
1
vote
1answer
9 views

Definition of TraditionalForm

This is a followup of "How to check for Mathematica’s definition of XY?, a question by uli on how to access the definition of a built-in symbol. That question focused on ...
0
votes
0answers
17 views

How to prove it?

Under $P$, the random variable X has a double exponential distribution with positive constants, $r_1$,$r_2$,$p$,$q$ such that $p+q=1$, with the probability distribution function given as: ...
1
vote
0answers
13 views

Function inversion

I have an expression of this kind ...
17
votes
5answers
3k views

How to keep markers as dots in a joined ListPlot?

Consider the following typical interactive sequence. First I produce a ListPlot: OK, not bad, but I want those dots to be bigger, and also joined. First, I ...
0
votes
1answer
29 views

I would like to be able to get this integral evaluation to show up in terms of variables

this is very much a beginner question; I was hoping that someone may be able to take a look at this code and tell me why it outputs all of these crazy numbers instead of just the variables specified ...
7
votes
1answer
63 views

How to remap graph properties?

Graph objects support both custom properties, which do not have special meanings, and standard properties, which may be used by some functions. When importing from ...
9
votes
1answer
87 views

Understanding evaluation and typesetting

Background So, one could be surprised by the fact that: Hold @ Grid[{{1, 2}}] (*or*) Hold @ Graphics @ Disk[] This issue and methods of prevention are ...
5
votes
1answer
55 views

Definition of Mod and Quotient with complex arguments

How are Mod and Quotient defined for three real/complex arguments? I wasn't able to find the definition. My main surprise so ...
1
vote
2answers
54 views

Can I hold a condition in NMaximize/NMinimize?

I'd like to use NMaximize/NMinimize with the condition ...
0
votes
2answers
28 views

TexForm List with Rule

I'm having some difficulty TexForming a list. The output is not what I want. The following is a minimum working example. I've tried every combination of Flatten, ArrayReshape, and Partition to no ...
-1
votes
0answers
28 views

Adjusting labels on separate plots inside same window [on hold]

I'd like to have the following layout for a plot: I have all these plots finished, but they are with a lot of labels that were manually adjusted via "Scaled". There are two problems I'm facing: 1) ...
2
votes
3answers
144 views

Use NMinimize instead of FindFit for constrained search (of coefficients)

(My problem is more complex, but let us formulate it through this example) I am trying to find the best polynomial approximation to the following function ...
-3
votes
0answers
22 views

Need help to plot Graphic

Please help me to plot this polynom,
0
votes
0answers
24 views

Solve transfer function with non-zero initial conditions

Hand computation I have a transfer function defined as $\frac{0.6p+1}{0.6p^2+2.2p+8}$ which was derived from a circuit. Solving this by hand gives the equation, $$i(t)=Ce^{-1.83t}\cos(3.16t + \phi)$$ ...
3
votes
3answers
413 views

Simplify big numbers in a second order equation

How can I simplify big exponents like $10^{39}$ in the solution of a second order equation: ...
2
votes
1answer
58 views

Optimize a parametric matrix to get a lowest possible eigenvalue

This question is a followup of Plot the lowest eigenvalues of a parametric matrix Now I can get the lowest eigenvalue LowEign(t) of the matrix for a given t numerically. When I plot the LowEign ...
-1
votes
0answers
53 views

Limitation of MMA in solving complicated functions?

I try to solve nonlinear PDE functions with NDsolve and NDIntegrate in MMA. And it seems that MMA will not work if the functions become too complicated. I do not know why. Below are my codes which ...
2
votes
0answers
33 views

How I can get faster code for computing a fractional derivative?

I used of this code How I can get faster code for computing ... Then, I wrote this code: ...
25
votes
1answer
512 views

In 10.1.0 BenchmarkPlot doesn't work?

Bug introduced in 10.1 This bug was resolved in 10.2.0, but another bug was introduced in 10.3.0 persisting through 10.3.1 and finally resolved in 10.4 In Mathematica 10.1.0 and 10.3.0 ...
0
votes
0answers
48 views

Rudimentary/basic simplifications of expressions not carried out--very puzzling!

Below is a notebook expression that can be interpreted and opened (hopefully) as a new notebook. (Should I post it in another form?) Its behavior in leaving expressions in expanded form, seems very ...
4
votes
1answer
195 views

Writing Faster Mathematica Code - Sow and Reap?

I am applying Select function to a large list called xyCoordinateCentreCircle. The dimensions of the list are: ...
9
votes
2answers
198 views

Is there a way to make links to functions in a notebook?

Frequently I'm working on a function that's at the top of my notebook in a "functions" section, but I'm looking at the output of it in a lower "body" section of the notebook. When I want to edit the ...
1
vote
1answer
160 views

Differential equation in two variables

I have a system of second order differential equations, with two independent variables, which represents a trajectory. I tried solving this system using NDSolve and ...
13
votes
2answers
186 views

How do I use the third and fourth arguments of Parenthesize?

Parenthesize seems to do a good job with constructing boxes that need to be appropriately parenthesized: ...
1
vote
2answers
52 views

Export many lists without using loops

I have a Mathematica function that creates a RandomWalk chain of length l, by generating random points on the unit sphere and ...
1
vote
0answers
54 views

How to avoid tranfer the array as a parameter

I have following array: data = {x^2, 2*x^2, x^3}; And I must send it to the following function: ...
7
votes
1answer
106 views

Can I put Association brackets <| … |> in an autocompletion template?

I have a function f which takes as one of its arguments an Association object, and I would like to produce a nice usage message ...
0
votes
0answers
35 views
1
vote
0answers
39 views

Cauchy Principal Value

Cauchy principal value of the following integration gives nothing in Mathematica. $\int\limits_{-\infty}^\infty\frac{\text{dx}}{x-2}$ I tried some hand calculation which is ...
4
votes
0answers
68 views

Dealing with a nonlinear PDE using FEM

As far as I can see in the Mathematica documentation center, there are no built-in ways for solving nonlinear PDEs using Finite Element Method (FEM). I am dealing with a simple nonlinear ...
1
vote
1answer
41 views

Asymptotic Radial Wave Equation

I'm trying to reproduce the following solution to the ODE, $$\frac{d^{2}u}{d\rho^{2}} = \frac{l*(l+1)}{\rho^{2}}u$$ Solution: $$u\left(\rho\right) = C\rho^{l+1}+D\rho^{-l}$$ What I've tried in ...
1
vote
0answers
23 views

Crash after long GroebnerBasis calculation

I am running a long computation of a GröbnerBasis and after some hours the kernel crashes. The memory usage increases enormous, and it crashes, when it reaches somewhat 4 GB RES, however it is ...
1
vote
0answers
38 views

Filtering in frequency domain

I'm trying to modify a transfer function in the frequency domain by filtering it with a Butterworth filter. For example, let's say my transfer function is of the form : ...
1
vote
2answers
43 views

Automatic process to replace missing values, coming from a second matrix

I have a large starting matrix with missing values in different columns. I want to replace this missing data as follow. First I have to check the group (last column in starting matrix) and go to a ...
0
votes
2answers
46 views

Unable to plot function with exponentials or to find all roots [duplicate]

I am not able to Plot[(-1)^x + 2^x - 2 x - 1, {x, -4, 4}] directly. Some rework might be needed with complex branch cuts perhaps. There are real roots at $ x=3, ...
0
votes
0answers
36 views

Handling Inequality with condition

I have verifying inequality using Mathematica using Simplify command For Example I want to check whether inequality a<f ...
1
vote
1answer
35 views

Setting the value of a list item

I want to set the value of an item in a list. The code that does this has to work regardless of the depth to the list. For instance set the value of r[[1,1,1,....,1,1]] to 9. Lets say the list called ...
0
votes
2answers
55 views

Using an interpolating solution of NDSolve into an algebraic expression

I would like to use the interpolating solution of NDSolve into an algebraic expression without creating a system of a differential equation and algebraic equation. The example is the following, the ...
20
votes
2answers
2k views

How to remap a fisheye image?

I want to flatten a series of fisheye images by remapping them to a rectinlinear projection. To achieve this, I need to be able to remap the pixels of the image using fisheye correction formulas for ...
0
votes
0answers
23 views

How to embed NIntegrate inside NDSolve to solve complex functions? [on hold]

I try to solve complex nonlinear PDE functions with intergrations using NDSolve in Mathematica, but failed. To simplify my problems, I wrote the following codes, but it does not work. ...
0
votes
0answers
54 views

Bad behavior of Manipulate with a Greek variable inside

I'm getting bad behavior from Manipulate in Mathematica 10.4.1. A very basic demonstration: ...
7
votes
2answers
71 views

Reading Cells or Boxes expression by expression

Let's say we have a cell: (*newline*) (*newline*) Plot[ x, {x, 0, 1} ] (*newline*) Plot[x, {x, 0, 2}] How to read it expression by expression? ...

15 30 50 per page