필터 지우기
필터 지우기

Not enough input arguments.

조회 수: 2 (최근 30일)
lakom Mariem
lakom Mariem 2017년 9월 26일
편집: Jan 2017년 9월 26일
I have this error in matlab..I want to know how to solve it please.Can anyone help me.
  댓글 수: 5
lakom Mariem
lakom Mariem 2017년 9월 26일
편집: Stephen23 2017년 9월 26일
Well, I want to plot the function CLB ,it's expression is the following :
CLB = segma_d - segma_e *(1/2*log(2))
knowing that both segma_d and segma_e are two functions and each one of it have his own expression.
This is my code for CLB function
function ik = Cs_sim(k,alpha,ys,yd,ye)
C=(Segma_d_sim(k,alpha,ys,yd)-Segma_e_sim(k,alpha,ys,yd,ye))/(2*log(2));
if(C<0)
ik=0 ;
else
ik=C;
end
end
Jan
Jan 2017년 9월 26일
편집: Jan 2017년 9월 26일
Fine. And now post a copy of the complete error message to explain, which function is failing. How do you call this function? If you use the green arrow in the editor, no inputs are provide and the computations must fail.
Note that
CLB = segma_d - segma_e *(1/2*log(2))
and
C = (Segma_d_sim(k,alpha,ys,yd) - ...
Segma_e_sim(k,alpha,ys,yd,ye))/(2*log(2));
are not the same. The latter is:
CLB = (segma_d - segma_e) / 2 / log(2)
The same terms, but due to the different parentheses a completely different result.
It is some work to motivate you to post the required details. In German this is called: pulling someone the worms out of the nose. This can be improved.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by