HOW TO CODE AND PLOT EQUATION
이전 댓글 표시
I tried to code and plot this Midilli equation but it keep on saying “subscript indices must either be real positive integers or logicals”. I need to plot those decimals but i dont know how
a= 1.1143 k= 0.1791 n= 0.3215 b= 0.00321 t = 11 mins
MR = a•exp(-k(t^n))+b•t
댓글 수: 1
Ive J
2020년 12월 7일
MR = a*exp( -k*(t^n) ) + b*t; % consider .* in such cases
답변 (1개)
Ameer Hamza
2020년 12월 7일
You are missing multiplication operator between 'k' and t^n.
MR = a*exp(-k*(t^n))+b*t
댓글 수: 5
korukosheep
2020년 12월 7일
Walter Roberson
2020년 12월 7일
post your current code
korukosheep
2020년 12월 7일
편집: Walter Roberson
2020년 12월 7일
korukosheep
2020년 12월 7일
Walter Roberson
2020년 12월 7일
at the command line give the command
clearvars
and then run the code again
카테고리
도움말 센터 및 File Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!