답변 있음
make vectors same length using min function
How about x = [2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016]; y = [0, 0.05, 0.1, 0.15, 0.2]; a = [2...

대략 1개월 전 | 0

| 수락됨

답변 있음
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 - ...

대략 1개월 전 | 1

답변 있음
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 ...

대략 1개월 전 | 0

답변 있음
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...

대략 1개월 전 | 0

답변 있음
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...

대략 1개월 전 | 0

답변 있음
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...

대략 1개월 전 | 1

답변 있음
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 ...

대략 2개월 전 | 1

답변 있음
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...

대략 2개월 전 | 0

답변 있음
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 ...

대략 2개월 전 | 0

답변 있음
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,...

대략 2개월 전 | 0

답변 있음
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...

대략 2개월 전 | 0

답변 있음
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...

대략 2개월 전 | 1

답변 있음
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?

대략 2개월 전 | 0

답변 있음
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...

대략 2개월 전 | 0

답변 있음
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...

대략 2개월 전 | 1

답변 있음
How to draw an uncertain number of sub-images in one coordinate in app designer?
Perhaps you want stackedplot. help stackedplot

대략 2개월 전 | 0

답변 있음
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...

대략 2개월 전 | 0

답변 있음
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...

대략 2개월 전 | 0

답변 있음
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...

대략 2개월 전 | 0

답변 있음
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...

대략 2개월 전 | 0

답변 있음
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) ...

대략 2개월 전 | 0

답변 있음
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...

대략 2개월 전 | 0

답변 있음
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...

대략 2개월 전 | 0

답변 있음
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...

대략 2개월 전 | 0

| 수락됨

답변 있음
how to do Open mouth detection
See articles on drowsiness detection here: https://www.visionbib.com/bibliography/motion-f725.html#Driver%20Monitoring,%20Eyes,...

대략 2개월 전 | 0

답변 있음
Using matlab in snaptostamps image processing
Try using ./ instead of / in the line where you assign demx.

대략 2개월 전 | 1

답변 있음
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...

대략 2개월 전 | 0

답변 있음
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...

대략 2개월 전 | 0

답변 있음
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...

대략 2개월 전 | 0

답변 있음
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...

대략 2개월 전 | 0

더 보기