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

5 months ago | 0

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

5 months ago | 0

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

5 months ago | 0

Answered
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 ago | 1

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 1

Answered
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 ago | 2

Answered
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 ago | 1

| accepted

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

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

7 months ago | 0

Submitted


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 ago | 1 download |

0.0 / 5
Thumbnail

Answered
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 ago | 0

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

8 months ago | 0

Load more