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')

2 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...

3 days ago | 0

| accepted

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

3 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...

3 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...

3 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. ...

4 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,...

4 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...

4 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?

4 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 ...

5 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...

5 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 ...

5 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] ...

5 days ago | 0

Answered
About the error of 「vision.getMessage」
I get no such error. I suggest you call tech support for free installation help since it seems like it's not installed properly...

5 days ago | 0

Answered
finding number of centroids of a binary image
Try my Image Segmentation Tutorial. It gives a well commented demo to find the centroids and other things. Image Analyst's Fil...

5 days ago | 0

Answered
How to do a maximum rank filter
Looks right to me. Do you think something is wrong with that?

5 days ago | 0

Answered
Detect voids in FRC by Image Processing Toolbox
You forgot to attach the image. It looks like you're trying to detect bark blobs in a certain range. Why not just use regionpr...

5 days ago | 0

| accepted

Answered
why do i got this error?
I don't know exactly what you're doing but look at this: function [updatemodel, k_gain] = ESMDA_inversion(w, data, d_pred, alfa...

5 days ago | 0

Answered
How do plot rows of your matrix into a histogram?
Not sure what you mean by histogram. Is that your data or some kind of histogram of the data? Anyway, to plot the rows of your...

5 days ago | 0

Answered
Question in continuous time signals
Why are you going from 8 to 12 instead of (7+DT) to 12?

5 days ago | 0

Answered
how to convert an image into bits???
If you want to view bitplanes 0 through 7, as binary images, see my attached demo.

5 days ago | 0

Answered
How to draw a histogram of an image in a triangle?
Really I think you could do it. I did it in just a few minutes. Before I give you all the source code tell me if it's your h...

5 days ago | 1

Answered
How to draw a histogram of an image in a triangle?
Triangle thresholding has nothing to do with the shape of the histogram, so you don't need the triangle_th() function. I have a...

6 days ago | 1

| accepted

Load more