Documentos de Académico
Documentos de Profesional
Documentos de Cultura
end
function normu(p)
end
function rotacion
end
end
function y = rotacionzm
y = Rz
end
function rotacionpura
xb=input('Dame xb:\n');
yb=input('Dame yb:\n');
zb=input('Dame zb:\n'); % solicitud de entradas
pb=[xb;yb;zb]
t=input('Dame el ngulo: \n');
tr=t*pi/180;
rz =[cos(tr) -sin(tr) 0; sin(tr) cos(tr) 0; 0 0 1];
pa=rz*pb;
pa
end
function tabladh
syms Tabla
n=input('Dame tus renglones? \n');
for i=1:n
for r=1:4
prompt = 'Cual es tu simbolo? \n';
str = input(prompt,'s');
Tabla(i,r) = str;
end
end
Tabla
end