File Exchange

image thumbnail

Carbon Nanotube Diameter and Metallicity Calculator

version 1.1.0.0 (1.67 KB) by Steven Shimizu
Calculates diameter and metallicity of carbon nantoubes given chiral indices

1 Download

Updated 26 Feb 2014

View Version History

View License

A simple function that calculates the diameter (in nanometers) and metallicity (metallic or semiconducting) of a carbon nanotube using an input scalar or vector of n and m chiral indices.

The return value, metallic, is a scalar or vector with a value of 1 if the tube is metallic or 0 if the tube is semiconducting.

Examples:
[d, metallic] = calcCNTDiameter(6,5)
d = 7.4697e-01
metal = 0

[d,metallic] = calcCNTDiameter([6,7],[5,7])
d = 7.4697e-01
9.4939e-01
metal = 0
1

Cite As

Steven Shimizu (2021). Carbon Nanotube Diameter and Metallicity Calculator (https://www.mathworks.com/matlabcentral/fileexchange/45694-carbon-nanotube-diameter-and-metallicity-calculator), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!