Issue while generating hologram

3 Ansichten (letzte 30 Tage)
Zulqarnain Sheikh
Zulqarnain Sheikh am 19 Feb. 2018
Hello everyone, I am trying to generate a Hologram using GS-like hybrid algorithm but unfortunately, I am unable to get the desired result. The resulting hologram I am getting is
but the desired one is
any help will be much appreciated.
ThanksH
  13 Kommentare
Walter Roberson
Walter Roberson am 20 Feb. 2018
I notice that you do not update rmse inside the while loop?
Zulqarnain Sheikh
Zulqarnain Sheikh am 20 Feb. 2018
I updated it before, but just for testing purpose, I removed it and made it a fixed value
if k>=2
rmse = sqrt(sum(abs(Fr(k))-Fr(k-1))^2/k);
end
k = k+1;
err(k) = rmse;
t(k) = 1*k;
end
figure(3)
plot(t,err);

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by