Answered
Why won't my code run even though it has no errors
You made the common beginner mistake of not having a failsafe in your while loop so you get an infinite loop because your exit c...

3 years ago | 0

| accepted

Answered
Remove noise from an audio file
It's the cocktail party problem. https://en.wikipedia.org/wiki/Cocktail_party_effect Use BSS or ICA. See references below: ...

3 years ago | 0

Answered
Image analysis: separate objects in a 3D model using erosion
Try strel then imerode or imopen on your BI2 array. It should be fairly straigthforward.

3 years ago | 0

Answered
Dicom image segmentation to detect objects with same pixel intensity neighbor
If the other tissue is "touching" the green surface, then it will be tough to distinguish them based on intensity and morphology...

3 years ago | 0

| accepted

Answered
Finding angle Between the bending of finger
Try bwskel. Be careful though because some algorithm that works fine for a computer graphics image may fail miserably for a rea...

3 years ago | 0

Answered
How do I get the brightest pixels from this image?
You should be able to use @bwskel to get the skeleton. Then use the skeleton as a mask to get the pixel values along the ridge....

3 years ago | 0

| accepted

Answered
How can I know which ditribution is appropriate to fit on the generated histogram? and, How can I do that?
I agree with @Star Strider and @the cyclist -- if you can't use the actual distribution and must use a formula, you should use o...

3 years ago | 0

Discussion


The new release is here!
(Sorry - it should be 2023b by now.)

3 years ago | 4

Answered
How to make a random circularly-symmetric gaussian distributed additive noise component with mean 0 and variance (sigma^2)/2?
Not exactly sure what you want, but how about this: g = fspecial("gaussian", 201, 40); % Create Gaussian intensity pattern. im...

3 years ago | 0

Answered
Interpreting the output of regionprops function
Try this: % Measure properties of all the individual blobs in the image. props = regionprops(mask, 'MajorAxisLength', 'MinorAx...

3 years ago | 0

| accepted

Answered
Where can I download the data in excel which is used in MATLAB for example patients.mat etc
On my computer it is here: C:\Program Files\MATLAB\R2023b\toolbox\matlab\demos\patients.mat

3 years ago | 0

Answered
For-loop finding the difference between 7 different arrays
You can't loop it since you chose to have separately named 1-D arrays so you can just do it in 7 lines: A(:,1) = t1(:,1)-tref(:...

3 years ago | 0

Answered
How to trace the minimum and maximum lines of the image of the moiré franges?
To see published algorithms on the topic, see 9.5.3 Optical Interferometry, Moire Patterns https://www.visionbib.com/bibliogra...

3 years ago | 0

Answered
Can I gray out the UIAxes?
To change just about anything you can think of on a graph see the attached demo.

3 years ago | 0

Answered
Matlab function gives 'ans=0' answer problem
Evidently you never took the training onramp course. John gave an excellent explanation. To learn other fundamental yet essent...

3 years ago | 0

Answered
Function definition are not supported in this context. Functions can only be created as local or nested functions in code files.(clarification and application?)
Try this as the first line to declare the function: function status = celldestiny2(A,i,j) To learn other fundamental concepts,...

3 years ago | 0

Answered
Surface roughness determined from a depth map.
Looks like youi're assuming that your brightness corresponds to depth. Assuming that's true there are several definitions of ro...

3 years ago | 1

| accepted

Answered
I lost my computer where my matlab R2019b was installed
See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_do_I_release_or_deactivate_a_MATLAB_license? Lots of other good stuff in t...

3 years ago | 0

Answered
Error Message: Undefined function 'BME3202M2F' for input arguments of type 'char'.
It works for me. Watch: gain1 = 1000; gain2 = 1000; % 9 uA [ AI0Centered9, AI1Centered9, time9 ] = BME3202M2F('exp2.1(9).cs...

3 years ago | 0

Answered
Removing Noise in Image
What do we know about the circular/elliptical shape? Is it always partially outside the image? Do the streaks always emanate f...

3 years ago | 0

Answered
Using different line style, colour, and legend
Looks like you know how to use MATLAB. About all I might offer is to use the 'Color' option in plot to specify specific colors....

3 years ago | 0

| accepted

Answered
Aline images using reference markers
help cpselect help imregister

3 years ago | 0

| accepted

Answered
matlab invalid expression error
Tons of errors. I got tired of fixing them all, but I got this far in your script. You can continue to fix them one at a time ...

3 years ago | 1

| accepted

Answered
How to remove border from figure
Use exportgraphics to save the current, or designated, axes as a PNG image file: exportgraphics(gca, 'Figure 2.png'); If you o...

3 years ago | 0

Answered
how to extract binary images
You can use drawfreehand to hand trace around all the blobs you want to retain. See attached freehand_masking_demo.m. I've atta...

3 years ago | 0

Answered
How to eliminate delays in drawing a graph during modeling in Simulink, in a dashboard?
I don't know Simulink, but it MATLAB you'd call drawnow; to force an immediate update/refresh of the screen and plots.

3 years ago | 0

Answered
finding min and max values from a file
Try this. It loops over all files and finds the min and max displacement of each file, along with the times that those extrema ...

3 years ago | 1

Answered
Finding area, average and moments of parts of a segmented image
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

3 years ago | 0

Answered
reverse of bwmorph(BW, 'skel' )
I don't believe the other answer will maintain separation of the pieces you split apart. It looks like it will merge them toget...

3 years ago | 0

Answered
Index in position 1 is invalid. Array indices must be positive integers or logical values. "Ideas of fractal fractional using exponential kernel"
Why do you have this: k=1:j; ??? so then k is a vector but then you use it as an index with a scalar when referencing ...

3 years ago | 0

Load more