Azzera filtri
Azzera filtri

suppose i have a vector 'bw' if in there value '0' exist than total value of bw=0 is estimated.

1 visualizzazione (ultimi 30 giorni)
bw=[120 1322 5542 5653 0 0 0 45451]; than bw=0 because zero exist in vector....if bw=[121 5454 24 54 4 5454 545 4654]; than bw=121;

Risposta accettata

madhan ravi
madhan ravi il 25 Ott 2018
bw=[120 1322 5542 5653 0 0 0 45451]
if any(bw==0)
bw = 0
else
bw=bw(1)
end

Più risposte (0)

Categorie

Scopri di più su Problem-Based Optimization Setup in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by