Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 50 pages
Summary

Samenvatting MATLAB deel wiskunde: alle oefeningen

Document preview thumbnail
Preview 4 out of 50 pages

Alle oefeningen van het wiskunde gedeelte van MATLAB

Content preview

OEF 1

clear;

pi/4 + pi/3 - pi/11

ans = 1.5470




OEF 2

clear;

exp(-j*pi/4)

ans = 0.7071 - 0.7071i

z = -sqrt(2)/3 -j*sqrt(5)/2;
r = abs(z)

r = 1.2134

hoek = angle(z)

hoek = -1.9698




OEF 3

clear;

z1 = 3 + 2*j

z1 = 3.0000 + 2.0000i

z2 = 1 - j

z2 = 1.0000 - 1.0000i

som = z1 + z2

som = 4.0000 + 1.0000i

product = z1 * z2

product = 5.0000 - 1.0000i

quotient = z1 / z2

quotient = 0.5000 + 2.5000i




OEF 4

clear;

1

, z = sqrt(2)*exp(3*pi/4*j)

z = -1.0000 + 1.0000i

imaginair = imag(z)

imaginair = 1.0000

reeel = real(z)

reeel = -1

z2 = conj(z)

z2 = -1.0000 - 1.0000i

r = abs(z2)

r = 1.4142

hoek = angle(z2)

hoek = -2.3562

rad2deg (hoek)

ans = -135




OEF 5

clear;

B = [1 : 2 : 9];
C = ones(18,1);
A = C*B

A = 18×5
1 3 5 7 9
1 3 5 7 9
1 3 5 7 9
1 3 5 7 9
1 3 5 7 9
1 3 5 7 9
1 3 5 7 9
1 3 5 7 9
1 3 5 7 9
1 3 5 7 9




OEF 6

clear;

A = [1:9];

2

, B = [1:9];
for k=2:5
B = cat(1,B,A.^k);
end
B

B = 5×9
1 2 3 4 5 6
1 4 9 16 25 36
1 8 27 64 125 216
1 16 81 256 625 1296
1 32 243 1024 3125 7776




OEF 7

clear;

A = [1 : 1 : 100];
A2 = A.^2;
sum(A2)

ans = 338350




OEF 8

clear;

a = [1,2,0];
b = [3,0,-3];
c = [5,2,6];

% opp = 1/2* norm(U x V)
u = b - a;
v = c - a;
product = cross(u,v);
opp = 1/2 * norm(product)

opp = 14




OEF 9

clear;

t_rij = 0:0.1:1;
f_rij = (t_rij)./(1+sqrt(t_rij));

% gem = som van alle f gedeeld door n (aantal f)
gem = sum(f_rij)/length(f_rij)

gem = 0.2772




3

, OEF 10

clear;

syms a b c
[a,b,c] = solve(a+b+c==5, c==2/3*(a+b), a^2+b^2 ==c^2)

a =




b =




c =




%complexe getallen dus geen reele opl




4

Document information

Study
Uploaded on
January 14, 2022
Number of pages
50
Written in
2020/2021
Type
Summary
$13.05

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
drmxt
3.0
(2)
Sold
10
Followers
10
Items
5
Last sold
7 months ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions