
Question
Transcribed Text
Solution Preview
These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.
clear; clc; close all;%Clear memory and screen%%
%Task 1
disp('Task 1');
T = dlmread('ECGSample.txt');%Load file
T_sh=T(129:256);%Create array of second half of data
T_sh=T_sh*-1;%Invert signal
fprintf('\nInverted second half Signal details: Max. value=%8.5f, Min. Value=%8.5f\nand length of signal vector=%i\n\n',max(T_sh),min(T_sh),length(T_sh));
disp('Press any key to continue');
pause...
By purchasing this solution you'll be able to access the following files:
ECGSample.txt and Tsk123.m.