How to use a handle to define a piecewise binary function

조회 수: 1 (최근 30일)
dcydhb dcydhb
dcydhb dcydhb 2019년 2월 28일
How to use a handle to define a piecewise binary function that can express the definition of the following expression
1.PNG
The code is as follows
function zfunction=name(q,z)
if q=0;
zfunction=(n0^(1/2)*cosh(m0*z));
else
zfunction=(nq^(1/2)*cos(mq*z));
end

답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품


릴리스

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by