{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

scan0004 - *5 Can be a number or an asterisk to refer to an...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: *5 Can be a number, or an asterisk (*) to refer to an argument in the input list. For example, the input list ( ' % 6 . 4f ‘ , pi) is equivalent to ('%*.*f', 6, 4, pi). o Flags ; E. i” s t i x L i ...AMMWMWW..WWWNMWWW.gmmmtfsmMWMWW , i l :Padwithzeros. ' E’O' ‘V%05.2f ‘ i ! o identifier Order for processing inputs. Use the syntax 11$, where n represents the position of the value in the input list. Forexample, '%3$s %2$s %l$s %2$s' prints inputs ‘A', 'B', 'C' as follows: C B A B. The following limitations apply to conversions: o Numeric conversions print only the real component of complex numbers. o if you apply an integer or string conversion to a numeric value that contains a fraction, MATLAB overrides the specified conversion, and uses %e. o If you apply a string conversion (% s) to integer values, MATLAB: :1 issues a warning. :1 Converts values that correspond to valid character codes to characters. For example, ' %s ' converts [65 66 67] to ABC. 0 Different platforms display exponential notation (such as %e) with a different number of digits in the exponent. Window 1,. 23e+0043 sm.w..m,_l~.wms WWW”, UNIX ‘ i 1.233404 r” 5 3 0 Different platforms display negative zero (—0) differently. ...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern