simulation

5 visualizaciones (últimos 30 días)
Murali Mohan
Murali Mohan el 10 de Jun. de 2011
Respondida: swapna rani el 16 de Sept. de 2020
Why the simulation time will not match with actual time; eg:pulse generator block time period is in Sec,the output which is not match the real time;
  3 comentarios
Murali Mohan
Murali Mohan el 15 de Jun. de 2011
I mean,simulation runs faster than real time.what are steps can be taken for synchronoising with real time.Is there any disadvantages of model if i do synchronoising this?
Arnaud Miege
Arnaud Miege el 15 de Jun. de 2011
The real question is why do you want your simulation to run in (pseudo) real-time?

Iniciar sesión para comentar.

Respuesta aceptada

Arnaud Miege
Arnaud Miege el 10 de Jun. de 2011
Are you asking why Simulink runs faster than real-time? If so, you may want to look at the following File Exchange entries:
HTH,
Arnaud

Más respuestas (1)

swapna rani
swapna rani el 16 de Sept. de 2020
clear all;
hfin=1;
tsi=20
W=2*hfin*tsi;
Vth=1;
Leff=180;
DIBL=1.127*(W\Leff);
vth=Vth-DIBL;
lambda=25*10^-5;
u=1360;
ld=0.1;
Ec=1.5*106;
Cox=60;
Vds=0:0.5:10;
vgs=input('ENTER THE Vgs in volts');
m=length(Vds);
for i=1:m
if vgs < Vth
current(1,i)=0;
current1(1,i)=0;
elseif Vds(i) >= (vgs - Vth)
current(1,i)=0.5* DIBL * ((vgs - Vth)^2)*(1+lambda*Vds(i));%Added DIBL
elseif Vds(i) < (vgs - Vth)
current(1,i)= DIBL*((vgs-Vth)*Vds(i) - 0.5*(Vds(i)^2))*(1+lambda*Vds(i)); %Simplified equation by approximation
end
end
plot(Vds,current(1,:),'b')
xlabel('Vds, V')
ylabel('Drain Current,A')
title('I-V Characteristics of a MOSFET')
end

Categorías

Más información sobre Synchronization and Receiver Design 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