forked from mbussonn/analyse_response_function
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplotResults.m
More file actions
46 lines (34 loc) · 1.04 KB
/
plotResults.m
File metadata and controls
46 lines (34 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
%%%%%%%%%%%%%%%%%%%%%%%
% Written by Wylie Ahmed (01/10/2013)
% This script is for plotting the corrected_response.mat data generated
% from GUI_intracellular_response_function_v2.m written
%
%% Load Data
addpath /Users/wylieahmed/Documents/ResearchBySemester/Fall_2013/Matlab/021013_Oocytes
%% Plot Complex moduli
figure
for i = 1:17
loglog(corrected_response(i).response_f',abs(real(corrected_response(i).G)),'xr')
hold all
loglog(corrected_response(i).response_f',abs(imag(corrected_response(i).G)),'ob')
loglog([100:1000],[100:1000].^.75*.1,'k');
legend('elastic','dissipative')
%hold off
xlabel('Frequency (Hz)')
ylabel('G (Pa)')
% pause
end
% Averaging of values over the entire experiment
avgRealG =
%% Plot Response functions
figure
for i = 1:17
loglog(corrected_response(i).response_f,corrected_response(i).corr_active_response,'-xr')
hold on
loglog(corrected_response(i).psd_f,corrected_response(i).passive_response,'ob')
legend('Active Response','Passive Response')
hold off
xlabel('Frequency (Hz)')
ylabel('Response Function (m/N)')
pause
end