# All Questions

52 views

### Plotting a set of parameters

I am trying to plot the equations that describe the Cartesian locations of Bi-Cylinder coordinates. The equations are as follows: ...
47 views

### System of two implicit equations subject to (complicated) constraints. Infinite recursion?

I am trying to solve a system of two equations subject to 3 constraints which are rather implicit. With my (naive) code I obtain a list of recursions that Mathematica keeps on writing until I abort ...
54 views

### How to implement search patterns and take into account language statistics?

Patterns in Mathematica I struggle some with patterns while trying to extract words out of large texts. Let us say that I have a long text (Strindberg) that we can call ...
94 views

### Background removal of gradient background

I am trying to calculate the sum of intensities present in my agarose gel: I want to compare the intensity of the total white band on the top with that of the one on the bottom. The idea is to ...
56 views

### DateListPlot from DateHistogram

How do I draw a DateListPlot from the bin height and bin middle position? I have a series of time events from which I calculate DateHistogram, but I want to represent the result through a kind ...
62 views

### Problems with Subsuperscript and Subscript Combination

I have a 3D figure, not important what it is, and I have the following code for the Z axis of this figure: ...
22 views

### FormBox in pretty strings

My goal is to write usage messages in the same style as Mathematica's built-in ones, such as List::usage. This involves a mess of ...
144 views

### Displaying Dandelin spheres touching hyperbola boundary patches in cone

Can we show the Dandelin spheres scenario (shown by Hrhm for case of ellipse) for a hyperbola as well? I'm not happy with what we get to see of this on the net. The double nappe/sheet of a cone is ...
80 views

...
30 views

### Produce a function of parameters from a solution to parametric equation [on hold]

I am trying to produce a very simple result, namely given some function $f(x,a)=0$ find a solution $x(a)$ and let it be a function that I later plot depending on $a$. However Mathematica does not ...
81 views

### NDSolve how to monitor shooting method iteration?

here is a shooting method solution right out of the docs: ...
67 views

### Stiffness problem in an NDSolve system. StiffnessSwitching does not help?

I'm trying to solve an ODE system with the NDSolve method. This my ODE system, with the BC and the functions V and dV defined: ...
201 views

### Transforming a list of the form {{{x, y}, z}, … } into the form {{x, y, z}, … } [duplicate]

This should be a fairly simple question, but I can't figure out how to do it. I have a list of points of the following form: ...
59 views

### APIFunction calling another API

I've built a set of Wolfram APIs that call another API which builds specific queries given the parameters of a database and then outputs that query for the client in the query language syntax. Using <...
3k views
+50

### How can Mathematica be used to create images like these?

Here are two examples of artistic image interpolation using just black lines: TRIANGULATION: ANGULAR CELEBRITIES DRAWN WITH A PEN Interpolation for Triangulation-represented Digital Image The ...
70 views

### How-to derive conical region in an arbitrary geometry?

Description I have been working with derived geometric regions and ran into a problem when deriving RegionIntersection of a Cone...
51 views

### Saving the result of a NDSolve

I have solved this diff equation (with no problems): ...
54 views

### Problem using Nintegrate and NDsolve

I am going to use Nintegrate to integrate the result of NDsolve and also a Table. How I can ...
30 views

### The problem encounterend while calling a sub notebook from the main notebook

I have two notebooks; one of them is the main notebook which will call the second notebook several times in a loop and inside this loop, matrix called as ALLB, defined in the main notebook, will get ...
44 views

### ListPlot function in 2D- plan in two varibles

Suppose a function f[s,k]. How to Listplot this function in 2D plot in (s,k) plan, such that ...
6 views

### About calulus of variable [on hold]

What are some good web link or pdf link to understand(self study) calculus of variable intuitively?I am a 12 th grade student with some notions of maxima and minima and some other notions in one ...
91 views

### Animating ballistic movement

I was tasked with creating a 3D animation of the movement of a ball through space, while taking into account influences such as the magnus effect, air drag, and rotation. In order for this to happen a ...
54 views

### Not able to apply Scan in place of For loop [on hold]

I have been advised to avoid procedural loops and use other functions like Scan,NestList, FoldList, NestWhileList, Inner and Outer. My worry is that if I have a need in which certain critical ...
104 views

### How to plot a vector field on a geographic map?

