Changeset 3187
- Timestamp:
- 03/05/10 08:22:53 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/solutions/dakota/dakota_resp_uconv.m
r3185 r3187 70 70 %% function to convert the units of a dakota response 71 71 72 function [dresp]=drespi_conv(dresp,u mfac,ulab)72 function [dresp]=drespi_conv(dresp,unew_per_uold,ulab) 73 73 74 74 disp(['Converting response ''' dresp.descriptor ''' to ' ulab '.']); … … 89 89 'quart3',... 90 90 'max'} % appropriate to convert 91 dresp.(fnames{i})=dresp.(fnames{i})*u mfac;91 dresp.(fnames{i})=dresp.(fnames{i})*unew_per_uold; 92 92 case {'cdf'} % only responses, not probs or reliabilities 93 dresp.cdf(:,1)=dresp.cdf(:,1)*u mfac;93 dresp.cdf(:,1)=dresp.cdf(:,1)*unew_per_uold; 94 94 case {'descriptor',... 95 95 'coefvar',...
Note:
See TracChangeset
for help on using the changeset viewer.