None.
On entry, | . |
On entry, | . |
Open in the MATLAB editor: c06gq_example
function c06gq_example fprintf('c06gq example results\n\n'); % 3 Hermitian sequences stored as rows in compact form m = int64(3); n = int64(6); x = [0.3854 0.6772 0.1138 0.6751 0.6362 0.1424; 0.5417 0.2983 0.1181 0.7255 0.8638 0.8723; 0.9172 0.0644 0.6037 0.6430 0.0428 0.4815]; disp('Original values in compact Hermitian form:'); disp(x); % Put x in full complex form [u, v, ifail] = c06gs(m, n, x); nd = [m,n]; z = reshape(u + i*v,nd); disp(' '); title = 'Original data in full complex form'; [ifail] = x04da('General','Non-unit', z, title); % Conjugate values [xc, ifail] = c06gq(m, n, x); disp(' '); disp('Conjugated data in compact Hermitian form:'); disp(xc); [u, v, ifail] = c06gs(m, n, xc); zc = reshape(u + i*v,nd); disp(' '); title = 'Conjugated data in full complex form'; [ifail] = x04da('General','Non-unit', zc, title);
c06gq example results Original values in compact Hermitian form: 0.3854 0.6772 0.1138 0.6751 0.6362 0.1424 0.5417 0.2983 0.1181 0.7255 0.8638 0.8723 0.9172 0.0644 0.6037 0.6430 0.0428 0.4815 Original data in full complex form 1 2 3 4 5 6 1 0.3854 0.6772 0.1138 0.6751 0.1138 0.6772 0.0000 0.1424 0.6362 0.0000 -0.6362 -0.1424 2 0.5417 0.2983 0.1181 0.7255 0.1181 0.2983 0.0000 0.8723 0.8638 0.0000 -0.8638 -0.8723 3 0.9172 0.0644 0.6037 0.6430 0.6037 0.0644 0.0000 0.4815 0.0428 0.0000 -0.0428 -0.4815 Conjugated data in compact Hermitian form: 0.3854 0.6772 0.1138 0.6751 -0.6362 -0.1424 0.5417 0.2983 0.1181 0.7255 -0.8638 -0.8723 0.9172 0.0644 0.6037 0.6430 -0.0428 -0.4815 Conjugated data in full complex form 1 2 3 4 5 6 1 0.3854 0.6772 0.1138 0.6751 0.1138 0.6772 0.0000 -0.1424 -0.6362 0.0000 0.6362 0.1424 2 0.5417 0.2983 0.1181 0.7255 0.1181 0.2983 0.0000 -0.8723 -0.8638 0.0000 0.8638 0.8723 3 0.9172 0.0644 0.6037 0.6430 0.6037 0.0644 0.0000 -0.4815 -0.0428 0.0000 0.0428 0.4815