mixedTextString - % r = input('Enter radius: '); a =...

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

View Full Document Right Arrow Icon
% mixedTextString.m % (c)2000 g.m.dick % script demonstrates how to print a line containing both: % - literal text % - text converted from a numeric variable
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % r = input('Enter radius: '); a = pi*r^2; disp(['radius = ' num2str(r) ' area = ' num2str(a)]);...
View Full Document

This note was uploaded on 04/05/2010 for the course CHEMENG 05078870 taught by Professor Mustafa during the Spring '10 term at Ege Üniversitesi.

Ask a homework question - tutors are online