Borrar filtros
Borrar filtros

how to split large vector in small vector groups ?

1 visualización (últimos 30 días)
Aniket
Aniket el 28 de En. de 2013
Hello
how to split large coloumn vector in small vector group ?
i am using audio file input, it gave me very large coloumn vector and because of this simulation takes more time.
this is code where i am using audio file as an input.
********************************************************
[fi fs]= wavread('sound1'); % /* read file into memory(its 44.1 khz signal) */
fi2 = fi(:,1); % taking left column vector as a mono input
tt=0:1/fs:(length(fi2)-1)/fs; % /* time duration */
ti=tt;
[T,Y]=ode45(@(t,y) myeqd(t,y,ti,fi2),tt,[1;1;30]);
plot (T,Y)
********************************************************************* thank you

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 28 de En. de 2013
Use reshape function

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by