Reputation
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
1 25 68
Impact
~85k people reached

2d
comment Redefining a built-in operator
If you follow @ciao's suggestion, you can also use it in infix notation via a ~p~ b.
2d
comment choosing the number of points in FindFit function
I think you are confused between polynomial interpolation and least-squares fitting. They are not the same thing.
Jul
29
awarded  Nice Question
Jul
28
comment Gauss Fit to List of 2D Points
I didn't know about EstimatedDistribution, thanks for that! By the way, given that this is a probability distribution, the scaling factor ought to just be the total number of observations times the spacing between bins, i.e. c = 0.1 Total@data[[All,2]]. That gives $264.9$ compared to $266.675$ from your method; I don't have a good explanation for the difference.
Jul
27
comment Gauss Fit to List of 2D Points
@infinitezero: By the way, that is known as the Rayleigh distribution.
Jul
27
comment How to fit a 3-parameter logistic model by R and GLM
I'm voting to close this question as off-topic because it's about R, not Mathematica.
Jul
25
revised InverseFunction of [E, 1, 1][c/Sqrt[K[1]]] isn't it just Log[c/Sqrt[K[1]]?
added 24 characters in body
Jul
24
comment Fitting local regression through data
Sorry, I don't have time right now to do anything more than post comments...
Jul
23
comment How do I remove grid from this photo?
Well, you have all their code; why don't you try it out yourself on the high-resolution image?
Jul
23
comment Fitting local regression through data
scaledData is just the input data for doing local regression. It's a list of {x, y, z} points. You use it via fit = loess[nearest, k] which performs local regression using k nearest neighbours, then fit[x, y] gives the interpolated value of z at the location {x, y}.
Jul
23
comment Fitting local regression through data
I wrote an implementation of LOESS in Mathematica here.
Jul
22
comment How do I remove grid from this photo?
I think the reason the grid is still left is because RidgeFilter looks for thin bright ridges, so in the regions where the grid is darker than the background, RidgeFilter is selecting parts not in the grid to be part of the mask. For illustration, take a look at ImageMultiply[img, mask] and zoom in on the white window frame behind the cat. Not sure what would be a better way of doing it though.
Jul
16
answered How can you get the area of a region from an image?
Jul
16
comment How can you get the area of a region from an image?
@Mr.Wizard: Because I wasn't sure whether I was answering the intended question. Going by the title it's conceivable the OP wants to count the area of the shaded region in the actual raster image rather than in the geometric shape it depicts. Fernando: Can you clarify? Also, what do you mean by "modify something out imaginary parts"?
Jul
16
comment How can you get the area of a region from an image?
Area[RegionIntersection[Disk[{l, 0}, l], Disk[{0, l}, l], Disk[{l/2, l/2}, l/2]]]
Jul
14
comment Surface Area of a Region inside a Region
In principle, you could just do Area[RegionIntersection[RegionBoundary[myRegion], container]], but I'm not near a Mathematica instance right now to try it out and I recall it having trouble with intersections of regions of different dimensionalities.
Jul
13
comment How to make an animation of circle “decaying” into two smaller circles using Manipulate?
Graphics[{If[t < t0, Circle[x[t], r], {Circle[x1[t], r1], Circle[x2[t], r2]}]}, ...]
Jul
13
comment How to plot any 7 point shape in 2D i.e. star
Have you tried Polygon?
Jul
12
comment How to reconstruct a surface given points {x, y, z} and the surface normals {nx, ny, nz} at these points
Try ListPlot3D with the VertexNormals option.
Jul
10
answered Minkowski sum and product of 2D-regions