Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
13035516
StepEMGAnalysis
Commits
26c8a18c
Commit
26c8a18c
authored
Apr 21, 2018
by
13035516
Browse files
all decimals for the current to 2 decimal places
parent
a58cee57
Changes
2
Hide whitespace changes
Inline
Side-by-side
findRelatedFiles.m
View file @
26c8a18c
...
...
@@ -9,7 +9,7 @@ function [emg_file, gait_file, coord_file] = findRelatedFiles(folder, study_file
% study_filename)
%
%
Let's try getting rid of the '0' in the timepoint in the filename
%
Cover cases of D8 and/or ES.0##mA
fname_split
=
strsplit
(
study_filename
,
'_'
);
timepoint
=
cell2mat
(
fname_split
(
2
));
stim
=
cell2mat
(
fname_split
(
4
));
...
...
parseDataSummary.m
View file @
26c8a18c
...
...
@@ -82,6 +82,8 @@ function filename = getFilename(study_info, stim_on, datefmt)
if
stim_on
name_array
{
4
}
=
'ES'
;
curr_temp
=
mat2str
(
study_info
.
Current_mA_
);
curr_dbl
=
str2double
(
curr_temp
);
curr_temp
=
sprintf
(
'%.2f'
,
curr_dbl
);
name_array
{
5
}
=
strcat
(
curr_temp
(
2
:
end
),
'mA'
);
else
name_array
{
4
}
=
'NS'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment