100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

Human machine system answer of question with codes

Rating
-
Sold
-
Pages
2
Uploaded on
29-01-2021
Written in
2020/2021

this is the code answer one of the questions present in assignment 1

Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
January 29, 2021
Number of pages
2
Written in
2020/2021
Type
Other
Person
Unknown

Subjects

Content preview

Learning_const_per_participant=exprnd(1,20,1); %average(mu) is 1 and size is 20 by 1
meaning 20 participants
Mean=100;%mean task completion time on Trial 1
Stand_dev=25; %standard deviation across participants on Trial 1 equals 25 s
Task_completion=zeros(20,20); %20 trials for 20 participants
Task_completion(:,1)=normrnd(Mean,Stand_dev,[20 1]); %gives the first task completion
times for each participant where mu=100 sigma=25
Task_completion_exp=zeros(20,20); %20 trials for 20 participants
Task_completion_exp(:,1)=normrnd(Mean,Stand_dev,[20 1]); %gives the first task
completion times for each participant where mu=100 sigma=25
for i=1:19
Task_completion(:,i+1)=Task_completion(:,i).*((i+1).^(-
1*Learning_const_per_participant(:)));
Task_completion_exp(:,i+1)=Task_completion_exp(:,i).*(exp((i+1).*(-
1*Learning_const_per_participant(:))));
end
figure(1)
for t=1:20
subplot(5,4,t)
plot(1:20,Task_completion(t,:))
number=num2str(t);
xlabel('Trials'); ylabel('Time(seconds)');title('Participant',number); xlim([1 20])
end
figure(2)
Mean_Task_completion=mean(Task_completion); %Mean of participants for each trial
Mean_Task_completion(1,1)=100;
plot(1:20,Mean_Task_completion(:))
xlabel('Trials'); ylabel('Time(seconds)');title('Average Learning Curve'); xlim([1 20])
figure(3)
plot(1:20,Mean_Task_completion(:),1:20,Task_completion(5,:))
xlabel('Trials'); ylabel('Time(seconds)');title('Average Learning Curve vs Random Individual
L.C.'); xlim([1 20])
legend('Average Learning Curve','Random Individual Learning
Curve','Location',"eastoutside")
figure(4)
plot(1:20,Task_completion(5,:),1:20,Task_completion_exp(5,:))
xlabel('Trials'); ylabel('Time(seconds)');title('RILC vs RIEC'); xlim([1 20])
legend('Random Individual Learning Curve(RILC)','Random Individual Exponential
Curve(RIEC)','Location',"eastoutside")
figure(5)
Mean_Task_completion_exp=mean(Task_completion_exp);
plot(1:20,Mean_Task_completion(:),1:20,Mean_Task_completion_exp(:))
xlabel('Trials'); ylabel('Time(seconds)');title('Mean Learning Curve vs Mean Exponential
Curve'); xlim([1 20])
legend('Mean Learning Curve','Mean Exponential Curve','Location',"eastoutside")
figure(6)
plot(1:20,Task_completion_exp(5,:),1:20,Mean_Task_completion_exp(:))
R110,12
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
melodyc

Document also available in package deal

Get to know the seller

Seller avatar
melodyc Technische Universiteit Delft
Follow You need to be logged in order to follow users or courses
Sold
2
Member since
4 year
Number of followers
1
Documents
11
Last sold
4 year ago

0,0

0 reviews

5
0
4
0
3
0
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 exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

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

Student with book image

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

Alisha Student

Frequently asked questions