IIR filter

Thread Starter

Cerkit

Joined Jan 4, 2009
287
Ok. How can I convert a variable of type double to vector in Matlab? I need to use it in function filter but it only accepts type vector!!??
 
Last edited:

Skeebopstop

Joined Jan 9, 2009
358
I imagine a vector is just an object of multi-castable types, so you could populate a matlab vector with many doubles or floats or ints. So perhaps just something along the lines of

Vector myVector ;

myVector.add(myDouble) ;'

I'm not horribly matlab savy, but just speak in general C++ terms here.
 
Top