Skip to main content

Questions tagged [code-request]

Questions on finding existing Mathematica implementations or expertise to address a clearly stated problem.

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 ...
Steersman's user avatar
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 ...
Kvothe's user avatar
  • 4,591
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 ...
Kvothe's user avatar
  • 4,591
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 ...
John Doe's user avatar
  • 271
0 votes
1 answer
126 views

How to execute this code? [closed]

I want to plot the following equation: ...
vijay's user avatar
  • 47
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 ...
Kvothe's user avatar
  • 4,591
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 ...
John Doe's user avatar
  • 271
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: ...
John Doe's user avatar
  • 271
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: ...
iron's user avatar
  • 1
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 ...
John Doe's user avatar
  • 271
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?
eloparti's user avatar
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 ...
Enrico M.'s user avatar
  • 963
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 ...
JohnnyB's user avatar
  • 115
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 ...
Enrico M.'s user avatar
  • 963
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 ...
John Doe's user avatar
  • 271

15 30 50 per page
1
2 3 4 5
37