All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
30 views

Getting too many errors while trying to contourplot

I am trying to contourplot deviations for various combinations of a,b,k,l with the following code. Clear["Global`*"] ...
5
votes
1answer
24 views

What is the best source to learn how to use tensor operations (exterior algebra) in Mathematica?

I'm specifically interested in the TensorProduct,TensorWedge, HodgeDual and certain build in functions to do tensor arithmetic like TensorReduce, TensorExpand. I would like to do exterior algebra ...
0
votes
1answer
11 views

Labeling function: format of numbers

I think this will be easy for many of you, but I struggle. How can I make the label to be n.nn and not this hugely long numbers? See the screenshot.
5
votes
1answer
675 views

Expand wedge product

How can I force mathematica to expand for example this expression $$(\cos (\theta ) dr-r d\theta \sin (\theta ))\wedge (\sin (\theta ) dr+r d\theta \cos (\theta ))$$ into what is should be, that ...
1
vote
1answer
96 views

how to define unit vectors in mathematica

I'm struggling a little bit trying to understand how to address this problem, I would like to do this in mathematica: is just that I don't know how to do the dot product between $\mathbf{J}$ and $\...
0
votes
0answers
5 views

set of ODEs with Integrate inside NDsolve?

I have set of ODEs with integration and to be solved with NDsolve. But because of existance of Exp[-2 qr[z] r^2], I can not find the solution. By the way, if it is <...
0
votes
1answer
28 views

Why does ButtonBar ignore Background options?

Notice how I have Background->color set in each BUttonBarbut it is completely ignored. How do I fix this? ...
0
votes
1answer
34 views

Solving a system of simultaneous equations with modified multiplication rules

Hello and thanks in advance for your help. Is there a way to solve a system of simultaneous equations in Mathematica where because of the nature of the system being modeled, the rules for multiplying ...
24
votes
3answers
2k views

Eisenstein Series in Mathematica?

Mathematica doesn't seem to have built-in tools to deal with the Eisenstein series: $$\begin{align*} E_{2}(\tau)&= 1-24 \sum_{n=1}^{\infty} \frac{n e^{2 \pi i n \tau}}{1-e^{2 \pi i n \tau}}\\ E_{...
0
votes
1answer
29 views

Construct all possible 3-letter words from A,B. Repetition of letters is allowed

I have two letters A and B. I need to construct all possible 3-letter words. Repetition of letters is allowed. I know that the answer to this problem is 2^3=8. But ...
0
votes
1answer
70 views

Incorrect result of DSolve

