Looking for ELEC-A5140 - Matematiikkaohjelmistot, Luento-opetus, 14.4.2025-30.5.2025 test answers and solutions? Browse our comprehensive collection of verified answers for ELEC-A5140 - Matematiikkaohjelmistot, Luento-opetus, 14.4.2025-30.5.2025 at mycourses.aalto.fi.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Mikä on matriisin
A = [1, 2, 3; 4, 5, 6];
koko?
(muista: rivit x sarakkeet)
Mikä on muuttujan b arvo?
A = [1, 2, 3; 4, 5, 6; 7, 8, 9];b = sum(diag(A))
Pyöritä komentoikkunassa seuraavat kaksi komentoa.
x = [0:(pi/4):(4*pi)];y = cos(x);Mikä arvo löytyy y-vektorin indeksiltä 5?
Mitä tulostaa komento:
fprintf('%d + %d = %d\n', [1, 2, 3])
(kirjoita tarkka tuloste kaikkien välimerkkien kanssa!)
Seuraa kysymyksiä fprintf-komennon toiminnasta. Vastaukset voi päätellä dokumentaation perusteella, siihen linkki yllä. Helpoiten tietysti selviää kokeilemalla itse omassa MATLAB-ympäristössä!
Mitä tulostaa komento
a = [1.033 2.221 4.321];fprintf('%1.2f\n', a)
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!