Community Profile

photo

Alvin


Actif depuis 2017

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


Inconsistent looping issue with trapz()
clear C1 = 0:1:1; %C1 = linspace(0,500,1000); k1 = 1; k2 = 0; n1 = 0; n2 = 0; nm = 1; D = 0; O = 0; gam = 1e-04.*k1; ...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


Area difference in using trapz() through a loop and without a loop.
clear C1 = 0; k1 = 1; k2 = 0; n1 = 0; n2 = 0; nm = 1; D = 0; O = 0; gam = 1e-04.*k1; alph = 0; w = linspace(-5...

plus de 6 ans il y a | 1 réponse | 0

0

réponse

Question


Fundamental issue with trapz() function (or not?)
clear C1 = 0; k1 = 1; k2 = 0; n1 = 0; n2 = 0; nm = 1; D = 0; O = 0; gam = 1e-04.*k1; alph = 0; w = linspa...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


Trapz error (ORDER contains an invalid permutation index)
clear C1 = linspace(0,1e+04,3000); k1 = 1; k2 = 0; n1 = 0; n2 = 0; nm = 0; D = 0; O = 0; gam = 1e-04.*k1; alph =...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


On plot divisions and possibly numerical resolution
clear C1 = linspace(0,1000,1000); C2 = 49.28; k1 = 0.5; k2 = 5; n1 = 0; n2 = 0; nm = 0; D = -1; O = 1; gam = 0.0...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


On looping over drawnow
clear C1 = 20000; C2 = linspace(0,26,5500); k1 = 0.5; k2 = 5; n1 = 0; n2 = 0; nm = 0; D = -1; O =...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


pks array going from 2 arguments to 1
clear g1 = 1; g2 = 0; k1 = 0.2; k2 = 0.1; n1 = 0; n2 = 0; nm = 0; D = 1; O = -1; gam = 0.2; alph = 0; C2 =...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


Cumtrapz with cell arrays in a double loop
clear %g = 1; %Coupling strength k = 20; %Decay linewidth for cavity no = 0; %input photon number for cavity nm...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


On double looping and confusion with cell arrays and cumtrapz() function
clear g = 1000; k = 20; no = 0; nm = 40; Del = -(10.^2); Ohm = (10.^2); gam = 0.0032; C ...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


Plotting with multiple nested arrays issue with trapz() function.
clear %g = 1; k = 0.2; no = 0; nm = 0; Del = 1; Ohm = -1; gam = 0.2; w = (-10:0.01:10);...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


On using Trapz for a function defined by a variable using syms
clear g = 1; k = 0.2; no = 0; nm = 0; D = 1; O = -1; gam = 0.2; syms w xa = -1i.*(w+D)+...

plus de 6 ans il y a | 1 réponse | 0

1

réponse