matlab programs

Description
matlab programs

Please download to get full document.

View again

of 10
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Information
Category:

Documents

Publish on:

Views: 6 | Pages: 10

Extension: TXT | Download: 0

Share
Transcript
  A=[1122233264345318645742386796810791171412716139101410111511121611131714151814171918202018212120192221222323242424252552226158271225 ]; N=size(A,1);B=zeros((N),(N));for i=1:(N) B(i,i)=1;endfor j=1:(N-3) B(j,j+3)=1;endfor k=1:(N-6) B(k,k+6)=1;endfor h=1:(N-9) B(h,h+9)=1;endfor m=1:(N-12) B(m,m+12)=1;endfor n=1:(N-15) B(n,n+15)=1;endfor a=1:(N-18) B(a,a+18)=1;endfor b=1:(N-21) B(b,b+21)=1;endfor c=1:(N-24) B(c,c+24)=1;  end display(B);A=[%branch no sending reciving R(a b c) X(a b c) 1 12000 0 0 0 2 23354045 25 30 32 3 26404535 30 32 25 4 345060 50 35 40 45 5 318404040 30 30 30 6 45404040 30 30 30 7 423605050 45 40 35 8 670 0 0 0 0 0 9 68404040 30 30 30 10 79605050 45 40 35 11 7145050 60 35 40 45 12 71640 40 40 30 30 30 13 910354045 25 30 32 14 1011453540 32 25 30   15 1112506050 35 45 40 16 11133545 40 25 32 30 17 1415133133 133 100 100 100 18 1417 40 35 45 30 25 32 19 182035 40 45 25 30 32 20 182140 35 45 30 25 32 21 201960 50 50 45 35 40 22 212250 60 50 35 45 40 23 232435 45 40 25 32 30 24 242560 50 50 45 30 35 25 52200 0 0 0 0 26 158 0 0 0 0 0 0 27 1225 0 0 0 0 0 0 ]; N=size(A,1)B=zeros(N,N)for i=1:3 for h=1:3 B(i,h)=complex(A(i,3+h),A(i,6+h)); end endfor i=4:6 for h=1:3 B(i,h)=complex(A(i-3,3+h),A(i-3,6+h)); end end for i=7:9 for h=1:3 B(i,h)=complex(A(i-6,3+h),A(i-6,6+h)); end end for i=4:6 for h=4:6 B(i,h)=complex(A(i,h),A(i,h+3)); end end for i=7:9 for h=4:6 B(i,h)=complex(A(i-6,h),A(i-6,h+3)); end end for i=7:9 for h=7:9 B(i,h)=complex(A(i,h-3),A(i,h)); end   end display(B)A=[%branch no sending reciving R(a b c) X(a b c) 1 1 2 3 5 9 2 7 9 2 1 2 5 2 4 7 8 3 3 1 2 9 3 8 1 4 8 4 2 3 5 8 6 6 3 5 5 2 3 4 2 4 1 3 9 6 2 3 1 3 4 1 5 7 7 3 1 2 5 8 6 4 3 8 3 1 1 6 7 4 2 1 9 3 1 5 6 8 2 4 3
Related Search
Similar documents
View more...
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks