Watch this Author's files
The code requires the 'sin' function to be added in the line where the 'source' is defined in order to produce the proper effect. The code is done in LOTS of 'for' loops, not good in MATLAB. Good visualisation in the end though.
A lovely simulation. Not very descriptive code, but a good starting point for me.
Wow! This should be standard. Then we could use it from Guide.
Very good. It all works and it provided me with a starting point for what I wanted to do.
Contact us at files@mathworks.com