1
vote
0answers
13 views

Restoring an out of focus image

Folks, I am studying ways to deblurring an image: Sample: , an my goal is the money in that hand. Is possible improve the image, features, etc..? I tried all the de blurring methods: 1 - first I ...
0
votes
0answers
8 views

MatrixConditionNumber for 2-norm unexpected error

From documentation it has been specified that we can use 1,2 or as the second parameter of ...
0
votes
0answers
15 views

Defining Tensor

I need help with the definition of tensor in Mathematica. I have to define a tensor $\Sigma_{IJK\alpha}$ with the following features: I,J,K run from 1 to 6 $\alpha$ run from 1 to 2 ...
0
votes
2answers
45 views

Plotting energy dispersion on a hexagonal Brillouin zone

I'm trying to plot the energy dispersion of a graphene similar material. I've used the Tight Binding Function Approximation considering first neighbours and no overlaping. I have this 2 expressions of ...
0
votes
0answers
9 views

Why doesn't my expression evaluate at the subkernel?

Consider this code: ...
3
votes
0answers
37 views
0
votes
0answers
18 views

Where does Mathematica save the exported files in Linux? [on hold]

With a tmp.m file: x = 10 Save["myx.m", x] I followed the syntax from here and ran like this ...
4
votes
5answers
130 views

Plot all curves in a table with a single color

I want all of my solutions in a table to be the same color. My attempt: ...
0
votes
0answers
30 views

How to make a executable CDF of the following code? [on hold]

How to make a executable CDF of the following code? I can produce the CDF with Mathematica 9, but it is not executed by the CDF Player 9.0.1. The file (zipped) can be obtained here: ...
0
votes
1answer
40 views

Why does this work with Wolfram|Alpha but not Mathematica? [on hold]

I ran into this while doing some work today: It's the exact same syntax - and I expected that Mathematica would be more likely to be able to solve it, since oftentimes Wolfram|Alpha doesn't have ...
1
vote
1answer
59 views

PlotLegends is obsolete in v10?

