Resample function with splitapply limitation?
Vous suivez désormais cette question
- Les mises à jour seront visibles dans votre flux de contenu suivi.
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails.
Une erreur s'est produite
Impossible de terminer l’action en raison de modifications de la page. Rechargez la page pour voir sa mise à jour.
0 votes
Partagez un lien vers cette question

Error in solution>func (line 26)
[y,yt] = resample(yg,t,fs)
Réponse acceptée
0 votes
Partagez un lien vers cette réponse
The data variables must have the same number of rows as the vector of group numbers. The group number vector has 36 row(s), and data variable 3 has 1 row(s).
8 commentaires
Partagez un lien vers ce commentaire
Applying the function 'func' to the 1st group of data generated the following error:
Expected input number 3, Fs, to be a scalar.
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Applying the function 'func' to the 1st group of data generated the following error:
Expected input number 3, Fs, to be a scalar.
Partagez un lien vers ce commentaire
Applying the function '@(r,d)func(r,d,fs)' to the 1st group of data generated the following error:
Undefined function 'func' for input arguments of type 'double'.
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
The function '@(r,d)func(r,d,fs)' returned a non-scalar value when applied to the 1st group of data.
To compute nonscalar values for each group, create an anonymous function to return each value in a scalar cell:
@(r,d){func(r,d,fs)}
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Plus de réponses (0)
Catégories
En savoir plus sur Multirate Signal Processing dans Centre d'aide et File Exchange
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
