Answered
Finding both row and column indexes of nearest value
To find the nearest row and column, subtract the reference value from your matrix and then use find. To be super explicit, here...

2 years ago | 0

| accepted

Answered
Image segmentation of these pellets
It would be very very difficult to segment every single individual pellet, particulary since some are very small, some are "touc...

2 years ago | 0

Answered
Zoom in on a particular part of the plot with circular view
You can adjust the graph's x limits to zoom in on the section you want: xlim If you want to make a new plot with a small porti...

2 years ago | 0

Answered
Find similarities between two signals
The question is really what kind of metric(s) would be useful for you? How about RMS difference? rms How about mean absolut...

2 years ago | 0

Answered
how can I make the vascular structures in the retina image incisively and clearly in image processing?
See this File Exchange entry: Trainable COSFIRE filters for vessel delineation with application to retinal eye images, ophthalm...

2 years ago | 1

Answered
How Do I Implement Histogram Normalization for RGB Image?
Yes it will look weird. That's because you stretched each color channel independently and that destroys the color relationship....

2 years ago | 0

Answered
Is it possible to make a video play through of points showing yaw, pitch, and roll values?
See my attached movie making demos.

2 years ago | 0

| accepted

Answered
how can I make the dilation and erosion process on the image in the cleanest way?
I don't think you need to do any of that for deep learning. You don't need to get rid of the black background in the corners....

2 years ago | 0

Answered
how can i change image brightness ?
Try imadjust or adapthisteq

2 years ago | 0

Answered
When running an exe created from a matlab app, where are the variables stored?
Steve's answer is right. However if you have your program store variables to disk files in the "current" folder, you might face...

2 years ago | 1

Answered
Drawing on UI Axes in MATLAB app designer
There is a family of "draw" functions, like drawpolygon, drawfreehand, drawline, etc. Use one of them. See attached demos if y...

2 years ago | 1

Answered
duration of rain. help
You might look into splitapply, grpstats, groupsummary, and findgroups. They are very useful functions to know about! 🙂

2 years ago | 0

Answered
Detect monotonic decrease and record the corresponding rate
Does this help? D1= {'3/25/2024 15:01:10' 15 '3/25/2024 15:01:26' 25 '3/25/2024 15:01:42' 25 '3/25/2024 15...

2 years ago | 0

Answered
How to make a logical mask using a shape file?
You have to define lat and lon as vectors before you use them in meshgrid to get the full matrices Lat and Lon as outputs.

2 years ago | 0

Answered
Is there a way to calculate differnce between two pictures and show it as %?
See https://en.wikipedia.org/wiki/Image_quality In MATLAB try brisque, niqe, and piqe

2 years ago | 0

Answered
Finding multiple flat sections
Try movstd

2 years ago | 2

| accepted

Answered
Boundary Extraction Algorithm for Low-Resolution Ultrasound Images
I see no justification from the image alone that the bright region(s) would form a donut shape. You must be indicating those us...

2 years ago | 0

Answered
Matlab asks me to sign in when I'm offline
Are you using a shared license -- part of a license pool? Like where your organization has a group of licenses (less than the n...

2 years ago | 0

Discussion


Puzzle challenge - distance to horizon
In one line of MATLAB code, compute how far you can see at the seashore. In otherwords, how far away is the horizon from your e...

2 years ago | 5

Answered
How to generate multiple tiff files into my file path?
You cannot use colons in the file name (for Windows) unless it's immediately after a drive letter. Try this: thresholdarray = ...

2 years ago | 0

Answered
Is it possible to use format long in one line of code and then use format short in another line of code on the same script?
Just call format whenever you want to set the format and it will be that format for the rest of the script (or until you call fo...

2 years ago | 0

Answered
classification network with images, around 400 classes, each class minimum 5 images, around 4000 images
Yes you can convert vectors into images and then use deep learning to classify the vectors. However I'm not seeing the part whe...

2 years ago | 0

| accepted

Answered
Extracting a double array from within a struct
Structures have "fields" not "cells". "One of those fields is called contains..." <== is called WHAT??? You left out the name ...

2 years ago | 0

Answered
How to isolate inner branch structure (similar to bulk background color) from ring of dark gray?
I could maybe do a better job than that, but unfortunately you forgot to attach the actual image, image.tif. If you still need ...

2 years ago | 0

Answered
imread file does not exist - Unable to read file with multiple images
To process a sequence of files in a folder, see code snippets in the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_...

2 years ago | 0

Answered
Find turning point of noisy signal
Try findchangepts. If it doesn't work well then first try to denoise your signal by running it through movmedian. Another opti...

2 years ago | 0

| accepted

Answered
How do I write a code for given formula?
I feel that kmeans is not a good method in your situation. kmeans is good when you know that you have the required number of cl...

2 years ago | 0

Answered
Trying to adjust weighting on PART of a sigmoid fit
Then simply don't include that data in your training data set. Try firstIndex = find(x > 500); partialYData = y(firstIndex : ...

2 years ago | 0

Answered
I am not able to save my file on the trial version
"UNTITLED2. " is an unusal name for a folder. Not that a dot and a space are not allowed, but maybe just save it to a regular f...

2 years ago | 0

Answered
Matlab doesn't open
Evidently you have not tried the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation,_MATLAB_crashes_or_gives_an_error_m...

2 years ago | 0

| accepted

Load more