Answered
Regionprops handling of big images
How big is your bs.data binary image? I would start by trying to delete any variables the in workspace that you don't need anym...

3 years ago | 1

Answered
I can't find the ranova function
You probably don't have a license for it because I see that function should be in that toolbox since 2014. What happens if you ...

3 years ago | 1

| accepted

Answered
Create mesh from matrix
Not sure what you mean by "plot" but to view a and b as 2-D images and 2.5-D surface plots: subplot(2, 2, 1); imshow(a, []); ...

3 years ago | 0

Answered
How to plot a "Bean-shaped" object in MatLab please? (preferably a parametric equation)
Isn't this a duplicate of your question that I answered here: https://www.mathworks.com/matlabcentral/answers/2032129-how-to-cre...

3 years ago | 0

Answered
User input to repeat a script
Try questdlg while (1) % Put script code here. % Now ask use if they want to do it again. promptMessage = ...

3 years ago | 0

Answered
How to create this "bean shape" in MatLab please?
Try this: t = linspace(0, 2*pi, 1000); x = 3 + 2 * sin(t) + cos(2 * t); y = 4 * cos(t) - sin(2*t); plot(x, y, 'b-', 'LineWid...

3 years ago | 1

| accepted

Answered
How can I identity clusters on my scatterplot?
It looks like you don't have clusters. And I doubt you used scatter() to plot those. It looks like you used plot() to plot 10 ...

3 years ago | 0

| accepted

Answered
How can I transfer matlab to another user
We've done this several times. Contact your sales rep at the Mathworks. If you don't know who it is, just call the general num...

3 years ago | 0

Answered
Why is the line of y2 always a flat line at x-axis instead of a straight line with negative gradient?
It's flat because of hte scale of your y axis. Look -- it goes from -1 to 50 million, while y2 goes from 3 to -17. How do you ...

3 years ago | 1

| accepted

Answered
How to convert a grayscale indexed image into a RGB indexed image ?
There is no such thing as an RGB indexed image. You can convert your indexed image into an RGB image with rgbImage = ind2rgb(i...

3 years ago | 1

Answered
how to extract missclassified pictures out of a file with a mixed dataset?
If, for your test set, you don't know the correct classification, and all you know is that the images you extracted into a diffe...

3 years ago | 0

Answered
Could a Phd uses a license Trial in a commercial company?
As I understand it, anyone can use MATLAB during their 30 day license trial. If they gave you a license, they want you to use i...

3 years ago | 0

Answered
Why do I keep getting an fopen error in my code? [absolute beginner]
This works fine: output_dir = pwd removed_ch = 9999; filename = 'test02.txt'; outputtextfile = fullfile(output_dir, filena...

3 years ago | 0

Answered
I am trying to run my code but it isn´t work. I don´t know what is wrong whit
It probably gets stuck in an infinite loop. Don't you understand that when you do this: n = 0; while n <=15 end n is less ...

3 years ago | 0

Answered
Why I do I get different results when I used jaccard Index with png format than with jpg format?
Both sets of code use the PNG versions. In general you should not use JPG files for image analysis, unless you're specifically ...

3 years ago | 1

| accepted

Answered
Need Help Understanding the 'function_oceanwave()' function
Yes, that's the problem when people write code and don't put in good comments. You don't understand it and now you want us to p...

3 years ago | 1

Answered
What does the >> n = 1:100; >> x = ( (-1).^(n+1) ) ./ (2*n - 1); >> y = sum(x) >>plot(x(1,1:4)) mean?
x is a row vector so it doesn't need two indexes. y is assigned but not used. The plot() plots the first 4 values from the x a...

3 years ago | 0

| accepted

Answered
How to Create a Equidistant histogram
Instead of using histogram which will plot the edges like you have, if you want equal spacing upon display, regardless of what t...

3 years ago | 0

Answered
How can I apply different colors to specific areas of a surface plot?
You can make an image of the colors that you want to have at each location. Then see my attached demo.

3 years ago | 0

Answered
Hi there, I'm encountering an issue and would appreciate your guidance in resolving it.
mode is a built-in function. Don't use it as the name of your variable!! Also, you need to initialize your variables before th...

3 years ago | 1

| accepted

Answered
How to segment image with multiple bounding box coordinates given in excel format.
If you have the bounding box coordinates, you can use imcrop to extract just that rectangle. To process multiple images, see th...

3 years ago | 0

Answered
OCR on binary image
Here's an improvement, though I don't have time to finish it now. % Demo by Image Analyst clc; % Clear the command window. ...

3 years ago | 0

Answered
Program to extract single objects from a image based on the centers of gravity of each object (+ 2-3 pixels outside the hyperbola).
Since you're already using regionprops, you have already segmented the image and have a binary mask. I don't know what a hyperb...

3 years ago | 0

Answered
How many activations are allowed for one license file.
Yes, you can.

3 years ago | 0

Answered
Adding a Column to a Table
To add a column to a table, use addvars help addvars

3 years ago | 1

Answered
[Image Processing] Remove stripes / horizontal streaks in image
Hopefully the white part is not overexposed. If not, then the common way to do it is to take the mean of the image horizontally...

3 years ago | 0

Answered
Can I use student's license for my Master's degree thesis, which is related to a project being developed in the company I work for?
In my opinion, yes, because the code you develop will be directly used in your thesis. Now if your project was totally unrelate...

3 years ago | 0

Answered
how to find pixel values and intensity of grayscale image and plot them (x-axis as pixel value and y-axis as pixel intensity)
I'm not sure why you're taking a histogram of the binary image. I think what you meant was to take the histogram of the masked ...

3 years ago | 0

Answered
How can i superimpose image on plot?
Try this, and see attached demos. Adapt as needed. % Draw a small image inset in the upper right corner of a larger plot. % R...

3 years ago | 0

| accepted

Answered
Remove 'anomalous' blobs in a polygon (polyshape).
First of all, don't use eval: https://matlab.fandom.com/wiki/FAQ#Why_is_it_advised_to_avoid_using_the_%22eval%22_function? Sec...

3 years ago | 0

Load more