how to write this equation ?
2 次查看(过去 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)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192713/image.png)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Manage Products 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!