Convolution with gabor matrix of type cell

I m trying to implement gabor on a numeric database.I am trying to convolve a gabor matrix with a given numeric vector of size 163x1 The problem is with type of data how to convert from cell to double form directly

Answers (1)

use cell2mat
e.g.
C1 = {1:5}
out1 = cell2mat(C1)
C2 = arrayfun(@(x)x,1:5,'un',0)
out2 = cell2mat(C2)

Categories

Asked:

on 23 Nov 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!