Let us dsolve that Cauchy problem with 12.3 on Windows 10 Pro: ClearAll[w, z]; sol = DSolve[{w'[z] == -1/2 - Sqrt[1/4 - 3*w[z]], w[1] == -1}, w[z], z] ...
1
vote
1answer
67 views

Find FT and r.m.s noise of a signal

I have a signal : ...
0
votes
2answers
29 views

Retain Edge Ordering in DAG Conversion

I would like to convert an undirected graph into a directed graph such that for each tuple, the first value is a head and the second is a tail in a directed edge. Initially I thought using ...
2
votes
2answers
69 views

how to create a `directed` bar chart

This code was developed by @Jagra: ...
1
vote
2answers
38 views

Color-code edges by order in edge list

Given a graph with vertex coordinates list V and edge list E, how can I visualize the order of appearance of edges in E? It is similar to this and this question which ask how to color-code points in a ...
7
votes
3answers
1k views

Run Python with package NumPy in Mathematica

For example, if I have a Python script called simple.py that contains code as simple as a=1 print(a) then ...
1
vote
1answer
77 views

Solving a system of transcendental equations

I am trying to solve the following system of transcendental equations: ...
0
votes
0answers
16 views

How to import variable definitions from a .mx file?

I have a .mx file with the following format- x=2a+3; y=3b+5; How do I import this file into Mathematica so that x and y use the given definitions?
12
votes
4answers
385 views

How can I get information about properties of a style?

I'd like to make some features of my notebooks responsive to some properties of styles in the active stylesheet. Is there a way to do this? I can't seem to get anything out of ...
-1
votes
0answers
34 views
0
votes
0answers
39 views

Solve Partial Differential Equation with Neumann Boundary Condition [closed]

I am trying to solve the heat equation with certain boundary conditions (one-dimensional in space). I tried it this way: ...
1
vote
1answer
39 views

Mathematica help with NIntegrate

I am fairly new to mathematica and I'm trying to generate an SIS s-wave IV plot using the formulae in the attached image. Could I get some help in fixing the issue?
0
votes
0answers
47 views

GAN LSTM Time Series

Does anyone know if it is possible to use LSTM or another RNN in GAN architecture as the generator? Here a reference: 1 Thx! To clarify, what I am asking is it possible in MMA 12.3 (my current version)...
1
vote
1answer
48 views

Symbols for some icons

What are the characters that give each of the following icons: The "i" information icon you see in the predictive interface and in the output box produced by an information request (e.g., ...
0
votes
0answers
66 views

Upgrade to 12.3 crashes Front end and Kernel after evaluating cell in any notebook

Running Mathematica on Windows 10. Previous installed version was 12.1. This occurs on any notebook including created new one. My Mathematica worked just fine when it originally ran on 12.1. Not sure ...
1
vote
1answer
16 views

Why can't I get the argument for my base function from the transformed function?

Consider the following transformed function as an example: ...
4
votes
1answer
62 views

Set a background color for several adjacent cells and “page”

I'm using a book style sheet but this question applies to the standard notebook interface as well. I'm writing a sequence of cells in different styles (text, equation, figure, figure caption, ...) in ...
1
vote
0answers
32 views

What is the proper way to solve inequalities in WL?

I often have to transform inputs of trigonometric functions which involve finding the new domain. The inequalities themselves are trivial to solve but they get tedious. ...
8
votes
1answer
118 views
+50

Intelligent text search on large directories of notebooks?

I have a (deeply nested) directory containing 10s of thousands of wolfram files (mostly notebooks (nbs), but also scripts (.wls), packages (.m, .q wl), my and wxf data) and many subfolders each with a ...
4
votes
0answers
57 views
+50

Improving label collisions for Tree/Graph?

Historically, MMA has never handled label collisions well, but recently they added some improvements here via things like Callout. I want to fix ImageSize but still ...
1
vote
2answers
48 views

PearsonChiSquareTest with experimental data including errors

I have a set of data in the form {x,y}, and the corresponding errors: ...
0
votes
0answers
9 views

Wrong contraction in Feyncalc when restrictions are imposed over the metric

I have the following tensor which I will manipulate in Feyncalc ...
1
vote
0answers
27 views

Resizing a notebook with a command

I've got some notebooks which my friend wrote on a different computer, presumably with a much higher resolution screen to mine. When I try to open them on my computer, the window size of the notebook ...
3
votes
1answer
88 views

How does MMA return an unevaluated expression on errors without going into an infinite loop? [duplicate]

Post-answer note: this question is (understandably) marked as a duplicate, and indeed has a similar solution, but is subtly different in focus: the linked question is about returning a function call ...
4
votes
1answer
97 views

extract COVID data across sub-regions of Asia and the Pacific

The following code extracts COVID data of Germany and gives the time series of confirmed cases, deaths and recoveries: ...
0
votes
0answers
54 views

How to plot a 3D plot using a three lists? [closed]

Suppose I have three lists as my data list1={1,2,3,4}; list2={10,20,30,40}; list3={100,200,300,400}; where I want to use 3Dplot so that ...
0
votes
0answers
42 views

Is there already a program that analyzes THz-TDS data in Mathematica?

I plan to write a code that reads the time domain data(sample+reference), performs Fourier transforms, calculates transmissivity, solves the transfer function numerically, and gets complex refractive ...
5
votes
1answer
91 views

How insert into Text cell chevron symbols used for Inline GroupOpener icons?

If in OptionInspector I select option "Inline" for Cell Options > Display Options > ShowGroupOpener for section-like cells, then when such a group is closed it shows an icon that is a ...
15
votes
2answers
550 views

How to use Python's Scipy, Numpy functions in Mathematica to find minimum of a function?

I have written my code in Mathematica, final aim of this code is to find the minimum of a function. I found that FindMinimum and ...
-1
votes
0answers
45 views

Problem with KarhunenLoeveExpansion's output

I have a matrix called realizationMat, it contains 101 measurements of 90 realizations of a stochastic process. I will post instead an abridged 11*5 smaller example ...
0
votes
0answers
54 views

How to represent Spherical Coordinate System unit vectors? [closed]

How to quickly represent a Spherical unit vector in Mathematica? Is it using the function UnitVector?
2
votes
3answers
103 views

How to collect a polynomial with a specific power

Suppose I have got this polynomial u=x^12-3x^8-x^4+3 Now, I am trying to collect this polynomial with x^4 terms. I need to write it like this: (-1+x^4) (-3 + x^4) (1 + x^4) To evaluate it, I used ...
7
votes
2answers
136 views

How can I rescale / format chart elements in a bar chart?

In this simple MWE, I create a simple chart element of a female figure, and then I apply it to a barchart, with the following code (note: womfig = this little stick figure here). ...
0
votes
1answer
49 views

How to ParametricPlot an InterpolatingFunction

Hi I can Plot the result of an NDSolve (toy example), but I cannot ParametricPlot it. ...
1
vote
1answer
80 views

Why aren't my grid elements aligning correctly in a docked cells toolbar?

The following is just the initial start of my very first docked cells toolbar I am still working on. It can easily be loaded to view it live. Code is also provided to conveniently remove it afterwards....
2
votes
2answers
195 views

Integrating an exponential with upper incomplete gamma functions

I would greatly appreciate calculating an integral consisting of an upper incomplete gamma function and an exponential function. ...
4
votes
2answers
137 views

Images as labels - resizing problem

I'd like to label a pie chart with images, ideally resized to fit inside the sectors. The problem is I can't seem to control the size of the imported images. Here's an MWE with no attempt at resizing, ...
3
votes
2answers
474 views

How to generate all possible functions combinations

Assume that I have 3 functions like this (total 10 functions in reality). f1[x_] := 3 x; f2[x_] := x^2 - 1; f3[x_] := 2 x + 5; Now I want to generate all possible ...
0
votes
0answers
38 views

System of Non Linear Equations [closed]

I have a system with 7 equations and 7 unknowns with 11 parameters. I wish to get closed form solutions for each of those 7 equations. However, the system is non linear in the parameters which makes ...
-1
votes
1answer
68 views

How to animate Laplace operator$ e^{-st} s =(\sigma+j \omega)$ which is a spiral

like this I have read How to draw a phasor animation with Mathematica?, however,I am new to Mathematica Dynamic Interactivity as a Matlab user, I still not get used to Mathematica due to its function ...

15 30 50 per page
1
2 3 4 5
1557