4
votes
2answers
76 views

Grid rows height & SpanFromAbove issue

I would like to understand why the following code produces such a different result (Mathematica 9, Win7). Is this a bug? Is there a way to avoid this line height problem? ...
1
vote
1answer
78 views

Locators, lists of variable length, all in Manipulate

I'm trying to implement a complicated Manipulate[] interface. I'm not really interested in working code, but for those interested, I would like the program to allow you to drag around a variable ...
-1
votes
0answers
26 views

if f(x) is O(g(n)), then does it follows that h(f(x)) is in O(h(g(x))? [on hold]

if f(x) is O(g(n)), then does it follows that h(f(x)) is in O(h(g(x))? Can we prove or disprove it? In my class, we proved that nlogn is in O(log(n!)) But n^n is not in O(n!) It just feels weird.
4
votes
1answer
159 views
5
votes
3answers
201 views

difficulty abstracting the OptionValue pattern

I am building lots of functions that use Options and OptionValue and wanted to reduce the redundancy in the expressions that ...
4
votes
4answers
207 views

implement the ZOH in mathematica [on hold]

well I'm trying to implement the ZOH in Mathematica, but I can't. Take a look, this is my script: ...
0
votes
0answers
85 views

Dual core CPU — Mathematica uses only 29% of one core [on hold]

I hope that this question hasn't been answered, yet. At least I couldn't find any answers to that for quite some time now. I am using Mathematica 9 on windows 8. I have two cores. My calculations ...
0
votes
1answer
85 views

Plotting an function defined by an integral [on hold]

How can I plot a function defined by an integral. More specific, I have the following equation: $$ T = ...
-8
votes
0answers
92 views

Visualizing The Crack of The RSA Cryptosystem [on hold]

Q: how would you illustrate the RSA Cryptosystem with the new fast factorization technique? Side Note: This question is about Mathematica but it is not a home work. So, feel free do not publish your ...
5
votes
2answers
277 views

Is it possible to produce “tilt-shift” effect in Mathematica?

I attempted to produce a kind of miniature faking look from a street scene photo. I tried to shift the perspective lines close to parallel to each other to obtain such effect. However, the result ...
1
vote
1answer
73 views

Missing arrow tips and colors

My main problem is: I plotted a curve here, but the tip of some arrows are missing. Why does this happen, and how can I fix this? Not the main problem: Also, I once tried to make the arrows with ...
2
votes
0answers
69 views

An efficient way to merge a pair of 4d arrays of non regular length lists

Question I have two 4 dimensional non regular length lists of complex values. I have working code however it seems quite slow and I am not sure how I could improve this. Mathematically I am trying ...
3
votes
1answer
105 views

Fredholm integral equation of the second kind with kernel containing Bessel and Struve functions

I need to solve this Fredholm integral equation of the second kind: f[s]+integrate[f[t] K[s,t],{t,0,1}]=s where ...
6
votes
2answers
4k views

Integral equation numerical solution with NDSolve

I'm trying to solve something like: f[x] == Integrate[f[x]*g[x]] where g[x] is known and ...
4
votes
2answers
104 views

Find file names in directory

I am trying to find the list of any file in any directory of a given name (by in the directory, I mean directly in the directory, so in a directory which is in the directory would not count). For the ...
0
votes
0answers
45 views

Need mathematica to convert images to pure black and white [on hold]

So I have a bunch of images (319) that look like this: http://i.imgur.com/a3u8QJi.png I need a script to convert them to pure white and pure black. The only part I need to preserve is very black ...
1
vote
0answers
73 views

Compiler stack overflow

I tried to compile a huge function. I used these options: ...
16
votes
5answers
5k views

How to find the domain and range of a function with Mathematica?

I'm studying calculus and in some exercises I am asked to find the domain and range of a function. Does Mathematica have already a built-in function for this? I can imagine some ways of doing so, ...
5
votes
2answers
206 views

Band Intensity Quantification

I would like to measure the density of my western blot band by measuring the area under the peak from this plot. More specifically, my image will have several lanes with a pattern of bands in each ...
0
votes
0answers
54 views

Making a list of terms ordered by product order

I have some expressions f,g,h that are elements of a symmetric tensor algebra. The expressions are generated by a basis ...
10
votes
2answers
239 views

Map of United States as a 3D histogram

By combining the state data from here and the extrusion code from here I have managed to make prisms of the various US states such as However, the extrusion method looses information about the ...
4
votes
3answers
84 views

Replace Missing[Unmatched] with zero

After a left JoinAcross, I have a number of Missing["Unmatched"] values in my list of associations. I'd like to set them all ...
5
votes
3answers
113 views

Creating Correlation Table (and Working) With Missing Data

I am working with data that contains missing values (I have several variables (across the columns) and several observations (across the rows) in an excel spreadsheet). Example of the data structure: ...
4
votes
1answer
81 views

Optimizing a function containing a complex exponential

I've noticed the following significant different in performance for different formulations of the same function: ...
0
votes
1answer
170 views

Minimize: How to work with specific numeric types

This is a question about the use of symbols in Minimize and how to persuade Mathematica to treat them in a specific way (as integers or rationals) that I have not ...
0
votes
1answer
60 views
13
votes
1answer
1k views

How to solve a non-linear integral equation?

I have a non-linear integral equation that I'd like to solve with Mathematica: $$ \int_{0}^{1} \mathrm{d}x \frac{B(x) v}{(B(x) + B(v))^2} = 1$$ ...
2
votes
0answers
70 views

How to code a simple audio equalizer? [on hold]

I would like to code a simple Manipulate-based equalizer to make bass and treble adjustments in wav-file, but I haven't found any clues in documentation. Wiki says that I have to deal with linear ...
2
votes
2answers
94 views

Plot help with axes coordinates

Plot[{4 - 2 y, (5 + y)/3}, {y, 1, 10}] How do I make Mathematica tell me the coordinates for cuts with the y-axis, other than just looking at it?
5
votes
1answer
377 views

Estimate parameters of the state space model

I'm using Mathematica 9 and its Control Systems functionality. I've searched the references extensively but seem not to be able to find any examples of state space model parameters estimation. All ...
9
votes
0answers
304 views

Proving (self) similarity with Mathematica - Reccurrence Plots, Similarity Plots etc

I posted this question in math.se but given the sheer tumultuous number of questions that keep appearing on math.se and also given that I am trying to accomplish this in Mathematica, I thought I'd ...
5
votes
1answer
198 views

Prove an identity in quantum harmonic oscillator

Problem: In the context of quantum harmonic oscillator the eigenfunctions are given by: $ u_n(x) = (N_n/\sqrt{b}) H_n(x/b) \exp\left[-x^2/(2b^2)\right] $, where $N_n$ is the normalization factor: $ ...
0
votes
0answers
53 views

Discontinuous Forcing for a Cancer Model — Issues with v9 NDSolve

I'm new here, so please be gentle with me and hopefully the post is appropriate and not too basic. I am a math teacher and use modeling in my courses. I had working code (in v8 of Mathematica) for a ...
0
votes
1answer
24 views

Why do I get the error: “The specified setting for the option FEFloatIterator cannot be used.”?

"The specified setting for the option FEFloatIterator cannot be used." This an error I am getting in a sizeable interface, containing 138 declarations in an outer ...
2
votes
0answers
35 views

How to apply Gaussian kernel to smooth density of points on 2D (algorithmically) [migrated]

I have a set of points on a 2D surface and need to build a heatmap. However, I also need to smooth out the density/distribution by applying some sort of kernel (Gaussian kernel, for example). I Know ...
0
votes
0answers
11 views

References to papers/books that uses a kernel to smooth a discrete distribution [migrated]

Since a kernel, such as Gaussian, is often used to smooth out the distribution of discrete points in 1D, 2D or 3D, I believe there must be some study materials or research work that have used this, ...
4
votes
1answer
142 views

How to find the integer solution number of a linear system with inequalities?

I have the following system with mixed equality and inequalities defined as: ...
0
votes
0answers
47 views

How can I display the numbers on the ordinate axis as exponentiation?

I create a Plot and I need to insert the values on the ordinate axis as exponentiation. For example if I have a value equal to 20000, view as 20x10^3. Here the code: ...
1
vote
1answer
87 views

I cannot get tables names and columns names from database

I am working with database using OpenSQLConnection-JDBC. I am able to fetch the data perfectly from the tables but I cannot get nor the names of the tables (using SQLTableNames) neither the column ...
1
vote
1answer
45 views

How to factorise a variable out of an indefinite sum?

(I should start by saying I'm a total beginner with Mathematica, so if the answer needs code I'll need it spelled out quite clearly, the learning curve for this is proving steep!) Basically what I am ...
2
votes
2answers
697 views

About generating power series

For an arbitrary function $f(x,y)$ I am defining functions LogMT1 and LogMT2 as follows, ...
2
votes
0answers
54 views

Blurred frontend text in Mathematica 10, Windows, High-DPI Display

So I have recently upgraded to a Windows ultrabook with a high-res display. All my software seems to cope just fine with the high resolution, except for Mathematica 10. Mathematica seems to pretend ...
0
votes
0answers
23 views

In lambda calculus, can the parameter of abstraction be a non-variable lambda expression? [migrated]

In short, my main confusion is between the two concept variable and lambda expression: I am reading this reference here: ...
-1
votes
0answers
50 views

Optimization: run this process multiple times [on hold]

I am trying to minimize the objective function over [x,y]: Exp[x]*(4*x^2+2*y^2+4*x*y+2*y+1)+b subject to constraint ...
8
votes
3answers
2k views

Given a Table of Plots with some parameter, how would I mark each of the plots with that parameter

I've got a two variable function that I'm plotting against one axis for a few different values of a parameter ...
1
vote
0answers
17 views

Is it possible to pass a “shared” integer in librarylink?

MTensor supports shared pass, where the argument can be modified in the library function and that modification can be seen in Mathematica side. Is it possible to do the same thing to a integer or ...
7
votes
2answers
157 views

Dynamically transform one Graphics to another

I would like to have two Graphics objects displayed side by side such that: they are mirror images of each other if I change the left-hand one interactively using ...
4
votes
3answers
434 views

How to create a planar graph from a set of random points

Question Given a set of points in the plane, how can you create a planar graph in the standard graph representation of Mathematica (version 9 or higher), from these points? Background A planar ...
3
votes
1answer
105 views

Bad numerical approximations

I'm trying to do some calculations here, but for some reason Mathematica starts using numerical approximations that are no good for my work. Specifically: ...

15 30 50 per page