Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to implement this algorithm?

2 ビュー (過去 30 日間)
Barry Allen
Barry Allen 2020 年 4 月 19 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
How to implement this algorithm?
  3 件のコメント
Barry Allen
Barry Allen 2020 年 4 月 19 日
clc
close all
T=1;
tow_min=0;
tow_max=T;
while (tow_max-tow_min > 0.8)
tow_bar=(tow_max+tow_min)/2;
if crn(tow_bar)==crn(tow_min)
tow_min=tow_bar;
else
tow_max=tow_bar;
end
end
tow0=tow_bar;
i have done this far and i dont understand how to obtain the time from this algorithm
darova
darova 2020 年 4 月 19 日
I think this line should be changed:
% if crn(tow_bar)==crn(tow_min)
if crn(tow_bar) < 0

回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by