Answered

How do I exclude NaN values when calculating mean of each row in a matrix?

https://www.mathworks.com/help/stats/nanmean.html

How do I exclude NaN values when calculating mean of each row in a matrix?

https://www.mathworks.com/help/stats/nanmean.html

mehr als ein Jahr 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')...

mehr als ein Jahr ago | 1 answer | 0

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 ...

etwa 2 Jahre ago | 2 answers | 0

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 ...

etwa 2 Jahre ago | 3 answers | 0

Answered

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....

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....

mehr als 2 Jahre ago | 0

Answered

Cars detection and tracking

Hi, I have done something like this before. I'll try to help you. VidObj = VideoReader('the name of your video'); nFrames ...

Cars detection and tracking

Hi, I have done something like this before. I'll try to help you. VidObj = VideoReader('the name of your video'); nFrames ...

mehr als 2 Jahre ago | 0

Answered

How to combine image with mask

im=double(imread('autumn.tif')); red = im(:,:,1); gre = im(:,:,2); blu = im(:,:,3); mask=255*zeros(size(re...

How to combine image with mask

im=double(imread('autumn.tif')); red = im(:,:,1); gre = im(:,:,2); blu = im(:,:,3); mask=255*zeros(size(re...

mehr als 2 Jahre ago | 1

Answered

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...

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...

mehr als 2 Jahre ago | 0

Answered

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 ...

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 ...

mehr als 2 Jahre 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...

mehr als 2 Jahre ago | 1 answer | 0

Answered

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...

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...

mehr als 2 Jahre ago | 0

Answered

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" ...

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" ...

mehr als 2 Jahre 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...

mehr als 2 Jahre ago | 2 answers | 0

Answered

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 ...

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 ...

mehr als 2 Jahre ago | 0

Answered

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...

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...

mehr als 2 Jahre ago | 0

| accepted

Answered

Compare two histograms with Correlation Coefficient

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

Compare two histograms with Correlation Coefficient

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

mehr als 2 Jahre 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...

mehr als 2 Jahre ago | 2 answers | 0

Answered

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 ...

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 ...

mehr als 2 Jahre ago | 1

Answered

[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...

[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...

mehr als 2 Jahre ago | 0

Answered

plotting from excel help

Hey, try deleting the x inside the paranthesis in plot command. plot(fixedacidity)

plotting from excel help

Hey, try deleting the x inside the paranthesis in plot command. plot(fixedacidity)

mehr als 2 Jahre ago | 0

Answered

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...

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...

mehr als 2 Jahre ago | 0

Answered

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...

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...

mehr als 2 Jahre ago | 1

| accepted

Answered

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]; ...

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]; ...

mehr als 2 Jahre ago | 0

Answered

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 (,)

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 (,)

mehr als 2 Jahre 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?

mehr als 2 Jahre ago | 1 answer | 0

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...

mehr als 2 Jahre ago | 0 answers | 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...

fast 3 Jahre ago | 1 answer | 0

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...

fast 3 Jahre ago | 1 answer | 0

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 ...

fast 3 Jahre ago | 2 answers | 0

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

fast 3 Jahre ago