how can i write a function using X1 and X2 as variables where X2 subject to 1/6*pi<=X2<=1/3*pi ?

답변 (1개)

Adam
Adam 2016년 3월 29일
편집: Adam 2016년 3월 29일

0 개 추천

function someFunction( X1, X2 )
validateattributes( X2, { 'double', 'single' }, { '>=', pi/6, '<=', pi/3 } )
...
end

카테고리

도움말 센터File Exchange에서 SimEvents에 대해 자세히 알아보기

질문:

2016년 3월 29일

편집:

2016년 3월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by