Creating a fucning in spesific format
7 次查看(过去 30 天)
显示 更早的评论
I want to create a fucntion that display the input variable in long format.
How can I do it ?
0 个评论
采纳的回答
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)
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Report Generator 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!