write statement without using for loop

更多回答(1 个)

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

类别

帮助中心File Exchange 中查找有关 Debugging and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by