Borrar filtros
Borrar filtros

phase calculation and plot

1 visualización (últimos 30 días)
aditi
aditi el 12 de Jul. de 2013
can anyone please help me understand this function...m new to matlab
function y=folding(x,p,c);
if nargin==2,
c=1;
elseif nargin==3,
% do nothing
else
error('Illegal number of input arguments');
end
jd_col = length(x(1,:)) + 1;
y = zeros(length(x(:,1)),jd_col);
TEMP = x(:,c);
r = TEMP;
TEMP = TEMP./p-floor(TEMP./p);
y = x;
y(:,c:c) = TEMP;
y(:,jd_col) = r;
y = sortrows(y,c);

Respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by