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

5 Ansichten (letzte 30 Tage)
how can I create a multiplication table and write it to spreadsheet in Matlab?

Antworten (1)

Stephan
Stephan am 12 Mai 2019
a = 1:5;
t = a .* a'
writematrix(t,'multiplication.xlsx')

Community Treasure Hunt

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

Start Hunting!

Translated by