Answered
Create a series of variables with names that include numbers
See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_create_variables_A1,_A2,...,_A10_in_a_loop?

3 years ago | 0

Answered
How to find curved length of an object inside a channel with reference to channel height?
Why can't you keep your camera still so that your tube is always in the same location instead of being virtually anywhere in the...

3 years ago | 0

| accepted

Answered
Error in my code
You can't do this: 51=1; 52=1; 53=1; Fifty one is NOT one, and it makes absolutely no sense to try to send a constant n...

3 years ago | 0

Answered
Why do I get "Array indices must be positive integers or logical values"
See the FAQ for a thorough discussion: https://matlab.fandom.com/wiki/FAQ#%22Subscript_indices_must_either_be_real_positive_int...

3 years ago | 0

Answered
object recognition in image
Depends on your images and your target object. For widest range of how things look, you should investigate Deep Learning CNN cl...

3 years ago | 0

Answered
I am a begginer. I got error saying "Not enough input arguments." etc
Try this: IndexImg = ones(size(InputImg), class(InputImg));

3 years ago | 0

| accepted

Answered
the avarage value for a video
See attached demo.

3 years ago | 0

| accepted

Answered
How to extract data from variable
What does this show: whos data I need to know what kind of variable it is. It doesn't look like a cell array. It looks more ...

3 years ago | 1

Answered
Error - Error using im2double
Your code does not use im2double. And you did not post the entire error message (all the red text). I know because the line nu...

3 years ago | 0

Answered
Dimming an Image with a new max?
Try dimmed = rescale(orig, new_min, new_max); For example dimmed = rescale(orig, 0, 157); % Linearly scale image to now go be...

3 years ago | 0

Answered
Help with matlab script
You had an extra "end" between step 4 and 5, and V_interpolated is not defined. Was it supposed to be interp_speeds instead of ...

3 years ago | 0

Answered
Find (local?) maxima when two maxima are adjacent to each other (maybe using islocalmax or findpeaks?)
If it's also a global max, you can do freq = [37 37 23 1 1 1]; [~, indexes] = find(freq == max(freq)) Works no matter if the ...

3 years ago | 1

Answered
How to reconstruct a corrupted image?
I don't know what the "upper layer" is. First you can call rgb2gray() to convert it to gray scale. But after that there is a ...

3 years ago | 0

Answered
MATLAB R2013b
What did the sales people say when you called them? You did call them, right?

3 years ago | 0

Answered
measuring duration of peaks
Try % Find valley to the left of the peak hold on; for k = 1 : numPeaks % Start just to the left of the peak by one inde...

3 years ago | 0

| accepted

Answered
how to sketch the graph of iterative sequence
Did you try this: k = 1 : 99; x = k * 4; subplot(1, 2, 1); plot(k, x, 'b-', 'LineWidth', 2); grid on; Or this x = linspac...

3 years ago | 0

| accepted

Answered
How to stop pi appearing as a text in the disp result?
I suggest you don't use symbolic terms at all. I suggest you just do it numerically with a for loop to sum some number of terms...

3 years ago | 0

Answered
how to remove error for edge detection in command P=edge(I,'prewitt');
You're probably passing it an RGB image: % Works with gray scale image: grayImage = imread('moon.tif'); edgeImage = edge(gray...

3 years ago | 0

Answered
How can I process the image and extract the spacing between individuals dots in a row ?
Like @Walter Roberson said, Use the radon transform to discover the angle at which your spot array is rotated. See attached d...

3 years ago | 0

| accepted

Answered
I am running into this error "Index in position 3 is invalid. Array indices must be positive integers or logical values." and do not understand why.
Before the line where it errors, put this slice1 = SaveCropVideo(str2double(Name), 1) slice2 = SaveCropVideo(str2double(Name),...

3 years ago | 0

Answered
How to convert ground turth data to Images
Depends on what you're doing. If you're doing regression you can just put the ground truth values in a table or matrix. If you...

3 years ago | 0

Answered
The noise histogram come deffrent as I expected
Please post your screenshots here if they are less than 5 MB. Let's keep your question content all in one place rather than sca...

3 years ago | 1

Answered
Tracking bubbles in a video recording
Try imtophat or imbothat on the original grayscale (not pseudocolored) image frames. Or try adapthisteq to flatten the image to...

3 years ago | 0

Answered
where is the error in this code?
See the FAQ for a thorough discussion: https://matlab.fandom.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_(or_similar)_not_equal_to_zero...

3 years ago | 0

Answered
can anyone please help me solve the accuracy verification issue with region props? is the performance optimal for measurements? has it been converted to square microns?
You didn't post the complete file. Can you attach it? What is numZones? 12? Perhaps the other zones are off the end of the i...

3 years ago | 0

Answered
Please help finding the average thickness of the marked region in image automatically for 1000 such images.
I'd threshold for the bright layer. Then scan the image column by column to find out where the bright column is. Then scan tho...

3 years ago | 0

Answered
Collect data from directories
See some file and folder demos, attached. Adapt as needed.

3 years ago | 1

| accepted

Answered
How to plot a 2D map of values on cirle colored by intensity
Try using scatter scatter(x, y, markerSize, colormap, 'filled');

3 years ago | 0

| accepted

Poll


Regarding my MATLAB skills, I am a

3 years ago | 2510 votes | 2 comments

Answered
Can you please say why this is coming? can you please solve this?
You forgot to attach 'Capteur2125011.txt'. My guess is that you're either creating fields of "opts" that are not valid in readt...

3 years ago | 0

Load more