How fast is my fidget spinner spinning? A sound experiment!
Sub-packages and auto-completion
Why does Cases not find a match to the pattern using ^n_. when n is a number other than 1?
How to make an Epilog moveable with drag and drop
Map every second element of a list
Table of precedence values for all System` symbols
How to make a custom DynamicImage which support mouse wheel and show pixel value?
How fast is my fidget spinner spinning? A sound experiment! I would like to measure how fast my 6-bladed fidget spinner spins. To do so, after giving it a hard spin, I gently touch the spinner with a wooden stirring stick to create a buzzing sound which ...
- asked by Miladiouss (17 votes), answered by Miladiouss (10 votes)
Sub-packages and auto-completion https://mathematica.stackexchange.com/questions/162386/sub-packages-and-auto-completion
Cross-posted on Wolfram Community I have a Mathematica application that consists of two sub-packages, corresponding to the contexts foo` (foo.m) and foo`b` (b.m). Some of the definitions in foo.m ...
- asked by Szabolcs (11 votes), answered by b3m2a1 (2 votes)
Why does Cases not find a match to the pattern using ^n_. when n is a number other than 1?
I am not good in patterns in Mathematica, and so can't figure what I am doing wrong. This example works, when the exponent is 1 ClearAll[y,x,n] Cases[{( y[x]/x)^1}, (y[x]/x )^(n_.) :> n] But ...
- asked by Nasser (10 votes), answered by m_goldberg (9 votes)
How to make an Epilog moveable with drag and drop I would like to make an Epilog moveable. For example, the following code generates a Manipulate with a framed pane containing some notes. I would like the user to be able to move those notes anywhere ...
- asked by Michael McCain (8 votes), answered by Mike Honeychurch (9 votes)
Map every second element of a list https://mathematica.stackexchange.com/questions/162334/map-every-second-element-of-a-list
I've loaded a CSV: Colors = Import[ "d:\\bitbucket\\diversity\\data\\nlcd\\nlcd-colors.csv", "CSV"] {{0., " 0.00000000000 0.00000000000 0.00000000000"}, {11., " 0.27843137255 0.41960784314 ...
- asked by pnz (8 votes), answered by Kuba (13 votes)
Table of precedence values for all System` symbols Has anyone created a table listing the precedences for all symbols? Also, it would be nice if there were a function that for a given precedence value or interval, returned all the symbols with that ...
- asked by Carl Woll (7 votes), answered by Carl Woll (8 votes)
How to make a custom DynamicImage which support mouse wheel and show pixel value?
The built-in DynamicImage just click the plus sign or minus sign to rescale the image. I have to say click is a not very good operation. Could we make the custom DynamicImage which support the mouse ...
- asked by yode (7 votes), answered by M.R. (3 votes)