Error occured due to the incorrect matrix dimensions of f1 and vec_Vph in the scatter plot. Try checking the code by modifying t_travel expression.
t_travel=(abs(phi_actual)/360)'*1./f1; %Travel time
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!