Unround Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: unround.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: John D`Errico (View more)

Unround script description:




Publisher review:
Unround unrounds points on a curve to produce the smoothest curve which is consistent with rounding. Inverse interpolation using a rounded curve can fail if the rounding operation produces flat spots. In this event, even simple linear interpolation will not result in a unique inverse interpolant.Unround attempts to find the smoothest possible curve that will reproduce the original curve after rounding all points to the nearest integer.Unround finds use in image processing operations, where shapers (1-d lookup tables) have been rounded.Example usage 1:x = linspace(0,2*pi,20);vec = round(x);newvec = unround(vec);plot(x,vec,'bo',x,newvec,'r-')Example usage 2:x = 0:.01:1;vec = round(10*x.^2);newvec = unround(vec);plot(x,vec,'bo',x,newvec,'r-')If there are requests, I can easily modify the code to allow bound constraints on the unrounding process. This would allow the user to specify lower or upper bounds on the smoothly unrounded curve. Requirements: · MATLAB Release: R14SP1 · Optimization Toolbox
Unround is a Matlab script for Mathematics scripts design by John D`Errico. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Unround unrounds points on a curve to produce the smoothest curve which is consistent with rounding.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5