As far as I know that matlab could do. But I want to know if there is another software.Do you have recommendations for simple software that is free? Thank you in advance!
If you are looking for something like Matlab but don't want to spend the money, you may have a look at Octave. That is a OpenSource clone of Matlab. Almost all commands are identical.
I have been using MATLAB for computer generated holograms and diffractive optics design. For a beginner MATLAB is good and easy to start. You will get a lot of tutorials and codes from mathworks. But as you had mentioned MATLAB is not free. One option is to use python. It is free and is very similar to MATLAB. At present I also plan to shift to python for the same reason. Another option is to use scilab. We have option to convert matlab codes directly to scilab also. The codes are very similar.