# All Questions

185 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 ...
398 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 ...
211 views

### How to lookup by a string key after GroupBy? Inconsistent data type handling

This is relates to a bug that was introduced in 10.0.0 and fixed in 10.0.1 It also relates to an issue that has yet to be corrected. After applying GroupBy to ...
88 views

### Rational display with Quantity

Why is that Power[Quantity["ElectricConstant"],-1] is represent different of Power[Pi,-1] What I am doing wrong ?
117 views

### Unusual Slow Down with LocatorPane/DynamicModule

I have coded up a little interactive DynamicModule to help me with image processing/segmentation of stacks of timelapse microscopy images. I am experiencing a crippling slow down in the ...
436 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 ...
152 views

### Compiler stack overflow [closed]

I tried to compile a huge function. I used these options: ...
216 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 ...
136 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? ...
633 views

### What is my problem with MeshFunction?

I want plot the max value in a sine plot. We can use the following code ...
310 views

### Citation of the algorithms used in FindGraphCommunities

For my research work I need to put a comparison of different community detection algorithms. Instead of implementing all those algorithms once again, I would like to use the methods already provided ...
100 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 ...
1k views

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

So I have recently upgraded to a Windows ultrabook with a high resolution display. All my software seems to cope just fine with the high resolution, except for Mathematica 10. Mathematica seems to ...
334 views

### Selectively updating individual graphics in a dynamic, multiple-plot Show

Suppose Show contains multiple graphics objects that differ markedly in the amount of computation needed for their display. Hence, when dynamically updating only ...
54 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 ...
159 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 ...
80 views

### Listable compiled functions used in NMinimize [duplicate]

This is an example from MMA: cListable = Compile[{x}, (x-1)^2, RuntimeAttributes -> {Listable}] In case of single entry: ...
401 views

### Exporting a compiled function for later use

I wish to export compiled functions for later use. This means that I do not want the compiled function to be recompiled every time I reload it. It also means that if my compiled function was for ...
277 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 ...
573 views

### Find patterns in a list

again, I have a list like this: ...
138 views

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: ...
131 views

### Proper EdgeForm setting so boundary appears entirely within shape

I have two neighboring (complicated) polygons that I want to be displayed with thick boundaries, however the two shapes border one another, and as EdgeForm places the line centered upon the polygon's ...
203 views

### FindFit with parameters which are simultaneously in initial conditions

I have RLC circuit. I would like to find R and L by using FindFit, but L is in initial condition and I have problem with it. Could you help me ? ...
137 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 ...
683 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: ...
152 views

### Bandpassing EEG's using Mathematica's Bandpass Function

Let's say we have an EEG signal approximated using a fractional Brownian motion: ...
129 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?
320 views

### Table with dynamic iterator

I would like to make a Table whose iterator has a dynamically updated endpoint, i.e. Table[i,{i,1,Dynamic[n]}] Is this possible? Here is the context: ...
122 views

### How to limit number of user-defined messages issued per evaluation

I have written code such that if it runs into a particular function, a warning message is issued. However, it is common for the program to call this function several times in a single evaluation, but ...
99 views

### Use Style on list elements

I have a list like this: list = {0, 0, 0, 1, 1, 1} I want to color all the 0's in red, but I dont want to count through all the elements, like in my solutions, ...
69 views

### How to pick out terms in a linear equation with a positive coefficient?

Basically I have a really large output which looks like a long linear equation $AAA-BAA-CAA+DAA+...-ZZZ$ And I only am concerned about those terms that have a positive coefficient (i.e. a plus in ...
390 views

### When must I use the Return function?

In a comment to my answer to this question, QuantumDot asks, "Where can I find more information on when I must use the 'Return' function?". I found this too deep a question to be answered by leaving a ...
118 views

### What is the order of execution of Animate?

I used to think the execution order of Animate is the same as For until I find: ...
374 views

### How to combine Plot and GeoGraphics?

I want to combine this map as "background" of this combined plot. How can I do it? The documentation doesn't show any similar demonstration. ...
471 views

### Change appearance of ConvexHullMesh

I'm struggling to understand the behaviour of ConvexHullMesh (or rather the non-behaviour). I have a polynom p ...
394 views

### Adding a thick curve to a regionplot

Suppose we have the following simple RegionPlot: ...
121 views

428 views

### What is the correct way to use specific rule for specific pattern match when parsing an expression?

update: Thanks for the answers below. But I noticed they do not handle the following special cases: lis=1 and lis=z , ...
197 views

### Error when using EquationTrekker

I just got to know EquationTrakker because I need to do phase graphs for my classes. When I load it ...