已回答
trisurf to surf
The surf() tool works on gridded data. There's no reason to assume that triangulated F,V data is constrained to a grid. Is the...

4 months 前 | 0

已回答
The points read with stlread are different from when the same points are saved with stlwrite and read again.
When writing to an STL from vertex data generated in the workspace, you're losing precision. Your vertex data in memory is repr...

5 months 前 | 1

已回答
Filling with colour the space inside object
I didn't notice that there were multiple questions posted on this. Here's my response to a different thread about the same proj...

5 months 前 | 0

已回答
getting this error with stlwrite
I think @Rami Ali Al-Khulaidi is about right in an oblique way. If you want the object geometry, you already have it. You don'...

5 months 前 | 0

已回答
Get vertices that create surface mesh from trisurf
It really sounds like this question isn't the question that's been asked. You don't need to get the vertices from trisurf(), be...

5 months 前 | 0

已回答
How can I create a 3D solid body from a surface plot (x y z data points) and export it (preferably as STL) to a CAD software?
Well, nobody caught this one. OP was likely working off of examples that used stlwrite() from FEX #20922, but since R2018b, MATL...

5 months 前 | 0

已回答
Triangle centroid
Another example for emphasis: unzip stepholecube.stl.zip % for the forum % so you have some triangles in 3D T = stlread('st...

5 months 前 | 0

已回答
How can I analyze stl files and then redraw them in matlab? I need to write some code
For context: https://www.mathworks.com/matlabcentral/answers/405855-how-do-i-redraw-a-picture-given-to-me-using-its-data-poin...

5 months 前 | 0

已回答
How do I redraw a picture given to me using its data points that I've found using the curve fitting app?
I don't think anyone needs this answer now, but I came here from a related question that was more interesting, and got caught by...

5 months 前 | 0

已回答
Changing from 2D plot to 3D plot and to STL file
Oof. I spent way too much time on trying to get the triangulation to work on this, especially considering that nobody needs it ...

5 months 前 | 0

已回答
how to turn .m into .stl if i have already a .m file
I'm pretty sure I see where this was going, so let's go there. There are three problems: We're creating way too much data. Yo...

5 months 前 | 0

已回答
How to Export MatLab (fsurf) into .stl file please? [surf2stl not working]
Let's start with a basic example: % an example hfs = fsurf(@(x,y) 5*besselj(1,hypot(x,y))); axis equal % reshape the fsurf d...

5 months 前 | 0

已回答
Is it possible to rotate a rectangle?
The rotate() function only applies to certain types of graphics objects, and rectangle() objects are not included. You can stil...

5 months 前 | 1

已回答
tiff file tags not saved
I think the main problem here is that you're not closing the file. There are also some annoyances you'll run into if you're try...

5 months 前 | 2

已回答
Unsharp Masking producing different results (imsharpen)
The error is largely due to order of operations and numeric class. You're working with a uint8 image. Tools like imfilter() wi...

5 months 前 | 1

| 已接受

已回答
Unsimultaneously-changing color semi-transparent surfaces
You're trying to create 2002 surface objects. It's not that they're timed wrong; it's just that you've nuked yourself with grap...

5 months 前 | 0

已回答
MATLAB to CAD file
See also: An example of saving a gyroid as a solid volume (using both isosurface() and isocaps()) https://www.mathworks.com/ma...

5 months 前 | 0

已回答
How to export a 3D surface (gyroid) as an stl file
See the full example here: https://www.mathworks.com/matlabcentral/answers/1732640-how-to-export-a-3d-surface-gyroid-into-an-st...

5 months 前 | 0

已回答
How to export a 3D surface (gyroid) into an STL file
FEX surf2stl() accepts gridded data, as would be used with surf(), but isosurface(), isocaps() produce FV data. This can be exp...

5 months 前 | 0

已回答
Writing a .stl file from a plot
The given code does a ton of things in duplicate. I'm going to start from scratch. % PARAMETERS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...

5 months 前 | 0

已回答
how can i apply otsu threshold on "A ‟ component of filtered LAB color space?
The unspoken part of the question here is the fact that A and B are zero-centered and the data distribution is typically asymmet...

5 months 前 | 0

已回答
How can i convert an Indexed Image To a Binary Image ?
The attached image is a JPG; as such, it is not an indexed image. So we now have two interpretations of the question: "The ima...

5 months 前 | 0

已回答
HOW CAN I CONVERT HSI TO BINARY IMAGE WITH THRESHOLDING
See: https://www.mathworks.com/matlabcentral/answers/397100-hsi-thresholding-mat-lab-code

5 months 前 | 0

已回答
Conversion to grayscale image from binary image
If your binary image is a logical image, as returned from im2bw() or imbinarize(), then it can be converted to a numeric class u...

5 months 前 | 0

已回答
Programmatically create histograms like Color Thresholder
In this answer I give a couple ways to create colorcoded histograms for multichannel images the long way. In the comments, I de...

6 months 前 | 0

已提交


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...

7 months 前 | 1 次下载 |

0.0 / 5
Thumbnail

已回答
finding longest length
The written description doesn't really describe what the example describes. The example returns the last true element from only...

7 months 前 | 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...

7 months 前 | 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...

7 months 前 | 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 ...

7 months 前 | 0

加载更多