Error when i create functions in sys
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
syms X
n=1;
F=square(2/(pi*X))*cos(X-pi/4-(pi*n)/2);
Input arguments must be 'double'
what worng?
0 Commenti
Risposte (1)
Star Strider
il 24 Set 2017
The square (link) function is part of the Signal Processing Toolbox. It does not accept symbolic variables (in your example, that would be ‘X’).
Vedere anche
Categorie
Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!