How to move the decimal

1 回表示 (過去 30 日間)
janani subraveti
janani subraveti 2017 年 5 月 6 日
回答済み: Stephen23 2017 年 5 月 6 日
Hi,I have my matlab code in this way where T array has values in this way 1.3982e-06,1.4056e-06....
T=20*(10^-12)*T;
but i want my T array should store the values in this way 1398.2e-09,1405.6e-09,.. or in this way 1398.2,1405.6

回答 (1 件)

Stephen23
Stephen23 2017 年 5 月 6 日
>> T = [1.3982e-06,1.4056e-06];
>> T * 1e6
ans =
1.3982 1.4056

カテゴリ

Help Center および File ExchangeData Types についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by