% mapping operations, example 2, % untrained stacked combining % % Copy to Matlab command window and run % make sure prdatasets is in the path prdatasets % load Iris dataset a = iris % define first principal component u1 = pca([],1) % define first LDA (Fisher mapping) component u2 = fisherm([],1) % combine to untrained mapping to 2D space u = [u1 u2] % train, map original dataset and show scatter w = a*u b = a*w scatterd(b)