logo

Crowdly

ELEC-A5140 - Matematiikkaohjelmistot, Luento-opetus, 14.4.2025-30.5.2025

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)

0%
0%
0%
0%
View this question

Mikä on muuttujan b arvo?

A = [1, 2, 3; 4, 5, 6; 7, 8, 9];

b = sum(diag(A))

View this question

Pyöritä komentoikkunassa seuraavat kaksi komentoa.

x = [0:(pi/4):(4*pi)];

y = cos(x);

Mikä arvo löytyy y-vektorin indeksiltä 5?

View this question

Mitä tulostaa komento:

fprintf('%d + %d = %d\n', [1, 2, 3])

(kirjoita tarkka tuloste kaikkien välimerkkien kanssa!)

View this question

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)

0%
0%
0%
0%
View this question

Want instant access to all verified answers on mycourses.aalto.fi?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!