How to get a 2D data array of complex a+bi number from phase only 2D array.

3 visualizzazioni (ultimi 30 giorni)
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!

Risposte (1)

Andrei Bobrov
Andrei Bobrov il 6 Dic 2015
Modificato: Andrei Bobrov il 6 Dic 2015
phase1 = 2*(rand(10)-.5)*pi; % your 2D array of phase values.
out = exp(1i*phase1);

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by