Importing code from octave to matlab
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Peter Cristian
le 8 Avr 2022
Commenté : Peter Cristian
le 8 Avr 2022
Hello, i've got a problem with MatLAB when trying to run a code that i've written in octave.
The code in octave works perfectly but when i run it in MatLab it doesnt work, how can i write this line so it works in matlab?
The error message is: ` Invalid array indexing.`
z = abs(fft(c))(1:T*fs/2)/(T*fs);
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Octave 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!