Skip to content

Commit ff88eb6

Browse files
committed
aesthetics
1 parent e48c6f4 commit ff88eb6

23 files changed

+33
-35
lines changed

demo/km_demo_akcca.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
% https://github.com/steven2358/kmbox
1414

1515
close all
16-
clear all
16+
clear
1717
rs = 1; % seed for random generator
1818
rng('default')
1919
rng(rs)
@@ -126,4 +126,4 @@
126126
figure; hold all
127127
plot(s(vars.ind_s))
128128
plot(sc*eval.s_est);
129-
legend('source signal','recovered signal')
129+
legend('source signal','recovered signal')

demo/km_demo_kcca.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
% This file is part of the Kernel Methods Toolbox for MATLAB.
2020
% https://github.com/steven2358/kmbox
2121

22-
close all; clear all
22+
close all; clear
2323
rs = 1; % seed for random generator
2424
rng('default')
2525
rng(rs)
@@ -82,4 +82,4 @@
8282
fprintf('\n')
8383

8484
% figure;plot(sort(diag(real(betas)))) % check eigenvalues
85-
% figure;plot(sort(diag(betas))); % imaginary part due to numerical error
85+
% figure;plot(sort(diag(betas))); % imaginary part due to numerical error

demo/km_demo_kcca_full.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
% This file is part of the Kernel Methods Toolbox for MATLAB.
2222
% https://github.com/steven2358/kmbox
2323

24-
close all; clear all
24+
close all; clear
2525
rs = 1; % seed for random generator
2626
rng('default')
2727
rng(rs)
@@ -83,4 +83,4 @@
8383
fprintf('\n')
8484

8585
% figure;plot(sort(diag(real(betas)))) % check eigenvalues
86-
% figure;plot(sort(diag(betas))); % imaginary part due to numerical error
86+
% figure;plot(sort(diag(betas))); % imaginary part due to numerical error

demo/km_demo_kde.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
% https://github.com/steven2358/kmbox
77

88
close all
9-
clear all
9+
clear
1010

1111
%% PARAMETERS
1212

@@ -41,4 +41,4 @@
4141
hold on
4242
plot(xx,pp,'r','LineWidth',3);
4343

44-
legend('histogram','KDE')
44+
legend('histogram','KDE')

demo/km_demo_kiham.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
%% STATE
1717

18-
close all; clear all
18+
close all; clear
1919
% rs = sum(100*clock);
2020
rs = 1; % seed for random generator
2121
rng('default')

demo/km_demo_kpca_3clusters.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
% https://github.com/steven2358/kmbox
1212

1313
close all
14-
clear all
14+
clear
1515

1616
%% PARAMETERS
1717

@@ -74,4 +74,4 @@
7474
'MarkerFaceColor','White','MarkerEdgeColor','Black')
7575
set(gca, 'XTick', [])
7676
set(gca, 'YTick', [])
77-
end
77+
end

demo/km_demo_kpca_u.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
% https://github.com/steven2358/kmbox
1212

1313
close all
14-
clear all
14+
clear
1515

1616
%% PARAMETERS
1717

@@ -81,4 +81,4 @@
8181
'MarkerFaceColor','White','MarkerEdgeColor','Black')
8282
set(gca, 'XTick', [])
8383
set(gca, 'YTick', [])
84-
end
84+
end

demo/km_demo_krls_mg30.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
% https://github.com/steven2358/kmbox
1212

1313
close all
14-
clear all
14+
clear
1515

1616
%% PARAMETERS
1717

@@ -143,4 +143,4 @@
143143
plot(y_test,'b')
144144
plot(y_est,'g')
145145
legend({'Test output','Estimated output'})
146-
title(sprintf('%s mem=%d',pars.algo,length(vars.basis)))
146+
title(sprintf('%s mem=%d',pars.algo,length(vars.basis)))

demo/km_demo_krls_wiener.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
% https://github.com/steven2358/kmbox
1515

1616
close all
17-
clear all
17+
clear
1818

1919
%% PARAMETERS
2020

@@ -116,4 +116,4 @@
116116
plot(y_test,'b')
117117
plot(y_est,'g')
118118
legend({'Test output','Estimated output'})
119-
title(sprintf('%s, m=%d',pars.algo,pars.M))
119+
title(sprintf('%s, m=%d',pars.algo,pars.M))

demo/km_demo_krlst.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
% https://github.com/steven2358/kmbox
1818

1919
close all
20-
clear all
20+
clear
2121

2222
%% PARAMETERS
2323

@@ -99,4 +99,4 @@
9999
plot(y_test,'b')
100100
plot(y_est,'g')
101101
legend({'Test output','Estimated output'})
102-
title(sprintf('KRLS-T m=%d',pars.M))
102+
title(sprintf('KRLS-T m=%d',pars.M))

0 commit comments

Comments
 (0)