Why do i get this error about cell arrays?
Ältere Kommentare anzeigen
for i = 1:1000
P{i+1} = inv(eye(m).*A)*T*P{i}+ inv(eye(m).*A)*B;
P{i+1}=P{i};
end
When i execute this code i get Cell contents reference from a non-cell array object error. Help pls
2 Kommentare
Walter Roberson
am 3 Jan. 2013
What did you set P to before the loop?
Mustafa Alper YILDIZ
am 4 Jan. 2013
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Operators and Elementary Operations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!