Changeset 3187


Ignore:
Timestamp:
03/05/10 08:22:53 (15 years ago)
Author:
jschierm
Message:

dakota_resp_uconv: Change variable name for clarity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/solutions/dakota/dakota_resp_uconv.m

    r3185 r3187  
    7070%%  function to convert the units of a dakota response
    7171
    72 function [dresp]=drespi_conv(dresp,umfac,ulab)
     72function [dresp]=drespi_conv(dresp,unew_per_uold,ulab)
    7373
    7474disp(['Converting response ''' dresp.descriptor ''' to ' ulab '.']);
     
    8989              'quart3',...
    9090              'max'}    %  appropriate to convert
    91             dresp.(fnames{i})=dresp.(fnames{i})*umfac;
     91            dresp.(fnames{i})=dresp.(fnames{i})*unew_per_uold;
    9292        case {'cdf'}    %  only responses, not probs or reliabilities
    93             dresp.cdf(:,1)=dresp.cdf(:,1)*umfac;
     93            dresp.cdf(:,1)=dresp.cdf(:,1)*unew_per_uold;
    9494        case {'descriptor',...
    9595              'coefvar',...
Note: See TracChangeset for help on using the changeset viewer.