Questions tagged [code-request]
Questions on finding existing Mathematica implementations or expertise to address a clearly stated problem.
544
questions
0
votes
0
answers
83
views
Proving Exact Answers to Logistics Map for 3-Cycles
Seems that I may have found a pair of exact solutions to the logistics map with cycles of period three. However, I’ve run into a bit of a snag in proving it because of some “ambiguities” in the ...
1
vote
1
answer
55
views
Using a pre-rendered image of a plot within a Mathematica Figure
I want to plot new data over data that I only have in the form of a figure in order to be able to make a comparison.
Say for example I have only the image (not the original data) produced by (or ...
4
votes
1
answer
51
views
DeleteDuplicates By Proportionality
I have a list of expressions and I would like to delete "duplicates" that are proportional to each other where the (simplified) proportionality constant satisfies NumericQ. What would be the ...
0
votes
0
answers
40
views
Using NetMeasurements for basic neural network
I have a neural network that works fine, but I would like to obtain some results on the Validation Set which provides some metrics on the performance of the training. I am obtaining some strange ...
0
votes
1
answer
126
views
How to execute this code? [closed]
I want to plot the following equation:
...
0
votes
0
answers
34
views
ReplaceIndexed function
I would like a replaceAllIndexed in the spirit of MapIndexed where there is an easy way to access the counter in the rule. I ...
0
votes
0
answers
89
views
SoftmaxLayer with one-hot vectors
The quantum physics problem I am looking at is a rotated qubit. The setup involves a y-rotated qubit measured in the z-basis (hence spin-up and spin-down). This scenario typically includes modeling ...
0
votes
0
answers
56
views
Using CrossEntropyLoss function for basic neural network
Hi I am interested in understanding how to use the neural network functions in Mathematica. I have just started learning hence this is a basic query. The simple example I am looking at is as follows: ...
0
votes
0
answers
48
views
Solve in solving equation system
I have the following problem:
I have a system of equations specifically consisting of 56 equations, with 34 coefficients to be determined, in simplified form:
...
0
votes
2
answers
79
views
Generating lists where new elements depend on the previous element
I am interested in using some type of list or table in-built Mathematica function to generate a list, where the elements of the new list not only depends on the input values of a previously defined ...
3
votes
2
answers
147
views
How to draw a curve projection?
I want to draw the following projection picture for the cuspidal cubic curve in Mathematica. Does anybody know how to do this?
5
votes
4
answers
352
views
Still on Filling
I am really sorry to bother you for the same problems, but I cannot get in the view about this command, the filling option.
What I want: to fill the semicircle part, under the $y = x$ curve.
Here is ...
0
votes
1
answer
64
views
Generate all commutators and anti-commutators up to a certain order of a list of matrices
I am given a list of matrices. At first order I want to evaluate the commutators and anti-commutators of all pairs in the list and return a new list that contains two lists: one containing all ...
4
votes
3
answers
221
views
Vertical line: plotting and filling
I need some help to complete this code in order to make the wanted plot. In the following, the function that I define as $m(x) = 1$ should be replaced (if possible) to a function that plots a vertical ...
1
vote
1
answer
68
views
Adding list of error-bars to plot
I have a basic question about adding error-bars to a plot. It seems that the built-in errorbar function is no longer available, could someone advise on what would be an efficient way to include the ...