Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

how to convert two demensional array into one demensional array

3 Ansichten (letzte 30 Tage)
harinder  kaur
harinder kaur am 4 Apr. 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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 ????

Antworten (1)

KSSV
KSSV am 4 Apr. 2017
R = rand(10,1) ;
I = rand(10,1) ;
C = R+1i*I
  1 Kommentar
harinder  kaur
harinder kaur am 5 Apr. 2017
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????

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by