Struct contents reference from a non-struct array object
古いコメントを表示
L=10000;
fs=48000;
[y,fs] = audioread('pp.wav');
left_channel = y(:,1);
right_channel = y(:,2);
b = left_channel - right_channel;
x_noise=b.val(1,1:L)/200;
and i'm getting 'Struct contents reference from a non-struct array object' error in line "x_noise=b.val(1,1:L)/200;". Please tell me the solution.
2 件のコメント
madhan ravi
2019 年 3 月 26 日
whos b %?
pankaj gupta
2019 年 3 月 26 日
編集済み: pankaj gupta
2019 年 3 月 26 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!