I am using Mathematica 10.0.2.0 on a Mac OS X (Yosemite v. 10.10.1, 64bit). After I call: Needs["PlotLegends`"] I get the info: General::obspkg: PlotLegends` ...
3
votes
0answers
23 views

How can the Theil-Sen estimator be made to work on larger datasets?

The Theil-Sen estimator finds the slope and intercept of a line passing through a set of points by calculating the median slope and median intercept of the set of lines passing through all possible ...
2
votes
1answer
31 views

Is there a way to constrain the memory used for a notebook (session)?

I know that we can constrain the memory usage of certain computation using MemoryConstrained. Is there a way to constrain the memory of each cell evaluation during ...
3
votes
2answers
25 views

Evaluation control with TagSet

Suppose I have a property associated with two functions using TagSet: ...
3
votes
0answers
26 views

Header and footer banners in Slide Show style

I would like to create Mathematica slide shows that contain several tailored, fixed banners as headers and footers, much as MS Powerpoint, MS Word, Apple Pages, and LaTeX documents allow one to ...
0
votes
1answer
33 views

PowerFactorial and Factorial

After some computation, I have obtained a function PowerFactorial[1, n, -1]. Clearly, PowerFactorial[1, n, -1] equals ...
10
votes
3answers
133 views

Mathematica and POV-Ray workflow (Q&A)

A couple of years ago, Alexey Popkov asked this question: Which ray tracing software is compatible with Graphics3D? It is my opinion, for various reasons, that out of the many ray tracing programs ...
0
votes
0answers
21 views

ListDensityPlot seems to break down for large arrays

(Using Mathematica 10) When using ListDensityPlot to plot 40000 + data points, the produced plot seems to be blurred/incorrect for points occurring later in the list. For instance, in the following ...
0
votes
0answers
35 views

Extra spaces when exporting strings

Here is a simple string "Amin,new". If I export it into pdf with Export command, I get instead: $\text{Amin ,new}$ Question: Note the space before comma. Why ...
3
votes
1answer
68 views

Given a list made up of subsets of an alphabet, how can I use associations to create a Boolean dictionary of the given list

I have a list of 30,000 elements, each of the element is a list in itself {{a, b}, {p, q, r}, {a, p}, ..., {z, x}}. Second one contains unique elements ...
0
votes
0answers
20 views

Plotting the Schwarz D minimal surface

With the aid of the following paper I'm trying to plot the Schwarz D minimal surface: paper. So far I have followed all the instructions to the best of my abilities and have come up with the following ...
0
votes
2answers
93 views

What is the simplest way to plot x^(1/3) on the interval [-3,3]?

My question is: What is the simplest way to plot x^(1/3) on the interval [-3,3]?
-3
votes
2answers
75 views

How to display line numbers in the Mathematica?

Is there such a thing in Mathematica; something like line numbers in Notepad++?
0
votes
0answers
29 views

Initial values/parameters in equation system of dimension 32

This is a system of equations of dimension 32, that describes an economic system. I want to find a set of parameters and initial values in which the system can be solved, and solve the system of ...
0
votes
0answers
17 views

Code to import and export “.cine” image format?

I need to work with a set of experimental data in the form of ".cine" format image files. This is a data format developed by Vision Research for high-speed imaging and video. I would like to import ...
2
votes
0answers
44 views

Answer Set Programming (ASP)

I am deeply involved in product configuration, i.e. in developing a software infrastructure, which ensures, that a customizable product can actually be manufactured. This involves defining rules for ...
3
votes
1answer
46 views

Typesetting for different powers

Suppose that I want to typeset an object such that it looks differently for different powers. The simplest example would be a three vector. For odd powers I want it to look like $$|\vec{v}|^n,$$ while ...
1
vote
1answer
39 views

Characterising the set of parameters that satisfy a system of non-linear equations

I am looking for a solution to the following problem and could not find an answer so far. I have a quintic equation, $f(x;a,b,c,\cdots)-x=0$, where $x$ is the variable with respect to which I need the ...
1
vote
1answer
169 views

solve recursion equation with condition

How can I find $f(x)$ in terms of $x$ in the following equation? $ -k\, x \,f(x) + k \, (x + 1)\, f(x + 1) - r \, f(x) + r\, f(x - 1) =0$ $r$ and $k$ are constants and $f(x)$ should satisfy: ...
3
votes
1answer
55 views

Strings with exclamation marks in Mathematica

Given this input FullForm[ToString[TraditionalForm[x]]] Mathematica outputs "\!\(TraditionalForm\`x\)" It seems like ...
7
votes
7answers
223 views

Input a square matrix and return a list of the matrix entries read by antidiagonals

I have a square matrix: {{1,2,3},{4,5,6},{7,8,9}} and I want to get a list: {1,2,4,3,5,7}
0
votes
2answers
40 views

Maximum likelihood estimation based on frequency table

I have a frequency table of grades, I'm trying to estimate the distribution as a truncated normal distribution (a grade below 65 is a failing grade and doesn't count). Since I don't have the actual ...
1
vote
1answer
43 views

Table of references

I have a list of variables (say a, b, c, d, e) that I want to assign in a single command. {a,b,c,d,e} = {1,2,3,4,5} would ...
3
votes
4answers
68 views

Vertex styling in CommunityGraphPlot

Is there a way to change the colours of nodes within one community? Mathematica assigns vertex colours automatically to each community. However, I'd rather like to use my own colour set. ...
2
votes
0answers
21 views

Design problem with an an InterpolatingFunction-like object: bad performance over a remote kernel

I these last times, I found myself using often the following approach. Given some data, I make some preliminary, common, computations and I store these results in an ...
2
votes
1answer
52 views

Writing a procedure that invokes Manipulate[]

I would like to write a procedure with the signature: Foo[vars, params] which produces a Manipulate object. The procedure ...
1
vote
0answers
49 views

LayeredGraphPlot Vertex Spacing

For anyone who has used LayeredGraphPlot, you have probably seen that the vertex spacing is consistent throughout, that vertices have the same minimum unit of ...
2
votes
1answer
56 views

Code reuse between files in the same directory

At the moment, I am producing various complicated interactive plots. They all share a common "code base", with modifications on top of it. I would like to refactor my code so that the various files ...
0
votes
0answers
43 views

“cannot be used as function” error. Mathematica 9

I am trying to use Mathematica do solve a system of differential equations through a series. For the time being, I want the solution to be in terms of a quadratic. So here is an example, ...
0
votes
2answers
40 views

How to continuous apply a function to an argument? [duplicate]

In order to calculate x = sqrt(1 + x) for a given number x, 40 times, I tried this: ...
0
votes
1answer
44 views

Simplifying square root expressions

I have read lots of questions on square root simplification on MMA, but I haven't really seen my problem posted (or understood a clear way to deal with this issue). I am simplifying some expressions ...
1
vote
3answers
46 views

Form a matrix to have inequality elements

It looks like a silly question, but I could not find any answers online. Your help is greatly appreciated! Say I have two lists now. ...
0
votes
2answers
58 views

Cases Except - Selective Exclusion

Please help me use Cases,Except on list data. I just want to remove all primes, or equivocally to see only the values in the list produced that aren't prime. the prime factorization of those values ...
0
votes
1answer
48 views

How to subset datasets in Mathematica 10 [on hold]

I'm sorry if this is obvious but I can't find a way to select only a certain amount of columns of a dataset (or delete a certain amount of columns from a dataset) using the key of each column. I ...
0
votes
0answers
28 views

Does Mathematica support Laguerre Polynomials of Matrix Argument?

I am wondering whether Mathematica can also compute the Laguerre polynomials of matrix argument as the appear in multivariate statistics? For example, they appear in this paper here: ...
0
votes
0answers
25 views

Porting Module from one version of Mathematica and platform to another [on hold]

I recently wrote a Module in Mathematica v9.0.1 on OS X, and tried to run it on Mathematica v10 for RPi Raspbian Linux. Sorry if this belongs in the RPi SE. ...
2
votes
1answer
47 views

Strange appearance artefact in ActionMenu

I've noticed a strange thing with ActionMenu which can also be seen in the documentation for V9 and V10 on OS X. It seems that when an ...
1
vote
1answer
46 views

Is this caused by meomory usage ? (Something odd/hard to describe)

I really can't make a "smaller" example, but the files are here, for the data and for the notebook. It will cost a LOT of memory, up to 30G of RAM (maybe more). Here is the problem, (from a Linux ...
1
vote
0answers
48 views

System of differential equations [on hold]

I have to solve the following system of two differential equations with certain parameters inside which I just put them together for simplicity and called them t: ...
6
votes
4answers
144 views

Define Function with Sum over a list

I want to define a function that would symbolically look like $$ t(s,\underline{a})=\pi s + \sum_{n=1}^{n_{max}}a_n\sin(n \pi s) $$ (something like a finite Fourier series). Here $s\in [0,1]$ and ...

15 30 50 per page