All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

Upsampling layer for convolutional autoencoder

I've been trying to build a convolutional autoencoder with Mathematica 12.3. For this, I need to reverse the action of PoolingLayer[]. Is there any layer similar to ...
0
votes
0answers
8 views

How to download all from wolfram cloud while preserving folder tree structure?

This answer: https://mathematica.stackexchange.com/a/201726/62529 allows downloads of all files from wolfram cloud. However, it does not preserve the folder tree. I have a lot of files I want to ...
0
votes
0answers
9 views

Evaluating more than one open notebook in Mathematica without mixing issues

I have two open Mathematica notebook files, call them file A and file B, that are identical except for some initial parameter conditions that I manually input at the beginning of each file (all the ...
0
votes
0answers
13 views

Issues with graph plotting

I'm trying to plot a 2 variable function but whenever I try to put it all in the same plot it shows different. Any sugestions on what could be making this happen?? The function is defined like this Jt[...
2
votes
1answer
15 views

How to calculate and display possible graphs from 3 directed branches?

I have 3 directed branches and I want to create all possible graphs that can be created from these branches with the condition that each branch is used once. Q1: How can I do create and graph them? ...
2
votes
0answers
70 views

solution of $\frac{1}{x}=\infty$

Is there a way to obtain solution $x=0$ for the equation $\frac{1}{x}=\infty$ in Mathematica? I tried Solve, Reduce, ...
6
votes
2answers
75 views

Plotting Basins of Attraction of 3-dimensional system

I have a system of non-linear differential equations: $\dot{x} = f(x,y,z),$ $\dot{y} = g(x,y,z)$ and $\dot{z} = h(x,y,z)$ with $0 \leq x,y,z \leq 1.$ The restpoints of the system are $(1,0,0),$ $(0,1,...
0
votes
3answers
51 views

Make matrixes with numbered name

Suppose I have two matrixes M1 = {{0, 0}, {0, 0}} M2 = {{0, 0}, {0, 0}} Now I wanna have $N$ matrixes in this form called M1, M2, M3, M4,...MN How to code to ...
3
votes
2answers
45 views

Generate permutations partitioned by rotational equivalence

This seems like a very inefficient way of doing what I want. I generate all permutations of (for example) {1, 1, 2, 2}, then for each permutation I generate its ...
2
votes
1answer
58 views

Eigenvalue of Hofstadter spectra

This the code of Hofstadter spectrum for square lattice using Mathematica ...
0
votes
1answer
35 views

Nested usage of NIntegrate

I'm trying to compute an integral of f(x,y) such that an integration over "y" is performed inside the integral over "x". My trial is below: <...
0
votes
1answer
54 views

plot multiple curves : solution obtained from NDSolve

I want to plot the solution obtained from NDSolve as a multicurve plot like shown in the following sample image (image ref). Here, x1, x2 , x3, x4 .. are the solution computed at ...
3
votes
1answer
69 views

Copy clipboard content to mathematica notebook - line break symbol changes

There are 3 kinds of line breaks \r \n \r\n For windows, \r\n is standard. Suppose that there is a file called document.txt, using \r or \r\n as line breaks. Suppose that I open document.txt with a ...
0
votes
1answer
59 views

Different results in different versions of Mathematica (computing integrals)

I am working on computing the following integration: aa = N[2, 20] H = 4/160; X = Range[-aa, aa, H]; Integrate[400/(1 + 40*x^2), {x, X[[k]], X[[k + 1]] and ...
0
votes
1answer
56 views

Solving a complex equation with Solve

I would like to solve: $e^{-b (1.365)} + e^{-b(-0.350)} + e^{-b(-0.378)} = 0$, where $b$ is complex. So, I have written: ...
1
vote
0answers
47 views

Simulated Cartpole Example in Mathematica

I am interested in modifying the code underlying the reinforcement learning example SimulatedCartpole in Mathematica 12. This example is still listed as Experimental. The help function indicates that ...
1
vote
1answer
24 views

Stylesheet that assigns CellIDs as CellTags

For a given notebook, I can turn on CellIDs by opening the notebook's stylesheet and adding the following code: ...
0
votes
0answers
30 views

Bug in FunctionLayer for matrix products

I am trying to figure out if this is a bug or if I do not understand something about FunctionLayer. For reference this is: Mathematica v12.3.0.0 Define the matrices:...
-1
votes
0answers
92 views

Please I need help, how can I solve this heat impulsive system?

Please I need your help!! I'm a beginner with the Mathematica program, I need to code the following system: $$ \left\{\begin{array}{ll} \partial_{t} \psi(x,t)-\Delta \psi(x,t)=0, & (x,t)\...
0
votes
0answers
62 views

strongly non-linear algebraic equations

I can not solve the system.Can any one help me with that? Thanks. ...
-1
votes
3answers
91 views
0
votes
0answers
36 views

plot the solution obtained from NDSolve

I would like to plot the solution obtained from solving a PDE using NDSolve at the x-coordinates specified in includePoints = {{10}, {20}, {30}, {40}, {50}}; as a ...
0
votes
0answers
50 views

How to Solve these partial derivative equation

I can get the answer by using Solve from the prior equations like : ...
0
votes
0answers
20 views

Manipulate with ParametricPlot3d produces no graph [closed]

I have the following code for visualizing bending of superellipsoids. Most of the functions are essentialy wrappers so that the ParametricPlot3d code does not ...
1
vote
0answers
30 views

Solving a matrix differential equation by using a function that takes a matrix as its argument

I have a function g of the form g[y_]:=A.y.B where y is a 2-by-2 matrix whose elements are ...
0
votes
1answer
63 views

Evaluation taking extremely long

I am trying to solve the following: ...
0
votes
0answers
47 views

Error while using NDSolve

I'm trying to solve a PDE using NDSolve. cfun = NDSolveValue[pde, c, {t, 0, tEnd}, DirichletCondition[c[t, x] == 5, x == 0], {x} \[Element] mesh]; I get the ...
4
votes
1answer
72 views

Substitute known function's derivative

Suppose I know that the time derivative of $x(t)$ is $\dot{x}(t)=-x(t)$. I consider the function $V(x)=x^2$ and I want to compute the time derivative of $V$ along the trajectories of $x$, namely $\dot{...
10
votes
1answer
223 views

Most efficient way to shift arrays

I would like to know what would be the most efficient way to shift numerical 2D arrays along its dimensions as follows: (A = Partition[Range[9], 3])//TableForm $$\...
1
vote
1answer
56 views

Removing artifact in Plot[1-(1-x)^Floor[2/x],{x,0,1/20}]

The input Plot[1-(1-x)^Floor[2/x],{x,0,1/20}] yields where the white space we see below the curve near $x=0.01$ is an artifact. How can we fix this simply? ...
0
votes
1answer
64 views

Setting different Window size for `Stack Windows`

I think someone has asked this in the past (maybe me), but I don't remember an answer or workaround. When selecting Stack Windows from the menu bar e.g. does any ...
5
votes
2answers
110 views

Counting zeros of list from Twin Primes calculation

...
2
votes
2answers
78 views

How to make a 2D scatter plot colored by the value of a third parameter

As the title suggests I'm trying to make a 2D (x-y) scatter plot of the list {x,y,z}, colored by the value of a third parameter (z). I came the closest by using ...
0
votes
1answer
48 views

How to evaluate Sum with Singularities?

I derived equation of sum from the following problem, $\int_{a}^{b}\sum_{n=0}^{\infty} cos^n(x)dx$. Using the following definitions, $cos(x)=\frac{e^{ix}+e^{-ix}}{2}$ and $(a+b)^n=\sum_{m=0}^{n}\binom ...
1
vote
2answers
85 views

Given A and B, how to find C if A = CBC?

Given A={{0,1,1,0},{1,0,0,-1},{-1,0,0,1},{0,1,1,0}} and B={{0,1,0,0},{0,0,0,0},{0,0,0,1},{0,0,0,0}} and ...
3
votes
1answer
82 views

'gradient' function in MMA

How to calculate Numerical gradient of 2D arrays using the "gradient function" ("Matlab-like")? "[___] = gradient(F,hx,hy,...,hN) specifies N spacing parameters for the ...
1
vote
1answer
48 views

How to work symbolically with a compiled function?

I have a compiled function f to be used as a piece of a much larger calculation. I would like to expand out a function that calls ...
4
votes
0answers
58 views

How to center the location of the z-axis label?

How to center the location of the z-axis label which is |f(x,t)|? ...
1
vote
0answers
16 views

Rewriting GroupBy[{elem1,elem2,…},spec,red] into GroupBy[spec] , how to apply reduction?

I'm currently using this version of GroupBy: GroupBy[{elem1,elem2,…},spec,red] applies the function red to reduce lists of values that are generated. I want to rewrite my function with this one: ...
0
votes
1answer
42 views

Partial derivatives of this function

I have a function $y(x)$ which is the solution of the initial value problem - $y = \frac{1-y}{A} - \frac{y.|r(x)+m(x)|^2}{B}$ with an initial condition $y_0=1$. I solved for $y(x)$ using the following ...
0
votes
2answers
36 views

How to find and apply variable substitutions that simplify an expression?

I have a simple matrix expression. ...
0
votes
1answer
43 views

Why if I change the function Sine to discrete Sine the plot is difference

I would like to know why when I change +1 in a discrete Sine change the list line plot and when I plot the function sine anything change. ...
0
votes
1answer
45 views

How can I adjust the size of this parametric plot output? [closed]

I have a problem with the dimensions of the output of a ParametricPlot. What I'm trying to do is solve a differential equation using ...
2
votes
0answers
41 views

Using a Stylesheet to create reference links to “DisplayFormulaNumbered” cells using CellIDs

Suppose I have a notebook with lots of "DisplayFormulaNumbered" cells. These cells have a built-in counter, which continuously updates when cells are deleted, moved or added, which is nice. ...
0
votes
0answers
44 views
4
votes
2answers
95 views

Plotting Lines of Intersection of Two Surface

...
1
vote
1answer
55 views

Re-evaluating the notebook takes long time after doing `Quit`

I have a code. After Quit, I want to re-evaluate the notebook. It takes about 10 seconds to start the re-evaluation in Windows 10. But my friend uses Macbook. It ...
2
votes
0answers
50 views

Inner polygon approximation

Suppose you want to perform an inner approximation of a planar semialgebraic set by a finite set of polygons. The following is a quick way to yield an approximation but I am not convinced that it is ...
0
votes
0answers
21 views

Odd printing / print preview

What's is going on here with the print display in my Mathematica? Has anyone else seen this behavior? The notebook looks completely normal in the frontend display. This mess appears in the print ...
1
vote
0answers
44 views

Closed form for integral with SinIntegral

MMA can't solve this integral: $$\int_0^{\pi } \text{sinc}(x) \text{Si}(2 x) \, dx$$ The I use FourierSinTransform to find closed form,but I try a verify result is ...

15 30 50 per page
1
2 3 4 5
1559