write statement without using for loop

 Accepted Answer

More Answers (1)

use if condition?
if bi = 0
gi == alpha;
else
gi == beta;
end

Categories

Community Treasure Hunt

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

Start Hunting!