max number of matrix to python
조회 수: 7 (최근 30일)
이전 댓글 표시
I'm new to matlab and need to convert this line to python code
n=max(xx(:,2));
what i got that it's calculated the max number from a matrix and store this value in varable n
but i couldn't got what does that mean xx(:,2)?
댓글 수: 0
채택된 답변
Image Analyst
2021년 1월 20일
It takes column 2 of the matrix xx and gets the max value in that column 2 and sticks it in the variable called n (yeah - bad name, I know).
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!