PRINTMATRIX displays a matrix in the command window so that it can be easily selected copied and pasted into Excel. Matrices with a large number of columns are not easily selected as text in the command window because they get wrapped. If you want to select the matrix as text and put it into Excel this will work well.
If you want to just save a matrix into an Excel sheet see
XLSWRITE by my esteemed co-author Scott
댓글
댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.