Matrix and fprintf command
Show older comments
Well, I have a 5x8 matrix; in the last part of my assignment I have to show A(5,2) and A(3,8) by using fprintf... How can I do that? (Sorry for my english)
1 Comment
Gimmy Morales
on 19 Sep 2013
Answers (1)
Walter Roberson
on 19 Sep 2013
0 votes
fprintf('%g %g\n', A(5,2), A(3,8))
1 Comment
Jan
on 19 Sep 2013
@Gimmy: Please read the Getting Started chapters of the documentation to learn such basics.
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!