MATLAB Answers

Dinesh E
0

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

Asked by Dinesh E
on 12 May 2019
Latest activity Answered by Stephan
on 12 May 2019
how can I create a multiplication table and write it to spreadsheet in Matlab?

  0 Comments

Sign in to comment.

1 Answer

Answer by Stephan
on 12 May 2019

a = 1:5;
t = a .* a'
writematrix(t,'multiplication.xlsx')

  0 Comments

Sign in to comment.