Answered
How to Separate the RGB channels from an image and get the average of each RGB channel separetly
Like DGM, I'm not even sure what the goals are. The use case/context was never given. What is the fabric? What is the dye and...

5 días ago | 1

Answered
How to Separate the RGB channels from an image and get the average of each RGB channel separetly
Have you tried the Color Thresholder on the Apps tab of the tool ribbon? It's pretty straightforward. Read in your image, choo...

6 días ago | 1

Answered
Separating Objects in Binary Image
Call imfill() and then imerode(). Then mask it: Untested code mask2 = imfill(mask1, 'holes'); se = strel('disk', 3, 0); % Ad...

6 días ago | 0

| accepted

Answered
how to dispaly the 2D matrix image?
You can use truesize as long as your image is not larger than your screen: img = uint8(randi(255, 256, 256)); imshow(img); ax...

6 días ago | 0

Answered
Creating a histogram,
Try this: % Create a hundred thousand values ranging from 0 - 1000. numValues = 100000; r = 1000 * rand(numValues, 1); % Def...

7 días ago | 0

Answered
find the object closest to the center
First I'd get rid of the outer ring-shaped blob. Then I'd fill the remaining blobs. Then call regionprops() to get the centroi...

7 días ago | 2

Answered
How to find common peak and save it location
Try experimenting around with ismember().

8 días ago | 0

Answered
how to find the end point coordinates of an object in binary image.?
There is an easy way. Just use bwferet(): clc; % Clear the command window. close all; % Close all figures (except those o...

8 días ago | 1

Answered
Sum the digits of a number?
Here is how I did it: fprintf('Beginning to run %s.m ...\n', mfilename); % Get a random integer. originalNumber = int64(randi...

9 días ago | 0

Answered
EndPoints in 3D skeleton
bwmorph() has an 'endpoints' option. The image should be a skeleton. bwmorph() also has a skeleton option but I think bwskel()...

9 días ago | 0

| accepted

Answered
Using K Means clustering to identify coactivation of neurons
"My problem lies in how to display these clusters" <=== use plot3() or scatter3().

9 días ago | 0

Answered
Finding the histogram difference between two pictures
Well there are lots of ways that code could be improved, but we can't fix it because it's an image. We can't fix or run an imag...

9 días ago | 1

Answered
how to find the end point coordinates of an object in binary image.?
What I would do is to use regionprops() to find the centroid and orientation. Then also call bwboundaries() to get the x,y coor...

10 días ago | 0

Answered
eval not working for a range of numbers
Why are you even using eval at all instead of simply doing this: thetaAB = sol.thetaAB; theta4 = sol.theta4; ???

10 días ago | 0

Answered
How to give names to the sheets using xlswrite?
Did you look at the documentation? The sheet name is the 3rd input argument to xlswrite(). It's best to name them as you write...

11 días ago | 0

Answered
Discrepancy between convolution and filtering
Your manual way is not flipping the kernel like conv2() does. So when the kernel is symmetric, the results will be the same and...

11 días ago | 0

| accepted

Answered
How to store vectors generated in a while loop in a single vector?
See if this does what you want: maxIterations = 500; % Failsafe for the while loop X = [0:0.01:1]; m = 1; nf = 101; Y = [];...

11 días ago | 0

Answered
How to get all yellow piexels that interact with the blue piexels?
Try this, using bwboundaries() from the Image Processing Toolbox: % Demo by Image Analyst. clc; % Clear the command window....

11 días ago | 0

| accepted

Answered
How can I find the mean of signal?
Not sure what "medaian" is but there are functions for mean and median. Did you try either of them? Also, what does "cikis 4" ...

11 días ago | 0

Answered
Changing the right panel gui in every choices in the left panel
In the callback function for the button, you need to put code to read the selected index in the listbox and do something with th...

11 días ago | 1

| accepted

Answered
Need help in figuring out the codes for this similar simulation of Flappy Bird please thank you.
That is not a program that beginners will be able to code up. It's a lot harder than it looks. But you can start to learn how ...

11 días ago | 0

Answered
While loop inside for loop fibonacci
Don't have the while loop. After you assign f(k), just break if the value is more than m for k=3:n f(k) = f(k-1) + f...

11 días ago | 0

Answered
How to Connecting nearby pixels of binary image
Are there really gaps/openings there or not? If they aren't there, then it looks like you just did the segmentation improperly,...

11 días ago | 0

Answered
Help with Syntax error
Your while loop will get into an infinite loop because your n never changes. while loops always need to have a failsafe which i...

11 días ago | 1

Answered
Can someone help with my syntax error
We can't run or fix an image. But this will be useful to you instead of x and y [rows, columns] = size(a) for col = 1 : colum...

12 días ago | 1

| accepted

Answered
How to find the period time of a signal if given only one period of the signal ?
If the entire length of the signal is known to be exactly one period, then the period is the length of the signal period = leng...

12 días ago | 0

Answered
Drawing a second order curve
Here's a start. Adapt as needed: clc; % Clear the command window. close all; % Close all figures (except those of imtool....

12 días ago | 0

Answered
specialist/gig help
You will find the best experts here: https://www.mathworks.com/services/consulting.html?s_tid=hp_ff_s_consulting

12 días ago | 1

Answered
How can I compare two midi files in % of sameness?
Do you mean like mse = immse(midi1, midi2); percentSame = 100 * sum(midi1 == midi2) / numel(midi1); ?

12 días ago | 0

| accepted

Answered
Write a matlab code to plot the 3D image of the helix below:
No thank you. It was not on my agenda for today and you're probably not allowed to turn in my work as your own anyway. So read...

12 días ago | 1

Load more