Splitting a large vectors into a matrix

I have a vector with 1000 elements that I would like to split into a 20x50 matrix. Here's my code so far.
z= sym(1:1000);
e=(exp(z))
matofe=double(e);
finalmat=sym(matofe)
Any suggestions?

Answers (1)

Categories

Asked:

on 3 Nov 2015

Answered:

on 3 Nov 2015

Community Treasure Hunt

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

Start Hunting!