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

Answered
How do i open a .bzl file(bazel file) using matlab?
Have you searched the File Exchange? Who gave you the file(s)? Can you ask them for a MATLAB reader for the files? Are the ...

3 years ago | 0

Answered
Updating a graph by changing which column of a matrix is being plotted to create an animation.
You may be interested in this attached demo that creates a sequence of plots and writes them to a movie file. I have lots of ot...

3 years ago | 0

Answered
Plotting a contour plot on top of an image?
Look into labeloverlay and visboundaries help labeloverlay help visboundaries

3 years ago | 0

Answered
How to add together values in matrix and replace the empty spaces with zeroes
@Mathieu NOE's answer can be done more simply for those lucky enough to have the Image Processing Toolbox, which can find the in...

3 years ago | 0

Answered
Scale Bar adjustment in an OCT scan
Perhaps you should ask your Fiji question in an ImageJ forum. We're just about MATLAB here. I'm attaching a demo about drawing...

3 years ago | 0

| accepted

Answered
temperature measurement of gas turbine blade
You've given us nothing to help on yet, but we can try. In the meantime, see my attached thermal example In addition, see my...

3 years ago | 0

| accepted

Answered
Sobel Edge Detection Threshold value single vs uint8 image
I don't know Simulink but Sobel has a fixed filter size that may not scale well with the size/width of the edges in your particu...

3 years ago | 0

Answered
How to save all the data after processing all the images
Didn't I answer that in your duplicate question? https://www.mathworks.com/matlabcentral/answers/1938859-how-to-save-all-the-im...

3 years ago | 1

| accepted

Answered
I have a Matrix of colors which have been projected or distorted, and I would like to un-distort it.
Try this: % Demo by Image Analyst to de-warp a quadrilateral into a rectangle. clc; % Clear the command window. close all;...

3 years ago | 0

| accepted

Answered
How to find 100 points on a slant plot and draw perpendicular lines through all of those points
Did you try simple geometry and algebra? If you had, you would have gotten something like this: % Define line endpoints. x1 =...

3 years ago | 0

Answered
install R2023a
See the FAQ: https://matlab.fandom.com/wiki/FAQ#During_installation,_the_installer_crashes,_hangs,_gives_an_error_message,_does...

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

| accepted

Answered
Undefined function or variable 'rangeres2bw'.
What is the URL of the web site? You forgot to tell us. Probably it was defined somewhere on that page and you forgot to copy ...

3 years ago | 0

Answered
Find only interior points from set of points
Try this: % Demo by Image Analyst separate point sets using the convex hull. clc; % Clear the command window. close all; ...

3 years ago | 0

| accepted

Load more