how to solve the error "Not enough input arguments."
조회 수: 1 (최근 30일)
이전 댓글 표시
function a=alpham(v)
%filename: alpham.m
theta=(v+45)/10;
if(theta==O) %check for case that gives 0/0
a=l.O; %in that case use L'Hospital's rule
else
a=l.O*theta/(1-exp(-theta));
end
답변 (1개)
Walter Roberson
2020년 12월 2일
You are pressing the green Run button to run the code. Don't Do That. Go down to the command line and command
alpham(18.35)
alpham(-45)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!