feat(comm): archive

This commit is contained in:
iridiumR 2023-03-30 15:18:49 +08:00
parent 79a25b1acb
commit 7e9fd20025
4 changed files with 23 additions and 0 deletions

10
DIPCV/lab2/lab2_9.m Normal file
View File

@ -0,0 +1,10 @@
close all
clear
clc
disp('====E4_5_2.m====');
I=imread('tire.tif');
J=histeq(I);
subplot(2,2,1),imshow(I),ylabel('');
subplot(2,2,2),imhist(I);
subplot(2,2,3),imshow(J),ylabel('');
subplot(2,2,4),imhist(J);

Binary file not shown.

BIN
Matlab/comm/lab8_0.slx Normal file

Binary file not shown.

13
Matlab/comm/lab8_1.m Normal file
View File

@ -0,0 +1,13 @@
clc
clear
close all
SNR1=linspace(0.001,5,30);
for i=1:length(SNR1)
fprintf("round %d is runing...\n",i);
SNR=10*log10(SNR1(i));
sim('lab8_0.slx');
Ps(i)=E(1);
end
Ps1=1/2*exp(-SNR1);
plot(SNR1,Ps,'-o',SNR1,Ps1,'-*');
grid on