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

@poovarasansivakumar2003

Task 8 Fourier Transforms on MATLAB

Octave
2 years ago
% Define the function x = linspace(0, 4*pi, 1000); y = sin(x) + 0.5*sin(2*x); % Compute the Fourier transform Y = fft(y); % Plot the original function and its Fourier transform figure; subplot(2,1,1);
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