how to find relationship between two or more matrix

조회 수: 4 (최근 30일)
Zeina Abdullah
Zeina Abdullah 2022년 1월 5일
댓글: Zeina Abdullah 2022년 1월 8일
I have this code :
function [idx,x] = chaoticInterleaver(N)
assert(mod(N,8)==0,'N must be divisible by 8.')
idx = zeros(N);
x = N * (0:N-1).' + (1:N); % from Jan
% Lower part
idx(N-7:2:end-1, :) = frf(x(1:N/2, 1:8), N);
idx(N-6:2:end,:) = frf(x(N/2+1:end,1:8), N);
if N >= 16
for ii = 1:4 % Upper part
idx(ii:4:N-8,:) = frf( x(N/4*(ii-1)+1:N/4*ii, 9:end), N);
end
end
end
function out = frf(partX,N)
% flipud, reshape with N rows, and then flip again (hence the name frf).
out = flipud(reshape(flipud(partX),N,[]).');
end
the output of this code is : [Chaotic_Interleaver_index, Address] = chaoticInterleaver(8) % you can use inputs 8, 16, 24, etc as required
the output ia a matrix of 8*8 or 16*16 or 24*24 (According to the number entered in parentheses above)
the problem is how to do relationship between the output of 24*24 and 8*8 , 24*24 and 16*16 within its limits
This file shows what I mean
  댓글 수: 9
Zeina Abdullah
Zeina Abdullah 2022년 1월 8일
Please help me if you have any idea
Zeina Abdullah
Zeina Abdullah 2022년 1월 8일
@Walter Roberson @KSSV i am add another question in my profile which describe the same problem can you help me to solve it

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by