I am trying to carry out a single phase d-q transformation. I have two sinusoids, one of which has a pi/2 phase with respect to the other, and so I want to transform them both. So far I have tried adapting the three-phase SimpowerSystems Simulink block (which contains the transformation matrix) and also by cross_multiplying the orthoganol signals. After this, in both models I have implemented a discrete low-pass filter. Both methods do not seem to work...any help would be greatly appreciated, thanks.