??? Subscript indices must either be real positive integers or logicals.

1 Ansicht (letzte 30 Tage)
Can somebody help me on fixing this error? I can't seem to figure it out..
Here is the txt file for the matlab program : http://txtup.co/6ams8
  1 Kommentar
per isakson
per isakson am 13 Apr. 2013
Bearbeitet: per isakson am 13 Apr. 2013
Use the debugger. Start with
dbstop if error
My guess is that an index variable is empty.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 13 Apr. 2013
It doesn't run but doesn't give the same error as you got:
Alocarea polilor
Undefined function 'acker' for input arguments of type 'double'.
Error in test3 (line 41)
k_poli=acker(Asp,Bsp,[s1(k) s2(k)]);kalfa=k_poli(1);kq=k_poli(2);
However there is a way to fix it. Follow this link: http://blogs.mathworks.com/videos/2012/07/03/debugging-in-matlab/

Weitere Antworten (1)

Radu
Radu am 13 Apr. 2013
This is kinda odd..

Kategorien

Mehr zu Debugging and Analysis finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by