Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8765511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:18:09+00:00 2026-06-13T16:18:09+00:00

simple question.. Is it possible to set only one upper bound for lsqcurvefit, without

  • 0

simple question.. Is it possible to set only one upper bound for lsqcurvefit, without limiting others?

I need something like:

lb = [0 0 0];
ub = [~ ~ 5];

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T16:18:10+00:00Added an answer on June 13, 2026 at 4:18 pm

    From help lsqcurvefit:

    X = LSQCURVEFIT(FUN,X0,XDATA,YDATA,LB,UB) defines a set of lower and

    upper bounds on the design variables, X, so that the solution is in the
    range LB <= X <= UB. Use empty matrices for LB and UB if no bounds
    exist. Set LB(i) = -Inf if X(i) is unbounded below; set UB(i) = Inf if
    X(i) is unbounded above.
    

    So yes, Dan Becker is right — using

    lb = [   0  0  0];
    ub = [inf inf  5]; 
    

    will do the trick.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've only have a simple question to ask : Is it possible to call
A simple question: Is it possible to view gui of java Swing library and
I have a very simple question: Is it possible to change the price of
I have a simple question Is it possible to download a specific resource file
I have a (hopefully) simple question. Is it possible to use SSHD tunneling to
This is a really simple question. Is it possible for jQuery to get an
this may be a very simple question, but is it possible to force a
First, the simple question. Is it possible to receive an event when MEF (System.ComponentModel.Composition)
Possible Duplicate: Check if a variable is empty Simple PHP question: I have this
Possible Duplicate: c++ virtual function return type I have a simple but confusing question

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.