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
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com