How to get a 2D data array of complex a+bi number from phase only 2D array.
Show older comments
I have a 2D array of phase values extracted from interferometric measurement. Now I need to get the same array but in complex a+bi form. I assume amplitude = 1. How to create little code for this purpose? Cheers!
Answers (1)
Andrei Bobrov
on 6 Dec 2015
Edited: Andrei Bobrov
on 6 Dec 2015
phase1 = 2*(rand(10)-.5)*pi; % your 2D array of phase values.
out = exp(1i*phase1);
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!