Undefined function or variable 'dfdes'

9 views (last 30 days)
Mirza Baig
Mirza Baig on 9 Sep 2017
Edited: Stephen23 on 9 Sep 2017
I am trying to use these commands to find the transfer function for elliptic filter, I know i can use other matlab command but i want to use these commands to order to obtain precise results. Can someone explain what am i doing wrong.
  1 Comment
Stephen23
Stephen23 on 9 Sep 2017
Mirza Baig's "Answer" moved here:
i copied the whole thing matlab and i got this error.. do i need to define this function? or something else. any help would be much appreciated

Sign in to comment.

Answers (1)

Stephen23
Stephen23 on 9 Sep 2017
Edited: Stephen23 on 9 Sep 2017
You need to define those functions yourself, or get them from someone else. They are not inbuilt MATLAB functions.
The screenshots you show appear to contain only the help and not the complete function code, so you cannot copy-and-paste. You will have to ask the authors to provide that code for you. Or search the interweb and see if someone else has uploaded a copy.
But you certainly cannot expect that code that is not anywhere on your computer will magically be able to be called by MATLAB.

Categories

Find more on Function Creation in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!