Skip to main content
15-Moonstone
July 4, 2017
Solved

How to Calculate Gain and Phase

  • July 4, 2017
  • 20 replies
  • 8833 views

I have a question.

 

I want calculate Gain and Phase.

But I can not calculate Gain. Phase is OK.

??? I want to attach MATHCAD file. But I do not know how do I attach the file the message.

 

Please advise me.

Best answer by Werner_E

Here is your first file "repaired" using vectorization and made some changes with s (similar to waht you did in your last file)

20 replies

18-Opal
July 4, 2017

Load File.png

 Use "Choose File" button to load a file or use photo to load pictures.

24-Ruby IV
July 4, 2017

@ppal_255687 wrote:

Load File.png

 Use "Choose File" button to load a file or use photo to load pictures.


By me it does not work!

25-Diamond I
July 5, 2017

> If possible I want to know this difference.

 You mean why your first file failed and your current file question_3 works OK?

This is mainly because in your older file f was a vector, not a range as it is in the new file.

vectors and ranges are quite different and often are mixed up.

I try to attach two articles which Stuart created quite a while ago.

 

To make the old file work you would have to vectorize the call GPA(f).

There also are some differences in the definition and use of function/argument s in the two files.

ssato15-MoonstoneAuthor
15-Moonstone
July 6, 2017

Thank you so much for everyone.

 

I have another trouble.

A few days late , I will return to here, and reply your answer.

 

25-Diamond I
July 6, 2017

Maybe it would be a good idea to open a new thread for your new question.