how to solve the error "Not enough input arguments."

조회 수: 1 (최근 30일)
Maria Arismendi
Maria Arismendi 2020년 12월 2일
댓글: Maria Arismendi 2020년 12월 2일
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
Maria Arismendi
Maria Arismendi 2020년 12월 2일
how to solve the error "Not enough input arguments."

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
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)
  댓글 수: 1
Maria Arismendi
Maria Arismendi 2020년 12월 2일
there are multiple codes to solve a main one,however when running the main code it takes me to this

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Dimensionality Reduction and Feature Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by