Creating a fucning in spesific format

1 回表示 (過去 30 日間)
Berkay
Berkay 2022 年 8 月 30 日
回答済み: Sulaymon Eshkabilov 2022 年 8 月 30 日
I want to create a fucntion that display the input variable in long format.
How can I do it ?

採用された回答

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2022 年 8 月 30 日
You may consider using fprintf() by specifying the format specs, e.g.:
F = pi;
fprintf('F = %3.15f \n', F)
F = 3.141592653589793

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDates and Time についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by