# All Questions

61,566 questions
5 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 ...
12 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 ...
25 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 ...
11 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 ...
22 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 ...
23 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.
46 views

### Scheduled tasks and dynamic updating

Here is an example: x = 0; Dynamic[x] now please run: SessionSubmit[x = 1; Pause[10];] Problems: ...
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 ...
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.
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 ...
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 ...
14 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. ...
10 views

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 ...
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 "...
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: ...
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: ...
21 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 ...
27 views

### Groupings: orderless version?

Consider the following groupings code: Groupings[IntegerPartitions[3], {A -> 2, B -> 2}] This generates: ...
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 ...
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 ...
37 views

### The labels in the plot don't appear

the labels in the plot doesn't appear, axeslabel, plotlabel and plotlabels. ...
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 ...
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 ...
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: ...
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 ...
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 ...
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...
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) ...
59 views

...
122 views

### Ndsolve problem with Sign (friction)

In a very simple model I consider the motion of a body with frictional force. ...
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 ...
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 ...
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(...
63 views

...
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 ...
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 ...
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 ...
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: ...