[Scilab-users] advice on a pseudo-"bandwidth" calculation

Carrico, Paul paul.carrico at esterline.com
Tue Jun 9 16:36:17 CEST 2015


Dear all

I'm currently thinking  in a way to compare experimental have a bell shape, composed of points and not connected to any parametric curve (the bell shape assumption could answer to the need in a first step).

A way I can imagine is to calculate a kind of " bandwidth" (-3 db).

I add a look in the Scilab help but nothing obvious appears

what is the best way to proceed to:
- calculate/determine the intersection points with the "pseudo"-curves,
- the number of points may change and may have different abscissa ?
- the points could not necessarily by expressed by a parametric curve (to fit on before calculating the intersection),

Any suggestion are welcome


NB: please find hereafter a basic example using a gauss curve (just to illustrate the purpose)


Thanks

Paul

######################################################################

mode(0)



// gauss curve

coef = 10;

x = [-6 : 0.1 : 6]';

[nl,nc]=size(x);

y1 = coef*(1/sqrt(2*%pi))*exp(-0.5*x.^2);



// -3db line

top_ = max(y1);

three_db = top_/sqrt(2);

y2=three_db*ones(nl,1);



plot2d(x,y1); // gausse curve

plot2d(x,y2); // -3db line


EXPORT CONTROL :
Cet email ne contient pas de données techniques
This email does not contain technical data

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20150609/8987bc50/attachment.htm>


More information about the users mailing list