normr
행렬의 행 정규화
설명
은 단일 행렬이나 행렬로 구성된 셀형 배열 normalized_M
= normr(M
)M
을 받아서 행을 길이 1로 정규화한 행렬을 반환합니다.
예제
행렬의 행 정규화
이 예제에서는 normr
함수를 사용하여 행렬의 행을 정규화하는 방법을 보여줍니다.
2x2
행렬을 만들고 normr
함수를 호출하여 이 행렬의 행을 길이 1
로 정규화합니다.
m = [1 2; 3 4]; normr(m) ans = 0.4472 0.8944 0.6000 0.8000
ans = 0.4472 0.8944 0.6000 0.8000
입력 인수
M
— 정규화할 행렬
행렬 | 행렬로 구성된 셀형 배열
정규화할 행렬로, 행렬 또는 행렬로 구성된 셀형 배열로 지정됩니다.
출력 인수
normalized_M
— 정규화된 행렬
행렬 | 행렬로 구성된 셀형 배열
정규화된 행렬로, 행렬 또는 행렬로 구성된 셀형 배열로 반환됩니다.
버전 내역
R2006a 이전에 개발됨
참고 항목
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)