# All Questions

15 views

### How to create a Disk with smoothly changing coloring?

I want to have a disk. But this disk shouldn't have a fixed color; instead, I'd like it's color to fade smoothly. Until now, I came up with two ideas how to achieve this. Idea #1: ...
21 views

### How to sample only odd numbers in the domain of a table for list plot

The following code samples $k$ points around a circle at integer values starting from $0$: ...
27 views

### How to Fold (FoldList) this in a more compact (efficient) way?

Example code: x = Table[something[i], {i, 5}] Table[Fold[f1[#1, f2[#2, a], a] &, x[[i]], {c1, c2, c3}], {i, Length[x]}] This above is just an example. I ...
45 views

### Incorrect use of Scaled causes crash

Bug introduced in 8.0 and persisting through 10.0.2 or later While playing with Scaled, I made a syntax error which caused a crash instead of an error message ...
25 views

### Sum of derivatives [on hold]

I'm trying to write the expression: $$\sum_{i=1}^3 g_{ii} \partial_i \partial_i f,$$ where $f$ is a function of variables $\{x_1, x_2, x_3\}$ and $g$ is a 3x3 matrix. My expression is: ...