✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Funkcija u Matlabu ima sljedeći kod:
function [ x, y ] = izracun ( m, n ) x = m * n; y = m / n; end
Ukoliko u glavnim programu ili komandnom modu Matlaba pozovemo funkciju na način:
i = 30; j = 5; [a, b] = izracun ( i, j )
Rezultat poziva funkcije će biti: