Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Anyone know how I can improve my code and create the following equation? I only have the signal and image toolboxes

1 view (last 30 days)
%*************************************************************************
%%This fucntion will store transducer coordinates and differences of
%%arrival times between each transducer and transducer 1
% which are aquired via graphData() and store them in the 2D
%%non-linear function
%**************************************************************************
function equation(xti,yti,zti,deltai,v)%known values are input parameters
b = ?;
a = (xti - xs)^2;
b = (yti - ys)^2;
c = (zti - zs)^2;
d =(ts - deltai);
e = a + b + c;
f = sqrt(e);
g = f/v;
i = g - d;
end
  5 Comments

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!