matファイルの変数データのスペクトル化について教えてください
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Yusaku Ando
am 1 Mai 2017
Beantwortet: Takuji Fukumoto
am 1 Mai 2017
pcmファイルの録音データを短時間に区切った0.5秒ほどの変数データをワークスペース上にmatファイルで作成しました。その後、以下のプログラム(最大エントロピー法)でスペクトル化を実行したところ『構造体の内容が非構造体配列オブジェクトから参照されています。』とのエラーが表示され実行できませんでした。原因を教えていただきたいです。
load data.mat; order = 37; [Pxx,F] = pyulear(data.mat,order,1024,Fs);
0 Kommentare
Akzeptierte Antwort
Takuji Fukumoto
am 1 Mai 2017
引数で変数名を入れるところを保存したファイル名でいれていらっしゃるからかと推測します。
load data.mat;
の実行で出てくる変数はdataでしょうか。 その場合下記で実行されて、結果はどうでしょうか。
order = 37;
[Pxx,F] = pyulear(data,order,1024,Fs);
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu スペクトル測定 finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!