how can I create a multiplication table and write it to spreadsheet in Matlab?

조회 수: 4 (최근 30일)
Dinesh E
Dinesh E 2019년 5월 12일
답변: Stephan 2019년 5월 12일
how can I create a multiplication table and write it to spreadsheet in Matlab?

답변 (1개)

Stephan
Stephan 2019년 5월 12일
a = 1:5;
t = a .* a'
writematrix(t,'multiplication.xlsx')

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by