Delete the 's' from the temperature input. You want a number, not a string.
T = input('Enter temperature(K) to calculate thermal conductivity: ');
Then it works.
Delete the 's' from the temperature input. You want a number, not a string.
T = input('Enter temperature(K) to calculate thermal conductivity: ');
Then it works.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!