Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how to convert two demensional array into one demensional array

3 ビュー (過去 30 日間)
harinder  kaur
harinder kaur 2017 年 4 月 4 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
hi z1(p,q),it gives real part of the program and z2(p,q),it gives imaginary part of the program , means [z1(p,q)+iota z2(p,q)] form but i want to convert real and imaginary two demensional array into one demensional array like z(w) how ????

回答 (1 件)

KSSV
KSSV 2017 年 4 月 4 日
R = rand(10,1) ;
I = rand(10,1) ;
C = R+1i*I
  1 件のコメント
harinder  kaur
harinder kaur 2017 年 4 月 5 日
it does not work ,it gives error p and q are for loops. (p,q)= (0,0 ),(0,2),(0,4),(0,6)..........(0,12) (1,3),(1,5).............(1,11) .................................. (12,2),.........................(12,12) means p-q=even total 47 features so suppose z1(0,0)=61.34241 and z2(0,0)=57.23412 give values we have z1(p,q)+ iota *z2(p,q) form but we want to combine these two demensional array into one demensional array i.e z(w) how????

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by