Filter löschen
Filter löschen

FRF

11 Ansichten (letzte 30 Tage)
Shrinivas Gombi
Shrinivas Gombi am 15 Jul. 2011
[EDIT: 20110715 11:09 CDT - reformat - WDR]
Pl refer to my program:
FORCE=zeros(100,2);
force=zeros(100,2);
for i=1:1:100
m=[H11(i);H21(i)];
n=[H12(i);H22(i)];
frf=[m n];
ffa=[ffa8N(i);ffa10(i)];
FORCE(i,:)=((pinv(frf))*ffa)';
end
force=ifft(FORCE);
force1 =abs(force)*2*pi;
The size of each H11, H12, H21 & H22 is 100x1. I am expecting for each 'i', size of m & n as 2x1, frf as 2x2, ffa as 2x1 and FORCE as 100x2 after transpose. But after the execution I am getting the values for m as [0.187360711350596 - 0.187368466530122i;0.062364375280542 - 0.071296744823281i], and n =[0.208682881606008 + 0.032714463326169i;0.075214194977190 + 0.006696042485398i], ffa =[0.049257402925950 + 0.171256267255695i;-0.068058800649110 + 0.194757769808916i] and frf as [0.187360711350596 - 0.187368466530122i,0.208682881606008 + 0.032714463326169i;0.062364375280542 - 0.071296744823281i,0.075214194977190 + 0.006696042485398i]
I am sure there is some serious mistake in the program. I sincerely request you to kindly help me in locating the logical mistake.
Shrinivas Gombi
  1 Kommentar
bym
bym am 15 Jul. 2011
I don't understand; the sizes you are expecting are the sizes you are getting. m,n,ffa are all 2x1 and frf is 2x2. they are just complex valued

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by