COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

Convolution of Z-transform 2D filter kernel with 2D matrix

• Email
• Follow

Hello--

In a paper that I am reading, I am given a 2D filter kernel described in
Z-transform format as

C(Z_t, Z_x) = B(1/Z_t) - (Z_x)( B(Z_t) )

where B(Z_t) is an expression of the Z-transform in terms of the time.
The filter kernel described above is to be convolved with a 2D matrix,
with coordinates in terms of (x, t), where x is position, and t is time.

How would I express this filter in Matlab and perform the convolution
with the 2D kernel?

Nicholas

 0
Reply n.kinar (156) 5/19/2010 3:34:43 PM

See related articles to this posting

0 Replies
693 Views

Similar Articles

12/15/2013 8:30:51 AM
page loaded in 330915 ms. (1)

Similar Artilces:

transformation same matrix 2d to 1 matrix 3d
hi how do i do to transformation 100 matrix 2 dimension to one matrix in 3 dimension thiago wrote: > hi > how do i do to transformation 100 matrix 2 dimension to one matrix in 3 dimension First create an empty 3D-matrix of the size needed: matrix3D=zeros(size(matrix1,1),size(matrix1,2),100); Then fill the different slices of that matrix with the 100 2D-matrices. matrix3D(:,:,1)=matrix1; matrix3D(:,:,2)=matrix2; matrix3D(:,:,3)=matrix3; .... Use a for-loop if possible. Pieter thiago wrote: > hi > how do i do to transformation 100 matrix 2 dimension to one matrix in 3 d...

1D convolution for a 2D matrix
Hi, If we are to perform a 1D convolution for a 2D matrix, how do we go about it? The 2 dimension are independent of each other. is there any simpler method beside calling multiple conv for each row/column? Thanks "Chee Howe" <watertreader@hotmail.com> wrote in message <h2sf1b\$g0h\$1@fred.mathworks.com>... > Hi, > > If we are to perform a 1D convolution for a 2D matrix, how do we go about it? The 2 dimension are independent of each other. > > is there any simpler method beside calling multiple conv for each row/column? > > Thanks If FFT con...

Verilog DSP Examples (FFT With 32K-Point Transform Length, FIR, IIR, Discrete Cosine Transform (DCT), Convolution 2D)
Hi, Here there are some examples in Verilog of functions DSP for FPGAs, some of these are: http://www.altera.com/support/examples/verilog/verilog.html * Achieving Unity Gain in IFFT+FFT Pair Using Block Floating Point Arithmetic * Fast Fourier Transform (FFT) With 32K-Point Transform Length * Coefficient Reload Finite Impulse Response (FIR) Filter * Discrete Cosine Transform (DCT) * Basic FIR Filter * Time Domain Multiplexed FIR Filter * Polyphase Decimation FIR Filter * Polyphase Interpolation FIR Filter * Two-Dimensional FIR Filter * Basic Infinite Impulse Response (IIR) Filter ...

padding gaussian matrix for 2d filtering image process
I must do a Gaussian Filter on image, I have matrix data image in a 100x100 matrix. I generate a 7x7 gaussian matrix for filtering, how do I padding the gaussian matrix for obtain a 100x100 matrix ? with zeros value around gaussian value ? thank you so much. anyone can help me ? ...

Remapping of 2D matrix axis--similar problem to geometric transformation of image?
Hello-- I have a n-by-m matrix A which represents the output of a Gabor transform. In other words, the n rows of the matrix represent the frequency f sampled at a frequency step of delta_f, and the m columns of the matrix represent the time t sampled at a time step of delta_t. This implies that each (i,j) element of the matrix A represents a unique location (f_i, t_i) on the 2D grid. What I would like to do is take the time axis t (corresponding to the m cols of the matrix), and re-map this axis so that I obtain an output matrix B with unique locations (f_i, t_i * f_i). ...

