Hi. I want to change the frequency of the US source in the bmode_linear_transducer example from 1.5 to 3MHz. When I changed the value of tone_burst_freq to 3e6, it seems that I get a signal that is not correct.
http://imageshack.us/scaled/landing/443/54888411.png
which is clearly not centered around 3MHz.
Even the bmode image looks very off
http://img201.imageshack.us/img201/2748/31561673.png
Is there anything else I'm supposed to change in the code to accommodate the new frequency?
I tried playing around with the defining_transducer example to see if I could find out what the problem was but as soon as I changed tone_burst_freq to 3e6, MATLAB would crash immediately after the program finished running. O_O Now it will crash even after setting the value back to 0.5e6. I tried reinstalling matlab too but the problem still persists.
Please help (I need help with bmode example more than defining_transducer example).