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

5 visualizaciones (últimos 30 días)
how can I create a multiplication table and write it to spreadsheet in Matlab?

Respuestas (1)

Stephan
Stephan el 12 de Mayo de 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