4,480 questions
Tooling
0
votes
0
replies
33
views
Creating custom 3D plots with annotations confined to planes
I want to create a 3d plot that only shows data and annotations in the xy, xz, and yz planes. Especially, annotations should be fixed to these planes as well, and should not rotate out of them when ...
2
votes
0
answers
67
views
How to deal with Mittag_Leffler function in Matlab or Mathematica?
I want to calculate a solution with Mittag_Leffler function in in Matlab or Mathematica.
$f(p) = \sum\limits_{k=0}^{\infty} (v/D)^k L^{(\alpha-1)k+\alpha-3} E^{k+1}{\alpha,(\alpha-1)k+\alpha-2}(-p/D L^...
0
votes
0
answers
63
views
Issues reading long binary streams from serial port in Mathematica
I am experiencing reproducible problems when reading binary data from a serial port in Mathematica when the total length of the stream becomes large (several thousand bytes). The same hardware and ...
1
vote
0
answers
44
views
MEvaluate in Mathematica not returning anything
After installing MATLink, I tried the running the following cells in Mathematica:
Needs["MATLink`"]
OpenMATLAB[]
and
MEvaluate["mat = magic(4)"]
But nothing showed up in the ...
-1
votes
1
answer
71
views
Mathematica looping lstol
My program loops through a large number of parameter combinations and performs FindRoot on functions of those parameters. The results of the FindRoot calls are used in additional computations. At ...
0
votes
0
answers
61
views
Parallel Equations Expansion in TFORM
TFORM is considered a great tool for manipulating large and symbolic equations. In this thread, I’d like to share my optimization problem, which concerns a very simple operation — equations expansion.
...
1
vote
1
answer
104
views
Trouble Plotting short term Solution on Maple
I’m trying to solve a problem from Modern Mathematical Methods for Scientists and Engineers using Maple, specifically applying the Fokas method (Unified Transform) to the heat equation on the half-...
0
votes
0
answers
83
views
Evaluation of a function within a function in Mathematica
I apologise if the answer to my question is facile, but I'm new to Mathematica and normally use Matlab.
I have two variables that I define as follows:
delta = Sqrt[u^2 - 4DC(theta - lambda)];
xi = ...
0
votes
0
answers
47
views
Customized Chart Element Function for Box Plots in Mathematica
I am trying to make a box chart for four data sets with the data points shown on each box. This can be done using the Chart Element Function (CEF). I need a custom pointstyling detailed below.
...
0
votes
1
answer
97
views
Legendre function comparison between mpmath and Mathematica
I am working on a project and I would like to make sure I use Legendre function correctly. I've made a simple comparison between mpmath and Mathematica and the results are different:
For mpmath in ...
1
vote
1
answer
57
views
How to store the first parameter of Block in a variable?
Let's say I have a function
MyFunc[x_] := x + y
I can do this:
Block[{y = 1}, MyFunc[1]]
which gives the result 2 correctly.
Now, what to do if I want to save {y = 1} into a variable, something like
...
1
vote
0
answers
176
views
How fix error in Mathematica "NDSolve::ndsz: At t == ... step size is effectively zero; singularity or stiff system suspected" when using Manipulate?
I am trying to solve a nonlinear system of differential equations in Wolfram Mathematica using NDSolve and visualize the solution with Manipulate. However, I encounter the following error when running ...
0
votes
1
answer
64
views
Generation of particular combinations
In Mathematica I implemented this simple code:
n = 8;
a0 = Range[0, n - 1];
a1 = Subsets[a0, {2}];
a2 = Subsets[a1, {2}];
a3 = Select[a2, Length[Union[Flatten[#]]] == 4 &];
a4 = Subsets[a3, {n/4}];...
2
votes
1
answer
712
views
Running Wolfram Engine in Visual Studio Code
I downloaded the Wolfram Engine and have verified that it works by running it in the terminal.
I also downloaded a VSC extension for the Wolfram Langauge: https://github.com/WolframResearch/vscode-...
1
vote
0
answers
67
views
Reading and resaving in a file a matrix with the same name but with different dimensions with Mathematica
My main code runs a large program and saves the results in a text-like notebook (Put[...] & Save[...]) that contains result matrices, like e.g.,
tab1 = {{1, 2, 3, 4, 5, 6}, {2, 4, 6, 8, 10, 12}, {...