Hi Everybody
I have problem with displaying a matrix with command fprintf, a string line is too long and I like to divided in to two parts but I couldn't do it. Is there any one have an idea how to separate it it into parts. I copied the code, the problem is with third line.
Thanks in advance
z=rand(4,15);fprintf(1,'+---------+---------+----------+-----------+-----------+---------+---------+----------+-----------+-----------+---------+---------+----------+-----------+-----------+\n')fprintf(1,'| %7.4f |%8.3f |%10.2f|%11.2f| %9.4f |%8.4f |%8.3f |%10.2f|%11.2f| %9.4f |%8.3f |%8.3f |%10.3f|%11.3f| %9.4f |\n+---------+---------+----------+-----------+-----------+---------+---------+----------+-----------+-----------+---------+---------+----------+-----------+-----------+\n',z')
Best Answer