Question

How can i calculate entropy of an image by using the entropy's type?

Hello , I have a grayscale image 256x256 and i want to calculate its entropy . Basically i want to calculate entropy using this...

17 días ago | 2 answers | 0

Question

How to find the frames resolution ina video?

Hello i am trying to find the resolution of each frame in a video .I tried this : FrameRes=read(V,1); %randomly select the firs...

21 días ago | 1 answer | 0

Question

Why do i get different results when i perform convolution with different ways?

Hello , i have an image 30x30 and i want to perform convolution with a filter 9x9 using 2 methods . Firstly , i need to perform...

alrededor de 1 mes ago | 1 answer | 0

Question

How can i reshape a matrix into a vector ?

Hello , How can i reshape an array like this [10 20 30 4...

alrededor de 1 mes ago | 1 answer | 0

Question

How can i illustrate the fast fourier transform of an image ?

Hello , i perfrom Fast Fourier Transform on an image .This is my code: I_fft=fftshift(fft2(I_new)); figure(); imagesc(abs(I...

alrededor de 1 mes ago | 1 answer | 0

Question

How can i use toeplitz in cell arrays?

Hello , i have 1x38 cell matrix and every cell contains a 38x38 matrix .I want to perform toeplitz() on this cell array but m...

alrededor de 1 mes ago | 1 answer | 0

Question

How to create and plot a Gaussing function?

Hello , i want to create a 2D Gaussian function 9x9 and sigma =0.7 using this type : Here is my code: sigma=0.7; nx=9; ny...

alrededor de 1 mes ago | 1 answer | 0

Question

How to morphologically open a binary image ?

Hello , i am trying to morphologically open(to decrease the retrieved area) a binary image . However i am getting a black image ...

alrededor de 2 meses ago | 2 answers | 0

Question

How can i normalize a greyscale image?

Hello , I've seen many similar questions but i am still confused . I have a grayscale image and i want to normalize it.How can ...

2 meses ago | 1 answer | 0

Question

Can i use imerode() function to perform top-hat transform?

Hello , is it possible to perform top-hat transform without using imtophat() . I was suggested to use only the function imerode...

2 meses ago | 1 answer | 0

Question

What is the difference between conv2 and imfilter?

Hello , i am trying to convolute an image (512x512) with a filter (3x3) .For this process i am using both covv2() and imfilter(...

3 meses ago | 2 answers | 0

Question

How can i use zero-padding in an image?

Hello , I have an image(512x512) and i want to do zero-padding in order to covolute it with a filter . The problem here is tha...

3 meses ago | 2 answers | 0

Question

How can i implement subtraction without using for-loop ?

I have a vector J 1000x7 and a vector K 16x7 I want to take each row of J(one at a time) an subtract it from every row of K. ...

4 meses ago | 1 answer | 0

Question

Is there a faster way to run my code?

Hello , i wrote the code bellow . Is there any faster and more efficient way to run this code (not using for-loop for example ...

4 meses ago | 3 answers | 0

Question

How can i choose specific elements from matrix ?

Hello , i have a mat 3x3 like this one below: H=[001;110;010] I want to choose the elements that contain 2 or more zeros . H...

5 meses ago | 0 answers | 0

Question

How can i create a sequence where the symbols have different probabilities?

Hello , I have 4 symbols 0,1,2,3 . How can i create a sequence with these symbols where every symbol should have each own pro...

6 meses ago | 1 answer | 0

Answered

How can i find the index of specific value inside an array?

index=find(M==4) % M=[2 4 6 8]; returns the index 2 i wanted

How can i find the index of specific value inside an array?

index=find(M==4) % M=[2 4 6 8]; returns the index 2 i wanted

7 meses ago | 0

| accepted

Question

How can i find the index of specific value inside an array?

I have an array lets say 1x4 with these values : [ 2 4 6 8 ] .How can i find the index that 4(index 2 of the array) is stored f...

7 meses ago | 2 answers | 0

Question

How can i create a sequence that every symbol has the same probability as the others?

How can i create a sequence that contains the symbols 0 , 1 , 2 , 3 with the same probability 1/4? For example i created a seq...

7 meses ago | 2 answers | 0

Question

How to add zeros in front of an array

Hello , i want to add zeros in front of an array but i want to do that for 3 times and each time the zeros are increasing by1 ....

alrededor de 1 año ago | 1 answer | 0

Question

How can i multiply cell arrays?

Hello , i want to multiply an array H which is 2x2 cell array (each cell contains a 1x500 array) with an array X which is 2x1 a...

alrededor de 1 año ago | 2 answers | 0

Question

How to create a 2x2 matrix?

Hello , i want to create a 2x2 matrix like that : , h is 2x500 matrix . So , i have to create a 2x2 matrix that each cell co...

alrededor de 1 año ago | 2 answers | 0

Question

How can i implement maximum ratio combining method(MRC)?

Hello i want to implement maximum ratio combining . I have 2 antennas(recievers) and one transmitter .So far my code is like thi...

alrededor de 1 año ago | 0 answers | 0

Question

How to create input of linear equalization channel?

Hello , i want to create the input channel to linear equalizer . The project is asking to create random complex channel h ,4-QA...

alrededor de 1 año ago | 0 answers | 0

Question

What cut-off of an output actually means in zero-forcing equalization?

Hello , i have a project and i was asked to equalize a channel( with zero forcing which i did like this : i calculated the ze...

alrededor de 1 año ago | 0 answers | 0

Question

Why am i getting the : errir using inv ,Matrix must be square?

Hello , i have a created a toeplitz matrix H which is 12x8 .I want to run the command: y=inv(H) but the compiler says : Error ...

alrededor de 1 año ago | 1 answer | 0

Question

How can i create a convolution using toeplitz matrix?

Hello , i want to create a convolution between two signals but i need to make this happen using the teoplitz command that creat...

alrededor de 1 año ago | 1 answer | 0

Question

How can i create a sequence?

Hello, I have a sequence Xn: xn ∈ {(±1, ±i)} means xn is an element of the set [-1-i, -1+i, 1-i, 1+i] and i want to create thi...

alrededor de 1 año ago | 1 answer | 0

Question

How can i create a sequence?

Hello, i want to create a sequence {xn} , xn ∈ {(±1, ±j)} .I want to create this sequence for n=1 to N=100 .How can i create ...

alrededor de 1 año ago | 0 answers | 0

Question

How to create a complex normal i.i.d.?

Hello , i want to create a i.i.d CN(0,σ^2) I create the variable like that : x=sqrt(var/2)*(randn+1i*randn); Is this corre...

alrededor de 1 año ago | 1 answer | 0