To equate one value to another?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello! I have signal values (floating values) how do I equate them to the depth of this signal?
signal values 800 801 702 and up to 2000 depth is 14 15 11 and so on until 2000 what could I do then as a result 15 -5 and for my signal it will be like 800-264
Help me please!
댓글 수: 4
채택된 답변
Andrei Bobrov
2019년 7월 10일
May be like this:
Let S - your signal.
m = min(S);
detph = 10/(max(S) - m)*(S - m) + 5;
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Spectral Measurements에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!