Conv() not working
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
dinesh kumar mohan
le 8 Oct 2020
Commenté : Constantino Carlos Reyes-Aldasoro
le 8 Oct 2020
I am trying to use Conv function to convolute two distributions. But the Conv function is not working, do I have to install any special tool for it to work. Isn’t it a built-in function?
2 commentaires
Ameer Hamza
le 8 Oct 2020
Modifié(e) : Ameer Hamza
le 8 Oct 2020
You don't need a toolbox to run this function. What is the error?
Réponse acceptée
Steven Lord
le 8 Oct 2020
I'm guessing you have written your own script conv.m that's taking precedence over the built-in conv function. To check this run:
which -all conv
If my guess is correct, rename or remove your conv.m script.
Plus de réponses (1)
Constantino Carlos Reyes-Aldasoro
le 8 Oct 2020
Could it be that you tried with uppercase C as in Conv and not with lower case as in conv?
>> conv([1 1],[2 2])
ans =
2 4 2
>>
>> Conv([1 1],[2 2])
Cannot find an exact (case-sensitive) match for 'Conv'
The closest match is: conv in C:\Program
Files\MATLAB\R2019a\toolbox\matlab\datafun\conv.m
5 commentaires
Constantino Carlos Reyes-Aldasoro
le 8 Oct 2020
Great! If this is sorted, please accept the answer. If not, let me know.
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!