matlab
MATLAB and GNU Octave numerical computing for matrix operations, data analysis, visualization, and scientific computing. Use when writing MATLAB/Octave scripts for linear algebra, signal processing, image processing, differential equations, optimization, statistics, or creating
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
MATLAB and GNU Octave numerical computing for matrix operations, data analysis, visualization, and scientific computing. Use when writing MATLAB/Octave scripts for linear algebra, signal processing, image processing, differential equations, optimization, statistics, or creating scientific visualizations. Also use when the user needs help with MATLAB syntax, functions, or wants to convert between MATLAB and Python code. Scripts can be executed with MATLAB or the open-source GNU Octave interpreter.
How to use
Zainstaluj GNU Octave (jeśli nie masz MATLAB-a). Na macOS użyj brew install octave, na Ubuntu/Debian: sudo apt install octave, na Windows pobierz instalator ze strony octave.org/download.
Opisz swoje zadanie numeryczne lub naukowe — na przykład operacje na macierzach, analizę danych, przetwarzanie sygnałów, równania różniczkowe, optymalizację lub tworzenie wykresów.
Otrzymasz gotowy skrypt MATLAB/Octave (.m) dostosowany do Twojego problemu, zawierający funkcje takie jak operacje macierzowe, tworzenie wektorów, macierze specjalne (eye, zeros, ones, rand) oraz wizualizacje.
Skopiuj wygenerowany kod do pliku z rozszerzeniem .m (np. moj_skrypt.m).
Uruchom skrypt w Octave poleceniem octave moj_skrypt.m lub w MATLAB-ie: matlab -nodisplay -nosplash -r "run('moj_skrypt.m'); exit;".
Jeśli potrzebujesz konwersji istniejącego kodu MATLAB-a na Pythona lub pomocy przy składni, opisz swój problem — otrzymasz wyjaśnienie lub równoważny kod.