# All Questions

83,873 questions
Filter by
Sorted by
Tagged with
36 views

### A problem with ParametricPlot

I have a problem with rendering d3 (blue color)), at the points of intersection of the red red curve it makes vertical blue stripes, how do I fix it? Picture: https://i.stack.imgur.com/E0ztC.png ...
20 views

### VideoJoin changes phone videos from portrait to landscape

After using VideoJoin on two phone videos, the aspect ratio changes from portrait to landscape. How can I keep the portrait mode?
• 250
47 views

### Reduce or Limit to have positive value!

I would like to see where this function is positive ??!! Reduce[{Tanh[x]/Sqrt[-1 + Tanh[x]^2] > 0}, x, Reals] thank you.
44 views

### Draw phase line associated to slope field

I have an autonoous differential equation dx/dt = x(1-x) dxdt[x_] := x*(1 - x) I plotted the slope field with a few solutions (left) and the constant solutions (...
25 views

### Execute wolfram command from java & j/link along with set of variables

I have been trying to execute some expression/formula which may have multiple variable, and I want to set values(like how we do on kernel command tool). We are using J/Link to connect kernel from java....
19 views

### Use of Part alters line colours in Plot

I stumbled upon some odd behaviour in Plot that does not really make sense to me. I stumbled on it with a more complicated scenario, but a distilled demo is below. ...
• 366
83 views

### Problem with Spectrogram

Some time ago I wrote a program to analyse a short segment of music and plot as a spectrogram in Mathematica. It allows one to find the notes in a weird chord for example. The example below is from ...
79 views

### FourierCosTransform bug?

FourierCosTransform[Cos[(k + p) z], z, q] gives correct result ...
30 views

### 3d Contour Plotting

I would like to plot three 3D-contour plots in the region $x,y,z >=0$ and $x+y+z<1.$ The functions which I would like to plot are as follows ...
• 115
20 views

### How to turn off File Browser prompt?

Is there a way to turn off this feature? It is very slow and totally unnecessary for me. I have tried to look for a setting in preferences but I couldn't find the right box to untick.
1 vote
165 views

### Is it possible to separate two signals in Mathematica?

I have asignal and I would like to decompose it into two.. this is the datasetTot of both signals ListPlot[datasetTot, PlotStyle -> {Black, Black}] I know ...
• 2,995
23 views

### How can I change fractions as tick labels with real numbers?

When using HorizontalGauge or VerticalGauge the scale divisions are frequently labels with fractions (1/5, 2/5) etc., which looks terrible and is hard to read. I have not found a way to force labels ...
• 1
1 vote
56 views

### How to make warning and errors messages on console print in RED? so easy to see them?

When I run large computation with 1,000's of iterations, then later look at the console looking for any errors or warnings generated, it is hard to locate them scrolling up and down, as the color of ...
• 108k
44 views

### Combine two contour plots with region function in one with common bar legend

I have the following two contour plots ...
49 views

### How to plot 3D spherical graph using x y data?

I have a problem in which the temperature is given at different radius for spherical ball. The temperature does not vary in theta and phi direction. The 2D representation is shown below: The radius ...
47 views

### gen 2 and 3 surface generation [closed]

Is there someone who uses Mathematica, and can help me to generate these images for a project? We don't have free access from the university and I can't find other free generators to be able to ...
168 views

### Modify one list according to degeneracies of another

I have two lists, each with four elements, let's say listA = {0.3, 0.6, 0.6, 0.9} listB = {0.1, 0.2, 0.3, 0.4} Notice that the second and third element of ...
• 1,865
68 views

### Piecewise based on the length of the list

I want to create a piecewise function that depends on the length of the list. Let's say I have a list, and a corresponding piecewise function: ...
• 703
46 views

### Syntax for parallel processing

I have a Do[] loop that references a few global variables but doesn't modify anything. The only output is appending data to an external file. The order of appending doesn't matter, I just can't have ...
74 views

### Plotting, Integrating two variable function with cross-restricted domain

Hello, I have two problems. the first is plotting 3D function, the domain is "0<x<y<1". (I could find examples like integrating function with domain 0<x<1, 0<y<1, but I ...
• 135
78 views

### FEM: modelling 2D flow under periodic forcing

Despite many examples of periodic boundary conditions being presented, it remains difficult to obtain a periodic solution. Let us consider a simple example of a flow in a two-dimensional channel under ...
60 views

### Custom frame ticks in listplot

i am trying to ListPlot some data extracted from the approximation of a complicated function. The minimal code is the following ...
71 views

Consider: ...
• 23.3k
1 vote
116 views

### Integral of orthogonal Bessel functions

This is the basic form of the problem i am solving. The main difference with the integral on the photo and my example is that i have my integral defined from b to c instead of 0 to a, and Bessel ...
• 65
69 views

### Imported macOS screenshots display differently

When I take a screenshot in macOS (cmd-shift-4) and then import into a notebook, the colors tend to look washed out. Can anyone reproduce this behavior, and is there a workaround? For example let's ...
• 32.7k
45 views

### NSolve just spits out the input functions

I was trying to solve 3 equations with 3 variables with NSolve, however, NSolve didn't really do anything but spitting out the ...
• 13
27 views

### Notation package problem [duplicate]

I am using Mathematica 12.3.1 on Windows 10. I am trying to load the Notation package: Needs["Notation`"] and I get the following: It seems the package ...
• 593
47 views

### GraphDiameter for molecule graphs error [closed]

I was looking into GraphDiameter for molecules and ended up on this [page][1], which gives examples in various modalities to calculate the graph diameter for this molecule.'CC(C)C(C(=O)NC(=O)C1CCCN1C(=...
• 515
46 views

### Integral with triangular functions in exponential and numerator

I am trying to find the solution of an integral with a triangular function in the numerator and in an exponential, but after an hour Mathematica has not given me an answer. I wondered if there is a ...
• 131
44 views

### How to write divided differences in Mathematica? [closed]

The question is : use newton's interpolatory divided difference formula or to construct interpolating poly of degree one , two and three for the following data: f(8.4)=f(8.1)=16.944 ,f(8.3)=17.564 ,f(...
166 views

### Geogebra spline command in Mathematica

Spline(pts, order, Weight Function) Creates a spline with given order through all points. The weight function says what should be the difference of t values for point $P_i$ and $P_{(i+1)}$ given ...
• 4,910
89 views

### How to make a table with three columns?

I am trying to make a table with three columns containing the values of p, q and W. I have written the following code which gives multiple columns. I have tried Flattening the table. but I could not ...
• 319
52 views

### How do I switch around the axes?

I imported a csv file (in the long format) in a nested list format where each nested list is a row in the data frame I used ListPlot3D but I want the x & y axes to start from 0 and 0 (I want to ...
1 vote
114 views

### What's the command for high approximation up to 50 digits?

I am trying to find the numerical value of $\displaystyle \sum_{n=1}^\infty \frac{e^{-n^2/\pi^2}}{n^2}$ up to 50 digits. I used ...
• 435
103 views

### A problem of nonlinear multi-objective optimization

I have two variables x1 and x2 and I use them to calculate 4 metrics y1,y2,y3, and y4. now I want to solve for the value of x1 and x2 so that these four metrics are as large as possible. Can anyone ...
296 views

### Finding the periodicity (or wavelength) in approximately periodic data irregularly sampled

I have irregularly sampled data that looks as in the picture. Is there a function in Mathematica that allows me to find an approximate or average period or wavelength? I know beforehand that the data ...
• 567
357 views

### How to use PlusMinus properly?

As an easy exercise, I would like to define a function $$f(x)=\pm x$$ and be able to ListPlot the function for some discrete values. Here is what I tried ...
• 397
86 views

### Definite Integral of Probability Distributions

Suppose at each value of $x$ I define a normal distribution dist[x_] := NormalDistribution[Sin[4 x], Cos[10 x]^2] Now I want to find the distribution  \mathcal{D}...
• 819
52 views

### Useless and incorrect result of AsymptoticIntegrate

In version 13 on Windows 10 I try to find asymptotic of the integral used in potential theory ...
• 16.7k
41 views

### How to mimic Expand with Thread?

I want to mimic Expand[(a + b) (c + d)] with Thread. My attempt below does not provide the correct result: ...
• 1,767
1 vote
41 views

### Looking for an appropriate method of NDSolve for dynamical system

I am dealing with the numerical solutions of a variety of dynamical systems with integrals of motion. As the example, let me consider the Kuramoto model, which equations of motion are ...
1 vote
46 views

### How to take a derivative of a function with respect to another function inside the function?

I have these two equations: ...
1 vote
24 views

### WolframClient output convert to python complex array

I encountered the following issue with WolframClient. I have a my.function file which contains some function that takes some ...
• 503
85 views

### Filling the space with rectangles

The problem concerns filling the matrix m x n with rectangles. ...
• 959
3k views

### Fastest way to generate {{a,a},{a,b},{a,c},{b,b},{b,c},{c,c}} from {a,b,c}

What is the fastest way to generate {{a,a},{a,b},{a,c},{b,b},{b,c},{c,c}} from l={a,b,c}? I've tried ...
• 295
28 views

### Inline labels in a plot

Not quite sure if this is even possible, but I assume this is the right place to ask. In Python, as discussed on this question, it is possible to add the corresponding labels directly over each line, ...
163 views

### Goodness of fit [closed]

I want to evaluate the goodness of two sets or more fitting parameters, using Rsquared and RMSE (root mean square error), Then how to code?) ...
• 41
208 views

### Which Mathematica versions have changed WolframLibraryVersion?

A LibraryLink library compiled with headers having a certain WolframLibraryVersion will not work with Mathematica versions that support only earlier ...
• 224k
223 views

### Scalloped edges to Plot3D with Disc domain

I'm running into problems with a weird edges to my Plot3D with a Disc domain. MWE: ...
• 73
1 vote