myCompiler myCompiler
Deutsch English Español Français Italiano 日本語 한국어 Nederlands Polski Português
Recent
Login Sign up
Recent
Login Sign up
M

@Monika_D

Fourier Transforms

Octave
1 year ago
% Define the time vector t = 0:0.01:2*pi; % from 0 to 2*pi with increments of 0.01 % Define the function, a sine wave in this case f = sin(2 * pi * 5 * t); % 5 Hz sine wave % Plot the original function figure; subplot(2,1,1); plot(t, f);
Previous Next page

Supported languages

Deno JavaScript NodeJS Python Ruby Go C C++ Java C# TypeScript PHP Bash R Octave (MATLAB) Fortran Lua Erlang SQL MySQL MongoDB Clojure D Perl Kotlin Swift Rust Assembly
© 2026 mycompiler.io
Terms of service Privacy policy Contact us