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?

回答 (1 件)

the cyclist
the cyclist 2015 年 11 月 3 日

0 投票

e_matrix = reshape(e_vector,20,50);

カテゴリ

ヘルプ センター および File ExchangeSymbolic Math Toolbox についてさらに検索

質問済み:

2015 年 11 月 3 日

回答済み:

2015 年 11 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by