hi,
unbale to plot is showing dimentinal error
close all
clc
Gi=0.995;
Ea=0.4;
k=0.0000862;
pi_Q=1;
Pi_E=1;
m=2.4;
T=linspace(40,100,5)
y=(exp.((-Ea/k).*((1/(T+273))-(1/313)))) % temp factor
figure
plot(T,y)
xlabel('T')
ylabel('Temp Factor')
grid on
how to make dimention equal to find y for T values.
Thanks

 채택된 답변

Alan Stevens
Alan Stevens 2020년 7월 27일

0 개 추천

As follows:
Gi=0.995;
Ea=0.4;
k=0.0000862;
pi_Q=1;
Pi_E=1;
m=2.4;
T=linspace(40,100,5);
y=exp((-Ea/k).*((1./(T+273))-(1/313))); % Removed dot immeditely after exp; inserted a dot before /(T+273)
figure
plot(T,y)
xlabel('T')
ylabel('Temp Factor')
grid on

댓글 수: 1

Ramesh B
Ramesh B 2020년 7월 28일
Thank you Alan. it works.
Apprecitae your time and help.
Thanks

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Pie Charts에 대해 자세히 알아보기

제품

릴리스

R2018b

태그

질문:

2020년 7월 27일

댓글:

2020년 7월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by