how to write this equation ?
조회 수: 1 (최근 30일)
이전 댓글 표시
what's the mistake with my code
T=linspace(100,1,10)
mu = @(T) 0.001.*(0.2414.*10.^(247.8./((T-273)+68.12963)));
Error: Unexpected MATLAB expression.
please help me
댓글 수: 4
KALYAN ACHARJYA
2018년 7월 27일
I have edited the code and attached the results too, Are you looking for this one? Pls confirm
Walter Roberson
2018년 7월 27일
Can you attach the .m file that contains the code? I am wondering if there are some hidden characters.
Also, if the line before the assignment to T was a continuation line ending in ... then the assignment could be a syntax error.
채택된 답변
KALYAN ACHARJYA
2018년 7월 27일
편집: KALYAN ACHARJYA
2018년 7월 27일
Its OK, no error
T=linspace(100,1,10)
mu=(0.001.*(0.2414.*10.^(247.8./((T-273)+68.12963))))
추가 답변 (2개)
Mark Saad
2018년 7월 27일
T = linspace (100, 1, 10);
mu = @(t) 0.001 .* (0.2414 * 10.^(247.8./((t - 273) + 68.12963)));
mu(T)
댓글 수: 0
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!