Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

hi friends. we have a vectore v= [ 1 2 6 7 8 9], I want to compute the following : if variable component=1:10 is equal to one component of v then do some calculation like below. how can I do that:

조회 수: 1 (최근 30일)
if(........)# what should I write inside if lambda = lambda_uncoup; mue_prior = mue_0; mue_prior = mue_prior([1;parents+1],1); else lambda = lambda_coup; end

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by