Answered
Screenshot of specific window (not full screen)
Use exportgraphics and pass it the handle of just the one figure or axes that you want. fileName = fullfile(pwd, 'Screenshot.pn...

14 jours ago | 0

| accepted

Answered
I am receiving error for the following code , but I can't understand where and what to change I am having error at 5th line
Don't compare character arrays with ==. Use strcmpi [num,txt,raw]= xlsread('teamdata.xlsx'); disp(raw); for i = 1:6 for...

15 jours ago | 0

| accepted

Answered
I want to know where the function ''monoCamera'' were defined ?
monoCamera is in the Automated Driving Toolbox. Type ver in the command window to see if you have that toolbox. If yoiu don't,...

15 jours ago | 0

Answered
How can I display an image in just its rgb values without using loops
Try the Color Thresholder on the Apps tab of the tool ribbon. Export a function for red, green, and blue, then combine them int...

15 jours ago | 0

Answered
How to vectorize moving window across an image?
Try using imfilter and stdfilt % Demo by Image Analyst % Initialization Steps. clc; % Clear the command window. close all...

16 jours ago | 0

| accepted

Answered
How to extract only certain points contained in a segment?
Try this, assuming you have your points in x and y, and your obstacle point is in x0, y0: distances = sqrt((x - x0) .^ 2 + (y -...

16 jours ago | 0

Answered
How to find the argmax value of multiple images
corr_cell{i,j} is an image. Thus max() will give the max of each column in the image, not the max of the entire image. You'd e...

16 jours ago | 0

| accepted

Answered
Is there a way to visualise all the regionprops properties versus the original image?
Yes, Try calling "hold on" then use plot(). Also see Steve's blog: https://blogs.mathworks.com/steve/2010/07/30/visualizing-re...

16 jours ago | 0

| accepted

Answered
How can I detect rectangles and get their coordinates in a binary image
What I'd do first is to get the four perimeter blobs and store those, then fill in that border. Then I'd threshold for black th...

16 jours ago | 0

| accepted

Answered
Create line of pixels on an image
Does the orientation of the line matter? I think not. So why don't you just scan down the image line by line. To find out how...

17 jours ago | 0

| accepted

Answered
How do you get realistic textures when shading graphs?
Try https://en.wikipedia.org/wiki/Bump_mapping Sorry - I have no MATLAB code for bump mapping.

18 jours ago | 0

Answered
Unable to concatenate tables
You can't have both numbers and characters in the same column, which is what you were trying to do. This works: colHeaderExcel...

18 jours ago | 0

Answered
Why can t matlab find the correct pixel size of a video frame ?
How are you computing the size? Did you use the size() function directly on the image that read() returned? Probably not. You...

18 jours ago | 1

Answered
Inverse t-SNE
gscatter takes a minimum of 3 input arguments. You're passing in only 2. What is your group identification array? You can u...

18 jours ago | 1

Answered
How to save imagesc output as image format (.jpg/.png) in MATLAB
If you want the original image saved, with no axes or tick labels, then you can use imwrite(). If you've applied a colormap the...

18 jours ago | 0

Answered
Access contributor message threads on MATLAB Central
I don't know because I disable people contacting me because I don't want to do offline, free, private consulting. I prefer all ...

18 jours ago | 0

Answered
How to create a GUI in matlab?
You forgot to attach your input file, probably because you never read the community guidelines or this link: TUTORIAL: How to a...

18 jours ago | 0

Answered
How can I avoid the "out of memory' for the following code?
Evidently you have enough memory to hold your variables, you just can't "plot several graphs for statistical analization". Sinc...

18 jours ago | 0

| accepted

Answered
Why tic/toc reports slower times the first five iterations?
There is some randomness to it. Your computer does other things you know. Who knows what else it may have been doing while tha...

18 jours ago | 0

Answered
I want to separate blue nuclei part from this image how can i do it?
Try the Color Thresholder app on the Apps tab of the tool ribbon. Use HSV color space and adjust the thresholds. Then click th...

18 jours ago | 0

Answered
How to set different threshold's for each data?
First I'd ask why you need a different threshold for each one. Is there drift in your measurement that can possibly be avoided,...

18 jours ago | 0

Answered
Find rows based on set of values/codes
Try this oneRow = [1 0 0 13 0 0 31 0 0 0 42 0 0 53]; oneRow(oneRow == 0) = [] % Remove zeros In addition you should be using...

18 jours ago | 0

Answered
MATLAB Runtime Installer Location
What Walter was saying is to check the bell icon in the upper right of your MATLAB and see if you have the latest version or nee...

18 jours ago | 0

| accepted

Answered
Correct images with Camera corrector
Looks pretty good to me. What sort of problems is it creating for you? Why do you need more accuracy? The distortion is proba...

18 jours ago | 0

Answered
Storing image properties in loop
@Mathew Smith do it this more robust way: imageFolder = pwd; fileListing = dir(fullfile(imageFolder, 'img_*.jpg')); if isemp...

19 jours ago | 0

| accepted

Answered
How can I upload and plot temperature values that are both above zero (e.g., ambient) and below zero (e.g., in a freezer)?
If you can get your data into a double image, you can use imshow(yourTemperatureImage, []);

19 jours ago | 0

Answered
I want to go go through the whole matric and want to remove vectors of specific indeices that have probability fitness less than a specific value.
Try this; a = rand(1, 100); % Sample data - use your actual vector. indexesToRemove = [3, 4, 56, 57, 78]; % or indexesToRemov...

19 jours ago | 0

Answered
Why is my loop not working?
You need to use hold on dinfo = dir('M:\xxx\IDXX_xxx_xxx_XXXX.XX.XX_XX.XX.XX\**\**\*scrList.mat'); filenames = fullfile({dinfo...

19 jours ago | 1

Answered
How can I compute the Area and the Centroid of the following shape?
centroid Centroid of polyshape collapse all in page Syntax [x,y] = centroid(polyin) [x,y] = centroid(polyin,I) Description...

20 jours ago | 1

Answered
extracting rows with the highest value
Pretty much the same as https://www.mathworks.com/matlabcentral/answers/1803020-finding-the-corresponding-number-in-a-matrix#ans...

20 jours ago | 0

Load more