MATLAB Answers


Kaczmarz - Ansorge implementation method

Asked by Cristian
on 23 Nov 2012

Hi there, I have to implement the Kaczmarz-Ansorge program, but they way I make it, I am sure that it is the same as original Kaczmarz.


- we take a random value between 1 and M ( this is ik )

- then we make the program on only 1 projection, that random value.


Here is what I made, am I on the right path ?

%%%%% Pas 2 Algoritm - K-A %%%%%
% for ik = 1:M
%   nlin(ik) = A(ik,:) * A(ik,:)';
% end
% for cont = 1:NITER
%   for jj = 1:M  
%    ik = M -jj+1;
%        x = x - (A(ik,:) * x - b(ik))/nlin(ik) * A(ik,:)';
%    end
% end
%%%%% End Pas 2 Algoritm - K-A %%%%%

Where NITER are the number of iterations that I have declared in the beginning of program.

Thank you!


whats your question??

My question is if I am on the right path on this. This is about reconstruction of images.


No products are associated with this question.

0 Answers

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!