1
vote
2answers
46 views

change the output of Print command in Article style

I am working with the Article-style. How can I change globally the output of Print command? For example typing ...
0
votes
0answers
38 views

Multiple numerical integrations and green's functions propagation of the solution

I have to solve a system of equations where the coefficients have to be computed from numerical integrations. My problem is that my codes is to extremely slow because I each time that it has to ...
2
votes
0answers
76 views

Convert (rescale) 16 Bit png image

I have a camera (12 Bit Sensor, 2048 * 2048 Pixels). The images can also be exported in 16 Bit png format. Here different settings can be used. One setting is somewhat strange. For this special case ...
4
votes
4answers
221 views

Another confusion with simplify

After reading some of the questions concerning Simplify, I still didn't find a solution to my confusion. I want Mathematica to simplify ...
2
votes
1answer
60 views

Generate list of traceable and planar graphs

Is there any way to tell Mathematica to generate a list of graphs that are both traceable and planar?
5
votes
2answers
123 views
0
votes
1answer
58 views

How to add color to listplot

I have generated many points in a 2-dimensional space (x,y). How do I use color to represent different values of f(x,y) in ListPlot? Does ...
2
votes
2answers
129 views

A simple question: Input problem

I have a simple problem. First I define the value of variables, then I calculate the expression as the following: Code 1: ...
16
votes
1answer
350 views

Creating a cloud of blocks that form I ♥ U in different viewpoints

This picture shown bellow has three shapes with different view angle (I ♥ U). How to do this type of model? A few tries: ...
3
votes
1answer
84 views

Author Tools layout for a table of contents

Can someone point me at the place, where the Layout of the Table of Contents is stored in the Author Tools. There should be some style sheet, but I can't find it. Author Tools is still a very useful ...
0
votes
2answers
114 views

Referencing elements of ArrayRules

How do I call elements of ArrayRules by their indices rather than by Part[ArrayRules[list],i]? I'd like to call the element that ...
0
votes
1answer
35 views

What is the function “oneflag_:0” in this expression? [closed]

The first function Pivotdown can zero out all entries in a column below a desired location. But l don't know the function of “oneflag _0".
7
votes
1answer
73 views

Why does the front-end no longer like MixedRadix as an argument for UnitConvert?

I often find MixedRadix very useful for make certain kinds of unit conversions. For example, ...
4
votes
1answer
27 views

List of sound objects indexing

I am creating a list of sound objects: tones={}; For[j = 0, j <= 40, j++, tones = Append[tones, Play[Sin[2*Pi*t*500/Exp[-0.1*j/20]], {t, 0, 1}]]]; Each ...
1
vote
2answers
49 views

Style changes for a moment when parameters change [closed]

I've been looking for a solution to this problem for other applications too, for some time, but haven't come up with a solution that does not involve Animate or ...
3
votes
1answer
48 views

Replacing elements of a matrix

I'm trying to write a program that takes a given matrix $A$ of 1's and 0's and flips a designated amount of 1's to -1's. ...
1
vote
1answer
50 views

Generate a simulated covariance matrix

I am working on a problem where one of the input variables is the level of covariance between the entries in a particular matrix. To simulate this problem in Mathematica, I will need to feed my code ...
6
votes
1answer
87 views

Continuously varying tube radius

I'm currently trying to draw tubular neighborhoods of torus knots, which Mathematica's "Tube" function allows me to do quite easily. My question regards the appearance of the neighborhood: Is there ...
3
votes
2answers
66 views

Assigning multiple solutions different replacement names

Let's say we are solving a homogeneous differential equation, such as $$y^{\prime\prime} + a y^{\prime} + b y = 0$$ with characteristic equation $$s^2 + a s+ b = 0.$$ Using the ...
0
votes
1answer
41 views

Why does this ContourPlot3D not give the result I expect? [closed]

ContourPlot3D[(mod[x, 10]-5)^2 + y ^2+z ^2 ==1, {x, -20, 20}, {y, -20, 20}, {z, -20, 20}] shows blank rather than the array of balls I expect. Why?
0
votes
1answer
68 views

How to define where a line intersects its reflection

It is relatively easy to be able to find where two parametric functions intersect each other, but how about when one is a function and the second is its reflection? In the example below is it possible ...
9
votes
2answers
176 views

Position with test for list of lists [duplicate]

Why do I get this error message? It seems to me that the level specification should have done the job. ...
0
votes
0answers
45 views

