Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Anyone know how I can improve my code and create the following equation? I only have the signal and image toolboxes
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
%*************************************************************************
%%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 comentarios
per isakson
el 22 de Jun. de 2019
You can solve it numerically, see fsolve Solve system of nonlinear equations and possibly Code to run script multiple times, but it's a bit noisy.
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!