Answered
How can I change the color of a scrollbar in app designer?
Look around in Undocumented Matlab

3 days ago | 0

Answered
Count people in a crowd from distance of 120 meters
See section 16.7.4.2.9 of VisionBib for algorithms: 16.7.4 Human Motion Understanding and Analysis 16.7.4.1 Human Motion Unde...

3 days ago | 0

Answered
take the Data after Clustering
For example to extract out only class #2 you can use masking class2Rows = idx == 2; class2Data = X(class2Rows, :);

3 days ago | 0

| accepted

Answered
loading specific files from folder into a data store
Yes. The "Files" field of the datastores contains the full filenames. You can extract only the ones you want (like the first 6...

3 days ago | 0

Answered
How to apply an equation to each element in the array?
Try conv2(): k = 10^-7 % filtration of soil M = 19000 q = 80 % external force Q acting on soil DeltaZ = 0.1 % depth of soil ...

3 days ago | 1

Answered
How Can I determine minimum value in a double array?
Don't use the built-in min function. It's second return argument will only return the location of the first occurrence of the m...

3 days ago | 1

Answered
for loop for videos
NumFrames is a field of video. Use it to construct a for loop over all the frames you want to process.

3 days ago | 0

Answered
How do I move an item in an array to the end of that array?
indexToMove = 3; T = [1 5 77 10 15 20 25 33]; T = [T(1:indexToMove-1), T(indexToMove+1:end), T(indexToMove)]

3 days ago | 0

Answered
Take the data out after using Kmeans Clusering
Looks right off the top of my head, though you forgot to attach 'ClusteringData.xlsx' so we can't test it with your actual data....

3 days ago | 0

| accepted

Answered
How to create a moving average filter to a specific signal
Look at the movmean() function.

3 days ago | 0

Answered
How to set x axis in a plot?
rgbImage = imread('peppers.png'); imshow(flipud(rgbImage), 'XData', 1:8, 'YData', 14:22); axis('on', 'xy')

3 days ago | 0

Answered
Plot function in two intervals
Try this (following your non-vectorized approach): x = -4 : 0.001 : 4; a = 1.3; y = zeros(size(x)); for k = 1: length(x) ...

3 days ago | 0

| accepted

Answered
How to create a timer that starts and stops with a button push in MATLAB App Designer?
All I have is a GUIDE version that does that. It's attached. You can probably adapt the concept to work in App Designer.

3 days ago | 0

Answered
only masking part of image help
An alternative way is: frame = imread('concordorthophoto.png');% Read in sample image. threshold = 110; % Whatever you want. ...

3 days ago | 1

Answered
How to convert from gray scale to RGB
Not sure what your plans are but one way is to get the gray scale component images from imsplit() [r, g, b] = imsplit(rgbImage)...

3 days ago | 0

Answered
How can I solve this issue?
You can use squeeze() to get rid of the singleton dimension: m = calcola_dati_pre_stack(Vpsim(:,i), Vssim(:,i), Rhosim(:,i), wa...

4 days ago | 0

| accepted

Answered
cluster points within given radius
Use pdist2(), then thresholding, and finally summing: %========================================================================...

4 days ago | 0

Answered
ho to find index at which the 50% of the sum vector is included?
Isn't this a duplicate? If it's not your homework, you can use my solution: a = [3 5 7 3 5 8 9 3 1 41 6]; s = sum(a) c = cum...

4 days ago | 0

Answered
how to find index of 50% of sum of signal?
Isn't this a duplicate? If it's not your homework, you can use my solution: a=[4 2 3 1 5 6 11]; s = sum(a) c = cumsum(a) [m...

4 days ago | 0

Answered
Number of line for fcontour
Look at the max and min of your surface, then compute the 'LevelStep' using the number of contours you want. Something like (un...

4 days ago | 1

Answered
How I can develop this segmentation codes ? I am so close to exact shape
I didn't read the paper but assuming you implemented the functions correctly, the problem may be that your image sizes don't mat...

4 days ago | 0

Answered
How to normalize/Rescale Image Datastore
@hammad younas an imageDatastore is essentially just a structure that is a listing of file names. It is not image data itself. ...

5 days ago | 1

| accepted

Answered
top- hat transform for signal processing
I know imtophat() and imbothat() should work for 1-D signals. They're in the Image Processing Toolbox. Observe: v = randi(20,...

5 days ago | 0

Answered
i USE THE CODING FOR SHOW MULTIPLE CIRCLES, i observe changes when change the scale of window (change points which are inside circles) )
I don't believe the marker size is related to the scale of the axes. It's independent. If you want to display circles where th...

5 days ago | 0

Answered
How to efficiently calculate mean and standard deviation of two large images at multiple misalignments?
8 hours? Wow. Why not use the built-in mean(), mean2(), std(), or std2() functions?

5 days ago | 0

Answered
Random matrix with no repeats in rows and columns.
Just construct a Latin square for n=9, then multiply it by 2 https://en.wikipedia.org/wiki/Latin_square

5 days ago | 0

Answered
Adjusting the legend spacing
I don't know of any way in the legend() function. You might try creating strings for your legends manually and put a \n at the ...

6 days ago | 1

| accepted

Answered
how do I show the images name on top of each picture
Another option, other than title(), is to put the filename in text in the overlay rgbImage = imread(filename); imshow(rgbImage...

6 days ago | 0

Answered
Patch does not fill the area in the graph
We don't have your data. Make sure that the (0,0) point is in your data sent to patch(). Looks like now, that point is not in ...

6 days ago | 1

Answered
hey fellows , in which function to use for this case? Thanks
Hint, for the first one you have a matrix and two column vectors: coeffs = [4,2,1; 2,6,-4; 2, -14, 14] y = [a;b;c] ...

6 days ago | 0

Load more