Hi,
I want to run a simulation with a "diagnostic ultrasound transducer" with the C++ based simulation.
The results of the C++ based simulation differ from the results of the Matlab computed simulations.
I get a Sensor data array of size (element_length*number_elements, simulation depth) instead of (number_elements, simulation depth). I noticed in the matlab code of the simulation, that there is some reconstruction going on durng the matlab-based simulation, which is not implemented in the c++ version.
I just sum up the multiple channels which I get from the c++ sensor_data, but i didnt get the same result as in the matlab-based case.
How do I get the faster c++ version to calculate the same results as the matlab based simulation?