Parabolas

"repParabola" generates a train of truncated parabolas
409 Downloads
Aktualisiert 22. Mär 2010

Lizenz anzeigen

% repParabola generates a train of parabolas (truncated)
% ------------------------------------------------------
% x: 1D x vector, e.g x = linspace(-5,10,1000)
% interfaces: points among whom a parabola will be plotted
% Amp: Amplitude of the train of parabolas
% ------------------------------------------------------
% Examples:
% x=linspace(-5,5,1000);
% yp = repParabola(x,[-4 -3 -2 -1 0 1 2 3],100);
% plot(x,yp,'b','LineWidth',2.5), grid
%
% x=linspace(0,5,1000);
% yp = repParabola(x,[1 3 3 4 4 5],8);
% plot(x,yp,'b','LineWidth',2.5), grid
%
% x=linspace(0,10,1000);
% yp = repParabola(x,[3 5 5 7],10);
% plot(x,yp,'b','LineWidth',2.5), grid
%
% University of Essex, UK.
% Ernesto Momox B.
% March 2010

Zitieren als

Ernesto Momox Beristain (2024). Parabolas (https://www.mathworks.com/matlabcentral/fileexchange/27045-parabolas), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2008b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0