extracting 2D matrix from a 3D matrix
Hi Guys. I have a 3D array of size (15,15,55). i need to extract a 2D array at (:,8,:) but with size (15,55). I instead get one with size (15,1,55). This does not work for my needs. Is it possible to extract a matrix with 2D from one from 3D? Thanks in advance for your advice. Maganda For example: >> A = round(rand(15,15,55)*900); % Data >> B = squeeze(A(:,8,:)); % What you want. >> size(B) % Verify ans = 15 55 "Maganda Maganda" <umwidu@yahoo.com> wrote in message <h35red\$nf2\$1@fred.mathworks.com>... > Hi Guys. > > I have a 3D a...

multiplying 2D matrix to 3D matrix
Hi, Just wondering whether you can multiply a matrix(2D) to each element of a 3D matrix? I am currently doing something like this % p is the holder matrix % l is the 2D matrix % m is the 3D matrix % n 3rd dimension of the matrix for i =1:n p(:,:,i) = l.*m(:,:,i); end is there any way to forgo the for loop? The matrix might be quite large so I would need to trim down the computation time Try this p = repmat(l,[ 1 1 size(m,3)]).*m; > Hi, > > Just wondering whether you can multiply a matrix(2D) to each element > of a 3D matrix? I am currently doing something like this > ...

Indexing a 2D matrix into a 3D matrix help
I would like to index part of a 2-dimensional matrix into specific locations within 3-dimensional matrix. I believe this works using a for loop: var1 = zeros(4,4,4); var2 = round(rand(20,4).*10); r_ind = 1:4; c_ind = 1:4; pnt = [1 6 12 18]; for i = 1:4 var1(r_ind(i),c_ind(i),:) = var2(pnt(i),:); end However, if I try vectorizing the code: var1 = zeros(4,4,4); var2 = round(rand(20,4).*10); r_ind = 1:4; c_ind = 1:4; pnt = [1 6 12 18]; var1(r_ind,c_ind,:) = var2(pnt,:); I get the following error: ??? Assignment has fewer non-singleton rhs dimensions than non...

