Thread Subject: sprintf transfer function

Subject: sprintf transfer function

From: PinkLab

Date: 8 Nov, 2009 20:01:02

Message: 1 of 3

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?

Subject: sprintf transfer function

From: ImageAnalyst

Date: 8 Nov, 2009 20:18:40

Message: 2 of 3

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?

Subject: sprintf transfer function

From: PinkLab

Date: 8 Nov, 2009 20:23:00

Message: 3 of 3

Yes, can I also sprintf value of x and y and then final sprintf for z?

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com