Community Profile

Changoleon

31 total contributions since 2016

View details...

Contributions in
View by

How do I exclude NaN values when calculating mean of each row in a matrix?
https://www.mathworks.com/help/stats/nanmean.html

2 years ago | 0

Question

Color of Kaplan meiern with ecdf function
Hello, How can I change the color of plots that are made with ecdf? ecdf(days,'frequency',s_xrt,'function','survivor')...

2 years ago | 1 answer | 0

1

Question

How to load the folders in alphabetic/numeric order?
Hi all, I have a folder in my desktop called RF. Inside RF, I have three folders that are called Day9, Day10, Day11. Each of ...

3 years ago | 2 answers | 0

2

Question

rename files using matlab
Hello all, I have a folder on my desktop that has 10 text files as following: A.txt Abgd.txt B.txt Bbgd.txt ...

3 years ago | 3 answers | 0

3

Remove artefact when dilating Image
So what's the problem? that two objects are connected to each other? if yes, use the function imopen. <https://www.mathworks....

3 years ago | 0

Cars detection and tracking

3 years ago | 0

How to combine image with mask

3 years ago | 1

hi ..is there a book where i can learn basic MATLAB from? which also has problems to solve and alot of exercises? the slides i study from don't have any exercises and i want to make sure i have each concept fully understood.
Hi, there are tons of books outside, but what I am going to suggest is Coursera! This webpage will allow you to enroll in one of...

3 years ago | 0

quiver to show the magnitude of velocity
I did not find the answer to my question. Here is what I have done and it kinda works, better than nothing clc x=[1 2 3 ...

3 years ago | 0

| accepted

Question

quiver to show the magnitude of velocity
Hi all, I have the following: x=1; y=1; u=3; v=4; w = sqrt(u^2+v^2); now if I use quiver(x,y,u,v) and cli...

3 years ago | 1 answer | 0

1

How to sum up specific pixel intensities in image?
Do you want to get rid of the intensities less than 120? so that you end up with the pixels intensities over 120? If this is the...

3 years ago | 0

Image is Noisy or not ?
Hi. this question is very qualitative. What kind of noise does your images has? Let's assume your image has "salt & pepper" ...

3 years ago | 1

Question

How to switch two values in a matrix?
Hi. I have a matrix : x = [ 6.5 7 23 24 25] x = 6.5000 7.0000 23.0000 24.0000 25.0000 However...

3 years ago | 2 answers | 0

2

Repeat rows in a matrix
Hi, I got really really close to the answer. You just need to add 2 or 3 lines of code to finish it. A = [ 1 2; 3 4; 5 6; 7 ...

3 years ago | 0

Checking a 1x24 Array for numbers less than 0
for example if a is the matrix a = [ 0 2 1 -9 -8 6 100 -63 1 2 5]; you can do following a(a<0)=0; Now a has just th...

3 years ago | 0

| accepted

Compare two histograms with Correlation Coefficient
Why it does not work? What is the error? How about you try this: R=corrcoef(hHist, hHist2);

3 years ago | 0

Question

Minimum in a matrix! and its location
Hi. I have a 4 by 4 matrix and I want to find the minimum of each row and also want to find where that minimum is located in eac...

3 years ago | 2 answers | 0

2

Saving vectors from a loop into a matrix
Hi. This is a very simplified solution, I believe you should be able to modify this code. h=5; for i=1:h ...

3 years ago | 1

[Image processing] normalization and subtracting background noise
Hi. I assume you're images are grayscale. How about you try this: upperlim = 200; % define the maximum intensity lowerl...

3 years ago | 0

plotting from excel help
Hey, try deleting the x inside the paranthesis in plot command. plot(fixedacidity)

3 years ago | 0

How can I isolate objects in image?
Hi, First of all, I would convert the image to grayscale. You can use rgb2gray or mean('name',3) Next you should apply ot...

3 years ago | 0

Distinguish between lines and spots in a grayscale image
Hi, what are all those tiny dots around the center of the image? In the center, you clearly have some lines. You could do the f...

3 years ago | 1

| accepted

I have a matrix A of order 3 X 7 and C is a matrix made
>> a = [ 1 3 5 7 9 11 13 15; 2.5 2 1.5 1 0.5 0 -0.5 .1; 0.25 0.5 1 2 4 8 16 32]; >> c = [ 1 7 13; 2.5 1 -0.5; 0.25 2 16]; ...

3 years ago | 0

I keep getting an error message for my subplot syntax? Could anyone out there look over my script, and tell me whats wrong?
Hey, try putting semicolon (;) between your commands instead of comma (,)

3 years ago | 0

Question

erode until 1 pixel remains
What is the function that erodes the object all the way until only one pixel remains from that object?

3 years ago | 1 answer | 0

1

Question

How to make bwlabel count in the same order in two different images?
Hi folks, I am trying to write a code that can track particles. So I have an image pair. In the first one particles have a sp...

3 years ago | 0 answers | 0

0

Question

How to perform ifft2 with phase and magnitude
Hi. I really tried to find the answer for my questions but I didn't find it online. So I have two images which correspon...

3 years ago | 1 answer | 0

1

Question

A function similar to bwareaopen and imdilate?
Hi, I have a picture with several particles in it. I have made the intensity in particles 255 and the background 0 so the pa...

3 years ago | 1 answer | 0

1

Question

How can I change the intensities of a certain pixel in an image along with 3*3 surrounding neighbor pixels?
Lets say I have a image(matrix) as following: a = 1 1 1 1 1 1 1 1 1 1 1 ...

3 years ago | 2 answers | 0