How to use a handle to define a piecewise binary function
1 回表示 (過去 30 日間)
古いコメントを表示
How to use a handle to define a piecewise binary function that can express the definition of the following expression
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 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!