フィルターのクリア

how to extract element from column vectors

2 ビュー (過去 30 日間)
Sagar Dhage
Sagar Dhage 2014 年 8 月 23 日
回答済み: dpb 2014 年 8 月 23 日
I have
P1= (x1; x2; x3...upto x80), similarly
P2= (y1; y2;.. upto y80), and so on .....upto P31 column vector.
Each contains 80 elements. I want 80 column vectors (A1, A2...upto A80) such that,
A1 = (x1; y1;.......) (consist of 31 elements)
A2 = (x2; y2; ......) (consist of 31 elements)
how to do that?

回答 (2 件)

Adam
Adam 2014 年 8 月 23 日
Is it not possible to have your original data just stored in a single 31 by 80 matrix?
With so many individually named variables you really don't have many options outwith using eval which is not generally advised.

dpb
dpb 2014 年 8 月 23 日

カテゴリ

Help Center および File ExchangeStandard File Formats についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by