On entry, | or , |
or | , |
or | , |
or | or , |
or | . |
Open in the MATLAB editor: f01rk_example
function f01rk_example fprintf('f01rk example results\n\n'); a = [ 0 - 0.5i, 0.4 - 0.3i, 0.4 + 0i, 0.3 + 0.4i, 0 + 0.3i; -0.5 - 1.5i, 0.9 - 1.3i, -0.4 - 0.4i, 0.1 - 0.7i, 0.3 - 0.3i; -1 - i, 0.2 - 1.4i, 1.8 + 0i, 0 + 0i, 0 - 2.4i]; [RQ, theta, ifail] = f01rj(a); wheret = 'Separate'; m = int64(size(a,1)); nrowp = int64(size(a,2)); RQ(m+1:nrowp,1:nrowp) = complex(0); [PT, ifail] = f01rk( ... wheret, m, nrowp, RQ, theta); P = PT'; disp('Matrix P'); disp(P);
f01rk example results Matrix P -0.1970 + 0.1970i 0.1639 - 0.4916i 0.2774 - 0.2774i 0.3637 + 0.3213i 0.0123 + 0.5142i 0.0394 + 0.2757i -0.2950 - 0.4261i -0.0555 - 0.3883i -0.4752 + 0.0982i -0.4187 - 0.2987i 0.3151 - 0.1576i 0.4516 - 0.3205i -0.4992 + 0.0000i -0.2762 - 0.3049i -0.0339 + 0.3867i 0.1970 - 0.5909i -0.0473 - 0.3314i 0.0000 + 0.0000i 0.5121 - 0.0475i -0.3613 - 0.3239i -0.1182 - 0.5646i 0.0328 + 0.2076i 0.0000 - 0.6656i -0.2287 + 0.2072i 0.2901 + 0.0254i