Results 1 to 6 of 6
  1. #1
    gkumar is offline Freshman
    Join Date
    Sep 2009
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Default data in Database

    How to quantize data in Database

  2. #2
    vikas1234 is offline Junior
    Join Date
    Jun 2009
    Posts
    434
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Feedback Score
    0

    Default

    quantize database in what sense ... can you just complete the sentence .... and full desc what is in your mind

  3. #3
    sinc is offline Junior
    Join Date
    Sep 2009
    Posts
    193
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Feedback Score
    0

  4. #4
    manik's Avatar
    manik is online now Om Shanti!
    Join Date
    Apr 2008
    Location
    Boston, USA
    Posts
    13,175
    Thanks
    744
    Thanked 699 Times in 550 Posts
    Blog Entries
    4
    Feedback Score
    4 (100%)

    Default

    Quantizing Data with quantizer Objects

    You construct a quantizer object to specify the quantization parameters to use when you quantize data sets. You can use the quantize function to quantize data according to a quantizer object's specifications.
    Once you quantize data with a quantizer object, its state values might change.
    The following example shows

    • How you use quantize to quantize data
    • How quantization affects quantizer object states
    • How you reset quantizer object states to their default values using reset


    1. Construct an example data set and a quantizer object.
      format long g
      randn('state',0);
      x = randn(100,4);
      q = quantizer([16,14]);
    2. Retrieve the values of the maxlog and noverflows states.
      q.maxlog

      ans =

      -1.79769313486232e+308

      q.noverflows

      ans =

      0Note that maxlog is equal to -realmax, which indicates that the quantizer q is in a reset state.
    3. Quantize the data set according to the quantizer object's specifications.
      y = quantize(q,x);
      Warning: 15 overflows.
    4. Check the values of maxlog and noverflows.
      q.maxlog

      ans =

      1.99993896484375

      q.noverflows

      ans =

      15Note that the maximum logged value was taken after quantization, that is, q.maxlog == max(y).
    5. Reset the quantizer states and check them.
      reset(q)
      q.maxlog

      ans =

      -1.79769313486232e+308

      q.noverflows

      ans =

      0


    Source: Fixed-Point Toolbox
    Free Classified Ads & BUSINESS/PROFESSIONAL SOCIAL NETWORK


  5. #5
    jhnsmith544 is offline Freshman
    Join Date
    Jan 2010
    Location
    India
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Default collect data for database

    What is quantize data? Clear the info.

  6. #6
    dhiraj is offline Junior
    Join Date
    Oct 2010
    Posts
    221
    Thanks
    0
    Thanked 1 Time in 1 Post
    Feedback Score
    0

Similar Threads

  1. How best ot optimize content?
    By wujijiangjun in forum Search Engine Optimization
    Replies: 13
    Last Post: 10-27-2011, 08:21 AM
  2. Replies: 5
    Last Post: 04-27-2010, 10:35 PM
  3. Replies: 0
    Last Post: 12-22-2009, 09:51 PM
  4. Speed when pulling data from database
    By buddhi225 in forum PHP
    Replies: 1
    Last Post: 05-28-2009, 08:24 AM
  5. Replies: 0
    Last Post: 08-20-2008, 06:17 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Partners: BOSTON WEB DEVELOPER, LLC   |   WEBCOSMO CLASSIFIEDS