Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

MATLAB MATLAB who can help me to solve this question?thanks first!

  1. Apr 16, 2010 #1
    MATLAB who can help me to solve this question??thanks first!

    after performance,it comes out :

    ??? options = optimset('medium-scale ', 'on');
    |
    Error: Missing variable or function.

    why??
     
  2. jcsd
  3. Apr 16, 2010 #2

    cronxeh

    User Avatar
    Gold Member

    Re: MATLAB who can help me to solve this question??thanks first!

    There is no 'medium-scale', only LargeScale.

    Code (Text):


    >> optimset('LargeScale','on')

    ans =

                       Display: []
                   MaxFunEvals: []
                       MaxIter: []
                        TolFun: []
                          TolX: []
                   FunValCheck: []
                     OutputFcn: []
               ActiveConstrTol: []
            NoStopIfFlatInfeas: []
                BranchStrategy: []
               DerivativeCheck: []
                   Diagnostics: []
                 DiffMaxChange: []
                 DiffMinChange: []
             GoalsExactAchieve: []
                    GradConstr: []
                       GradObj: []
                       Hessian: []
                      HessMult: []
                   HessPattern: []
                    HessUpdate: []
               InitialHessType: []
             InitialHessMatrix: []
                      Jacobian: []
                     JacobMult: []
                  JacobPattern: []
                    LargeScale: 'on'
            LevenbergMarquardt: []
                LineSearchType: []
                      MaxNodes: []
                    MaxPCGIter: []
                    MaxRLPIter: []
                    MaxSQPIter: []
                       MaxTime: []
                 MeritFunction: []
                     MinAbsMax: []
           NodeDisplayInterval: []
            NodeSearchStrategy: []
              NonlEqnAlgorithm: []
          PhaseOneTotalScaling: []
                Preconditioner: []
              PrecondBandWidth: []
                RelLineSrchBnd: []
        RelLineSrchBndDuration: []
              ShowStatusWindow: []
                       Simplex: []
                        TolCon: []
                        TolPCG: []
                     TolRLPFun: []
                   TolXInteger: []
                      TypicalX: []
     
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook