Rahul
Reputation
13,035
Top tag
Next privilege 15,000 Rep.
Protect questions
 Nov 18 awarded Enlightened Nov 18 awarded Nice Answer Nov 18 comment How can I use Mathematica to numerically compute a Wigner spectrogram of an optical pulse? If you want a spectrogram, you could also consider ContinuousWaveletTransform. Nov 18 comment Control the color of contours Have you considered plotting a ContourPlot in log scale, that is, plotting the log of your data? Nov 18 answered How to make a blob in 3D? Nov 14 comment Superimposing plots Oh, so by "plots" you meant "functions"? f[x_] is not a plot, it is a function. A plot is a picture that depicts the function. Nov 14 comment How to calculate a list without loop? {as, bs} = Transpose[pairs]; result = Transpose[{as, Accumulate[bs]}] Nov 14 comment Minimal perimeter of all possible polygons FindShortestTour Nov 13 comment Find parameters that minimize the distance between two curves in terms of the infinite norm Belisarius is correct, the optimal quadratic fit is the constant zero function, whose infinity-norm distance from $v(x)$ is 1. For a function $f(x)$ to have distance less than that, it would have to be negative at $x=0$, positive at $x=1/2$, negative at $x=\sqrt3/2$, and positive at $x=1$ (because those are the extrema of $v(x)$ on $[0,1]$: i.stack.imgur.com/zLP5g.png). This is impossible if $f(x)$ is quadratic. Nov 12 comment Why does Mathematica give this ArcSin[2] result? Wow, what an answer! +++1 Nov 5 comment Heron's Method of Square Root Calculation Issue with Previous Suggestion Did you know that $27.5265 \ne 27.5625$? Nov 4 comment How could I solve this Reaction-Diffusion PDE using mathematica? Take a look at NDSolve and NeumannValue. Nov 4 answered ListDensityPlot in Polar coordinates with a higher efficiency Nov 4 comment Filter two lists of 2D coordinates such that only those that have a nearby neighbour in the other list are collected @Karsten7.: Won't that produce duplicate copies of any red point is within 10 units of two green points (and vice versa)? Nov 2 awarded Good Question Nov 2 awarded Nice Answer Nov 2 comment How to plot several small circles in a bigger circle You can get the code by clicking "Download Author Code" on the right. But it doesn't do any constrained minimization, it just gets the circle positions from a big hard-coded list that looks like circlelist = N[1/10^16 {{{0, 0}}, {{10000000000000000, 0}, {-10000000000000000, 0}}, {{0, 11547005383792515}, {-10000000000000000, -5773502691896258}, {10000000000000000, -5773502691896258}}, ...} Oct 31 comment Coloring spiral structures I wonder if some of the answers to this previous question may be useful. Oct 30 comment How to plot a figure according to two equations? You can think of the two equations as surfaces $f(x,y)=a$ and $g(x,y)-z=0$ in $(x,y,z)$-space and then use the answer to this question: mathematica.stackexchange.com/q/5968/484 Oct 30 revised A method to draw a surface around a set of regularly spaced points added 341 characters in body