Use element-wise operations:
C_vv=((R*theta_v^2*(exp(theta_v./T)))./(((exp(theta_v./T))-1).^2.*T.^2));
↑ ↑ ↑ ↑ ↑ ↑
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!