From: khan Sim on
hi,
i have two questions, kindly help me out. I have matlab code written and want to implement that code on Simulink and then then convert that code to verilog. In making the simulink model, i ve some problems.

i have imported the data, a row vector of 308x1 at one time step. Now i want to transpose that array, i ve used the transpose block in simulink, but i cant see any change in the output . i am using inport for inputting data from workspace and i am using outport for xporting the data to workspace.

I am importing sbreal, sbimag, sbreal0, and sbimag0 vectors to my simulink model.
1.300000000000000e-05 is the start time.
msbreal=[1.300000000000000e-05,sbreal];
msbimag=[1.300000000000000e-05,sbimag];
msbreal0=[1.300000000000000e-05,sbreal0];
msbimag0=[1.300000000000000e-05,sbimag0];

The inputs in the configure parameter windows are thus. msbreal, msbimag, masbreal0, and msbimag0.

2. I ve to apply transpose and then fftshift function on these arrays. how can i apply fftshift on these vectors ie. sbreal, sbimag, sbreal0, sbimag0 using simulink??

regards