Answered
Comments before the H1 line in help text
I don't believe so. It does not look like it. The help function just takes all the comments at the beginning of the file. If ...

3 years ago | 0

| accepted

Answered
Optimization using Cell Arrays
Just use a normal double array. Cell arrays are slow and very inefficient and are a special type of variable for situations whe...

3 years ago | 0

Answered
extracting boundaries properties from regionprops()
If they are known to be spheres, and you want to ignore having a "bay" if there happens to be a black spot on the boundary, you ...

3 years ago | 0

| accepted

Answered
How to calculate the area of single leaf along with its height
First of all you need to segment the plant, which is easy enough. Then get the skeleton of the leaf with bwskel. Then you need ...

3 years ago | 1

| accepted

Answered
How can i get the smallest shape using a list of centroid coordinates?
Why don't you just simply OR all the binary images together?

3 years ago | 0

Answered
Visualizing line plot with histogram density
Try this: % Initialization steps. clc; % Clear the command window. close all; % Close all figures (except those of imtool...

3 years ago | 0

Answered
how to connect the detection object
Zoom in. You'll see your crack in the original image is NOT continuous. Why do you think it is?

3 years ago | 0

Answered
Finding the amount of times '101' appears and does not appear in a series of strings
Use strfind. For example: dp = [0 1 0 1 0 1 1 1 0 1 0 1 0 0 0 1 0 1 1] indexes = strfind(dp, [1 0 1]) numOccurrences = numel(...

3 years ago | 0

Answered
Why do i get this error trying to install MATLAB using installation key? (no matter the version or install location or antivirus being disabled)
I assume you clicked the link it told you to, right? If so and you've exhausted all it suggested then your quickest route to su...

3 years ago | 0

Answered
Error Messages keep popping up: "Undefined function or variable"
There is just so much wrong with this that every time I fixed one thing, something else would pop up. For starters, use c2 inst...

3 years ago | 0

Answered
MATLAB R2023a Not Loading on Linux
If you don't get an answer here this weekend, then your fastest route to success might be the FAQ: https://matlab.fandom.com/wi...

3 years ago | 0

| accepted

Answered
How to test and train in MATLAB
Try this link: Debugging in MATLAB | Doug's MATLAB Video Tutorials

3 years ago | 0

Answered
Why are there not enough arguments?
From data_embedding.m, you call lsb_enc(wavin, wavout, text, password); and that runs fine because you've defined the 4 inputs...

3 years ago | 0

Answered
I want to make a movie from plots in MATLAB. How do I do this?
See attached demos, especially movie_made_from_plot.m.

3 years ago | 0

Answered
making a movie from plots
See attached demos, especially movie_made_from_plot.m.

3 years ago | 0

Answered
OTSU for fibrosis quantification
I don't know what you want. If you want Otsu threshold, use graythresh help graythresh See my Image Segmentation Tutorial in ...

3 years ago | 0

Answered
Finding files in directory with two different strings in filename
See contains or ismember

3 years ago | 1

Answered
why this code is not working for a slightly diff lungs image?
Well there could be lots of reasons. Either your segmentation for the "bad" image didn't work so well. the trained SVM model...

3 years ago | 1

Answered
How to identify particles in an image that have a comet-like trail from those with perfectly circular halos?
What you need to do is to first segment out the faint halos from the background. Perhaps take the mode of the histogram and ass...

3 years ago | 0

| accepted

Answered
I need MATLAB code that plots the aerodynamic power generated by a wind turbine vs the generator rotation speed for different wind speeds
Looks like you're not plotting out far enough on the x axis to see the parabolic shape. You're only going out on the relatively...

3 years ago | 0

Answered
How to plot an in-ellipse(ellipse inside an object) which also matches the object orientation.
The leader of the Image Processing group at the Mathworks, Steve Eddins, has a blog entry showing how to do it: Visualizing reg...

3 years ago | 0

Answered
How can I determine if the absolute value of a coefficient of x in each element of a matrix was less than 0.01 consider it zero?
Then just write it as a=[ 12X+14, -10(X^2); X 4] with whatever value you have for X. Why can't you? Do you not know what the ...

3 years ago | 0

Answered
pore size distribution of a 1x100 surface
So it seems that you are saying the spheres represent solid matter and the rest is air space or vacuum. And you want to know th...

3 years ago | 0

| accepted

Answered
Hi everyone i want to ask about im crop
Since you already know the pixels per cm is 1030, you can crop out a 1 cm region using indexing if you know the upper left row a...

3 years ago | 0

Answered
Remove regions outside a range and find their centroids
If you want the bounding box width to be between 30 and 200, do this labeledImage = bwlabel(mask); % Measure bounding boxes. ...

3 years ago | 0

Answered
Why doesn't matlab have more plot colors?
Well there are 16 million colors and you can use any of them just by specifying the color as a row in a 2-D matrix of the colors...

3 years ago | 2

Answered
When a global variable is justified
@Valtar by not using app designer because you think it gives you better control, well, I take issue with that. I'd like to see ...

3 years ago | 0

Answered
finding a trend line where x axis semilog and y axis linear and trend line follow the eqn y=a*exp(b*x)
See attached demo for fitting data to exponentials. Adapt as needed.

3 years ago | 0

Answered
How to detect a specific region from a given image?
Try this: Threshold the image. If you want to do it interactively, try my utility function https://www.mathworks.com/matlabcen...

3 years ago | 0

| accepted

Answered
I am embedding pdf into an Image. But after extraction i am getting blank page pdf. How to extract the correct pdf file whatever i have inserted?
See my attached stego/hiding/watermarking demos. Maybe there is something there that you can use or adapt. Good luck.

3 years ago | 0

| accepted

Load more