Helper Feature Vector2 Sequence
Ältere Kommentare anzeigen
I am using Matlab 2019b but still using "HelperFeatureVector2Sequence" function gives error as undefined function. Why ????
Antworten (3)
the cyclist
am 10 Nov. 2019
ver
at the command window prompt, do you see the Audio Toolbox listed?
3 Kommentare
the cyclist
am 10 Nov. 2019
It is possible that you have it installed, but not licensed.
Does it appear in the list after you type ...
license('inuse')
the cyclist
am 11 Nov. 2019
Copying Moomal Tariq's comment here, instead of being an "answer":
"when i type license('inuse') it just says MATLAB ...i am using trial version"
the cyclist
am 11 Nov. 2019
That command lists all the toolboxes you are licensed to use. (That is different from just being installed.)
I suggest you go to the license center to see if you can figure it out from there, or contact support from the link on that page.
Moomal Tariq
am 10 Nov. 2019
0 Stimmen
jibrahim
am 11 Nov. 2019
0 Stimmen
Hi Moomal,
This function is not on path by default. I believe it is used in a featured example in Audio Toolbox. to get access to this function, browse to the doc page of the featured example, and then click the 'Open Script' button (around the top right on the doc page). That should take you to a folder that contains the code for the example (including the function you are looking for).
5 Kommentare
Floriana Vasile
am 23 Jun. 2021
hi,
I'm facing the same problem, I tried to look for the specific function, which I'm using in one of the featured examples (in the example it works), but I can't find it. Do you know, if I download and run the exaple on my machine, which is the repository for the function? Because I can find the example, but not the function, that works perfectly when called running the example
jibrahim
am 23 Jun. 2021
Floriana,
what example are you running? This one?
The function HelperFeatureVector2Sequence is defined at the bottom of that example. If you want to use it outside the example, you should copy it and save it into its own .m file.
Floriana Vasile
am 24 Jun. 2021
Thankyou very much!
May I ask you why in the function the brace indexing is used with the variable ''features'':
sequencePerSegment{ii} = max(floor((size(features{ii},2) - featureVectorsPerSequence)/hopLength) + 1,0);
I'm asking you this because with my own variable ''features'' it leads to an error (''Brace indexing is not supported for variables of this type.'', the type is double), but with the ''features'' of the featured example it works
jibrahim
am 24 Jun. 2021
Brace indexing is used because features is a cell array in the example. You will have to modify the function if you are not using cells.
Floriana Vasile
am 24 Jun. 2021
I used the ''Voice Activity Detection Noise Using Deep Learning Example'', where i can find:
trainFeatureCell = helperFeatureVector2Sequence(featuresTraining',sequenceLength,sequenceOverlap);
at the beginning of the function you have:
function [sequences,sequencePerSegment] = HelperFeatureVector2Sequence(features,featureVectorsPerSequence,featureVectorOverlap)
so I'm giving to the function my featuresTraining' as the features.
The featureTraining type is double, but the script is still working, which is somenthing that I can't understand
Kategorien
Mehr zu Get Started with Audio Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
