All Questions

0
votes
0answers
1 view

Using Series to Solve Differential Equations

I have an example from Stewart's Calculus where the equation y'' + y = 0 is solved using power series. The equation Subscript[c, 2 + n] == -(Subscript[c, n]/((n + 1) (n + 2))) is used to determine the ...
0
votes
0answers
6 views

Errors using ParametricNDSolveValue (expected instead of True,not a valid variable, cannot be used as a variable)

I am a newcomer to Mathematica (use ver 9.0). I just want to fit the experimental data to a system of odes' by using NonlinearModelFit. The data, contains time in the first column and product ...
0
votes
1answer
14 views

Multiple choice ChoiceDialog?

I am looking for a dialog box that opens like a ChoiceDialog but it allows me to choose multiple items from a list and returns that list like ...
1
vote
1answer
26 views

Find element in a list matching a pattern (using wildcards)

Somehow, I did not manage to find anything related to that. Suppose, in my Global list of variables, I would like to make a search such that I obtain all the ...
0
votes
0answers
12 views

How to use error messages from fucntions programatically

Let's say you get an error from NonlinearModelFit[...], where say the model hasn't converged, or any other kind of error, is there a way to use this as a trigger to ...
0
votes
1answer
23 views

Generate a graph from function on the vertices

I have a concrete function f:V->P(V) that describes that neighborhood of a vertex g. I tried to use FunctionalGraph[f,V] , but apparently, this function was removed. So, how to generate a graph ...
-3
votes
0answers
24 views

kalman filter code for autonomous vehicle

In mathematica the kalman filter code can be used for autonomous vehicle movement? If this is possible i want kalman filter code which is used for filtering the data.
9
votes
0answers
46 views

Scheduled tasks and dynamic updating

Here is an example: x = 0; Dynamic[x] now please run: SessionSubmit[x = 1; Pause[10];] Problems: ...
4
votes
1answer
31 views

Given a cell in a Voronoi diagram, which point did it come from?

Given a set of points pts = Table[{RandomReal[], RandomReal[]}, {i, 1, 10}]; and their Voronoi diagram ...
0
votes
0answers
38 views

Integration doesn't work parametrically

when i integrate this function Mathematica doesn't give answer but when i use numbers instead of l and m it gives right answer.
0
votes
0answers
18 views

How to fix the alignment of Buttons in ChoiceDialog?

Consider the following example: ChoiceDialog["Pick one", {1 -> "a", 2 -> "b", 3 -> "c", 4 -> "d"}] It produces appropriately sized buttons in version ...
0
votes
1answer
16 views

Subscript and superscript symbols for chemical calculations

I have some very unhandy, big equations which contain quantities like $n_{AB}(^{13}C)$, now i would like to adapt this notation also in Mathematica so I do not need to think of a new one. Is there a ...
0
votes
0answers
15 views

Edit a code to become with combined animations

So in the following code, I would like to make the following animation. First: "t1" the blue line in the bottom together with "x,y,z" the blue lines in the top. So when "t1" finishes "z" finishes. ...
0
votes
0answers
10 views

Parametrized vector function in PDE with DSolve/NDSolve

I'm trying to solve a PDE for a parameterized function $\vec x(s, t)$ where $t \in [0, T]$ and $s \in [0, T/h]$. This PDE reads as: $\frac{\partial \vec x}{\partial t} = \vec u (s, t)$, $ \vec x (s,...
0
votes
0answers
19 views

Drawing Curve, Interpolating Points on a Sphere

I am implementing Lagrange motion of degree 6 in Wolfram Matematica, I have implemented everything and now when i came to an 'easy part', drawing part i am stuck. Which function could i use to draw ...
1
vote
1answer
34 views

Create surface by combining 2D curves

I'm trying to create a plot in which I look at the change of a curve as a function of a parameter. My problem is quite complicated so below you can see a simplifying example ...
3
votes
0answers
31 views

How to export a notebook to Jupyter?

I would like a tool to convert any Mathematica notebook into a Jupyter labs notebook, preserving as much content as possible (.ipynb files are just special json). Obviously, this would need to ...
1
vote
1answer
19 views

Combining two parameters in animation

I need to make the following animations on the torus : t=ParametricPlot3D[{ (3 + Cos[v]) Sin[u], (3+ Cos[v]) Cos[u], Sin[v]-12}, {u, 0, 2 Pi}, {v, 0, 2 Pi},PlotStyle -> Opacity[.4],MeshStyle->None] ...
0
votes
0answers
8 views

Using epstopdf of exported eps adds strange vertical dashed gray line

I often use Mathematica to generate plots to add into my paper. When I export the plot as png file, then it is OK. However, when I export the plot as eps file, and add it into latex using epstopdf, ...
1
vote
1answer
30 views

Hide a part of a graph

How to hide a part of a torus. I mean in the following torus ParametricPlot3D[{ (3 + Cos[v]) Sin[u], (3+ Cos[v]) Cos[u], Sin[v]}, {u, 0, 2 Pi}, {v, 0, 2 Pi}] I want to hide the shaded part
0
votes
1answer
35 views

Plotting Numerical Integration of Multiple Variables

I am trying to plot a multiple variable integral. But somehow this is not working. This is my code. ...
2
votes
1answer
67 views

When to trust Integrate?

I'm trying to get an analytical expression for the following integral: ...
0
votes
0answers
30 views

Faster way to compute eigenvalues of a matrix doing rows operations

I had to find the eigenvalues of this matrix: $\begin{bmatrix} -20 & -25 & -22 \\ 6 & 11 & 12 \\ 5 & 5 & 1 \end{bmatrix}$ I found the characteristic polynomial: $P(\lambda) =...
0
votes
0answers
20 views

