Thank you for sharing your code.
I hade used this code.
'initialPositionSecondaryAxes':
Initial position vector ([left bottom width height]),the unit is 'pixels' ,the width and height can be right,but left and bottom are wrong. the same problem is with 'initialPositionMagnifier'.
For exemple:
[Tempfirst,rect] = imcrop(Picfirst);
figure(2);imshow(Picfirst);title('Picfirst and Tempfirst');
magnifyOnFigure(figure(2),'magnifierShape','rectangle',...
'initialPositionMagnifier',[rect(1),ysize-rect(2)-rect(4),rect(3),rect(4)],...
'initialPositionSecondaryAxes',[xsize-rect(3),ysize-rect(4),rect(3),rect(4)],...
'mode','interactive','edgeWidth', 3,'edgeColor', 'red');
katia - sorry not to get back sooner. I hope you've solved the problem by now. It's easy - just look at the code that does the display for the demo and modify it to do what you want.
hi, how can i access this book .
i have code for v blast zero forcing can u help me understand it please.
k=zeros(1,M);
G=Eb*H'*pinv(Eb*H*H'+N0(T)*eye(N))
%G=pinv(H);
% G=(pinv(H'*H))*H';
for i=1:M %i loop
for J=1:M
n(J)=(norm(G(J,:)))^2; % Checking the best SNR
end
for t=1:i-1
n(k(t))= Inf;
end
[ Y,I]=min(n);
k(i)=I;
w=G(I,:);
y=w*r1
y_temp(I)=y; % Post combining process, y being stored
if repi>2
y = (y + y_temp1(:,I)); % for a retrans old soft values of y
%being added to latest valuebefore
%detection
y_temp(I)=y ; % Soft Values saved for 3rd and 4th repitions
end
b(I)=sign(real(y))+j*sign(imag(y)); % Descision of symbol
r1=r1-b(I)*H(:,I) ; %%%%%%r1
H(:,I)=0;
% G=(pinv(H'*H))*H';
G=Eb*H'*pinv(Eb*H*H'+N0(T)*eye(N));
%G=pinv(H);
end
data_rec=[b];
Comment only