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 6564311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:57:03+00:00 2026-05-25T13:57:03+00:00

If I want to use the gaussian random number generator in MATLAB R =

  • 0

If I want to use the gaussian random number generator in MATLAB

R = normrnd(mu,sigma)

Let mu = 1.

The question is how to choose sigma? If I want 90% of the values to be near 1.Let us say +/-0.7

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-05-25T13:57:03+00:00Added an answer on May 25, 2026 at 1:57 pm

    It depends on what you mean by “near 1”. In a normal distribution, 90% of the values will be within 1.65 standard deviations of the mean (about 5 % above and about 5% below). For example, if you want 90% of the values to be between 0.5 and 1.5, you need

    1.65 * sigma ~= 0.5
    sigma ~= 0.5 / 1.65
    sigma ~= 0.3
    

    You can look at a normal distribution table to look up the other values.
    The table (excerpted below) states that ~45% of the values of a normal distribution fall between the mean and 1.65*sigma above the mean. Since the distribution is symmetric, ~45% of the values fall between the mean and 1.65*sigma below the mean and ~90% fall within +- 1.65 * sigma of the mean.

                               Area under the Normal Curve from 0 to X
    
    X       0.00    0.01    0.02    0.03    0.04    0.05    0.06    0.07    0.08    0.09
    1.5     0.43319 0.43448 0.43574 0.43699 0.43822 0.43943 0.44062 0.44179 0.44295 0.44408
    1.6     0.44520 0.44630 0.44738 0.44845 0.44950 0.45053 0.45154 0.45254 0.45352 0.45449
    1.7     0.45543 0.45637 0.45728 0.45818 0.45907 0.45994 0.46080 0.46164 0.46246 0.46327
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use a random number generator that creates random numbers in a
I am creating gaussian pyramid in MATLAB 2010b. I want to show images like
I want use ORDER BY RAND() query mysql. But I have some question want
I want use right MVC concept. So, say in model we have for example
I want use only one decimal and only number in input type.so i am
I want use this 1 for using Bar code or QR code scanner. I
I want use BYTE_ORDER macro in my Xcode project but i can't because i
I want use javascript setInterval function to achieve a box rotate animate effect, I
I want use a single php file to handle all of my voting requests.
I want use groovy findAll with my param to filtering closure filterClosure = {

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.