Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How to implement this algorithm?

1 visualización (últimos 30 días)
Barry Allen
Barry Allen el 19 de Abr. de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
How to implement this algorithm?
  3 comentarios
Barry Allen
Barry Allen el 19 de Abr. de 2020
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 el 19 de Abr. de 2020
I think this line should be changed:
% if crn(tow_bar)==crn(tow_min)
if crn(tow_bar) < 0

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by