Error: Undefined function 'mtimes' for input arguments of type 'cell' -2
Mostrar comentarios más antiguos
Hello,
I am getting this error "Undefined function 'mtimes' for input arguments of type 'cell'. when I am trying to run this code. I read the previous posts as well on the forum, but what changes I have to make in my code.
here is what I am doing
L = 64; % Length of signal
for io = 1:1:size(NumericalFourierForce,1)
for jo =1:1:2
P1{io,jo} = NumericalFourierForce{io,1}{jo,1}(1:L/2+1);
P1(2:end-1) = 2*P1(2:end-1); % this line causes the error
end
end
I have attached the file with the question. It is a 5x1 cell array with each cell having 2x1 cell and then they have two times 1x64 elements.
What changes should I make to my code.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!