回答済み
Obtain 3D shape cross section
Sorting model vertices by z-position is not a practical solution. There is no reason to assume that model vertices are anywhere...

7ヶ月 前 | 0

回答済み
How to project a line on a surface?
This isn't quite the same, but it's close enough to be refined if the goals required it. We are given a triangulated surface in...

7ヶ月 前 | 0

回答済み
Cylindrical ring of implicit surfaces
I think part of the unevenness is because you're using the colon operator to set up your meshes. When you do that, you need to ...

7ヶ月 前 | 0

回答済み
How to calculate the coordinates of the overlaped points over a polygon?
Plot the data and look at it. The data points don't appear to be anywhere near the polygons. % the data load trialdataofcoord...

7ヶ月 前 | 0

回答済み
how do I convert my patch function into a surface function
This is the same question: https://www.mathworks.com/matlabcentral/answers/1957-trisurf-to-surf https://www.mathworks.com/matl...

7ヶ月 前 | 0

回答済み
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...

7ヶ月 前 | 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...

7ヶ月 前 | 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...

7ヶ月 前 | 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'...

7ヶ月 前 | 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...

8ヶ月 前 | 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...

8ヶ月 前 | 0

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

8ヶ月 前 | 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...

8ヶ月 前 | 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...

8ヶ月 前 | 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 ...

8ヶ月 前 | 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...

8ヶ月 前 | 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...

8ヶ月 前 | 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...

8ヶ月 前 | 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...

8ヶ月 前 | 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...

8ヶ月 前 | 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...

8ヶ月 前 | 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...

8ヶ月 前 | 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...

8ヶ月 前 | 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...

8ヶ月 前 | 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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...

8ヶ月 前 | 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...

8ヶ月 前 | 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...

8ヶ月 前 | 0

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

8ヶ月 前 | 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...

8ヶ月 前 | 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...

9ヶ月 前 | 0

さらに読み込む