Abp label abp mmhg case
Project Requirements
Your project must meet the following requirements to receive a passing grade for the project portion of the class:
|
---|
You must also list the minimum system requirements for the program.
Design Summary
In addition, you must include the following
|
---|
Source Code
This section describes how functions should interact with the user, both in operation
I. BEHAVIOR
B. Plotting
The following criteria only apply to functions that generate one or two plots.
•
|
|
---|
II. INTERFACE
A. Function Name
B. Input and Output Arguments
|
||
---|---|---|
• | ||
|
|
|
|
||
|
||
Sample rate: |
III. Documentation
|
---|
|
---|
• |
---|
|
|
---|
Section 7: References
|
---|
B . Acceptable Input/Output Abbreviations
Input signal x | |
---|---|
|
|
Minimum | min |
Maximum | max |
Acceptable Function Name Prefix and Suffix Abbreviations Fast Fourier Transform FFT
Power Spectral Density PSDPeriodicals
1.J. U. Duncombe, “Infrared navigation—Part I: An assessment of feasibility,” IEEE Trans. Electron Devices, vol. ED-11, pp. 34–39, Jan. 1959.
Papers Presented at Conferences (Unpublished)
1.D. Ebehard and E. Voges, “Digital single sideband detection for interferometric sensors,” presented at the 2nd Int. Conf. Optical Fiber Sensors, Stuttgart, Germany, 1984.
Part II: CODING STYLE
This section describes how code should be written to enhance interpretability for future code debugging and revision.
Examples: frequencyMean, passbandEdge, filterOrder
• |
---|
Example:
%========================================================== ======
% DEFINITIONS
%========================================================== ======
% MSE: Mean Square Error
% acWindow: AutoCorrelation Window
% X: FFT of xExample: rootDataDirectory
• |
|
---|
• |
---|
Examples:
nSubdirectories = length(Subdirectories);
cFilesExtensionExt = 0;
for c1=1:nSubdirectories,
files = dir([Subdirectories(c1).name
‘/*.ext’]);
cFilesExtensionExt = cFilesExtensionExt + length(files); end;
|
---|
|
---|
E. Data Structures
Examples:
Patients(1).name = Smith;
Patients(1).age = 24.5;
Patients(1).Signals(1).name = arterial blood pressure; Patients(1).Signals(1).abbreviation = ABP;
Patients(1).Signals(1).units = mmHg;
Patients(1).Signals(1).sampleRate = 125;
Patients(1).Signals(1).signal = abp;
Patients(1).Signals(2).name = electrocardiogram;
Patients(1).Signals(2).abbreviation = ECG;
Patients(1).Signals(2).units = mV;
Patients(1).Signals(2).sampleRate = 500;
Patients(1).Signals(2).signal = ecg;V. PLOTTING
|
---|
• • |
---|
with the
===, ---, and ...extending to line 70.
end
|
.^2); |
---|
* In a series of assignments with = operators, it improves readability if the equal signs are aligned in the same column. Example: instead of the code above, use
xRms = sqrt(mean(x.^2));
xUniqueSorted = unique(x);
nUniqueSorted = length(xUniqueSorted);
xUniqueWeighted = xUniqueSorted.*y(1:nUniqueSorted); iUnique = find(xUniqueWeighted <= xRmse);