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!