Re: gradient of a plot



polang being on the x-axis while intensity on the yaxis

"Snow White" <gulesaman@xxxxxxxxx> wrote in message <gq8a91$kei$1@xxxxxxxxxxxxxxxxxx>...
Hi,

I want to find the gradient of a plot which is a plot of polang,intensity, but i get the following error,

??? Error using ==> gradient at 50
Invalid inputs to GRADIENT.

Error in ==> refractive_index_estimation at 92
grad=gradient(intensity,polang)

bye
.



Relevant Pages

  • Re: Deducing x-y values on a plot
    ... This won't give you the exact locations where the gradient is -1 - ... I am little confused about your method for ploting (dy/dx) to obtain ... Produces a strange plot which does have points crossing -1, ... 'dydx' and 'x' must be the same lengths: ...
    (comp.soft-sys.matlab)
  • Re: Matlab beginner
    ... > I am seeking some help, I have developed he follwing file to obtain some graphs, however now i need to get the gradient of it and have no idea how to go about it. ... > plot; ... That's what the gradient is along these one-dimensional curves. ...
    (comp.soft-sys.matlab)
  • orthogonal vectors on spline
    ... Orthogonal vectors for each of the 360 points (It's not accurate ... Create a pp-Spline with cscvn.m (works, plot looks fine). ... Use fnder.m to get the gradient. ...
    (comp.soft-sys.matlab)
  • Re: Matlab beginner
    ... I am seeking some help, I have developed he follwing file to obtain some graphs, however now i need to get the gradient of it and have no idea how to go about it. ... plot; ...
    (comp.soft-sys.matlab)
  • Re: Which software could do that?
    ... Apply a filter to the image, with _an intensity that is proportional to the gradient in the shape_. ... I dont know if imagemagick is ok ...
    (sci.image.processing)