Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!t2g2000yqn.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: sprintf transfer function
Date: Sun, 8 Nov 2009 12:18:40 -0800 (PST)
Organization: http://groups.google.com
Lines: 16
Message-ID: <abad09ca-8012-4b4f-b16d-2bc388d6b55d@t2g2000yqn.googlegroups.com>
References: <hd781u$57a$1@fred.mathworks.com>
NNTP-Posting-Host: 75.186.70.56
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1257711520 16029 127.0.0.1 (8 Nov 2009 20:18:40 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 8 Nov 2009 20:18:40 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: t2g2000yqn.googlegroups.com; posting-host=75.186.70.56; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 
	GTB6; CyberSafe-IWA-Enable; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 
	3.0.04506.648; .NET CLR 3.5.21022; AskTB5.5),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:583401


On Nov 8, 3:01 pm, "PinkLab " <pink...@pinklab.com> wrote:
> please help in printing the transfer function
>
> x = 2
> y = 4
> z = x*y
>
> now need to sprintf to display tf of z
>
> how do i write it?

You've given a "transfer function" for z which involves x and y but
you've only given it one (x,y) pair to work with.  This will give you
one output point -- not exactly what I'd call a function.  I'm not
sure what you're after.  Do you want to plot z for other values of x
and y?