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
Answers

Krachtenplatform - script

Rating
-
Sold
1
Pages
14
Uploaded on
30-03-2019
Written in
2018/2019

Volledige uitwerkingen van het practicum krachtenplatform

Institution
Course

Content preview

Script krachtenplatform
clear; clear all;close all; clc;

%% opdracht 1 - Corrigeren voor drift en offset
load TN000004.afp
z4 = TN000004(:, 5) + TN000004(:, 6) + TN000004(:, 7) + TN000004(:, 8);

% Kracht in z-richitng (V) als functie van samplenummer plotten
figure (1)
plot (z4, 'b')
xlabel('Samplenummer')
ylabel('Kracht in z-richting [V]')
title ('Kracht Z')
hold on
% Kracht corrigeren voor drift en offset
gecorrigeerdsignaal = verwijderdrift(z4,1, 14627, 25813, 35996);

% Het gecorrigeerd signaal in zelfde figuur plotten
figure(1)
plot(gecorrigeerdsignaal, 'r')
legend ('Signaal', 'Gecorrigeerdsignaal')

% Het corrigeren is goed gedaan, omdat er nu een rechte lijn is.
% Je kunt verwijderdrift niet gebruiken als het geen rechte lijn is. Dan
% moet je de orde aanpassen

%% opdracht 2a - Kalibratielijn o.b.v. de gemeten data
%Range 1
load TN000006.afp;
z6 = TN000006(:, 5) + TN000006(:, 6) + TN000006(:, 7) + TN000006(:, 8);

figure (2)
plot (z6)
xlabel('Samplenummer')
ylabel('Kracht in z-richting [V]')
title ('range 1')
hold on

% Signaal corrigeren
gecorrigeerdsignaal1 = verwijderdrift(z6,1, 5955.4, 32726, 35996);
% Gecorrigeerd signaal plotten om te kijken of het goed is gegaan
figure (2)
plot(gecorrigeerdsignaal1)
legend ('Signaal', 'Gecorrigeerdsignaal')
hold on

massa1 = [0, 4.992 10.019 14.960 19.820 24.814 0]'; g = 9.81;
F1 = massa1.*g;

% Voor elk stapje moet je het gemiddelde van het gecorrigeerd signaal nemen
z1_1_1 = mean(gecorrigeerdsignaal1(1 : 5954.6,1)); %bij stap 1
z1_1_2 = mean(gecorrigeerdsignaal1(6219.3: 13251, 1)); %bij stap 2
z1_1_3 = mean(gecorrigeerdsignaal1(13592 : 18431, 1)); %bij stap 3
z1_1_4 = mean(gecorrigeerdsignaal1(18809 : 25198, 1)); %bij stap 4
z1_1_5 = mean(gecorrigeerdsignaal1(25388 : 28715, 1)); %bij stap 5
z1_1_6 = mean(gecorrigeerdsignaal1(29206 : 32117, 1)); %bij stap 6
z1_1_7 = mean(gecorrigeerdsignaal1(32798 : 36000, 1)); %bij stap 7

Written for

Institution
Study
Course

Document information

Uploaded on
March 30, 2019
Number of pages
14
Written in
2018/2019
Type
Answers
Person
Unknown

Subjects

$5.98
Get access to the full document:

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

Get to know the seller

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.
m_vu_bws Vrije Universiteit Amsterdam
Follow You need to be logged in order to follow users or courses
Sold
31
Member since
8 year
Number of followers
21
Documents
14
Last sold
3 months ago

3.5

4 reviews

5
1
4
0
3
3
2
0
1
0

Recently viewed by you

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