現在この提出コンテンツをフォロー中です。
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます
%Example:
function y = f(x,t)
setParameterDefault('x',1);
setParameterDefault('t',3);
y = 3*x-2*t;
try:
f('', 1); -> x=1 -> y = 1
f(2); -> t=3 -> y = 0
f('', []); -> x=1, t=3 -> y = -3
引用
Tobias Kienzler (2026). setParameterDefault (https://jp.mathworks.com/matlabcentral/fileexchange/31285-setparameterdefault), MATLAB Central File Exchange. に取得済み.
