WICHTIG: Der Betrieb von goMatlab.de wird privat finanziert fortgesetzt. - Mehr Infos...

Mein MATLAB Forum - goMatlab.de

Mein MATLAB Forum

 
Gast > Registrieren       Autologin?   

Partner:




Forum
      Option
[Erweitert]
  • Diese Seite per Mail weiterempfehlen
     


Gehe zu:  
Neues Thema eröffnen Neue Antwort erstellen

autocorr funktion

 

kaelit00
Forum-Newbie

Forum-Newbie


Beiträge: 2
Anmeldedatum: 05.04.10
Wohnort: ---
Version: ---
     Beitrag Verfasst am: 10.05.2010, 15:53     Titel: autocorr funktion
  Antworten mit Zitat      
hello yould anyone one here help me
i ve a error with my autocorrelation funktion die function is

for k=1: 413; %
% Bloecke(1,k):Bloecke(2,k)
% [y] =x(Bloecke(1,k):Bloecke(2,k));
autocorr(K)= xcorr(x(Bloecke(1,k):Bloecke(2,k)) ,Cool;
ACF(k)= autocorr(9:17);
end

the error is:
Attempted to access Bloecke(1,2); index out of bounds because size(Bloecke)=[0,0].
could anyone one plz help me
Private Nachricht senden Benutzer-Profile anzeigen


eisvogel_2

Gast


Beiträge: ---
Anmeldedatum: ---
Wohnort: ---
Version: ---
     Beitrag Verfasst am: 06.06.2010, 12:18     Titel:
  Antworten mit Zitat      
====== english translation below ======

Hallo,

meines Erachtens liegt der Fehler nicht an dem Code, den Du gepostet hast. Die Fehlermeldung deutet darauf hin, dass Deine Variable "Bloecke" LEER ist und Dein Code deshalb nicht auf "Bloecke" zugreifen kann. Es sollte also ein Fehler bei dem Befüllen der Variable "Bloecke" vorliegen, denke ich.

eisvogel





====== english translation ======

Hi there,
as far as I can tell the code you posted is without error. Your error-messages indicates that your variable "Bloecke" is EMPTY, thus your correct code cannot access it. Therefore, it's likely that an error occured at filling your variable "Bloecke" with content. Make sure it is filled, and it should execute correctly.

eisvogel
 
Neues Thema eröffnen Neue Antwort erstellen



Einstellungen und Berechtigungen
Beiträge der letzten Zeit anzeigen:

Du kannst Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.
Du kannst Dateien in diesem Forum posten
Du kannst Dateien in diesem Forum herunterladen
.





 Impressum  | Nutzungsbedingungen  | Datenschutz | FAQ | goMatlab RSS Button RSS

Hosted by:


Copyright © 2007 - 2024 goMatlab.de | Dies ist keine offizielle Website der Firma The Mathworks

MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.