Réponse apportée
Find index of a nearest value
Another solution x = [1 2 3 4 5 6 11 15 21 51 52 54 100 101 151 201 251 301 401]; targetValue = 10; [~, index] = min(abs(x - ...

environ un mois il y a | 1

Réponse apportée
How to detect right triangles from an image and find the three side lengths of each triangle?
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

environ un mois il y a | 0

Réponse apportée
warning in serial properties
If you look in the help, it will tell you. Use serialport instead. I figure you can figure out how to change your code as well...

environ un mois il y a | 0

Réponse apportée
Align image to 3d point cloud
You'd have to somehow project your 3-D point cloud onto a 2-D plane so it can be compared to your 3-D image. But then some of t...

environ un mois il y a | 0

Réponse apportée
change the color of curve from blue to any color and make it bold
You can specify the color as a 3 element vector with values between 0 and 1, or use one of the built in colors like 'r': y = ra...

environ un mois il y a | 1

Réponse apportée
what toolbox to include for regression
For these few data points, and for a case like this where the best fit might simply be a line, you can use the build-in polyfit ...

environ 2 mois il y a | 1

Réponse apportée
MATLAB editor configuration text extremely small
What is the "find bar"? Some of the fonts might still be controlled by the operating system so if you can't change a font siz...

environ 2 mois il y a | 0

Réponse apportée
Why does my matlab code cannot detect the number of periods in a specific time range
Is locs_gelb the yellow signal? It looks like you've already determined how many cracks you have and your loop simply inspects ...

environ 2 mois il y a | 0

Réponse apportée
I have the wrong code. How should I modify it to accomplish the goal?
That should be right, but delete lines 4-6. They should not be there. You pass in the base and height with your test function,...

environ 2 mois il y a | 0

Réponse apportée
How to remove noise of low frequency signals
One way is use envelope, envspectrum, or audioEnvelope. Once you have the envelope, just subtract the lower curve of the envelo...

environ 2 mois il y a | 0

Réponse apportée
what kind of plot is useful for comparing two matrices?
Why a plot and not a 2-D image showing differences? What would your x axis represent? If you treat your matrix as an image the...

environ 2 mois il y a | 1

Réponse apportée
How to find repeated patterns of combination of numbers in the rows of a matrix
I don't have time to try anything for you now, but did you try ismember?

environ 2 mois il y a | 0

Réponse apportée
real-time ROI and scatter plot in app designer
Once you have the ROI, you can get the x and y coordinates from the roi object. I didn't look at your code but when you then st...

environ 2 mois il y a | 0

Réponse apportée
How can I connect the upper endpoint of the red curve to the red dot while keeping the curvature nearly the same?
Try using plot after you use scatter to draw a line from the last point on the curve to the marker you placed with scatter(): f...

environ 2 mois il y a | 1

Réponse apportée
How to draw an uncertain number of sub-images in one coordinate in app designer?
Perhaps you want stackedplot. help stackedplot

environ 2 mois il y a | 0

Réponse apportée
error
The main problem is exactly what it said and that is your script is called image.m which will take priority over a very importan...

environ 2 mois il y a | 0

Réponse apportée
MatLab stays on Run forever and doesn't generate image file
Usually when there is an infinite loop it's with a while loop that never met the condition to exit, and (importantly!) didn't ha...

environ 2 mois il y a | 0

Réponse apportée
Drawing the major and minor axis of an elliptical object in Matlab
This is discussed in this blog entry of Steve Eddins: https://blogs.mathworks.com/steve/2010/07/30/visualizing-regionprops-elli...

environ 2 mois il y a | 0

Réponse apportée
Calculate Mean of vector in more decimals
It is already that. A = [0,1,9]; format short g m = mean(A) fprintf('Mean with 30 decimal places is %.30f.\n', m); format l...

environ 2 mois il y a | 0

Réponse apportée
Peak coming at 50Hz in every data file. How to get rid of that
Find out what index the 50 Hz spike is in and zero it out. Something like f = fft(signal) [peakSignal, indexOfMax] = max(f) ...

environ 2 mois il y a | 0

Réponse apportée
Matlab code to delete contents of a subfolders
Try this. At the bottom of the loop, put in a call to delete or whatever you want: % Start with a folder and get a list of all...

environ 2 mois il y a | 0

Réponse apportée
Adjusting Convex Hull Area
Try regionprops % Make cross. cross = false(5, 5); cross(2:4, 3) = true; cross(3, 2:4) = true; % Measure area of convex hul...

environ 2 mois il y a | 0

Réponse apportée
fenêtrage d'une image scannographie
help conv2 There are other windowed functions, for example stdfilt, imgaussfilt, etc.. It really depends on what you want to d...

environ 2 mois il y a | 0

| A accepté

Réponse apportée
how to do Open mouth detection
See articles on drowsiness detection here: https://www.visionbib.com/bibliography/motion-f725.html#Driver%20Monitoring,%20Eyes,...

environ 2 mois il y a | 0

Réponse apportée
Using matlab in snaptostamps image processing
Try using ./ instead of / in the line where you assign demx.

environ 2 mois il y a | 1

Réponse apportée
What is wrong with this code for finding out the number of significant digits after decimal?
See the FAQ https://matlab.fandom.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_(or_similar)_not_equal_to_zero? One way to compare float...

environ 2 mois il y a | 0

Réponse apportée
Why does Matlab state that I do not have a valid license file?
I suggest the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation,_MATLAB_crashes_or_gives_an_error_message_when_I_try_to...

environ 2 mois il y a | 0

Réponse apportée
inputdlg Window Not Showing
I ran it and it works fine for me. The input window popped up. Your script in not called inputdlg.m is it? Because that would...

environ 2 mois il y a | 0

Réponse apportée
Manual and Automatic Image Recognition
Most bright spots looks like they're surrounded by a dark spot/ring. Do you want to count those as one of the dark spots? Do y...

environ 2 mois il y a | 0

Réponse apportée
Can I use Matlab 2024a license with 2022b client software version
I've seen that "You need to update your license" message before and I've done it with no problems. But then I always have our l...

environ 2 mois il y a | 0

Charger plus