Answered
How to Properly Normalize Noisy Image Frames in Dataset ?
What I'd try is to pick some small rectangle of the image that you think should not be affected by whatever is going on in the i...

3 years ago | 0

| accepted

Answered
Image segmentation for spinal CT images.
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

3 years ago | 0

Answered
Can I name the variables in a table from a cell array or a struct?
Just to add to @Cris LaPierre answer, to process a bunch of files you can adapt code snippets in FAQ: https://matlab.fandom.com...

3 years ago | 0

| accepted

Answered
To choose specific files from the folder
See the FAQ for code snippets you can adapt: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files?

3 years ago | 0

Answered
can someone explain how i would compute this code
Your function qmul does not compute q1q2, or the rotation matrix Rq3, or print anything out to the command window. Fix those th...

3 years ago | 0

Answered
How do I remove the background (specifically the vignette) from this image without removing the particles of sand?
Your best bet is to take a separate, blank shot with no particles in the field of view and then divide your particle images by t...

3 years ago | 2

| accepted

Answered
Ripples in the low levels of a Fourier transform of an Electric Field using fft MATLAB
I'm not an expert in antennas but I have a pretty good feel for this Fourier kind of thing from an optics perspective. How many...

3 years ago | 0

Answered
Bug in grader of MATLAB Onramp
Evidently it wanted you to use the vectorized way of creating the vector : vec = startingValue : incrementValue : finalValue W...

3 years ago | 0

Answered
How can I add new cells with NaNs to a matrix
Try this: rowVector = zeros(1, 154); % Original vector (whatever it is). indexes = 12:12:168; rowVector(indexes) = nan % If ...

3 years ago | 1

Answered
Close Borders of an Object
If you want to fill in any "bays" in the outer perimeter of your blob, then use bwconvhull mask = bwconvhull(mask, 'Objects'); ...

3 years ago | 0

| accepted

Answered
How vectorize this loop
Sounds a lot like a homework assignment, but I'm going to assume it's not and give one possible solution: columns = 8; a = mag...

3 years ago | 1

Answered
Correlation in fluid mechanics?
Yes, you can make a model with the Regression Learner on the Apps tab of the tool ribbon if you have the Statistics and Machine ...

3 years ago | 0

Answered
Manipulation of the listdlg function
Make a professional interface, not some primitive one with things like listdlg. Use App Designer. See MATLAB App Designer

3 years ago | 0

| accepted

Answered
Sort or place several points into the nearst point in an unknown a x b grid, and get each point's (i,j) index in the grid.
You might want to use pdist2 to get an array of distances from every point to every other point. Then take the histogram and lo...

3 years ago | 0

| accepted

Answered
How to store all the results in a cell?
You didn't say what you expect, and the code is so wrong in so many ways that I can't figure out what you want. So I made this ...

3 years ago | 0

| accepted

Answered
Concatenate multiple .csv files horizontally
Try it this way: input_path = pwd; %'/Users/annabellesorby-adams/TRIAL/01_Output_Files' ; results_path = pwd; %'/Users/annabel...

3 years ago | 0

| accepted

Answered
how eliminate this line in editor?
Go to the Home tab. Click the Preferences button and expand the Editor/Debugger category. Look in Display for Placement, and...

3 years ago | 0

| accepted

Answered
How to export clean and high resolution images for figures
There are several methods to save figures. Did you use the menu bar or pull down menu on the figure itself? I'm not sure what ...

3 years ago | 0

| accepted

Answered
Output argument 'fy' is not assigned on some execution paths
If you're not going to assign the outputs in all scenarios, you can initialize the variables to null. Actually I do this by hab...

3 years ago | 0

Answered
TiledLayout or Montage for combining my images?
Doesn't imtile return an image? Just stitch those together, like bigImage = [tile1, tile2, tile3, tile4]; imshow(bigImage);

3 years ago | 0

| accepted

Answered
Seeking Help with MATLAB Image Restoration
I doubt this will work clean_image = gray_image; clean_image(mask) = medfilt2(gray_image, [3 3]); % assume a 3x3 median filter...

3 years ago | 0

Answered
I want to convert a image into video ?
Why would you want to turn a single graph into a video? What's wrong with a single image? If you want to animate the graph and...

3 years ago | 0

Answered
please review matlab code and tell me why i receive errors
p and q are not functions. They are input arguments. What did you assign for them, and how did you call maxperf()? For exampl...

3 years ago | 0

Answered
Filling empty region with line segment
What assumptions can we make? Can we assume that during your processing we have an equal number of line blobs on the left hand ...

3 years ago | 0

Answered
Hello everyone , I am beginer in MATLAB Can anyone help how to trace the boundary of the waveforn and plot the flow velocity time graph from it. Much thankss
Yes it's possible but it would be better to just export the signal from the program as a text file rather than to try to reconst...

3 years ago | 0

| accepted

Answered
How to draw straight horizontal line with specific axis
@Abdullah Alasfour I understand that you want to do bandpass filtering of a signal in the Fourier domain. While I don't have an...

3 years ago | 0

Answered
Can someone explain me why it shows me the index in position 1 error?
MATLAB is case sensitive. K is different than k. Try using k instead of K.

3 years ago | 0

Answered
I want to fill my table in a loop, the variable names do not change along
I would build your table (fill it with numbers and strings) first, and then after that loop set the variable names for the colum...

3 years ago | 0

Answered
Valid Coin Mask True Pixels Error Outside or Beyond the Actual Mask Error
I don't think most of that is needed. I would just threshold, call imfill, and then call bwareaopen. The double imcomplement a...

3 years ago | 0

Answered
Excel ActiveX slow and stealing focus
What is the visibility property? Try making it invisible right after you get it. hExcel.Visible = false; or something like th...

3 years ago | 1

Load more