Suppose I want to VectorPlot on a geographic map a vector field defined on a Reference Ellipsoid. The field is given to the following function as a ...
131 views

### How to extract the displayed name of an entity

Entities are typically displayed in their elided form: It's useful when exploring the output of EntityList to have access to the canonical name of the ...
67 views

### Evaluating Bessel-Schläfli-type Integral with Infinite contour

I am attempting to evaluate the integral $$\int_{\infty-i\pi}^{\infty+i\pi} dt \frac{e^{-\frac{l}{n}t}}{[(X'-X)^2+r^2+s^2- 2rs \cosh(t)]},$$ the only variable being $t$, ...
61 views

### Is the MMA formulation correct?

Let $H$ be a $4\times 8$ matrix and $R$ is a vector of 2 elements. ...
1k views

### Riffle but not quite

Given the two lists below, is there an in-built command or otherwise neat way of accomplishing the desired output. ...
78 views

### Softmax Regression Classification Algorithm

I'm following the Stanford Machine Learning course while simultaneously developing my Mathematica abilities. I'm having issues with my Softmax Classifier implementation (for ref, have a look at these ...
1k views

### My 3D plot of a Klein bottle doesn't look right

I have found the following parametrisation for a Klein bottle: ...
53 views

### How to assume all variables in my code are reals

I won't have any occasion to have any imaginary number in my code. If there are any, that is an error. So allowing the imaginary case simply hinders the equation manipulation and simplification. I ...
54 views

### Kronecker product

I have a problem, I want to compute kronecker product as given below; ...
44 views

### How to correctly UPDATE the Centroids in the Fuzzy C Means (FCM) algorithm? [migrated]

ATTENTION TO THE MODERATORS: In a previous time, my question was arbitrarily moved to stackoverflow forum, despite my inquiring to not do it, then it later was deleted from that forum by another ...
126 views

### How to get a best fit line on a scatterplot?

I know that I am supposed to call listplot inside of the show function but I can't seem to get that to work. The best I can get is this, which has the best fit line following the scatterplot. How do I ...
254 views

I defined ...
49 views

### How to automate a computation and save the outputs?

I'm working with neutrino oscillations in matter and i'm computing the oscillation probabilities as functions of the Energy. This is what i have ...
80 views

### Creating sublists [duplicate]

I got this example in Mathematica references. v = ToExpression["a" <> ToString[#]] & /@ Range[1,44] Could someone explain to me the function of the ...
54 views

### Memory not freed after killing kernel [on hold]

Even after killing the kernel the memory was not back. I run more than 40 computation session on 14 core in a PC with 12GB ram. after about a month just one of my codes remain running with using about ...
67 views

### Dealing with a large number of optimizations performed with parameters read in from a CSV file

I have a large CSV file (1.5M rows), with each row containing a set of parameters that I need for an optimization routine in Mathematica. I'm hoping to import the data, run the computation, and then ...
58 views

### Create a table indexed form a list giving a the index specifications

I need to create a table indexed form a list. e.g.: list={{i, 3}, {j, 4}}; would give the table Table[..., {i,3}, {j,4}]; ...
36 views

### Mathematica >> Python [closed]

PLEASE HELP ME! How do I write the following Mathematica code into Python: [Mathematica] Speed = Table[0, {i,100000}, {j,3}] [Python] Speed = #a list of some sort. # As a little helper, if you ...
73 views

### Issuing with ParametricNDSolveValue

I am having a problem with ParametricNDSolveValue[] . let me start with a simple example. Considered following example with constant parameter $a$. ...
159 views

### How to implement custom NIntegrate integration strategies?

How can new integration strategies algorithms be used with NIntegrate? This is a different type of extension than the extensions with new integration rules, as ...
26 views

### Protected Variable Error with Workbench 3.0

I have Wolfram Workbench 3.0, build 78, with Mathematica 10.4 as the front end. I am using Windows 10. I am trying to run a simple test source code test.m: ...
45 views

### Improving kernel density estimation of statistical PDF from measured CDF

I'm trying to use WeightedData and SmoothKernelDistribution to generate a PDF from measured points along a CDF. I've tried to ...
109 views

### How to integrate numerically the product of result of NDsolve? [on hold]

I am going to integrate the product of the results of NDsolve, in fact If x and y are the results as interpolating function, How I can integrate x*y numerically? <...