Scale a vector



Hi!

I've to scale a vector of numbers of size N to a vector of size M.
The trasformation is like a zoom on images but I need on a vector.

The second size can be M >= N or M <= N, M > 0.

The value for each element can be from 0 to 255.

Is there some methods that can I use?

I don't need only a resize.

Thx! ;-)
Matteo Migliore.
.



Relevant Pages

  • Re: Scale a vector
    ... I've to scale a vector of numbers of size N to a vector of size M. ... The trasformation is like a zoom on images but I need on a vector. ... However, there is a Matrix class; if you already know M and N, and ...
    (microsoft.public.dotnet.languages.csharp)
  • =?windows-1252?Q?www=2Eelectronics=2Dmac=2Dsony=2Ecom_Panasonic_Lumix_DMC=2DFZ1?= =?windows-
    ... Leica DC Vario-Elmarit 12x zoom lens combines with 4x digital ... Store images on Secure Digital memory card (8 MB SD card ... Recording Format: Still Image: JPEG(Design rule for Camera File ...
    (alt.tv.tech.hdtv)
  • Re: Zoom with ImageMap
    ... Some of the images I'm using ... are quite large/small so ideally I'd like to Zoom, ... can do this via JavaScript but obviously the HotSpots are then not at ... One clever potential way of doing this is DeepZoom, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Odd behavior of Swing components in a zoomable interface
    ... to the JPanel using XYConstraints--since they need to stay exactly ... label (a JComboBox), ... This works great when the zoom level is at 100%. ... being drawn in the new scale, but the editable part is still at the ...
    (comp.lang.java.gui)
  • Odd behavior of Swing components in a zoomable interface
    ... to the JPanel using XYConstraints--since they need to stay exactly ... label (a JComboBox), ... This works great when the zoom level is at 100%. ... being drawn in the new scale, but the editable part is still at the ...
    (comp.lang.java.programmer)

Loading