Creating a fucning in spesific format

1 次查看(过去 30 天)
I want to create a fucntion that display the input variable in long format.
How can I do it ?

采纳的回答

Sulaymon Eshkabilov
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 CenterFile Exchange 中查找有关 MATLAB Report Generator 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by