Code covered by the BSD License  

Highlights from
Parabolas

Be the first to rate this file! 2 Downloads (last 30 days) File Size: 81.13 KB File ID: #27045
image thumbnail

Parabolas

by Ernesto Momox Beristain

 

22 Mar 2010

"repParabola" generates a train of truncated parabolas

| Watch this File

File Information
Description

% 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

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
parabola Ernesto Momox Beristain 22 Mar 2010 13:43:50
parabolic Ernesto Momox Beristain 22 Mar 2010 13:43:50
potential Ernesto Momox Beristain 22 Mar 2010 13:43:50
neighbours Ernesto Momox Beristain 22 Mar 2010 13:43:50

Contact us at files@mathworks.com