Funcion.txt

  • Uploaded by: ulises martinez
  • 0
  • 0
  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Funcion.txt as PDF for free.

More details

  • Words: 58
  • Pages: 1
function xp=pendulo(t,x) q=x(1); %posicion articular qp=x(2); %velocidad articular %parametros del pendulo m=5; %masa lc=0.01; %centro de masa g=9.81; %constante de aceleracion gravedad b=0;%0.17; %coeficiente de friccion viscosa fc=0;%0.45; %coeficiente de friccion coulomb ir=0.16; %momento de inercia del rotor tau=0;% 1.5*sin(t); %par aplicado %aceleracion del pendulo %qpp=(tau-b*qp-fc*tanh(100000*qp)-m*g*lc*sin(q))/ir; qpp=(tau-m*g*lc*cos(q))/(m*lc^2+ir); %Vector salida xp=[qp; %xp(1)=x(2) velocidad articular qpp]; %xp(2)=qpp aceleracion articular end

More Documents from "ulises martinez"

Funcion.txt
May 2020 8
May 2020 11
June 2020 9
May 2020 9
Teo Resumenes
October 2019 35
Nuevos.docx
May 2020 7