Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Problems with functions plot

조회 수: 2 (최근 30일)
Virginia
Virginia 2013년 7월 2일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi, I have this functions: TT=0:0.005:15*To;
Ar=(TT<To).*(alfa*fi*Ao*((1+(TT/To)*(beta-1))))+((TT>=To)&(TT<=Tas)).*(alfa*fi*beta*Ao)+(TT>Tas).*(alfa*fi*beta*Ao*(TT/Tas).^-pp);
Ad=((TT>=0)&(TT<Tmas)).*((alfa*fi*Ao*(1+(TT/Tmas)*(beta-1)))/(1+(R-1)*(TT/Tmas).^cc))+((TT>=Tmas)&(TT<=Tas)).*(alfa*fi*beta*Ao/R)+(TT>Tas).*((alfa*fi*beta*Ao/R)*(TT/Tas).^-pp);
Both of them should start at the same point with a curve, however the second function 'Ad', has a problem and it draws a straight line instead of the curve it should be, I already checked the equation and it's ok, but I don't know if there is any other problem with variables that I don't know about.
  댓글 수: 1
Youssef  Khmou
Youssef Khmou 2013년 7월 3일
hi Virginia,
i can not verify because i need to know the constants To,Tmas,alpha, fi,cc,Ao,beta,R and pp .

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by