Convert between SI and CGS units
Versión 1.0.0 (2.43 KB) por
Rishabh Datta
Convert values from SI to cgs and vice versa for common physical quantities
out = cgs2SI(val,type)
% Convert from cgs to SI units
% Example usage:
v = cgs2SI(10,'Velocity'); % Velocity, [cm/s] to [m/s]
B = cgs2SI(1,'Magnetic Field'); % Magnetic Field, [T] to [gauss]
out = SI2cgs(val,type)
% Convert from SI to cgs units
% Example usage:
v = SI2cgs(10,'Velocity'); % Velocity, [m/s] to [cm/s]
B = SI2cgs(1,'Magnetic Field'); % Magnetic Field, [gauss] to [T]
Citar como
Rishabh Datta (2024). Convert between SI and CGS units (https://www.mathworks.com/matlabcentral/fileexchange/95353-convert-between-si-and-cgs-units), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2021a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Agradecimientos
Inspiración para: Get fundamental plasma physics parameters
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0 |