Issue while generating hologram

4 views (last 30 days)
Zulqarnain Sheikh
Zulqarnain Sheikh on 19 Feb 2018
Commented: Zulqarnain Sheikh on 20 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 Comments
Walter Roberson
Walter Roberson on 20 Feb 2018
I notice that you do not update rmse inside the while loop?
Zulqarnain Sheikh
Zulqarnain Sheikh on 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);

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!