Closed ilent2 closed 6 years ago
edbbac6 -- Add A,B matrices as output to all translate functions
6f6528d -- translate_z now runs much faster, also produces non-square matrices.
We could extend the scatter function to take a position and rotation argument. This would provide a clean way to hide this optimisation from the user.
d68cef5 -- done. Still need to optimise examples, they are running really slow.
The default run of beam_visualisation.m has an error. This command: slm_beam = beam.translateXyz([5; 0; 0]); doesn't copy the basis var to slm_beam and it contains 'regular' basis which creates an error in the following farfield calculation. This will fix it: slm_beam.basis = 'outgoing';
Good spot. Thanks, I've fixed it in commit 2cefab9396a8820313ced00f9650c1be392c127e
translate_z
to output non-square matrices