generating tables of four colomns
5 views (last 30 days)
Show older comments
Generate a table of conversions of four columns. First column contains dollars, second contains equivalent number of euros, third contains equivalent number of pounds and fourth contains equivalent number of yens. Print 25 lines in the table. Table should include a title, column labels and formatted output (use disp and fprintf commands)
0 Comments
Accepted Answer
Image Analyst
on 14 Nov 2013
Hint:
fprintf('Dollars Euros Pounds Yen\n')
for k = 1 : 25
fprintf(.......
end
Look up fprintf() in the help for examples.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!