Power conversion from mW to dBm?
    조회 수: 12 (최근 30일)
  
       이전 댓글 표시
    
Determine the power of a signal in dBm if absolute value is 100mW. Code:
u=100mW;
10*log10(u)+30
Could someone show the correct code for this conversion?
댓글 수: 0
답변 (1개)
  Star Strider
      
      
 2017년 4월 25일
        
      편집: Star Strider
      
      
 2017년 4월 25일
  
      An anonymous function version is:
    dBm = @(mW) 10*log10(mW);               % dBm As A Function Of Power In milliWatts
EDIT — Corrected units.
댓글 수: 6
  Star Strider
      
      
 2017년 4월 26일
				Here ‘u’ is in W, according to the Wikipedia article.
My apologies for the delay — serious computer problems. Firefox no longer works on my Win 8.1 machine, and routinely crashes it, destroying my MATLAB configuration files as well.
참고 항목
카테고리
				Help Center 및 File Exchange에서 Whos에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!