Question: correct gabor_transform (generic function with 1 method) function gabor_transform(a: : AbstractVector, o: : Number) n = length(a) 0 = zeros (length(a), length(a):2-1) for i in

correct

gabor_transform (generic function with 1 method) function gabor_transform(a: : AbstractVector, o: : Number) n = length(a) 0 = zeros (length(a), length(a):2-1) for i in 1: length(a) o [i, : ] = gaussian_filter(a, i, o) end freqs = fftshift(fftfreq(n, 1.0)) return freqs, o end 1.1 ms Error message from Main DimensionMismatch: tried to assign 7-element array to 1x2 destination Show stack trace

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!