Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Anyone know how I can improve my code and create the following equation? I only have the signal and image toolboxes
1 回表示 (過去 30 日間)
古いコメントを表示
%*************************************************************************
%%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 件のコメント
per isakson
2019 年 6 月 22 日
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.
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!