User Portlet User Portlet

Discussions
I am trying to generate a random matrix with sum of entries to be equal to 2048. I am generating it by adding 1 to a random element in the matrix given number of times. I am using the following code X = Table[0, {i, 1, 32}, {j, 1, 32}]; ...
I have a problem with the custom scaling of the axes for plots. I need a custom scaling function for both axes but I have found that even a basic example seems not to work as I intend to. Why the next two commands do not produce the same graph? It...
I have a problem with DifferentialRoot command. I am trying to solve certain ODE by DSolve and the solution is given as DifferentialRoot expression. Unfortunately when I try to work with it I obtain an error written below in the example. I have...
I am trying to use the following code to obtain random samples according to custom distribution, but Mathematica is very often not able to give it in reasonable time. One random sample takes either between 0,015-0,05 seconds or it runs without the...