Helper Feature Vector2 Sequence
Mostrar comentarios más antiguos
I am using Matlab 2019b but still using "HelperFeatureVector2Sequence" function gives error as undefined function. Why ????
Respuestas (3)
the cyclist
el 10 de Nov. de 2019
ver
at the command window prompt, do you see the Audio Toolbox listed?
3 comentarios
the cyclist
el 10 de Nov. de 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
el 11 de Nov. de 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
el 11 de Nov. de 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
el 10 de Nov. de 2019
0 votos
jibrahim
el 11 de Nov. de 2019
0 votos
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 comentarios
Floriana Vasile
el 23 de Jun. de 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
el 23 de Jun. de 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
el 24 de Jun. de 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
el 24 de Jun. de 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
el 24 de Jun. de 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
Categorías
Más información sobre Get Started with Audio Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
