Creating a fucning in spesific format
1 view (last 30 days)
Show older comments
Berkay
on 30 Aug 2022
Answered: Sulaymon Eshkabilov
on 30 Aug 2022
I want to create a fucntion that display the input variable in long format.
How can I do it ?
0 Comments
Accepted Answer
Sulaymon Eshkabilov
on 30 Aug 2022
You may consider using fprintf() by specifying the format specs, e.g.:
F = pi;
fprintf('F = %3.15f \n', F)
0 Comments
More Answers (0)
See Also
Categories
Find more on MATLAB Report Generator in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!