Answered
How can I extract the frame around the windows?
I suggest you just call rbbox(), imrect(), or imcrop() for the simplest solution. Anything else is not going to be "basic".

8 days ago | 0

| accepted

Answered
How to 'clean' data using moving average window filter
Try this: subplot(1, 2, 1); plot(y, 'LineWidth', 2); title('y', 'FontSize', 16) subplot(1, 2, 2); plot(y2, 'LineWidth', 2);...

8 days ago | 0

| accepted

Answered
read 20 images in ordered manner
Part of the problem was in using a file pattern of *.jpg when you actually have *.png files. But also other errors. Try this (...

8 days ago | 0

Answered
how do i use the rand command in an array of an image, i want the program to read the image and draw some elements from that array
Try something like this: randomIndexes = randperm(numel(grayImage), numIndexes); extractedPixels = grayImage(randomIndexes); ...

8 days ago | 0

Answered
How to rotate image by using orientation regionprops?
Try this meanAngle = mean(ori) BW3 = imrotate(BW3, -meanAngle);

8 days ago | 0

Answered
I need some help with image processing
Maybe compute the sum of the residuals from a line coefficients = polyfit(xcoor, ycoor, 1); yFitted = polyval(coefficients, xc...

9 days ago | 0

Answered
How to make GUI look similar on different computer's screen?
The best way I've found is to set all the units to normalized, and then have your end user use as close a pixel dimensions as yo...

9 days ago | 0

| accepted

Answered
lisans nasıl alcagız arkadaslar? How do we get a license?
See the license types on this page: https://www.mathworks.com/products.html?s_tid=gn_ps

9 days ago | 0

Answered
How to Call a function onto a separate script
Try something like this TotalMinutes = 123; % Whatever [Hours, Minutes, Message] = MyTimeConversion(TotalMinutes) uiwait(hel...

9 days ago | 0

| accepted

Answered
Hai .. i am new to matlab.. i have trouble in below function.. i am trying to run the below code but i got error 'not enough input arguments' .. please help me solve it... Thanks
What is name when you call it? For example did you do this [ trainClass ] = buildClassLabel('Siva'); which should work. Or d...

9 days ago | 0

Answered
How to convert 3d array to raster (tiff)
If "m" is your 3-D variable, then do this time1 = m(:, :, 1); imshow(time1, []); This assumes your latitude and longitudes ar...

9 days ago | 1

Answered
create an echo effect
The loop just goes through each time point in the signal adding in a fraction of the signal from an earlier time point. Attach ...

9 days ago | 0

| accepted

Answered
Apply all steps in whole data set.
You need to make up a cell reference with the row and column you want the data to go into. For example cellReference = sprintf...

9 days ago | 0

| accepted

Answered
How to use PCA as feature descriptor for images like FFT, GLCM etc???Please help
Just treat the PC image like any other image, for example meanOfPC1 = mean(PC1(:)); % Get mean of the first PC image. sdOfPC1 ...

9 days ago | 0

| accepted

Answered
Power spectral density of voice recording
Yes, pwelch() is fine. That's what I'd use.

10 days ago | 0

| accepted

Answered
how do i spread ticks evenly on a plot?
You mean like this: workspace; % Make sure the workspace panel is showing. figure(1) % plot on large axes plot(x, y1, 'Line...

12 days ago | 0

Answered
How do I determine goodness of the fit (any curve )when using least square method?
How about simply taking the sum of the residuals? residualSum = sum(abs(yFitted - yTraining));

12 days ago | 0

Answered
Find the points on circumference of a circle
Use sind() and cosd() to get all the x and y coordinates. Round them to get integers and use unique() with the rows option to r...

12 days ago | 0

Answered
How to get password to install MatLab
It's normally the same one you use to get here to Answers, and that you use to download the installer. Call the Mathworks on th...

13 days ago | 0

| accepted

Answered
checking a matlab function for nested functions
See the attached function to list all the dependent m-files.

13 days ago | 0

Answered
counting the number of clusters
I agree with Stephan and findgroups() -- there are 8 "clusters." Below I use findgroups() to find the groups, then I store al...

13 days ago | 2

Answered
How to grab message from command window and take action in code depending on it.
I'm almost certain you do not want to do what you asked. It's bizarre. Why not just write a normal program with a GUI or an in...

13 days ago | 1

| accepted

Answered
I need help with this
Try csvread() or dlmread() or readtable() or importdata().

13 days ago | 1

Answered
Probelm in implementing Adaptive Histogram Equalization
Before calling adapthisteq(), cast the image to gray level if it's not already: if ndims(I) == 3 I = rgb2gray(I) end

13 days ago | 1

Answered
How to skip legend names if their values equal zero on particular piechat?
Try this: zeroIndexes = [Costs.GESAMT_ohne_D_Money_min] <= 0 labels2 = labels(zeroIndexes); % Extract only the non-zero numbe...

13 days ago | 0

| accepted

Answered
How to put tick in front of a picture?
Use imshow followed by axis on: imshow(yourImage); axis on; You'll get tick marks outside the axes box (which you can also tu...

15 days ago | 1

Answered
How i can i add different objects in an image to make them single object ?
You can use regionprops to get the bounding boxes of all the objects, then crop them out to variables or files and use imtile() ...

15 days ago | 0

Answered
How can I lock resolution on images?
Try setting the units property of all the controls to "pixels" if you want them at the same pixel position regardless of how man...

15 days ago | 1

Answered
Measure distance between two object with same color automatically
First you need to segment the image to find all the "red" regions. I have some demos for color segmentation in my File Exchange...

15 days ago | 0

Answered
How to segregate folders level wise and list the files folderwise
There is a .isdir property on the returned files that you can check. In addition there is a function called isfolder() that you...

16 days ago | 1

| accepted

Load more