Get the default number of partitions for the signal datastore.
n = numpartitions(sds)
n = 7
Partition the datastore into the default number of partitions and return the datastore corresponding to the fourth partition.
subsds = partition(sds,n,4);
Use theextractAfterfunction to display the name of the file contained in the datastore corresponding to the fourth partition.
fname = extractafter(subsds.files,'audiovideo\')
fname =1x1 cell array{0x0 char}
Read the data and information about the signal in the datastore corresponding to the fourth partition. Extract the sample rate frominfoand resample the signal to half the original sample rate. Plot the original and resampled signals.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.