# Questions tagged [discretization]

The tag has no usage guidance.

54 questions
Filter by
Sorted by
Tagged with
233 views

### Coarse mesh of a sphere

I try to mesh a sphere (examplary) in different qualities, using MaxCellMeasure: ...
• 37.9k
1 vote
116 views

### Compute area enclosed in a curve on a surface

Let's consider a 2D smooth surface embedded in 3D shown in the figure below. The corresponding metric tensor in Cartesian coordinates is h = \biggr(\matrix{1 + \frac{A^2\pi^2}{4} \sin^...
• 81
63 views

### Are there commands other than ListPlot3D for plotting 3D points, where one coordinate ls either 0 or 1, and the other two lie in [0,1]?

I have a set of 3D points, the first coordinate of which, say, is confined to the values 0 and 1, while the other two can assume values within the unit interval [0,1]. ListPlot3D shows a continuous ...
• 2,245
200 views

### Calculate surface normals at the boundary of a Graphics3D object

How do I go about calculating and plotting the surface normals at the boundary of a Graphics3D object? For example, consider this custom-defined ...
• 473
191 views

### MeshRefinementFunction on 2D surfaces embedded in 3D

DiscretizeRegion doesn't seem to run the supplied MeshRefinementFunction when meshing a 2D surface in 3D. For example: ...
• 433
1 vote
52 views

• 319
157 views

### Issue with discretizing two arbitrary regions

Description This is in relation to this question. I am trying to derive this conical figure yet I seem to get an error with this code. I would be happy if someone could point out how to solve this ...
• 5,719
290 views

### Beginner Simulating Gaussian Process with Correlation

I have no little experience with algorithms. I would like to learn how to simulate a real valued Gaussian process with correlation (e.g., exponentially correlated $\Gamma(t)=e^{-\vert t \vert/2}).$ ...
• 101
276 views

### Discretize chart in a given interval

Using the following code: plot = Plot[Sin[x], {x, -Pi, Pi}]; points = Cases[plot // Normal, Line[{x__}] -> x, Infinity]; ListPlot[points] I get: Question: Is ...
• 4,281
1 vote
107 views

### Unexpected behavior of DiscretizeGraphics

As this code,we can visualize the "Test text" Graphics[Text[Style["Test text",20],{0,0}],Axes->True,AxesOrigin->{0,0}] I try to use <...
• 24.5k
472 views

### How to apply DiscretizeGraphics to a tube? [duplicate]

I want to export the numerical solution of the Chan-Lee oscillator as an STL file so that I could print it out. But when I expanded the curve into a tube, ...
• 1,801
431 views

### How to generate grid points on boundary of $[-1,1]^d$ for arbitrary dimension $d$ and specified resolution?

This must be a trivial thing, but I was not able to find a function for it in Mathematica. How do you efficiently create a grid with constant but specific resolution $r$ in all directions on the ...
• 5,283
1k views

### Finding NonlinearModelFit of multiple data sets with the same parameters and in two dimensions

I have multiple sets of data (between 3 and 6 depending on the cases) dependent of space, time, and some parameters. The data are the response of a harmonic oscillator under a non-trigonometrical ...
184 views

### DiscretizeRegion fails for a triangular region

Bug introduced in 10.2.0 or earlier and fixed in 11.0.0 I define an implicit region like ...
• 409