Beantwortet
Fit gaussian surface on 3D data
That's not 3-D data. That is 2-D data. How about you find the centroid with code I gave you before, then get the average radia...

11 Tage vor | 1

Beantwortet
sortrows "not enough input arguments"
x = randi(99, 5, 2) x=sortrows(x,1) Seems to work fine. What did you do differently in the 59 prior lines of code?

11 Tage vor | 0

Beantwortet
Error prediction of imregister results
Try using imabsdiff. However if there are black triangles rotated in, you don't want to compare those so you might have to take...

12 Tage vor | 0

Beantwortet
my plot is blank?
What does this show in the command window? whos velocitiesB1 whos velocitiesB2 plot(velocitiesB1,velocitiesB2,'b-*'); Please...

12 Tage vor | 0

Beantwortet
how this command works"meanGL = mean(blackMaskedImage(binaryImage));". My input image is a HSV image. How it calculates the mean.
Let's just take it one step at a time. See if this helps explain it grayScaleImage = magic(6) binaryImage = grayScaleImage > ...

12 Tage vor | 0

Beantwortet
Why is the horizontal axis 0 to 1 in a histogram for a rgb image?
Please attach one of your images and code to read it in. Evidently your image got converted to floating point. And there is no...

13 Tage vor | 0

| akzeptiert

Beantwortet
How to reduce valid coin mask true pixels outside valid coins?
Don't use imfindcircles. Use bwareafilt to select only a certain number of blobs, or blobs in a certain size range.

13 Tage vor | 1

| akzeptiert

Beantwortet
How to calcutate the area of each cell?
How were the white boundaries obtained and in what form are they? You can probably use regionprops() if you can make a mask of ...

13 Tage vor | 0

Beantwortet
Is it possible to have the line number of the editor window highlighted when I click somewhere in the code?
See the Preferences on the Home Tab of the tool ribbon. Look at the first checkbox: Check the box and choose your color. Th...

13 Tage vor | 0

Beantwortet
Mean of CIE L*a*b values in a masked image
Yes, it was a mess but that's OK, I fixed it: % Read in demo image. rgbImage = imread('peppers.png'); subplot(1, 2, 1); imsh...

13 Tage vor | 1

| akzeptiert

Beantwortet
I cant locate the black region on my image using regionprops and imfindcircles.
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

13 Tage vor | 0

| akzeptiert

Beantwortet
I cant locate the black region on my image using regionprops and imfindcircles.
You can threshold and then use imclearborder and then bwareafilt. If you need more help, attach the original image by itself. ...

14 Tage vor | 0

Beantwortet
What does this command line mean? (matrix A =[A t])
It means, if A is a row vector, that the value of t is to be stitched onto the right side of row vector A to form a new row vect...

14 Tage vor | 0

Beantwortet
How do I declutter my figure?
Why don't you use subplot() to make 4 separate plots all vertically stacked. Or use stackedplot

14 Tage vor | 0

Beantwortet
Error using vertcat Dimensions of arrays being concatenated are not consistent.
pixel_val and pixel_freq have different number of columns -- check it for yourself -- so you cannot stitch them together vertica...

15 Tage vor | 1

Beantwortet
How to remove apostrophes from empty cells when using readtable
Why are you trying to plot them? Shouldn't you just use table2array to extract the numbers and plot only the numbers (shown in ...

15 Tage vor | 0

Beantwortet
How to segment this image better?
The two main problems in the image are poor lighting and lens shading. Try to put the paper in a light booth where the lighting...

15 Tage vor | 0

Beantwortet
What happens to my student license when my undergraduate degree ends?
You can get a "Home" license if you just want it for yourself for hobbyist purposes. Otherwise hopefully the company you go to ...

16 Tage vor | 0

Beantwortet
trying to multiply and divide different size matices
Not that I know of. It throws an error, right? Can't you ask the original author what their thinking was?

16 Tage vor | 0

| akzeptiert

Beantwortet
Command for Stopping the Analysis
Try something like this exceedCount = 0; for k = 1 : 1000000 % First update x in the loop. Then compare it to y. if...

16 Tage vor | 0

| akzeptiert

Beantwortet
Pick a value with some probability
Try randn with your desired mean and std r = mu + s * randn(1000, 1); % 1000 random numbers

16 Tage vor | 0

Beantwortet
xlswrite Function 'openExcelWorkbook' Not Working! (New 05/2023)
Can you start Excel by itself without it asking you anything? What happened to me was that my systems were changed from using E...

16 Tage vor | 2

Beantwortet
How can you create input boxes(edit field) dynamically with drop down .
I suggest you create all the boxes you think youi'll need in advance and then just set the Visibility property for the ones you ...

16 Tage vor | 0

Beantwortet
Create Occupancy Map of any Shape
Do you want an image? You can use false rows = 50; % Whatever you want. columns = 80; occupancyMap = false(rows, columns); %...

16 Tage vor | 1

Beantwortet
How can I fill the area between these lines and curves?
Since your question is a FAQ, see the FAQ for code snippets: https://matlab.fandom.com/wiki/FAQ#How_do_I_shade_the_region_betwe...

16 Tage vor | 1

| akzeptiert

Beantwortet
Ideal grid for interpolation based on query points
@Tintin Milou I don't know why you keep forgetting, or refusing, to attach your data. And I don't know why you want to use a su...

17 Tage vor | 0

| akzeptiert

Beantwortet
AppDesigner Freezes under 2023a version
App Designer starts up fine for me. If it won't launch for you then it could be some kind of installation issue. In that case ...

17 Tage vor | 0

Beantwortet
an question need to solve
This looks like a homework problem. If you have any questions ask your instructor or read the link below to get started: How d...

17 Tage vor | 0

| akzeptiert

Mehr laden