All Questions
0
votes
0answers
2 views
How to change list of rules to a list?
Functions like NSolve return list of rules instead solution values. I have two questions:
1) how to change such list to list of values, for example
...
0
votes
0answers
7 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 ...
1
vote
0answers
11 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]
...
1
vote
0answers
26 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
25 views
9
votes
2answers
76 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 ...
1
vote
0answers
33 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
19 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 ...
1
vote
1answer
50 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
60 views
Recursion depth exceeded
Below is my code for numerical solving of PDE with Crank Nicolson scheme.
...
1
vote
1answer
48 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
64 views
Cannot solve system of linear equation sums?
I cannot get mathematica to solve:
The problematic code:
...
3
votes
1answer
53 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
88 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 ...
3
votes
2answers
62 views
5
votes
2answers
78 views
4
votes
0answers
31 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
67 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
79 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
97 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
62 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} - ...
4
votes
2answers
75 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
27 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
71 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
53 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
39 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?
3
votes
0answers
23 views
Correct behavior of lock file in hsqldb connection
I'm running in to some problems with generating a persistent HSQLDB and during some troubleshooting I came upon the following behavior.
...
0
votes
1answer
104 views
Doing vector manipulations on Mathematica
This is hopefully a simpler version of this previous unanswered question of mine.
Let me just focus on the two expressions $F_2^{(s)}$ and $F_3^{(s)}$ given in A.3 and A.4 of page 19 of this paper. ...
2
votes
0answers
77 views
Why my Mathematica 9.0.1 wont work with some samples of Mathematica in Graph Theory?
I updated my Mathematica recently to 9.0.1 cause the previous version was giving me freaky result especially in FindMinimumCostFlow and ...
2
votes
2answers
79 views
2
votes
2answers
61 views
Importing LTSpice data into mathematica
I am working with LTSpice (Discret electrical circuit ( Spice) simulator). I would like to import LTSpice ouput data into mathematica for processing and plots.
An example of a file can be found here ...
0
votes
0answers
35 views
Returning a non-degenerate list of triangles that (strictly) define the outer mesh of a 3-polytope using PolyhedronData?
I'm looking for a simple method of returning a list of triangles that strictly define the outer surface of a 3-polytope using PolyhedronData?
For example:
...
5
votes
3answers
96 views
Applying a function with the HoldAll attribute inside NestList
I'm trying to write an update function, which can be applied to a list and then to NestList it.
As the function has to manipulate the given variable I figured I ...
0
votes
0answers
40 views
Anti-aliasing won't work when there is PlotStyle command
I've found that if there is PlotStyle command in the input, anti-aliasing will not work.
However if the Style code is ...
1
vote
1answer
68 views
3rd derivative keyboard shortcut
For a long time i've evaluated D[f[t],{t,3}] to get this power-like derivative thing:
$$f^{(3)}(x)$$
Is it possible to obtain same through an easier keyboard ...
2
votes
4answers
128 views
How can I create a list of functions?
Can anyone tell me, how to create a list of functions? I've tried the following code, but it doesn't work.
...
-5
votes
0answers
77 views
Extracting points data from a 3D curve surface?
I have a 3D data sets, and I have used it to create a 3D plot, but some of the data points are errors and need to be removed. How I can I remove the bad points from the plot?
...
2
votes
1answer
59 views
Flat function with repeated sequence
There are functions like Join[ ] that accept a variable number of arguments. Join is a flat function, as the order of arguments ...
5
votes
4answers
164 views
How do I obtain the correct double limit?
The command
Limit[(Sin[x^2] + Sin[y^2])/ (x - y) /. x -> 0, y -> 0]
(*
0
*)
I think that Mathematica finds the iterated limit instead of the double ...
1
vote
0answers
51 views
How to SystemOpen Mathematica only one time?
Here is my prevous question
When I'm trying solve that question:Reset-$Language— each time open a Mathematica.
Because If I open one English-Version-Mathematica, ...
0
votes
1answer
59 views
What does Binomial return for non-integer arguments?
Mathematica returns values for non-integer arguments passed to Binomial.
What is the definition of Binomial for such continuous ...
1
vote
1answer
58 views
Dt acting on symbolic notational forms
This one must be simple, but I can't figure out a decent solution.
Suppose, I have a symbol with a notational form applied to it, say OverHat[A].
Now, if I didn't ...
8
votes
2answers
129 views
Adding custom GridLines to the “automatic” ones
I need to add custom (vertical) grid lines to a plot (to a DateListPlot, to be precise). I know there is the option of ...
1
vote
1answer
49 views
Overloading conjugate operator for a particular function
I trying to modify the behaviour of the built-in Conjugate[] operator on a particular function I have defined, to take into account that some of its variables are real.
...
0
votes
0answers
2 views
Simple Math Equation find sum of 4 fields and if greater then field y reduce all 4 fields respectively [migrated]
Im not the greatest at Math but i have the following problem:
impressions = 791.
watched 100 = 500
watched 75 = 383
watched 50 = 600
watched 25 = 700
The sum of all watched fields is 2183.
...
5
votes
0answers
100 views
Find all the integer numbers $a$, $b$, $c$, $d$, $e$, $f$, $k$ to this equation have three integer different solutions?
How to choose all integer numbers $a$, $b$, $c$, $d$, $e$, $f$, $k$ belongs to interval $[-20,20]$ to the equation $$\sqrt[3]{a x + b} +\sqrt[3]{c x + d} + \sqrt[3]{e x + f} =k$$ has three integer ...
3
votes
1answer
70 views
Solving an ODE in power series
How do I find a series solution to an ODE?
I do not mean taking the Taylor series of an exact solution; I want to solve nasty nonlinear differential equations locally via plug and chug. Surely, that ...
1
vote
0answers
66 views
How to configure two Mathematica Language Version in two places with different setting
I've installed two Mathematica 9 with different language version.
One in Disk D English Version
One in Disk E ChineseSiplified Version
How to configure two different settings ?
because they ...



