# All Questions

129 views

### How to pick the maximum of a list? Improving efficiency

I need to find the element of a list, with the highest weight. Example: ...
196 views

### Visually differentiating arguments of If

Is there a convention for writing If expressions to visually differentiate between the different arguments? For example: ...
61 views

### List Manipulation and Removing Cases

I've imported a large data set, manually removing headers in the .rtf file where it originates. However, when I import this data, I receive this output: ...
54 views

### Position of elements in a list satisfying some criteria - Understanding the syntax [closed]

From this post: if one wants to know the position of the elements of a list that satisfy some criteria, (s)he can do something like that: ...
67 views

### Integrate with Subscript: does this crash your kernel too?

I encountered some strange behaviour running v10.0.1 on a Mac Pro, while working with Integrate and Subscript. Starting from a ...
517 views

### Plotting a contour line in 2d on a 3d surface

I have a list of data which I can plot as a surface with ListPlot3D. Moreover I have a set of other surfaces and I have plotted the projection of their intersection ...
132 views

### Why does this happen with FullSimplify? [duplicate]

It is stated at the Wolfram Documentation Center (FullSimplify/Possible Issues) that: Why and when this could happen? How to avoid it? Any patterns? Edit: As pointed out in the comments, this ...
148 views

### Colorizing thresholded images with different colors

I am switching from IDL (from exelis) to Mathematica and want to do the following: thersholding a image (all values above a certain threshold are set 1, the rest is 0 ) colorizing the thresholded ...
108 views

### Decomposition of a semialgebraic set into connected components

Is there any built-in function for doing decomposition of a semialgebraic set into connected components? The only way I now can think of is to use ...
153 views

### Seeking simple function in interval

I am a bit rusty, and struggling to solve this problem. Looking for a simple, well behaved parametric function f[t], from [0,1] to [0,1] such that: f[0] = f0; f[1] = f1; f'[1] = ff1; where -1<= ...
90 views

### Using grids in manipulate

I have a few questions. Here is the code so far: ...
129 views

### Why this region is bad?

I want to draw a region but the result of Mathematica is not good. Why? ...
175 views

### How to enforce mathematica to analytically evaluate roots?

I am interested in simplifying expressions involving HeavisideTheta. A simple example could be: HeavisideTheta[1 + x - x^2 + x^3] The best I can achieve is with ...
25 views

### Filling not working when function in SetDelay [duplicate]

I want to use Plot with a SetDelay. Then Filling does not work. In the following, the first works, the second does not. I would like to get the second to work: ...
181 views

### Trouble with Position[]

I am in trouble with Position, Although my example works as expected it throws a warning. Position[{{a,b},{a,c},{a,b}}, _?(#[[2]]==b&), {1}] During ...
159 views

### Difference between Evaluation>>Quit Kernel and Quit[]

What is the difference between Evaluation >> QuitKernel and Quit[]? Both seem to quit the kernel (and clearing all ...
45 views

### How to solve ReplaceAll problem inside Manipulate

I'm running into some trouble when I try and use Manipulate (code included below). Instead of letting me manipulate the plot, I get an empty plot and this: ReplaceAll::reps: ...
43 views

### Simulating from Custom Function

I am going through an old research paper and I am stuck in one area of the coding. I'll spare you with most of the details but the function I want to simulate from is a complicated multivariate beta ...
722 views

### How to find volume of an egg [closed]

I am a first time user of mathematica. I've been trying to figure out how to find the volume of a) f(x)=(ax^3 + bx^2 + cx + d)sqrt(1-x^2). I have been scouring the internet for a solution on how to ...
81 views

### how to display the variables in the function while debuggin? [closed]

I have the code : ...
137 views

### Best way to create symmetric matrices with block structure and additional symmetries of the submatrices

Update: you can now skip the "My attempted solution" part and jump to "My first attempt for improvement" in the end of the question. My question is related to Best way to create symmetric matrices . ...
88 views

### How should i correct this error?

Sn = Sum[1/((k + 1)^2), {k, 1, n}] SSn = Sum[Sn*Fibonacci[n], {n, 0, m}] Limit[(1/(Fibonacci[m + 2] - 1))*SSn, m -> Infinity] Limit::ztest1: Unable to ...
324 views

### How to code around known MMa special-case failures?

Fourier Analysis and Signal Processing often require these integrals on functions f[x] that won't be known in advance. ...
43 views

### Question on Function in Replacement Operation

I am trying to create a replacement function which, depending on the input, gives an additional minus. In my example I have an undefined function a with two ...
154 views

### ImportString JSON possible bug

My problem is when I catch up some json output of whatever method and process it with ImportString[%, "JSON"], The first time ...
53 views

### How should I correct in the sintaxis of URLExecute

I usually perform a call to a APi with the next line: URLFetch["https://api.twitter.com/1.1/application/rate_limit_status.\ json?resources=search", "Method" -> "GET", ...
128 views

59 views

### Lists for built-in functions that can work without brackets

I just noticed that Exit and Quit can work without brackets i.e. a single Exit or ...
126 views

### LowpassFilter in v10: unit issues?

Bug introduced in 10.0.0 and persisting through 10.0.2 or later I tried this with a clean start and no documents loaded. Now, evaluating the following on the documentation page for ...
90 views

### NIntegrate and Interval regions

NIntegrate does not seem to like Intervals as regions. Consider the following example function defined for a parameter "a" ...
134 views

### Mathematica notebook is corrupt

Well great, I had some work done (though it wasn't much, it was just laid out nicely) in a cdf file. My computer decided to shut down on my randomly while I was working on it (some kind of error). I ...
84 views

### Extract ROI from image by hand into Matrix Form

I have a 3D Image (each pixel contains information for various wavelengths). I draw the image for one wavelength by using ...