Answered
Request to assist:-
Without any other guidance, like how the various x are related to the A, here is one way that will work: function [x1,x5,x7,x8]...

2 days ago | 0

Answered
How can I automatically do thresholding multiple images in a folder by for loop?
Check the FAQ: How do I process a sequence of files?

2 days ago | 0

| accepted

Answered
making upper case character with respect to the indexes
Try this: indxC = [1,7]; s ='hello world'; s(indxC) = upper(s(indxC)) or more generally: s ='hello world'; upperS = upper(...

3 days ago | 0

| accepted

Answered
obtener un area de una imagen
Try imfreehand(), impoly(), drawpoints(), or roipolyold() imshow('cameraman.tif'); uiwait(helpdlg('Draw a polygon with left cl...

3 days ago | 0

Answered
pixel values from Tif file
% Have user browse for a file, from a specified "starting folder." % For convenience in browsing, set a starting folder from wh...

3 days ago | 0

Answered
How can i change specific pixels value in a binary image?
Try drawpoints or imfreehand(). See attached masking demos.

3 days ago | 0

| accepted

Answered
Error using \ .Matrix dimensions must agree problem
See the error section in the FAQ: https://matlab.fandom.com/wiki/FAQ#Error_Messages

3 days ago | 0

| accepted

Answered
Choosing columns to create a matrix
Did you try reshape: output = reshape(A, 200, [])';

3 days ago | 0

| accepted

Answered
Generate a movie silently
See this link: https://www.mathworks.com/matlabcentral/answers/5781-how-can-i-render-and-export-many-figures-without-the-figures...

3 days ago | 0

Answered
moving sum using movsum()
If the window cannot overlap the ends without the window sticking out past the edge of the vector, then it essentially stops the...

3 days ago | 1

Answered
I can't do ndvi for Landsat8 satellite image
Somehow you need to read in the band images. For example, can you use multibandread()?

3 days ago | 0

Answered
draw bounding box around a character
Presumably you used regionprops() props = regionprops(binaryImage, 'BoundingBox'); % Plot all the bounding boxes. hold on; f...

3 days ago | 1

| accepted

Answered
How to find longest lasting event
What form is your event data in? Is it like a binary vector [0,1,1,1,0,0,0,1,1,1,1,1,1,0,0,0]? % 1's are in the event and 0's ...

3 days ago | 0

Answered
Blob segmentation and writing it to folder
m = [... 1,2,3,4; 5,6,7,8; 9,10,11,12] m2 = reshape(m', 1, []) % Transpose then reshape into row vector. m = 1 ...

3 days ago | 0

Answered
Help needed adding features to this script.
Here is one way: m = zeros(12, 12); numIterations = 7200; row = ones(1, numIterations); col = ones(1, numIterations); m(row...

3 days ago | 0

| accepted

Answered
How to find pixel value of different face skin colors?
First get a mask of the face - a binary image that's true where there is face and false elsewhere. Then... % Extract the indiv...

4 days ago | 0

| accepted

Answered
Detection / Identification of a curve in an image
Call bwlabel() to give each curve it's own unique ID number.

4 days ago | 0

| accepted

Answered
How to save an image loaded in matlab in excel? file
See this demo to paste axes onto Excel, and adapt as needed. First you need to get an ActiveX handle to Excel (Windows only): ...

4 days ago | 0

| accepted

Answered
issue when quantifying logo symmetry
You have to make sure you're truly flipping about the true vertical axis, which I suspect you're not. You'd have to get rid of ...

4 days ago | 0

Answered
I have a few paddy in the image. I need to know the RGB of each paddy but how should i study the paddy one by one?
See my Image Segmentation Tutorial. It will walk you through the process. Image Analyst's File Exchange

4 days ago | 0

Answered
How to find the index of first and last nonzero elements in each column?
You could probably use A = [0 0 0 0 0 0 0 0 1 0 4 8 2 0 5 9 3 1 ...

5 days ago | 1

| accepted

Answered
makeDOMCompilable() DOES NOT resolve compiling application with report generator
Have you tried everything in the FAQ: FAQ#My_standalone_executable_won.27t_run_on_the_target_computer._What_can_I_try?

5 days ago | 1

Answered
Pop up menu condition push button
Try this (assuming GUIDE - replace handles with app if using AppDesigner) if handles.popup1.Value == 1 && handles.popup2.Value ...

5 days ago | 0

| accepted

Answered
why i can't make title in figure?
Not sure what you want so I've going to show you both alternatives. To set the titlebar caption of the figure, use its Name pro...

5 days ago | 0

Answered
When is Matlab going to offer a colored chart
I agree it would be nice since they have that feature for scatter(). But you can plot them individually, like I did for this ot...

5 days ago | 0

Answered
fitting envelope peak points
Just try interp1() or spline(). Pass in your peak points and then the x values of the whole array, something like [peakValues,...

5 days ago | 0

| accepted

Answered
How i can save all image after cropped in ciclo for?
Try (untested): rgbImage = imread('peppers.png'); [rows, columns, numberOfColorChannels] = size(rgbImage); sizeStep = 32; fo...

5 days ago | 0

Answered
Extracting "endpoints" from a skeleton image to enable a circle to be defined.
I don't remember seeing that image and I don't think I would have recommended that, anything with skeletonization and endpoints ...

5 days ago | 0

| accepted

Answered
Reusing ROI for another image
You could plot xi, yi over your image and have two scrollbars on your GUI to let them nudge the outline up, down, left, or right...

5 days ago | 0

Answered
Plot mean and standard deviations along with data on a bell curve
Then if it's not normally distributed data, why do you want to fit a bell curve to it? Did you try fitdist(): load hospital x...

6 days ago | 0

Load more