Answered
Linear Regression problem issues
Can you simply use polyfit(x, y, 1)? Or do you have to use the slash operator? And obviously you need more than 1 point if you...

10 days ago | 0

Answered
PROBLEM ANIMATING SURF PLOT
Not sure what your definition of "move" is. Are you talking about an animation? Or do you just want there to be variation alon...

10 days ago | 0

Answered
drowsy detection using CNN
My answer was given in your duplicate question: https://www.mathworks.com/matlabcentral/answers/124792-how-to-detect-drowsiness#...

10 days ago | 0

Answered
Preprocessing step for a set of images taken under different illuminations.
You need to have something in your image that is the same from photo to photo, like an X-rite Color Checker chart or some other ...

10 days ago | 0

Answered
get eccentricity and metric values images
Index your variables with k: area(k) = cat(1,stats.Area); eccentricity(k) = cat(1,stats.Eccentricity); metric(k) ...

10 days ago | 0

| accepted

Answered
How can I snap my data point to the border for a colormap/heatmap?
pcolor() does not show all the values as pixels/tiles. It leaves off the last row and column. Or, actually, it has the pixels ...

10 days ago | 1

Answered
Distance between several defects/points
Try this: % Initialization steps. clc; % Clear the command window. close all; % Close all figures (except those of imtool...

10 days ago | 0

| accepted

Answered
how to draw 3d histogram of an image ad shown in figure
This is done by the histogram2() function. Check out the help for examples. Let us know if you can't figure it out for your da...

10 days ago | 0

Answered
How to get the bright areas separately from an image?
Can you divide the later image by an earlier one? The ratio in the regions where the intensity went up faster than the rest of ...

10 days ago | 0

| accepted

Answered
Different Values of Bounding Boxes for different classes.
I don't think so. If the bounding box was [0], it would not even have produced that bounding box in the first place.

10 days ago | 1

| accepted

Answered
How can I save ROI parameters from DrawFreehand and load it onto another image?
Here is what I do: % User draws curve on image here. hFH = drawfreehand(); % Get the xy coordinates of where they drew. xy =...

11 days ago | 0

| accepted

Answered
Extracting external Boundary from Binary Image generated from noisy RGB
What do you think of this: % Demo by Image Analyst. clc; % Clear the command window. close all; % Close all figures (exce...

12 days ago | 0

| accepted

Answered
Finding when signal goes below threshold
Can't you just mask it, like indexes = above_threshold & baseline_waves; then examine that logical with find() or strfind()? ...

12 days ago | 0

| accepted

Answered
Extract Red Line From JPEG
Try the Color Thresholder on the Apps tab of the tool ribbon. From there you can export code for a function that you can then c...

13 days ago | 0

Answered
Filter centroids to find only those of interest in binary image
If you know the rows and columns outlining your box you can erase the image inside that box before computing the centroids mask...

13 days ago | 0

| accepted

Answered
Index exceeds the number of array elements (1).
for k = 1 : numel(h_im) % the length is 3072 a(k) = w_im{k}(x,y) - h_im{k}(x,y); end and if dl > 0 ...

13 days ago | 0

Answered
Newton's Method Plot of Errors
You need to index err: err(i) = abs(x - xold); Otherwise it's just a scalar, not a vector with 9 elements because you're overw...

13 days ago | 0

Answered
extracting values from a matrix or vector
Consecutive in what way? Consecutive in value or index location? None of those numbers are consecutive in their values. Why t...

14 days ago | 1

Answered
How to activate MATLAB for non-administrator users?
If you want to solve it NOW, then you'll call them on the phone NOW and talk to a real live person.

14 days ago | 0

Answered
Why do all my points not all plot at the same time?
Your for loop needs an "end". And comment out firugre(1) - not sure if that messes up the hold now, plus it's not needed. Also...

14 days ago | 0

Answered
How to activate MATLAB for non-administrator users?
Should not be a problem. If you have trouble with installation or running it after installation, see the FAQ: https://matlab.f...

14 days ago | 0

Answered
How change the axes labels and axes range of each plot of one figure?
Try this (untested): fontSize = 20; subplot(1, 2, 1); imshow(yourImage, 'Parent', h1); title(h1, 'Magnitude Scalogram', 'Fon...

14 days ago | 0

Answered
Randomly deforming my curve
Try this: % Initialization steps. clc; % Clear the command window. close all; % Close all figures (except those of imtool...

14 days ago | 1

Answered
How to Segment a image object based on edge points ?
You should be able to just threshold and call bwlabel. [labeledImage, numRegions] = bwlabel(grayImage > 0, 4); I'm not sure ...

14 days ago | 0

Answered
Extracting external Boundary from Binary Image generated from noisy RGB
If you just want the top pixel of the quarter image, you can simply scan the image column by column looking for the first pixel ...

14 days ago | 1

Answered
how to set x-axes in a histogram of gray scale image and how to see if the image is saturated (12 bit)
If the maxcount is 2123959, then that just means that the highest bin has a y value of 2123959. That bin could be anywhere alon...

14 days ago | 0

Answered
How to Segment a object's based on color pixel value ? and how to labelling it ?
You can use the Color Thresholder on the Apps tab of the tool ribbon. Tell it to export the code. Then you can pass the mask i...

14 days ago | 0

Answered
Animate a rectangle, for loop used
Use the rectangle() function. Get it's handle so you can delete the old one when you want to place a new one.

14 days ago | 0

| accepted

Answered
How to plot this graph on Matlab?
You can use rectangle() to plot the circle and oval. You can use text() to place text labels on the plot.

14 days ago | 2

| accepted

Answered
Nuclear norm coding issue
In plot([1 : 50:(m*n)], SuccessRate(2:9)) SuccessRate(2:9) has 8 elements. Does x have 8 elements? What does this show leng...

14 days ago | 0

Load more