Quick conversion of a 2D matrix to a 3D matrix
Hi, Does anyone know a fast method (i.e. avoiding loops) to convert a 2D matrix (1368 x 784) into a 3D matrix (28 x 28 x 114)? I've been trying wtih the reshape() function but without success. Maybe I should have added some additional transpose or cat() functions to my algorithm... Here is an example of what I'm looking for: Let' say I have the 2D matrix A (3 x 9) A = [1 2 3 4 5 6 7 8 9 ; 10 11 12 13 14 15 16 17 18 ; 19 20 21 22 23 24 25 26 27] What I'm looking fo is the 3D matrix B (3 x 3 x 3) B = ([1 2 3 ; 4 5 6 ; 7 8 9],[10 11 12 ; 13 14 15 ; 16 17 18],[19 20 21 ; 22 23...

2d correlation/convolution?
I have 2 images A & B ( B smaller than A), and need to correlate A with image B. I also want to do a 2-D convolution. Is the below a correct (the best?) way to do this? I'm new to matlab IPT and unsure of which functions/params to use. %--------------------- A = imread('a.jpg'); h = imread("b.jpg"); corr = imfilter(A,h); imagesc(corr); %How can I find the N highest peaks and their locations? And how would I create a mesh plot of correlated image? %convolution cv = imfilter(A,h,'conv'); imagesc(cv); %or do I need to do something like: fa = fft2(A); fb...

2d-filter in VHDL
Hi, I am a student and am currently working on a project where part of it involves me creating a 2d-filter in VHDL (I have to use a 3x3 filter window with coefficients of small values). I was wondering if someone could explain to me the best way to go about this because I am having difficulty starting off. Just a little advice would be great and really appreciated. Thanks Noddy noddy wrote: > I am a student and am currently working on a project where part of it > involves me creating a 2d-filter in VHDL http://www.google.com/search?q=matlab+filter+prototype+vhdl+modelsim -- ...

write 2D matrix
Hi, can anyone tell me how to write a 2D array (1080x540)into an IDL variable in my hard disk? Thanks, Tmorri Tmorri writes: > Hi, can anyone tell me how to write a 2D array (1080x540)into an IDL > variable in my hard disk? Say what!? How about: SAVE, array Or: OpenW, lun, 'myarray.dat', /Get_Lun WriteU, lun, array Free_Lun, lun Or, if you are going the other way (I can't really tell): OpenR, lun, 'whateveritscalled.dat', /Get_Lun array = BytArr(1080,540) ReadU, lun, array Free_Lun, lun That about covers the usual suspects. Any of...

Calculating 2D convolution
Hello, I have to do 2D convolution of an image with a smaller matrix. I use the "conv2" function. The problem is that I need to do a lot of times this calcul, so it's very time consuming... How can I calculate the convolution of only one point of my image instead of calculating it for the whole image ? Thank you in advance for your help. (if you need more precision, you can ask me) Antoine ...

How to create a 2D matrix in VBA?
Hi, I posted a question 5 mins ago. Basically my question is how to pivot a 12 by 5 query result set? I thought that if I could create a matrix in vba and store my result set in it, it would be easy to make a transformation on the matrix just to flip the matrix(gotta remember that old math). So, anyone ever done that? Anyone can give me advices? ideas? Thanks, Martin l0x_@msn.com (mdeschen) wrote in news:fa59c606.0307230426.38fb7cc5 @posting.google.com: > Hi, > > I posted a question 5 mins ago. Basically my question is how to pivot > a 12 by 5 query result set? > > I...

matlab 2D matrix help!
Hi, i have an equation, which works for a specified value of x, but i wish to use it for multiple values of x. The function is: x=1; n = 1:nterms; approx = sum((((-1).^(n-1)).*(x.^((2*n)-1)))./factorial(2*n-1)) However i would like it to work for: x=1:3; n = 1:nterms; approx = sum((((-1).^(n-1)).*(x.^((2*n)-1)))./factorial(2*n-1)) It comes up with an error saying matrix dimensions must agree. Can someone help please. Thanks In article <33493960.1201700021735.JavaMail.jakarta@nitrogen.mathforum.org>, munday63 <s.munday@uea.ac.uk> wrote: >Hi, i have an equation, which...

does opengl transform 3d to 2d...
hi, my question is really basic, if we have a opengl form in vb.net does opengl transform eg a pixel with x,y,z coord to x&y or it really defines a 3d enviroment to represent a pixel for example gl.vertex3f(0.3,0.4,0.2) q1) does opengl behind the scene do any transformation to 2d coord? if so where & how? q2) or it puts the coord as is in the 3d space? thanks pj Pj wrote: > hi, > > my question is really basic, > > if we have a opengl form in vb.net does opengl transform eg a pixel > with x,y,z coord to x&y or it really defines a 3d enviroment to > repr...

How to generate 2D Frequency Matrix
I have a matrix A( i x j) like this which has row=i=1400 numbers and column=j=2. As this matrix both column vectors has repetition of no such as 1's 15 times, 2's 18 times etc. So, I want to transfer that matrix into a single matrix which will be a frequency matrix of that one. Such as: if i think about a table then on column i divided it into (1 to 3, 3-5, 5-7) like that and row ways (1 to 5, 5-10, 10-15) and which matrix i want that should fulfill both condition in a same row at the same time and count how many times it repeats and put that on that space or location. Suppose...

FFTW3 in-place for 2d transforms
I'm using FFTWf version 3.2 and have a question about whether I can do in-place 2d real-complex and complex-real? The docs seems to say yes but I get very bad results. Thanks, RON C On Mar 3, 9:14=A0pm, "RON C" <rechm...@consolidated.net> wrote: > I'm using FFTWf version 3.2 and have a question about whether I can do > in-place 2d real-complex and complex-real? =A0The docs seems to say yes b= ut I > get very bad results. > > Thanks, > RON C Make sure you're using the correct routine (r2c forward and c2r inverse). There was something similar ...

2D affine matrix decomposition
Hello, I need an algorithm how to decompose 2D affine matrix. Preferebly source. I have checked this subject and found there is a way to do this doing SVD of 2x2 matrix (excluding translation values), but I have not found any working implementation of this method.. Thanks nicolas wrote: > I need an algorithm how to decompose 2D affine matrix. Preferebly > source. > I have checked this subject and found there is a way to do this doing > SVD of 2x2 matrix (excluding translation values), but I have not found > any working implementation of this method.. > Maybe you shou...