How to run image manipulation function to an array of images?

I have multiple images imported into an array. My issue begins with using this array for an image manipulation function such as Inpaint. Inpaint only accepts a single image at a time. Here's how I ...
4
votes
1answer
275 views

How to fill the plot like this?

Plot[-x^3 + 2 x^2 + 8 x, {x, -5, 5}, Filling -> Axis] produces this What's the easiest way to change to something like this That is, I only need the two "...
1
vote
0answers
51 views

What are the special characters `\!`, `\@`, etc.?

Character codes 63425 through 63436 (within the WL private use range) can be typed with backslash escape sequences. Despite displaying like digraphs they are single characters: ...
2
votes
2answers
40 views

Groupings over non-atomic elements

I use groupings as below: Join[ Groupings[IntegerPartitions[3], {A -> {2, Orderless}, B -> {2, Orderless}}], {x}] Which generates: ...
0
votes
0answers
22 views

Having a question on how should i interapolate using vectors

I have two vectors(one dimensional matrices) which are in same length. One of them stands for "x" variable and the other corresponds to "y" which is dependent to "x". my question is that is there any ...
1
vote
1answer
27 views

Groupings: orderless version?

Consider the following groupings code: Groupings[IntegerPartitions[3], {A -> 2, B -> 2}] This generates: ...
0
votes
1answer
30 views

Modifying/optimizing a double sum with an If condition

I would like to better understand double summations where one of the sums depends on the upper limit of the previous sum. This appears frequently in representation theory (to the extent of my ...
0
votes
0answers
64 views

Problem with fitting

So I have a very simple question related to a simple topic, but also directly related to a fitting problem. I see that my question is related to this question but I don't manage to make the bridge ...
1
vote
1answer
37 views

The labels in the plot don't appear

the labels in the plot doesn't appear, axeslabel, plotlabel and plotlabels. ...
1
vote
0answers
45 views

How can I parametrically generate a hierarchically clustered network?

I'm trying to create an image to illustrate what a large, hierarchically clustered network looks like. The details of the network don't matter, as long as, when plotted, it clearly shows at least a ...
0
votes
1answer
44 views

Calculating the distance between two points and get direction

I am programming a molecular dynamics program with periodic boundary conditions. Here, I have a problem: I have a list of coordinates like ...
0
votes
1answer
28 views

Manipulate NDSolve

Can anyone help me? This is my code: f[x_ ] = x Exp[I z]] (Cos[z]] BesselJ[l, a *x] - BesselY[l, a *x] Sin[z]) u=0.1 v=6 on the other hand hand: ...
1
vote
1answer
31 views

How to change font size of numerical value of a slider parameter in Manipulate[Plot]?

I start with the very simple Manipulate of a Plot: Manipulate[Plot[Sin[omega*x],{x,0,5*Pi}],{omega,0,3}] I know how to customize a bit the slider, so as to have ...
4
votes
1answer
90 views

Non-flat partitions of a set

A non-flat partition of a set is one where, when the elements of the set are on a grid, the partition does not contain subsets with elements from the same row. When the set is more irregular the same ...
1
vote
2answers
32 views

Question About Sampling from Conditional Distribution Created from Approximated Distribution

First, set the data and prepare the conditional distribution. pxy is joint distribution of Random Variable x and...
1
vote
0answers
44 views

Wrapping an association with a specialization of the buildin `Set` (=) function?

I want to wrap some association data into a dedicated symbol (S by example) ...
1
vote
0answers
59 views
5
votes
2answers
122 views

Ndsolve problem with Sign (friction)

In a very simple model I consider the motion of a body with frictional force. ...
0
votes
0answers
27 views

How to publish a mathematical theory to declare autorship [on hold]

I'm not sure if this is the correct place for this question. If it isn't, can somebody suggest a better place? I have worked on a theory regarding prime numbers, and I would like to publish it so ...
2
votes
2answers
66 views

How to make a contextual variable?

I have a question that would be trivial in OOP, but I am a newbie to programming in Mathematica, so I'm wondering how to deal with it. Basically, I want to create a package which basically involves a ...
3
votes
1answer
44 views

Generate coefficient array from general formula of linear equation system

This is a problem coming out in the implementation of finite difference method (FDM). Here is a toy example. Suppose we want to solve the boundary value problem (BVP) $$y''(x)=\sin(x),\ y(0)=0,\ y(...
1
vote
1answer
63 views

Plotting an integral

...
2
votes
2answers
100 views

On Certain Characteristic Function

I am trying to find the characteristic function for Johnson's SU distribution by integrating the probability density function with Exp[I*t*x] but Mathematica is ...
0
votes
1answer
51 views

Is there any way to do this integral without expanding the exponential power?

Integrate[ x^(1/2) Exp[-10.7* c/x] Sqrt[(1 - (125/1000)^2) (1 - (2*4.18/125)^2) - (1 - (2 x/ 1000))^2], {x, 5.03, 994.97}] or can i do this indefinite ...
1
vote
1answer
50 views

Numerical solution of equation with free parameters

I have an equation which is not analytically solvable, thus I need to solve it numerically. But, this equation has some free parameters which I want to replace them with some numbers after solving the ...
2
votes
1answer
40 views

Polar Plot Features

how can I add the arrow symbol in Polar plot figure (see the attached file), from the point (0,0) to the tangent point? code example: ...
1
vote
1answer
63 views

Problem with minimization of $x^z$

I have plugged in the following problem Minimize[{x^z, z >= 1, z <= 10, x >= 1}, {x, z}] Can anyone explain please why the software does not provide the analytical solution? Clearly NMinimize is ...

15 30 50 per page