Avoiding the “CloudObject`Private” context bug in controls of embedded Manipulates

I have Manipulates that I develop in one notebook and then paste in another. This second notebook is meant for a presentation, and shouldn't have these odd ...
5
votes
1answer
70 views

Display position of expression as Tooltip

How could we display the position of any sub expression in an expression using Tooltip? This would be useful for example in order to locate the position of an ...
0
votes
2answers
89 views

Weighted arithmetic mean [closed]

How can I calculate the mean value of my graphs computed below ...
38
votes
9answers
2k views

What would you ask Mathematica to do on a big system?

Our hardware supplier has given us the opportunity to test Mathematica on a big Windows system. The specs will be 1 to 4 TB of working memory and 12 sockets with 18 cores each. I got 1 full week of ...
4
votes
1answer
59 views

Computing the logarithmic spectral norm rapidly

I wish to compute the logarithmic spectral norm of a square matrix $A$, which is defined by \begin{equation} \mu_2[A]=\lim_{t\downarrow0}\frac{\|I+tA\|_2-1}{t}. \end{equation} Hence, I simply code ...
2
votes
1answer
123 views

How to transform the output of Minimize/Maximize into a function

I want to create a function directly from the output of Maximize. Specifically, I have the following function $f(l,h,d,a)$ that I want to maximize with respect to ...
2
votes
1answer
81 views

Hoare-Ramshaw (two dots) interval notation

In a Mma notebook math cell, how can one write an interval with Hoare-Ramshaw (two dots) interval notation? The obvious answer (\:2025) does not seem to work; two full stops produces odd spacing; and ...
0
votes
1answer
44 views

Plotting 3D with parameter [closed]

Can someone help in plotting this graph? K is a parameter. Thanks ...
1
vote
1answer
54 views

Solving a simple trigonometric equation in a range

I would like to solve a simple trigonometric equation, for example $\sin\theta=\frac{1}{2},$ but Solve gives the single solution obtained by using the inverse ...
6
votes
1answer
98 views

DateListPlot failing on Inflation Adjusted TimeSeries

Ran across this (possible bug) today. Here's historical West Texas Intermediate oil prices: ...
1
vote
1answer
98 views

How to scale a part of a curve horizontally and vertically?

I have some data for curves, say $y(x,t)$, in which $x$ and $y$ cover different ranges. I need to compare them by shifting and stretching the curve horizontally and vertically. This is the data for ...
1
vote
2answers
147 views

Handling of Temporal Data [closed]

I use a random function of a process which yields a Temporal Data object, I need but do not know how to recuperate the numerical values of the process in a Table from the Temporal Data.
2
votes
1answer
240 views

What is wrong with my user-defined ordering function?

I've defined ordering function: myOrderingFunction[arg1_, arg2_] which always return True or ...
8
votes
1answer
122 views

FilledCurve inside GraphicsComplex doesn't interpret the integers as points

Bug introduced in V9.0 or earlier and persisting through V10.4.0. Here's an example: ...
1
vote
2answers
52 views

styles and print and output

I know I can use styles to change how the result of Print looks. But I have a case where I use Print to display some ...
9
votes
1answer
97 views

Issues with PlotRange!

When use the following command to plot a graph: Plot[x^Gamma[x - 1], {x, 0, 1}] or: ...
5
votes
2answers
175 views

Trying to simulate pulse width modulation

I am trying to simulate a pulse width modulated signal in a NDSolve, but i have a hard time passing the signal function in. This is my code: ...
1
vote
2answers
66 views

Engel expansion

How do I do an Engel expansion in Mathematica? And find the unique non-decreasing sequence of positive integers $ \{ a_1 ,a_2,a_3,\dots \}$ , such $$\frac{e}{\pi}=\frac{1}{a_1}+\frac{1}{a_1 ...
5
votes
1answer
97 views

ReadList ignore comment lines?

Is there a way to make ReadList ignore certain "comment lines" (say, all lines that start with #, or in general all lines that ...
0
votes
1answer
28 views

how can I use the function AdjacencyGraph correctly? [duplicate]

I was told as: AdjacencyGraph::matsq: Argument ...
1
vote
1answer
64 views

ListPlot a list of Associations, with each pair in Association a different color

As the title states, I'd like to ListPlot a list of Associations, with each pair in ...
1
vote
2answers
116 views

How to get the $0$ result for this limit?

Consider the following series: $$\sigma (\text{x$\_$})\text{:=}\sqrt{\sum _{k=0}^{x-1} \frac{(x! x!) (-1)^{x-k}}{(x-k) (k! (2 x-k)!)}+\frac{\pi ^2}{12}}$$ From the following codes, it seems that the ...
0
votes
2answers
102 views

Finding all complex polynomial roots in a specified range efficiently

I need to find the roots of a rational polynomial that are near i. In the following code, I try that two different ways. First, I use a constraint to only find roots in the right region. Second, I ...
1
vote
0answers
55 views

Solving a polynomial equation with an approximate constraint is slower than the symbolic solution

Why do these two operations have such different timing, when the only difference is specifying r as approximate $0.1$ vs arbitrary-precision $1/10$? Here are the ...
8
votes
1answer
177 views

Bug? Problem with derivative of interpolating function from FEM

Bug introduced in 10 or earlier and fixed in version 10.4 I am really not sure if this is a bug or I am missing something very trivial. QUESTION: What I am missing in order to obtain the partial ...
0
votes
1answer
80 views

Calculate Dot product of a TensorProduct

Using this answer ...
1
vote
0answers
79 views

Trace of gamma matrices using FeynCalc

I am using FeynCalc package in Mathematica to evaluate some complicated Dirac Traces, but as you know the default convention for the anticommutator of two Gamma matrices in this package is ...

15 30 50 per page