Importing code from octave to matlab
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Peter Cristian
am 8 Apr. 2022
Kommentiert: Peter Cristian
am 8 Apr. 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 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Octave finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!