0
votes
1answer
31 views
from complex function to a series
How can I express this complex function as a series?
Log[
(1 - E^((I Pi (1 - a))/(b - a)) z)/
(1 - E^(-((I Pi (1 - a))/(b - a))) z)
]
Where ...
1
vote
1answer
35 views
Evaluating double Integral
While trying to evaluate the integral $\int_{y=0}^1\int_{x=0}^{min(x_2,1)} (n - 1) (1 - y)^{(n - 2)}dxdy $ , Mathematica does not seem to yield any results.
...
3
votes
0answers
32 views
Cell brackets on left side?
Is it possible to have the cell brackets on the left? I looked through the options and couldn't find anything, but maybe it's some kind of esoteric style setting or something.
The reason I'm looking ...
5
votes
1answer
38 views
Notebook[] vs. DocumentNotebook[]; display a Notebook[] inline, like a DocumentNotebook[]
If you evaluate a DocumentNotebook[] expression in the front-end, it nicely displays inline, inside of an output cell in the current notebook:
For my purposes, ...
0
votes
3answers
45 views
Evaluation in Manipulate
I have an expression assigned to a variable. For example:
exp1 = a*x+b
Now I would like to plot it using something like this
...
2
votes
1answer
20 views
Combination of CellPrint and PrintTemporary, or DisplayForm for Cells
I'm programmatically generating some formatted output that generates a cell in the form of a Cell[] expression. For instance, the output might be
...
-1
votes
0answers
43 views
I want to draw a graph using a weighted Adjacency matrix
I have a weighted adjacency matrix as follows:
...
4
votes
1answer
57 views
Visualizing vector-spherical waves
This is a follow-up question to this one on visualizing vector-spherical harmonics. This time, I would like to visualize the vector spherical waves (including the radial dependence). The functions ...
2
votes
2answers
72 views
How can I write a Do loop that iterates over N iterators when N is not known a-priori?
For any positive integer $n$ which is not specified a priori, I can make $n$-tuple vector $v$ by v = Array[a, 1, n]. Now, given that $n$ is a positive integer which ...
3
votes
1answer
56 views
Solving an inequality that contains Log expressions
How can I solve the following inequality? I tried the command Reduce, but the computer is still computing it (c is an real number).
...
3
votes
0answers
55 views
Does it make sense to ask for the color of a Graphics3D “voxel”?
Say I generate some Graphics3D object, e.g.:
Graphics3D[{Red, Sphere[{0, 0, 0}, 1], Blue, Sphere[{1, 0, 0}, 1]}]
Does it make sense to ask for the color of a ...
0
votes
1answer
50 views
2
votes
2answers
46 views
Function returning Null along with other unexpected expressions
When I use some function, at the end along with the output I get some NULLs returned that I don't understand the reason for and are highly undesirable.
For example, when I define the reversal of list ...
3
votes
1answer
69 views
AR(1) Process first term
I'm trying to generate a very simple AR(1) Process with Mathematica using the ARProcess[] function. The process must have the following format:
$Y_t = \alpha + ...
1
vote
1answer
46 views
How to export results of an analysis in table format into MS word file
I'm working on a simulation study using Mathematica 8. At the end of the analysis I'll have a matrix of data containing my results (assume for three variables like x,y & z). I used these codes for ...
1
vote
0answers
50 views
How can I convert a plot to pdf or eps without errors?
Mathematica 9.0.1, Linux. I try to save a plot as a pdf. I tried four different options. In each case some errors appeared as blank space
( http://yadi.sk/d/h1koyDci4z3rc ). I also tried to save ...
1
vote
0answers
39 views
Does Graphics`Mesh`SimplePolygonQ[] work for you?
Graphics`Mesh`SimplePolygonQ is an undocumented function. I'm using Mathematica 7, and when I try:
...
0
votes
1answer
51 views
How to set image DPI? [duplicate]
For publications usually images in TIFF format are required in high resolutions. Where can I change settings for images that are being saved (using RMB click "Save Graphic As..."), so I don't need to ...
0
votes
1answer
97 views
What is wrong with this Cobweb plot [closed]
Something is wrong with my cobweb plot code but I couldn't figure out where do the mistakes come from.
So basically we have the iterative map $x_n == x_{n-1}^{2} - 3 \mu$. I would like to draw a ...
0
votes
0answers
51 views
How can I connect to a SQLServer database without login details? [closed]
I create a New Database in MS SQLServer 2012, specifically I didn't mention any Login details. I created tables in that DB.
Now I want to connect with Mathematica. For that purpose I wrote the ...
3
votes
1answer
136 views
How to asynchronously download 100000 urls in an efficient way
URLSaveAsynchronous can download one url page, how to download 100000 urls in an efficient way?
And better to with an whole progress bar.
I've downloaded 90000 ...
0
votes
0answers
56 views
Where can I find description of errors and warnings? [closed]
I am trying to solve numerically quite simple equation using NSolve[]. NSolve writes a warning:
...
0
votes
0answers
10 views
How to assign values to a function at discrete points? [duplicate]
Suppose we are interested in a function f[x] that is defined only at discrete points:
x = {1.1, 2.1, 3.1, 4.1, 5.1}
We want to ...
5
votes
1answer
66 views
Different behaviours of Default Argument
I don't really understand the behaviour of Default Argument. If I execute this command in Mathematica:
In: {f[a], f[a + b]} /. f[x_ + y_.] -> p[x, y]
...
3
votes
1answer
66 views
CUDAQ[] returns False in version 9 while True in version 8
CUDA works in version 8 but not in version 9. Is there a way to fix the problem in version 9? I've installed the latest CUDA from the official website https://developer.nvidia.com/cuda-downloads
1
vote
0answers
38 views
12
votes
2answers
132 views
Sharp background image in plot
How do I get rid of blurry transitions between pixels of the background image below. It's the fault of Texture[], previously discussed in this answer.
I haven't ...
2
votes
1answer
77 views
Problem with extracting specific contour from a ContourPlot
I am trying to exctract contours of specific value (2.6*10^-6) out of a ContourPlot and measure their area.
Below you can see the code. It is noticable that not all of the relevant contours showed in ...
5
votes
0answers
34 views
At what point should MLSetMessageHandler() be called?
I have an Installable MathLink program written in C. I would like to use a custom message handler. At which point in the C source code should I call ...
3
votes
2answers
103 views
Why don't these styling rules work when viewed in TableForm?
m = RandomInteger[{-5, 5}, {10, 10}];
m /. {x__, y_ /; y > 0} -> Style[{x, y}, Red]
% // TableForm
When m without style ...
2
votes
1answer
68 views
Recursion depth exceeded
Below is my code for numerical solving of PDE with Crank Nicolson scheme.
...
1
vote
1answer
57 views
How to get a solution set of a nonlinear system of equations?
I'm trying to find the solution set of {x, y} variables for the following system of equations:
...
3
votes
1answer
74 views
Cannot solve system of linear equation sums?
I cannot get mathematica to solve:
The problematic code:
...
3
votes
1answer
64 views
Resampling when using image as Texture
How to get sharp pixel boundaries with Texture? I'd like to have only black/white in the example below, no gray.
...
0
votes
0answers
28 views
Import/Export Cluster Object [duplicate]
I want to export and then import back in a cluster object from Agglomerate. After the import, the imported object does not behave as a cluster - for example, ClusterSplit does not recognize it as a ...
3
votes
1answer
111 views
Using single replacement rule to convert algebraic expression
I have been trying this problems for hours and cannot find any helpful clues.
How can I convert $Sinh[3\theta]+Sinh[\theta]$ to a rational function of x given $2Sinh[\theta] = x-x^{-1}$ by using only ...
4
votes
3answers
32 views
How to type a capital 'E' in Mathematica 9 using 'ToExpression' and 'TeXForm'? [duplicate]
I am trying to use Mathematica's ToExpression[] combined with TexForm to type the Einstein's famous result: E = mc^2. Now this is dead easy in LaTeX, the code is:
...
3
votes
2answers
77 views
5
votes
2answers
89 views
6
votes
0answers
55 views
How to create internally optimized expression for computing with high WorkingPrecision?
I have large dataset and need to fit rather complicated function on it with different values of one of its parameters (this parameter must be fixed in every fit). I use the ...
2
votes
1answer
74 views
Generating a list of all factorizations
What is the best way to generate a list of all factorizations of some number $n$? I'm quite new to Mathematica so this might be obvious. I have been trying some basic stuff with ...
2
votes
3answers
109 views
Why do these two different zetas produce the same value?
Zeta[-13] == Zeta[-1] == -1/12
Why do these two different zetas produce the same value?
0
votes
1answer
130 views
Solve this equation symbolically
I am trying to solve the equation for the quantity r = y/x symbolically:
3/y^4 == 3/x^4 + a/(x + 2 y)^4
with the requirement that we need to perform the ...
0
votes
0answers
33 views
How could I find the correct values for every array that would lead me to unique summation number for every unique chain? [migrated]
I have 9 arrays, each array has 9 values, I need to get the proper values in every value's position for every array, and that would give my a completely unique summations for every value's chain from ...
2
votes
1answer
121 views
Range of stability for iterative map
Using linear stability analysis, I would like to compute the range of stability of the fixed points and the 2-cycles of the following iterative map: $x_n = x_{n-1}^{2} - 3\mu$.
Setting $x = x^{2} - ...
5
votes
3answers
127 views
Smooth Kernel Distribution
I am researching the Silverman rule of thumb for bandwidth selection.
Below is a sample of my code, from which it seems that BW=63 is close to the default parameter given by Mathematica (2 images are ...
1
vote
0answers
31 views
Indexing of Large System of Equations for Use in NDSolve
I currently have a list of ~150 DAE's (differential-algebraic equations) and I need to be able to work with using NDSolve. Fortunately I already have them ...
1
vote
2answers
77 views
How to create a 3D curved surface, given some discrete points in space?
I have some 3D point data and I want to create a curved surface with these points, and export the curved surface data (point coordinates) according to points density on the curved surface. How can I ...
1
vote
0answers
68 views
Nontrivial solutions of equation
Here, I have one problem in finding nontrivial solutions of a system of equations. I want to choose one variable, for example X1 and to get solutions of X2(X1) and X3(X1). It is not difficult when I ...
2
votes
0answers
41 views
Eureqa Client to connect to Mathematica under Windows
Does there exist a way to use Eureqa software with Mathematica under Windows?
That is, is there a working client to connect to a Eureqa server?




