Statistics
RANK
201
of 260,657
REPUTATION
426
CONTRIBUTIONS
0 Questions
129 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
74
RANK
150 of 17,909
REPUTATION
7,892
AVERAGE RATING
4.60
CONTRIBUTIONS
16 Files
DOWNLOADS
120
ALL TIME DOWNLOADS
75699
CONTRIBUTIONS
578 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Find consecutive numbers below threshold using bwlabel
You could a hysteresis thresholding technique. First, threshold with a strict threshold, like your 0.5. Then, threshold with a s...
1 month ago | 0
| accepted
3D Plot shrinks one dimension when plotting Alphashape
The plot method for alphaShapes sets the data aspect ratio to [1 1 1]. When your code arrives at line 76, the data aspect ratio...
1 month ago | 0
Use Geographic Plots in tiledlayout without multiple axis
From the doc for nexttile: "nexttile creates an axes object and places it into the next empty tile of the tiled chart layout tha...
2 months ago | 0
| accepted
Is this another bug in imread(), or is this just a forum problem?
I can reproduce the problem in MATLAB Answers. The problem does not occur in MATLAB Online or in the desktop version. I'll let ...
3 months ago | 0
How to use "imregister" with "InitialTransformation"?
The value of InitialTransformation is supposed to be an affine3d object, not an imref3d object. See the doc description for the ...
3 months ago | 1
| accepted
WebREAD returns zeors when reading a GIF image
I got an array of zeros once using your code, but later I ran it again and got the expected image data. I quit MATLAB and launch...
4 months ago | 0
| accepted
imwarp function - bands during interpolation
First, let me run Arnaud's reproduction code and display the result so that everyone can see what we are talking about. Im1 = r...
4 months ago | 1
| accepted
Check for missing argument or incorrect argument data type in call to function 'head' - using Matlab R2020a
The function head is only defined for an input that is a table, a timetable, or a tall array. When trying to execute your code,...
4 months ago | 1
| accepted
Getting imaginary numbers for induction factors; I am getting imaginary number for my induction fact Aa and At but I am not using any sqrt to calculte. Thank you.
The acos function returns complex values if the inputs are outside the interval [-1,1]. Set a breakpoint on the line where you a...
4 months ago | 0
Filling one type of holes in a binary image
Based on your description of what you're trying to do, I ask the question: how are the semi-rectangular grains, which you want t...
5 months ago | 1
| accepted
How to remove extrapolated regions of a grid created with scatteredInterpolant?
You could try using an alpha shape to postprocess (mask) Z. Original code dx = 5; %grid step load('datapoints.mat'); F = s...
5 months ago | 1
| accepted
How to create a filling/shading between prediction bounds?
I can't completely run your code (s and Asiiimodel are missing), but I think that the black color in your patch result is from t...
5 months ago | 1
| accepted
FFT function is not functioning.
It seems that you may have tried to install MATLAB on a cloud drive (OneDrive). Or maybe you copied the application files into O...
5 months ago | 0
How do I transform this format 202007011030 (2020 07 01 10:30) into a readabel format?
I can imagine several ways to do this. Here is one. lines = readlines("Fehmarn_Wind_date.txt"); readlines was introduced in R2...
6 months ago | 0
ROI Trace boundaries result
I think some careful coordinate system tweaks will get you there. In many Image Processing Toolbox functions, pixels are treated...
6 months ago | 2
How is the 2D filter function used in this code?
For each element in A, filter2 essentially "slides" the filter F so that its center lines up with the element in A, and then it ...
6 months ago | 1
| accepted
Changing color of pixels around certain pixels
Suppose mask is a logical matrix that indicates which pixels satisfy your condition. (That seems to be the purpose of idx in you...
6 months ago | 2
| accepted
Colorbar range inconsistent in high aspect ratio images
Call axis image before you create the colorbar and set its tick labels. When you set tick labels manually, a mode is set so that...
6 months ago | 0
| accepted
Can a MATLAB function edit the input?
You'll need your class to subclass handle. See the documentation page "Implementing Linked Lists with Classes" for details.
11 months ago | 0
| accepted
Matlab working very slow on my m1 MacBook Pro
See this answer and follow it for updates related to this problem.
12 months ago | 2
Shouldn't bwconvhull() be idempotent?
Hi Matt, At a general level - and speaking from too much personal experience - expectations about geometrical operations such a...
1 year ago | 2
| accepted
Issue in plotting binary image boundaries with real axis values
The function bwboundaries returns boundary values in pixel coordinates. You'll need to scale those to world coordinates yourself...
1 year ago | 0
| accepted
How to change boundary width in Active Contour Method?
Call visboundaries with an output argument. That output argument will be an hggroup object containing two lines. You can then ma...
1 year ago | 0
| accepted
Published
Use imbinarize to Threshold Gray-Scale Images
Today, I want to convince you to use imbinarize instead of im2bw.Background: I recently saw some data suggesting that many...
1 year ago

Published
NaN Sightings
Some of us at MathWorks like to share our "NaN sightings." Here is an example to show what I mean. This is a screenshot of...
1 year ago

Published
How to Use a Custom Interpolation Kernel with imresize
Recently, I was talking with MathWorks writer Jessica Bernier about the reference page for the imresize function. Jessica...
1 year ago

Published
How to Run Blog Post Code in Your Browser
I have published more than 560 blog posts here since 2006, and I estimate that about 98% of them started out as MATLAB...
1 year ago

Published
Plotting a* and b* colors
Today's blog post comes from planning one topic, but then taking a sharp left turn and doing something else completely. I...
1 year ago

Having graycomatrix rescaling problem
Here is the doc for the NumLevels parameter: Number of gray levels, specified as an integer. For example, if NumLevels is 8, gr...
1 year ago | 0
| accepted
How to find the center position under the saturation spot signal
Try converting the image to binary using imbinarize and then using regionprops to compute the centroid. rgb = imread('image.bmp...
1 year ago | 0
| accepted