
DGM
Followers: 12 Following: 0
Hi, I'm nobody. I don't belong here, but I have nothing better to do. Matlab used to be part of my work. Now it's part of my hobbies. That's pretty sad, really.
Feeds
已提交
Generate synthetic test images of resistors
A tool to generate synthetic images of resistors. Depending on how cruel you are, you may find this useful for creating student...
6 days 前 | 2 次下载 |

已回答
finding longest length
The written description doesn't really describe what the example describes. The example returns the last true element from only...
finding longest length
The written description doesn't really describe what the example describes. The example returns the last true element from only...
8 days 前 | 0
已回答
How to adjust the color bar in an image histogram?
If we are to answer the question directly: % you have an RGB image inpict = imread('peppers.png'); % imhist() cannot plot a...
How to adjust the color bar in an image histogram?
If we are to answer the question directly: % you have an RGB image inpict = imread('peppers.png'); % imhist() cannot plot a...
11 days 前 | 0
已回答
how to represent the purple color by a string value
See also: https://www.mathworks.com/matlabcentral/fileexchange/48155-convert-between-rgb-and-color-names https://www.tutorialr...
how to represent the purple color by a string value
See also: https://www.mathworks.com/matlabcentral/fileexchange/48155-convert-between-rgb-and-color-names https://www.tutorialr...
13 days 前 | 0
已回答
slicing 3D stl file to 2D series of image
If the goal is to produce raster images as output, and your slices are uniformly-distributed, then I suppose that one way would ...
slicing 3D stl file to 2D series of image
If the goal is to produce raster images as output, and your slices are uniformly-distributed, then I suppose that one way would ...
14 days 前 | 0
已回答
Create triangular mesh
In order to fill the hole, you need three vertices and you need them in the correct direction. Your edge segments aren't in a c...
Create triangular mesh
In order to fill the hole, you need three vertices and you need them in the correct direction. Your edge segments aren't in a c...
14 days 前 | 0
已回答
How to trim the non-manifold triangle off the stl file?
I'd agree with Bruno on this. Especially if it's just a small fix on a single file, it's easier and quicker to just throw it in...
How to trim the non-manifold triangle off the stl file?
I'd agree with Bruno on this. Especially if it's just a small fix on a single file, it's easier and quicker to just throw it in...
14 days 前 | 0
已回答
How to export 3D sphere at stl format
If you have gridded xyz data which you can feed to surf(), you can use surf2stl(). https://www.mathworks.com/matlabcentral/file...
How to export 3D sphere at stl format
If you have gridded xyz data which you can feed to surf(), you can use surf2stl(). https://www.mathworks.com/matlabcentral/file...
14 days 前 | 0
已回答
Constrain a Delaunay Triangulations With a Surface?
The documentation for delaunayTriangulation() indicates that constrained triangulation is only supported for 2D inputs. If the ...
Constrain a Delaunay Triangulations With a Surface?
The documentation for delaunayTriangulation() indicates that constrained triangulation is only supported for 2D inputs. If the ...
14 days 前 | 0
已回答
colored elevation map from STL file
A simple example unzip pringle_top.stl.zip T = stlread('pringle_top.stl'); trisurf(T); shading flat; view(10,33) axis equ...
colored elevation map from STL file
A simple example unzip pringle_top.stl.zip T = stlread('pringle_top.stl'); trisurf(T); shading flat; view(10,33) axis equ...
14 days 前 | 0
已回答
Can I get an .stl from a spreadsheet?
Surf2stl() expects gridded data unambiguously defining a surface. All you have is a list of scattered points. The way the data...
Can I get an .stl from a spreadsheet?
Surf2stl() expects gridded data unambiguously defining a surface. All you have is a list of scattered points. The way the data...
14 days 前 | 0
已回答
How can i plot this pic by matlab ??
It looks like an upside-down representation of HSV with some random unknown extra line. I'm going to ignore it, since it looks ...
How can i plot this pic by matlab ??
It looks like an upside-down representation of HSV with some random unknown extra line. I'm going to ignore it, since it looks ...
16 days 前 | 0
已回答
Generating voxels for stl files
See also: https://www.mathworks.com/matlabcentral/answers/217754-stl-to-matlab-coordinates-conversion
Generating voxels for stl files
See also: https://www.mathworks.com/matlabcentral/answers/217754-stl-to-matlab-coordinates-conversion
17 days 前 | 0
已回答
Cross sections of 3D surface (stl)
See also: https://www.mathworks.com/matlabcentral/answers/2175386-surface-area-at-given-hight-of-an-stl-file
Cross sections of 3D surface (stl)
See also: https://www.mathworks.com/matlabcentral/answers/2175386-surface-area-at-given-hight-of-an-stl-file
17 days 前 | 0
已回答
Extract information from .stl file
For example: unzip sphere_20.stl.zip % a sphere with a radius of 15 T = stlread('sphere_20.stl'); % get the bounding box...
Extract information from .stl file
For example: unzip sphere_20.stl.zip % a sphere with a radius of 15 T = stlread('sphere_20.stl'); % get the bounding box...
17 days 前 | 0
已回答
3d Model view
Since this was already in Meshlab, Filters Menu -> Normals Curvatures and Orientation ->Reorient all faces coherently. If you h...
3d Model view
Since this was already in Meshlab, Filters Menu -> Normals Curvatures and Orientation ->Reorient all faces coherently. If you h...
17 days 前 | 0
已回答
why my 3D image is not extruded in 3D software?
The object height is clearly unit-scale. It's never changed. c = im2double(bw); % it's unit-scale. d = imgaussfilt3(c,4); %...
why my 3D image is not extruded in 3D software?
The object height is clearly unit-scale. It's never changed. c = im2double(bw); % it's unit-scale. d = imgaussfilt3(c,4); %...
17 days 前 | 0
已回答
how to use stlwrite function options
This obviously refers to FEX #20922. Assuming that the data is gridded, such as could be given to surf(), then: [x y z] = sphe...
how to use stlwrite function options
This obviously refers to FEX #20922. Assuming that the data is gridded, such as could be given to surf(), then: [x y z] = sphe...
17 days 前 | 0
已回答
What we need to be doing is ignore subtraction of slopes of A.stl, which are too steep...
If I'm gonna guess, I might as well invest in it. unzip saddles.zip % these two files have directly correlated vertex lists ...
What we need to be doing is ignore subtraction of slopes of A.stl, which are too steep...
If I'm gonna guess, I might as well invest in it. unzip saddles.zip % these two files have directly correlated vertex lists ...
17 days 前 | 0
已回答
Determine the maximum height and maximum width of the cross-sectional section from the stl file
Obtain the sectional geometry: https://www.mathworks.com/matlabcentral/answers/2175386-surface-area-at-given-hight-of-an-stl-fi...
Determine the maximum height and maximum width of the cross-sectional section from the stl file
Obtain the sectional geometry: https://www.mathworks.com/matlabcentral/answers/2175386-surface-area-at-given-hight-of-an-stl-fi...
17 days 前 | 0
已回答
converting a .stl file of 3D polyhedron into a .mat file
If the goal is to convert the object into a volumetric image, then: https://www.mathworks.com/matlabcentral/answers/217754-stl-...
converting a .stl file of 3D polyhedron into a .mat file
If the goal is to convert the object into a volumetric image, then: https://www.mathworks.com/matlabcentral/answers/217754-stl-...
18 days 前 | 0
已回答
How to read 3D mesh STL file
If your goal is to create a DiscreteGeometry object (for the PDE toolbox), then importGeometry() is what you'd use, but otherwis...
How to read 3D mesh STL file
If your goal is to create a DiscreteGeometry object (for the PDE toolbox), then importGeometry() is what you'd use, but otherwis...
18 days 前 | 0
已回答
Efficient algorithm for plotting edges detect in a triangular mesh
If you are reading your data from an STL and can represent it as a triangulation object, then this can be simplified tremendousl...
Efficient algorithm for plotting edges detect in a triangular mesh
If you are reading your data from an STL and can represent it as a triangulation object, then this can be simplified tremendousl...
18 days 前 | 0
已回答
How to get the angles across a 3D surface?
I think this is what was meant. unzip pringle_top.stl.zip % for the forum % an STL file T = stlread('pringle_top.stl'); ...
How to get the angles across a 3D surface?
I think this is what was meant. unzip pringle_top.stl.zip % for the forum % an STL file T = stlread('pringle_top.stl'); ...
18 days 前 | 0
已回答
How to obtain normals from faces?
The easy way would be to use the triangulation class, or since we're pre-R2013a, use TriRep(). The following example was tested...
How to obtain normals from faces?
The easy way would be to use the triangulation class, or since we're pre-R2013a, use TriRep(). The following example was tested...
18 days 前 | 0
已回答
CAD model cutting slices
Depending on what is meant by "cut a model" means: Find the 2D sectional geometry at a given altitude: https://www.mathworks.c...
CAD model cutting slices
Depending on what is meant by "cut a model" means: Find the 2D sectional geometry at a given altitude: https://www.mathworks.c...
18 days 前 | 0
已回答
How does stlread work?
It looks like you edited the variable names in the function, and then you called the function with no arguments. Don't mess wit...
How does stlread work?
It looks like you edited the variable names in the function, and then you called the function with no arguments. Don't mess wit...
18 days 前 | 0
已回答
stlread returns different numbers of vertices/points
As far as I know (and I might be wrong), there weren't STL reader/writer tools in the base toolbox until R2018b. At least that'...
stlread returns different numbers of vertices/points
As far as I know (and I might be wrong), there weren't STL reader/writer tools in the base toolbox until R2018b. At least that'...
18 days 前 | 0
已回答
Over 1000 faces when importing stl file to matlab
I thought about this one, and maybe there's an answer. Maybe we're not talking about "faces" as in getting individual triangles...
Over 1000 faces when importing stl file to matlab
I thought about this one, and maybe there's an answer. Maybe we're not talking about "faces" as in getting individual triangles...
18 days 前 | 0
已回答
How can I produce a stl file from a 2d image?
This turned out to be more difficult than I expected. There's probably a better way, but eh. With the exception of the 'merge'...
How can I produce a stl file from a 2d image?
This turned out to be more difficult than I expected. There's probably a better way, but eh. With the exception of the 'merge'...
18 days 前 | 0