Helper Feature Vector2 Sequence
이전 댓글 표시
I am using Matlab 2019b but still using "HelperFeatureVector2Sequence" function gives error as undefined function. Why ????
답변 (3개)
the cyclist
2019년 11월 10일
ver
at the command window prompt, do you see the Audio Toolbox listed?
댓글 수: 3
the cyclist
2019년 11월 10일
It is possible that you have it installed, but not licensed.
Does it appear in the list after you type ...
license('inuse')
the cyclist
2019년 11월 11일
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
2019년 11월 11일
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.
jibrahim
2019년 11월 11일
0 개 추천
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
Floriana Vasile
2021년 6월 23일
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
2021년 6월 23일
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
2021년 6월 24일
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
2021년 6월 24일
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
2021년 6월 24일
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
카테고리
도움말 센터 및 File Exchange에서 Get Started with Audio Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
