필터 지우기
필터 지우기

if statements concerning vectors

조회 수: 1 (최근 30일)
Sameer
Sameer 2014년 5월 13일
답변: Sean de Wolski 2014년 5월 13일
"if only 2 probabilties are desired, then entries 3 to 10 of swtNPVProb (a 10X1 vector) should be set to NaN"
How do we do this in MATLAB???????

답변 (1개)

Sean de Wolski
Sean de Wolski 2014년 5월 13일
if probabilitiesWanted == 2
swtNPVProb(3:10) = nan
end

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by