Clear Filters
Clear Filters

is logfsgram() an inbuit function in matlab?

2 views (last 30 days)
one code had mentioned this function. but when i run that code its giving error saying undefined function. what is other option for this?

Accepted Answer

Stephen23
Stephen23 on 10 Apr 2015
Edited: Stephen23 on 10 Apr 2015
You can use which to check for the existence of any function or variable name. Here I try it with sin and the function that you give in the title of your question:
>> which sin
built-in (C:\Program Files\MATLAB\R2010b\toolbox\matlab\elfun\@double\sin) % double method
>> which logfsgram
'logfsgram' not found.
Note even if the function is not found that there may actually be a MATLAB function with this name, but that your license does not give you access to the particular toolbox that it is located in.
If it cannot be found then search these locations:
Often these functions can only be obtained from the person who wrote that code... so you need to track them down and ask for a copy!
  4 Comments
danny Sharah
danny Sharah on 10 Apr 2015
sir @Stephen Cobeldick, i was trying code from site "http://labrosa.ee.columbia.edu/projects/pitchflow/" for pitch tracking. but stuck up because of function.can you please help me...
Stephen23
Stephen23 on 10 Apr 2015
Ask the lovely people at "http://labrosa.ee.columbia.edu", as presumably they know more about this than any one here does. As in, they probably wrote this function. Try writing to them.

Sign in to comment.

More Answers (0)

Categories

Find more on Signal Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!