How do I make equation output matrix?
显示 更早的评论
This code will only produce Tau_a as a single number and I want it to output a matrix evaluated at each x value. How do I fix this? Thanks
eta0=1200; %Pa-s
Tau_c=20000; %Pa
n=0.3;
x=[10,25,50,100,200,400,600,800,1200]; %s^-1, where x is is gamma dot
Tau_a=(eta0.*x)/((1+((eta0.*x)/Tau_c).^2).^((1-n)/2)); %shear stress strain equation, Non-Newtonian
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!