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

Matlab, assignment 1, Radboud University

Rating
-
Sold
-
Pages
6
Uploaded on
05-02-2026
Written in
2025/2026

This document contains the necessary exercises (1.8-1.11) for assignment 1 of Signal Analysis and MATLAB (SOW-PSB3BC35E). I received full marks on this, so you know it's worth it ;)

Institution
Course

Content preview

EXERCISES WEEK 1
Exercise 1.8
%% Task 1
>> t=(0:0.1:10)
%% Task 2
>> y1=sin(2*t)
>> y2=2*cos(3*t)
>> y3=tan(t)
%% Task 3
>> plot(t,y1,’-k’)
>> hold on
>> plot(t,y2,’--r')
>> plot(t,y3,’-.m’)
>> hold off
>> ylim([-5 5])
%% Task 4
>> legend(‘y1’,’y2’,’y3’)
>> xlabel('Time (s)')




%% Task 5
>> subplot(3,1,1)
>> plot(t,y1,’-k’)
>> xlim([1 9])
>> xlabel('Time (s)')
>> subplot(3,1,2)
>> plot (t, y2,‘--r')
>> xlim([1 9])
>> xlabel('Time (s)')
>> subplot(3,1,3)
>> plot(t,y3,’-.m’)
>> xlim([1 9])
>> xlabel('Time (s)')

, Exercise 1.9
>> load StudentsNL.mat
%% Task 1
% Having the data points connected by a line is not practical because there’s no order of time. The
individual data points represent independent observation from numerous participants. Connecting the
dots would suggest a continuous relationship that doesn’t exist. Not to mention that it would be quite
difficult to interpret, given the fact that there would be lines everywhere.
>> plot(weightNL,lengthNL,'ok')
%% Task 2
>> xlabel('Weight (kg)')
>> ylabel('Length (cm)')
>> title('Weight vs Length')




%%Task 3
>> Mean_Length=mean(lengthNL)
>> plot(weightNL,Mean_Length,'-k')
>> hold on
>> Mean_Weight=mean(weightNL)
>> plot(Mean_Weight,lengthNL,'-k')
>> xline(mean(weightNL))
>> yline(mean(lengthNL))

Written for

Institution
Study
Course

Document information

Uploaded on
February 5, 2026
Number of pages
6
Written in
2025/2026
Type
Other
Person
Unknown

Subjects

$7.29
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
WintervanVesper

Get to know the seller

Seller avatar
WintervanVesper Radboud Universiteit Nijmegen
Follow You need to be logged in order to follow users or courses
Sold
New on Stuvia
Member since
4 days
Number of followers
0
Documents
1
Last sold
-

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 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

Frequently asked questions