Answered
How can I conduct statistical analysis of runs that collate into one variable?
It's covered by the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F For example, it might be c...

16 days ago | 0

Answered
sampling of pixel point and find out the distance between them
I suggest youi first correct your image capture conditions so that your book is pressed flat. Once you have done that the lines...

17 days ago | 0

| accepted

Answered
problem in matlab code
W is probably a vector and so the entire right hand side is a vector. You can't stuff, say, 100 elements into throughputCR(i) w...

17 days ago | 1

Answered
convert line to pixel coordinate
What if you just take the average of the initial, known points? x = sort(rand(9, 1)); y = sort(rand(9, 1)); plot(x, y, '.-', ...

17 days ago | 0

| accepted

Answered
How to use matlab function to fill or label the previous or next column cells with respect to certain column of of a matrix with a number (3)
Try imdilate() -- it's a local max filter. se = [0,0,0;1,1,1;1,1,1] outputMatrix = imdilate(inputMatrix, se);

17 days ago | 1

| accepted

Answered
How to create a random distribution of 2 words in 30 places?
Try this: sentence = []; for k = 1 : 30 sentence = sprintf('%sword%d ', sentence, k); end sentence replacementWords = {'m...

17 days ago | 0

Answered
How to find out the points collection which has the same minimum distance to the boundary of a closed image
Try imdilate() to expand it out 5 pixels. xy = [10,30; 20,40; 50,30; 50,20; 40,20; 30,10; 20,10; 10,20] x = xy(:, 1); y = xy(...

17 days ago | 1

| accepted

Answered
How to make a code using flip & slide method and without using conv function ?
It's simply convolution: x = [1 2 3]; h = [4 5 6]; output = conv(x, h) output = 4 13 28 27 18

17 days ago | 1

| accepted

Answered
Line or segment of line that touch all pixels in a structure
Maybe try bwdistgeodesic().

17 days ago | 0

Answered
Noise removal in image segmentation
Well knotholes are certainly objects so it makes sense that it found them. If you just want things that stick up above the surf...

17 days ago | 0

Answered
Is Walter Roberson a real person, or is he some kind of Matlab AI robot?
Yes, Walter is a real person. In fact at the Annual Meetings in June of this year, he received a highly prestigious MATLABBY Aw...

17 days ago | 9

Answered
convert line to pixel coordinate
Use bwdist().

17 days ago | 0

Answered
How do I draw the scatterplot of an RGB image?
You need to use colorcloud(). It does a 3-D scatterplot of the RGB gamut.

17 days ago | 0

Answered
T-test on two classifiers
Do you have ground truth for your data? If so, why not simply get the accuracy percentage for each classifier?

19 days ago | 0

Answered
I've created my own Otsu thresholding function, but is isn't working properly
See how the Mathworks does it: >> edit otsuthresh.m

19 days ago | 0

Answered
How to create a RGB image with reflectances ?
See File Exchange: https://www.mathworks.com/matlabcentral/fileexchange/51560-get_xyz

19 days ago | 1

Answered
Checking if word/words are present in a sentence in a table cell.
Try contains(). if contains(ca{2, 1}, 'M3 TRIPPED') % It contains that phrase in row 2, column 1 of cell array called ca ...

21 days ago | 0

| accepted

Answered
Get pixel of data coordinate
You can use getpixel() to get the pixel value, or use indexing, like pixelValue = yourImage(y, x, :). To put an arrow into the ...

22 days ago | 0

Answered
How can I remove the toolbar from the axes, but keep it at the top of the window?
See the official toolbar answer here in this Mathworks Support Answer In short: addToolbarExplorationButtons(gcf) % Adds butto...

26 days ago | 2

Answered
[Solved] Fitting exponential decay function
You can use fitnlm(). See attached demo. I can't use your actual data because you forgot to attach it.

26 days ago | 1

Answered
How to generate random projection matrices?
Not sure what you mean by projection, but the radon transform does projections. That's its claim to fame. It basically projects...

26 days ago | 0

Answered
How to set boundaries between 3 curves and shade the region
Try fill() or patch(). If you can't figure out how to get the region (x,y) boundaries, just ask.

28 days ago | 1

Answered
How to Automatically remove noise using Image historgram based?
I don't believe so, at least not via a global operation, since the noise is likely very close to the local means. So you can't ...

29 days ago | 1

| accepted

Answered
Z must be matrix, how to determine size of reshape
If they're in a grid in an N-by-3 array, extract them first x = xyz(:, 1); y = xyz(:, 2); z = xyz(:, 3); Then try surf(x, y...

29 days ago | 0

Answered
how to stop changing of a variable?
Instead of this if s<200 logic=1; else logic=0; do this logic = s < 200; % Just one line, not a whole if/else bloc...

29 days ago | 0

Answered
Unable to acquire image with connected teledyne dalsa camera
Contact the manufacturer. You'll need to "Register a third party adapter" from the pulldown menu in imaqtool.

29 days ago | 0

Answered
How can blur an image
See my manual convolution routine, attached.

29 days ago | 0

Answered
Can I acess value of variable in legend of plot
I would make up each legend using sprintf, then call legend legend1 = sprintf('Only Solar Generation[Integrated = %0.2f KW]', n...

29 days ago | 0

| accepted

Answered
How to display the two biggest blobs in terms of area?
It'w very bad practice to call your image i (the imaginary variable). Call it binaryImage, mask, or BW instead. You might want...

29 days ago | 1

Answered
How can I find RGB values of a matrix of coordinates of an image?
(x,y) is NOT (row, column) -- it's (column, row). You've made a very common beginner mistake. Put y first -- P(y, x) x = roun...

29 days ago | 0

| accepted

Load more