error in my maths?
1 回表示 (過去 30 日間)
古いコメントを表示
x=data;
inter = (x(:,2))/(4.308e-3);
wave=20*log(10,(inter/0.00002));
I'm getting an error in line 23 - the final line above, and I can't figure out why - the input data is values from an oscilloscope and I'm trying to convert it to SPL, it works when I was just converting from voltage to pascals (second line) so I'm assuming it's something to do with the logarithm?
Any help is really appreciated
0 件のコメント
回答 (1 件)
madhan ravi
2018 年 11 月 26 日
編集済み: madhan ravi
2018 年 11 月 26 日
EDITED
x=data;
inter = (x(:,2))/(4.308e-3);
wave=20*log10(inter/0.00002);
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で File Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!