Month: August 2024
كي تبحث عن شيخ روحاني 979 00966540290
كي تبحث عن شيخ روحاني 979 00966540290
جلب الحبيب رد المطلقة 00.966.540290.979 الشيخ الروحاني فلاح عبد العزيز، فك السحر ، رد المطلقة ، جلب الحبيب، خواتم روحانية، عرق السواحل، فرج الضبعة، تزويج البائر، تسهيل الزواج ، علاج العقم، تفريق وطلاق ، طاعة عمياء، عقد لسان الظالم ، جلب الحبيب السعودية ، جلب الحبيب قطر ، جلب الحبيب الكويت ، جلب الحبيب الإمارات ، سحر سفلي ، سحر علوي ،جلب البنت للبنت ، جلب الشاب للشاب ، شيخ روحاني، شيخة، روحانية، ساحر، مشعوذ، سحر أسود، سحر تفريق، سحر علوي ، جلب الحبيب البحرين، جلب الحبيب عُمان
كي تبحث عن شيخ روحاني 979 00966540290جلب الحبيب رد المطلقة 00.966.540290.979 الشيخ الروحاني فلاح عبد العزيز، فك السحر ، رد المطلقة ، جلب الحبيب، خواتم روحانية، عرق السواحل، فرج الضبعة، تزويج البائر، تسهيل الزواج ، علاج العقم، تفريق وطلاق ، طاعة عمياء، عقد لسان الظالم ، جلب الحبيب السعودية ، جلب الحبيب قطر ، جلب الحبيب الكويت ، جلب الحبيب الإمارات ، سحر سفلي ، سحر علوي ،جلب البنت للبنت ، جلب الشاب للشاب ، شيخ روحاني، شيخة، روحانية، ساحر، مشعوذ، سحر أسود، سحر تفريق، سحر علوي ، جلب الحبيب البحرين، جلب الحبيب عُمان Read More
جلب الحبيب بعلوم الأحرف 34027580 : 973 +❣️ رقم هاتف معالج روحاني
جلب الحبيب بعلوم الأحرف 34027580 : 973 +:heavy_heart_exclamation: رقم هاتف معالج روحاني
جلب الحبيب رد المطلقة 00.973.34027580 شيخ روحاني بحريني كنان البوعينين ، فك السحر ، رد المطلقة ، جلب الحبيب، خواتم روحانية، عرق السواحل، فرج الضبعة، تزويج البائر، تسهيل الزواج ، علاج العقم، تفريق وطلاق ، طاعة عمياء، عقد لسان الظالم ، جلب الحبيب السعودية ، جلب الحبيب قطر ، جلب الحبيب الكويت ، جلب الحبيب الإمارات ، سحر سفلي ، سحر علوي ،جلب البنت للبنت ، جلب الشاب للشاب ، شيخ روحاني، شيخة، روحانية، ساحر، مشعوذ، سحر أسود، سحر تفريق، سحر علوي ، جلب الحبيب البحرين، جلب الحبيب عُمان
جلب الحبيب بعلوم الأحرف 34027580 : 973 +:heavy_heart_exclamation: رقم هاتف معالج روحانيجلب الحبيب رد المطلقة 00.973.34027580 شيخ روحاني بحريني كنان البوعينين ، فك السحر ، رد المطلقة ، جلب الحبيب، خواتم روحانية، عرق السواحل، فرج الضبعة، تزويج البائر، تسهيل الزواج ، علاج العقم، تفريق وطلاق ، طاعة عمياء، عقد لسان الظالم ، جلب الحبيب السعودية ، جلب الحبيب قطر ، جلب الحبيب الكويت ، جلب الحبيب الإمارات ، سحر سفلي ، سحر علوي ،جلب البنت للبنت ، جلب الشاب للشاب ، شيخ روحاني، شيخة، روحانية، ساحر، مشعوذ، سحر أسود، سحر تفريق، سحر علوي ، جلب الحبيب البحرين، جلب الحبيب عُمان Read More
Plotting field over a discontinuous waveguide????
hi
I have x( 21 by 1) y(9by1) vectors
and i have to plot field over thesee points but the field is not defined over all points as there are discontinuities in waveguide..
I have a vector H of 150 by1 to be plotted in certain regions of x,y grid.
HOw to do that?
Thanks Gurpreethi
I have x( 21 by 1) y(9by1) vectors
and i have to plot field over thesee points but the field is not defined over all points as there are discontinuities in waveguide..
I have a vector H of 150 by1 to be plotted in certain regions of x,y grid.
HOw to do that?
Thanks Gurpreet hi
I have x( 21 by 1) y(9by1) vectors
and i have to plot field over thesee points but the field is not defined over all points as there are discontinuities in waveguide..
I have a vector H of 150 by1 to be plotted in certain regions of x,y grid.
HOw to do that?
Thanks Gurpreet waveguide MATLAB Answers — New Questions
Signing in to New Outlook
THIS IS TIME SENSITIVE AS I NEED TO ACCESS MEDICAL INFORMATION.
I’m hoping someone can help. For the first time ever, when I open Outlook (new version) I am asked to sign in. However it states that my email address is incorrect. I have gone online and logged in to my microsoft account and it has verified my email. My password also worked. So, I went back in to Outlook and it is still asking me to sign in and still saying that my user name/email address is incorrect. I’ve checked that all updates have run on the laptop and they are. I’m just back from holiday and I know that there was microsoft access problems worldwide. This is the 1st time I’ve used the laptop since I got home. Do you think this issue is connected to the worldwide failure or is it just Outlook being as annoying as always.
THIS IS TIME SENSITIVE AS I NEED TO ACCESS MEDICAL INFORMATION. I’m hoping someone can help. For the first time ever, when I open Outlook (new version) I am asked to sign in. However it states that my email address is incorrect. I have gone online and logged in to my microsoft account and it has verified my email. My password also worked. So, I went back in to Outlook and it is still asking me to sign in and still saying that my user name/email address is incorrect. I’ve checked that all updates have run on the laptop and they are. I’m just back from holiday and I know that there was microsoft access problems worldwide. This is the 1st time I’ve used the laptop since I got home. Do you think this issue is connected to the worldwide failure or is it just Outlook being as annoying as always. Read More
جـلب الـحـبيب بالاستشعار 487 0097333859
جـلب الـحـبيب بالاستشعار 487 0097333859
السعودية قطر الامارات الكويت
رد المطلقة
فك السحر
خاتم روحاني
رقم شيخ روحاني
رقم معالج روحاني
جلب الحبيب السعودية
أحجار كريمة
فرج الضبعة
عرق السواحل
جـلب الـحـبيب بالاستشعار 487 0097333859السعودية قطر الامارات الكويترد المطلقةفك السحرخاتم روحانيرقم شيخ روحانيرقم معالج روحانيجلب الحبيب السعوديةأحجار كريمة فرج الضبعةعرق السواحل Read More
Moda, mediana y media
Hola, necesito ayuda de como sacar la moda, media y mediana con preguntas abiertas, tipo genero, pais, opcion múltiple 1) si, 2)tal vez, 3)No , algo así ayuda, es que la formula simple no me funciona
Fórmulas y funcionesHola, necesito ayuda de como sacar la moda, media y mediana con preguntas abiertas, tipo genero, pais, opcion múltiple 1) si, 2)tal vez, 3)No , algo así ayuda, es que la formula simple no me funciona Read More
جلب الحبيب| شيخ روحاني 🟢 – 00212.671.078.747 002- رقم شيخ روحاني ¥
جلب الحبيب| شيخ روحاني 🟢 – 00212.671.078.747 002- رقم شيخ روحاني ¥
جلب الحبيب الرياض ، شيخ روحاني المدينة المنورة ، رقم شيخ روحاني السعودية ، شيخ روحاني فى السعودية ، شيخ روحاني فى الرياض ، شيخ روحاني فى الاردن ، شيخ روحاني فى جدة ، جلب الحبيب السعودية ، شيخ روحاني فى الكويت ، شيخ روحاني فى الامارات ، جلب الحبيب للزواج شيخ روحاني فى عمان
جلب الحبيب| شيخ روحاني 🟢 – 00212.671.078.747 002- رقم شيخ روحاني ¥جلب الحبيب الرياض ، شيخ روحاني المدينة المنورة ، رقم شيخ روحاني السعودية ، شيخ روحاني فى السعودية ، شيخ روحاني فى الرياض ، شيخ روحاني فى الاردن ، شيخ روحاني فى جدة ، جلب الحبيب السعودية ، شيخ روحاني فى الكويت ، شيخ روحاني فى الامارات ، جلب الحبيب للزواج شيخ روحاني فى عمان Read More
ألمانيا : جلب الحبيب♻️ -٩ِ٦ِ٦ِْ٥ِ٥٥ِْ٨ِْ٤ِ٩ِ٢ِِ٦ِ٤ ٠َ٠ -♻️رقم شيخ روحاني بالــســعـوديـة
ألمانيا : جلب الحبيب:recycling_symbol: -٩ِ٦ِ٦ِْ٥ِ٥٥ِْ٨ِْ٤ِ٩ِ٢ِِ٦ِ٤ ٠َ٠ -:recycling_symbol:رقم شيخ روحاني بالــســعـوديـة
السويد ، النرويج ، هولندا ، اسبانيا ، إيطاليا ، بريطانيا ، فلندا ، النمسا
فك السحر ،
رد المطلقة ،
جلب الحبيب،
خواتم روحانية،
عرق السواحل،
فرج الضبعة،
تزويج البائر،
تسهيل الزواج ،
علاج العقم،
تفريق وطلاق ،
طاعة عمياء،
عقد لسان الظالم ،
جلب الحبيب السعودية ،
جلب الحبيب قطر ،
جلب الحبيب الكويت ،
جلب الحبيب الإمارات ،
سحر سفلي ، سحر علوي ،
جلب البنت للبنت ،
جلب الشاب للشاب ،
شيخ روحاني، شيخة،
روحانية،
ساحر،
مشعوذ،
سحر أسود،
سحر تفريق،
سحر علوي ،
جلب الحبيب البحرين،
جلب الحبيب عُمان
ألمانيا : جلب الحبيب:recycling_symbol: -٩ِ٦ِ٦ِْ٥ِ٥٥ِْ٨ِْ٤ِ٩ِ٢ِِ٦ِ٤ ٠َ٠ -:recycling_symbol:رقم شيخ روحاني بالــســعـوديـةالسويد ، النرويج ، هولندا ، اسبانيا ، إيطاليا ، بريطانيا ، فلندا ، النمسافك السحر ،رد المطلقة ،جلب الحبيب،خواتم روحانية،عرق السواحل،فرج الضبعة،تزويج البائر،تسهيل الزواج ،علاج العقم،تفريق وطلاق ،طاعة عمياء،عقد لسان الظالم ،جلب الحبيب السعودية ،جلب الحبيب قطر ،جلب الحبيب الكويت ،جلب الحبيب الإمارات ،سحر سفلي ، سحر علوي ،جلب البنت للبنت ،جلب الشاب للشاب ،شيخ روحاني، شيخة،روحانية،ساحر،مشعوذ،سحر أسود،سحر تفريق،سحر علوي ،جلب الحبيب البحرين،جلب الحبيب عُمان Read More
Unable to Unpack Variables from Python to MATLAB Function in Simulink Model
Hi everyone,
I’m beginner in Matlab and I’m working on a project where I need to replace a scalar control block for an induction motor in Simulink with my own control block written in Python. The Python function calculates three variables that I need to pass back to MATLAB Function block, and convert to vector.
However, I’m running into an issue where MATLAB seems to treat these variables as non-iterable and can’t unpack them properly. Even though my Python function returns a tuple with the three variables, MATLAB can’t seem to process them as intended.
Here’s a summary of the setup:
MATLAB Function:
function Vabc = Run_in_Python(fRef)
Vabc = zeros(3, 1);
coder.extrinsic(‘py.ControllerPython.calc’);
result = cell(py.ControllerPython.calc(fRef));
Vabc = vertcat(result);
end
Error:
Python Error: TypeError: cannot unpack non-iterable int object Error in calc Error in ‘InductionMachineScalar/Control/Scalar controller/MATLAB Function’ (line 6)
Thanks in advance!Hi everyone,
I’m beginner in Matlab and I’m working on a project where I need to replace a scalar control block for an induction motor in Simulink with my own control block written in Python. The Python function calculates three variables that I need to pass back to MATLAB Function block, and convert to vector.
However, I’m running into an issue where MATLAB seems to treat these variables as non-iterable and can’t unpack them properly. Even though my Python function returns a tuple with the three variables, MATLAB can’t seem to process them as intended.
Here’s a summary of the setup:
MATLAB Function:
function Vabc = Run_in_Python(fRef)
Vabc = zeros(3, 1);
coder.extrinsic(‘py.ControllerPython.calc’);
result = cell(py.ControllerPython.calc(fRef));
Vabc = vertcat(result);
end
Error:
Python Error: TypeError: cannot unpack non-iterable int object Error in calc Error in ‘InductionMachineScalar/Control/Scalar controller/MATLAB Function’ (line 6)
Thanks in advance! Hi everyone,
I’m beginner in Matlab and I’m working on a project where I need to replace a scalar control block for an induction motor in Simulink with my own control block written in Python. The Python function calculates three variables that I need to pass back to MATLAB Function block, and convert to vector.
However, I’m running into an issue where MATLAB seems to treat these variables as non-iterable and can’t unpack them properly. Even though my Python function returns a tuple with the three variables, MATLAB can’t seem to process them as intended.
Here’s a summary of the setup:
MATLAB Function:
function Vabc = Run_in_Python(fRef)
Vabc = zeros(3, 1);
coder.extrinsic(‘py.ControllerPython.calc’);
result = cell(py.ControllerPython.calc(fRef));
Vabc = vertcat(result);
end
Error:
Python Error: TypeError: cannot unpack non-iterable int object Error in calc Error in ‘InductionMachineScalar/Control/Scalar controller/MATLAB Function’ (line 6)
Thanks in advance! matlab simulink python integration coder.extrinsic, simulink, python, cell arrays MATLAB Answers — New Questions
How to color values in corrplot function?
Hello,
I created a corrplot with the fisheriris dataset.
I wanted to add a 3rd dimension in the corrplot coloring the values to the corresponding species, like in the following plot.
Is this possible in Matlab?
Thanks for the help and all the best!Hello,
I created a corrplot with the fisheriris dataset.
I wanted to add a 3rd dimension in the corrplot coloring the values to the corresponding species, like in the following plot.
Is this possible in Matlab?
Thanks for the help and all the best! Hello,
I created a corrplot with the fisheriris dataset.
I wanted to add a 3rd dimension in the corrplot coloring the values to the corresponding species, like in the following plot.
Is this possible in Matlab?
Thanks for the help and all the best! corrplot, plotting MATLAB Answers — New Questions
How to Download Spotify Music to MP3 Without a Premium Account
Hi everyone,
I wanted to share a solution I’ve found for downloading Spotify music to MP3 without needing a Premium account. Like many of you, I enjoy listening to my favorite tracks offline but don’t want to be restricted by the limitations of free accounts on Spotify.
After trying several methods and tools, I discovered SPOTIFYDOWN, which has proven to be a reliable and safe way to convert Spotify songs and playlists to MP3. Here’s why I recommend it:
User-Friendly: The interface is simple and intuitive, making it easy for anyone to use.No Malware: I’ve been using it for a while and haven’t encountered any issues with malware or security risks.High-Quality Downloads: The MP3 files are of excellent quality, maintaining the integrity of the original tracks.
Here’s how you can use SPOTIFY-DOWN.COM:
Visit the Spotifydown website.Copy the link of the Spotify song or playlist you want to download.Paste the link into the SpotiDownloader search bar.Click the download button, and the tool will convert the tracks to MP3 format for you.
Feel free to share your experiences or ask any questions about downloading Spotify music to MP3. I’m happy to help!
Best,
Emma
Hi everyone,I wanted to share a solution I’ve found for downloading Spotify music to MP3 without needing a Premium account. Like many of you, I enjoy listening to my favorite tracks offline but don’t want to be restricted by the limitations of free accounts on Spotify. After trying several methods and tools, I discovered SPOTIFYDOWN, which has proven to be a reliable and safe way to convert Spotify songs and playlists to MP3. Here’s why I recommend it:User-Friendly: The interface is simple and intuitive, making it easy for anyone to use.No Malware: I’ve been using it for a while and haven’t encountered any issues with malware or security risks.High-Quality Downloads: The MP3 files are of excellent quality, maintaining the integrity of the original tracks.Here’s how you can use SPOTIFY-DOWN.COM:Visit the Spotifydown website.Copy the link of the Spotify song or playlist you want to download.Paste the link into the SpotiDownloader search bar.Click the download button, and the tool will convert the tracks to MP3 format for you.Feel free to share your experiences or ask any questions about downloading Spotify music to MP3. I’m happy to help! Best,Emma Read More
No remote management of Exchange on Server Core
Hi,
I have three VMs running on a Server 2022 Hyper-V host: Windows 11 for management, Server 2022 as a domain controller and Server 2022 Core for Exchange 2019. If I install EAC and IIS Manager for Remote Administration 1.2 on the DC, I can connect to the Exchange server without any problem. If I do the same on the Windows 11 VM, I get an error message when trying to connect: An unexpected error occurred. I have tried the following so far:
1. use host name or FQDN of the mail server
2. use IP address of the mail server
3. use ports 80 and 443 (e.g. mailhost:443)
4. complete shutdown of all firewall profiles on both the Windows 11 client and the mail server
The mail server’s certificate is the original self-signed certificate that is created when Exchange is installed – I would expect to be asked about the trustworthiness of the certificate, but apparently the connection fails even before the SSL handshake.
All four machines are domain members, name resolution and ping work fine. The Windows and Exchange logs contain no clues. Several hours of web research have not yet yielded any results.
Does anyone have an idea / a starting point?
Many thanks in advance and best regards
Stefano
Hi,I have three VMs running on a Server 2022 Hyper-V host: Windows 11 for management, Server 2022 as a domain controller and Server 2022 Core for Exchange 2019. If I install EAC and IIS Manager for Remote Administration 1.2 on the DC, I can connect to the Exchange server without any problem. If I do the same on the Windows 11 VM, I get an error message when trying to connect: An unexpected error occurred. I have tried the following so far: 1. use host name or FQDN of the mail server2. use IP address of the mail server3. use ports 80 and 443 (e.g. mailhost:443)4. complete shutdown of all firewall profiles on both the Windows 11 client and the mail server The mail server’s certificate is the original self-signed certificate that is created when Exchange is installed – I would expect to be asked about the trustworthiness of the certificate, but apparently the connection fails even before the SSL handshake. All four machines are domain members, name resolution and ping work fine. The Windows and Exchange logs contain no clues. Several hours of web research have not yet yielded any results. Does anyone have an idea / a starting point? Many thanks in advance and best regardsStefano Read More
Model unable to output any successful draws in Gibbs sampling
I am trying to estimate a structural VAR model using traditional sign and zero restrictions for the identification of shocks and Minnesota priors. When I adapt the (working) code to run on my data, I am unable to generate any successful draws in the Gibbs sampling phase. I have tried playing around with the settings of the Minnesota prior, as well as number of observations, number of variables, number of restrictions, running the model in First-Differences, and still can’t get any successful draws. Does anyone have any ideas as to why this might be happening or anything I can try next?
Thanks in advance,
AlexI am trying to estimate a structural VAR model using traditional sign and zero restrictions for the identification of shocks and Minnesota priors. When I adapt the (working) code to run on my data, I am unable to generate any successful draws in the Gibbs sampling phase. I have tried playing around with the settings of the Minnesota prior, as well as number of observations, number of variables, number of restrictions, running the model in First-Differences, and still can’t get any successful draws. Does anyone have any ideas as to why this might be happening or anything I can try next?
Thanks in advance,
Alex I am trying to estimate a structural VAR model using traditional sign and zero restrictions for the identification of shocks and Minnesota priors. When I adapt the (working) code to run on my data, I am unable to generate any successful draws in the Gibbs sampling phase. I have tried playing around with the settings of the Minnesota prior, as well as number of observations, number of variables, number of restrictions, running the model in First-Differences, and still can’t get any successful draws. Does anyone have any ideas as to why this might be happening or anything I can try next?
Thanks in advance,
Alex time series, svar model, economics MATLAB Answers — New Questions
Error imposing space-derivative-dependent boundary condition with solvepde using variable state.uy – Error: Unrecognized field name “uy”.
I would appreciate any advice of the following. I am working with PDE Tool box solvepde and a 2d membrane simulation and struggling to impose a spatial-derivative-dependent absorbing a boundary condition on an edge. I am following PDE Toolbox documentation trying two different methods, one (commented out) below using a simple anonymous function and another using a matlab function. These methods work with variables like location.x, location.y, and state.time but seem to fail me with the spatial derivatives. Here is the code snippet in the setup preamble to calling solvepde:
case 3
alpha_absorb=1;beta_absorb=0.0;
m3=m_func(0,ribbonlength/2);
c3=c_func(0,ribbonlength/2);
v3=sqrt(c3(3)/m3);
% my_g= @(location, state,alpha,beta) (-alpha_y *v3.* state.uy +beta_y*state.uyy);
%
% g=@(location,state)(-alpha_y *v3.* state.uy +beta_y*state.uyy)
g=@(location,state) my_g(location, state,alpha_absorb,beta_absorb,v3);
applyBoundaryCondition(model, ‘neumann’, ‘Edge’, topEdgeID, "q",0,…
‘g’, g);
end
function absorb=my_g(location, state,alpha_absorb,beta_absorb,v3)
n1=1;
nr=numel(location.x);
absorb=zeros(n1,nr);
absorb(1,:)=(-alpha_absorb *v3.* state.uy +beta_absorb*state.uyy);
end
For the method shown, solvepde throws the following error ( and the commented out anonymous functio method throws a similar error)
Unrecognized field name "uy".
Error in MembraneWaveExplorer>my_g (line 303)
absorb(1,:)=(-alpha_absorb *v3.* state.uy +beta_absorb*state.uyy);
Error in MembraneWaveExplorer>@(location,state)my_g(location,state,alpha_absorb,beta_absorb,v3) (line 295)
g=@(location,state) my_g(location, state,alpha_absorb,beta_absorb,v3)
Error in pde.internal.pde3DBCImpl/callNeumannFuncOnFace (line 58)
bci = func(appRegion, state);
Error in pde.internal.pde3DBCImpl/setNeumannBCOnFace (line 133)
faceG = self.callNeumannFuncOnFace(bci,xyzAllFaceNodes, sPts, bci.g, …
Error in pde.internal.pde3DBCImpl/getBCMatrices (line 66)
[Qi, Gi] = setNeumannBCOnFace(self, bcsi);
Error in pde.internal.FESolverUtilities/assembleBoundary (line 74)
bcmat = bcImpl.getBCMatrices(u,time,gmat);
Error in pde.internal.FESolverUtilities/assembleSelectedFEMatrices (line 30)
bmat = self.assembleBoundary(u,time,gmatrix);
Error in pde.DiscretizedPDEModel/initialDiscretization (line 50)
femat0 = self.thePde.assembleSelectedFEMatrices(self.p, self.t, self.coefstruct, u0, tdummy, requiredMats, false);
Error in pde.DiscretizedPDEModel (line 33)
obj = obj.initialDiscretization(u0,tdummy);
Error in pde.DynamicDiscretizedPDEModel (line 32)
obj=obj@pde.DiscretizedPDEModel(thePde,p,e,t,coefstruct,u0,false);
Error in pde.internal.FESolverUtilities/solveTimeDependent (line 27)
femodel=pde.DynamicDiscretizedPDEModel(self,p,e,t,coefstruct,u0,tlist,tsecondOrder);
Error in pde.PDEModel/solvepde (line 57)
[u,dudt] = self.solveTimeDependent(coefstruct, u0, ut0, tlist, …I would appreciate any advice of the following. I am working with PDE Tool box solvepde and a 2d membrane simulation and struggling to impose a spatial-derivative-dependent absorbing a boundary condition on an edge. I am following PDE Toolbox documentation trying two different methods, one (commented out) below using a simple anonymous function and another using a matlab function. These methods work with variables like location.x, location.y, and state.time but seem to fail me with the spatial derivatives. Here is the code snippet in the setup preamble to calling solvepde:
case 3
alpha_absorb=1;beta_absorb=0.0;
m3=m_func(0,ribbonlength/2);
c3=c_func(0,ribbonlength/2);
v3=sqrt(c3(3)/m3);
% my_g= @(location, state,alpha,beta) (-alpha_y *v3.* state.uy +beta_y*state.uyy);
%
% g=@(location,state)(-alpha_y *v3.* state.uy +beta_y*state.uyy)
g=@(location,state) my_g(location, state,alpha_absorb,beta_absorb,v3);
applyBoundaryCondition(model, ‘neumann’, ‘Edge’, topEdgeID, "q",0,…
‘g’, g);
end
function absorb=my_g(location, state,alpha_absorb,beta_absorb,v3)
n1=1;
nr=numel(location.x);
absorb=zeros(n1,nr);
absorb(1,:)=(-alpha_absorb *v3.* state.uy +beta_absorb*state.uyy);
end
For the method shown, solvepde throws the following error ( and the commented out anonymous functio method throws a similar error)
Unrecognized field name "uy".
Error in MembraneWaveExplorer>my_g (line 303)
absorb(1,:)=(-alpha_absorb *v3.* state.uy +beta_absorb*state.uyy);
Error in MembraneWaveExplorer>@(location,state)my_g(location,state,alpha_absorb,beta_absorb,v3) (line 295)
g=@(location,state) my_g(location, state,alpha_absorb,beta_absorb,v3)
Error in pde.internal.pde3DBCImpl/callNeumannFuncOnFace (line 58)
bci = func(appRegion, state);
Error in pde.internal.pde3DBCImpl/setNeumannBCOnFace (line 133)
faceG = self.callNeumannFuncOnFace(bci,xyzAllFaceNodes, sPts, bci.g, …
Error in pde.internal.pde3DBCImpl/getBCMatrices (line 66)
[Qi, Gi] = setNeumannBCOnFace(self, bcsi);
Error in pde.internal.FESolverUtilities/assembleBoundary (line 74)
bcmat = bcImpl.getBCMatrices(u,time,gmat);
Error in pde.internal.FESolverUtilities/assembleSelectedFEMatrices (line 30)
bmat = self.assembleBoundary(u,time,gmatrix);
Error in pde.DiscretizedPDEModel/initialDiscretization (line 50)
femat0 = self.thePde.assembleSelectedFEMatrices(self.p, self.t, self.coefstruct, u0, tdummy, requiredMats, false);
Error in pde.DiscretizedPDEModel (line 33)
obj = obj.initialDiscretization(u0,tdummy);
Error in pde.DynamicDiscretizedPDEModel (line 32)
obj=obj@pde.DiscretizedPDEModel(thePde,p,e,t,coefstruct,u0,false);
Error in pde.internal.FESolverUtilities/solveTimeDependent (line 27)
femodel=pde.DynamicDiscretizedPDEModel(self,p,e,t,coefstruct,u0,tlist,tsecondOrder);
Error in pde.PDEModel/solvepde (line 57)
[u,dudt] = self.solveTimeDependent(coefstruct, u0, ut0, tlist, … I would appreciate any advice of the following. I am working with PDE Tool box solvepde and a 2d membrane simulation and struggling to impose a spatial-derivative-dependent absorbing a boundary condition on an edge. I am following PDE Toolbox documentation trying two different methods, one (commented out) below using a simple anonymous function and another using a matlab function. These methods work with variables like location.x, location.y, and state.time but seem to fail me with the spatial derivatives. Here is the code snippet in the setup preamble to calling solvepde:
case 3
alpha_absorb=1;beta_absorb=0.0;
m3=m_func(0,ribbonlength/2);
c3=c_func(0,ribbonlength/2);
v3=sqrt(c3(3)/m3);
% my_g= @(location, state,alpha,beta) (-alpha_y *v3.* state.uy +beta_y*state.uyy);
%
% g=@(location,state)(-alpha_y *v3.* state.uy +beta_y*state.uyy)
g=@(location,state) my_g(location, state,alpha_absorb,beta_absorb,v3);
applyBoundaryCondition(model, ‘neumann’, ‘Edge’, topEdgeID, "q",0,…
‘g’, g);
end
function absorb=my_g(location, state,alpha_absorb,beta_absorb,v3)
n1=1;
nr=numel(location.x);
absorb=zeros(n1,nr);
absorb(1,:)=(-alpha_absorb *v3.* state.uy +beta_absorb*state.uyy);
end
For the method shown, solvepde throws the following error ( and the commented out anonymous functio method throws a similar error)
Unrecognized field name "uy".
Error in MembraneWaveExplorer>my_g (line 303)
absorb(1,:)=(-alpha_absorb *v3.* state.uy +beta_absorb*state.uyy);
Error in MembraneWaveExplorer>@(location,state)my_g(location,state,alpha_absorb,beta_absorb,v3) (line 295)
g=@(location,state) my_g(location, state,alpha_absorb,beta_absorb,v3)
Error in pde.internal.pde3DBCImpl/callNeumannFuncOnFace (line 58)
bci = func(appRegion, state);
Error in pde.internal.pde3DBCImpl/setNeumannBCOnFace (line 133)
faceG = self.callNeumannFuncOnFace(bci,xyzAllFaceNodes, sPts, bci.g, …
Error in pde.internal.pde3DBCImpl/getBCMatrices (line 66)
[Qi, Gi] = setNeumannBCOnFace(self, bcsi);
Error in pde.internal.FESolverUtilities/assembleBoundary (line 74)
bcmat = bcImpl.getBCMatrices(u,time,gmat);
Error in pde.internal.FESolverUtilities/assembleSelectedFEMatrices (line 30)
bmat = self.assembleBoundary(u,time,gmatrix);
Error in pde.DiscretizedPDEModel/initialDiscretization (line 50)
femat0 = self.thePde.assembleSelectedFEMatrices(self.p, self.t, self.coefstruct, u0, tdummy, requiredMats, false);
Error in pde.DiscretizedPDEModel (line 33)
obj = obj.initialDiscretization(u0,tdummy);
Error in pde.DynamicDiscretizedPDEModel (line 32)
obj=obj@pde.DiscretizedPDEModel(thePde,p,e,t,coefstruct,u0,false);
Error in pde.internal.FESolverUtilities/solveTimeDependent (line 27)
femodel=pde.DynamicDiscretizedPDEModel(self,p,e,t,coefstruct,u0,tlist,tsecondOrder);
Error in pde.PDEModel/solvepde (line 57)
[u,dudt] = self.solveTimeDependent(coefstruct, u0, ut0, tlist, … pdesolve, edge boundary condition MATLAB Answers — New Questions
average in duration of time
How do I take an average of a time duration. Every time I use the average formula it gives me an error message. For example elapsed time of 1:31, 2:14, 3:23 and 0:34. What formula would I use to get an average of these that comes out in the correct time format?
How do I take an average of a time duration. Every time I use the average formula it gives me an error message. For example elapsed time of 1:31, 2:14, 3:23 and 0:34. What formula would I use to get an average of these that comes out in the correct time format? Read More
blocked email
My husband used Outlook, I use Gmail, coming through Comcast. We are both on PCs.
Lately he is not receiving any emails I send to him. I have checked his Safe Sender list…all my email addresses are there.
What’s wrong??
My husband used Outlook, I use Gmail, coming through Comcast. We are both on PCs.Lately he is not receiving any emails I send to him. I have checked his Safe Sender list…all my email addresses are there.What’s wrong?? Read More
Semantic Kernel: Develop your AI Integrated Web App on Azure and .NET 8.0
How to create a Smart Career Advice and Job Search Engine with Semantic Kernel
The concept
The Rise of Semantic Kernel
Semantic Kernel, an open-source development kit, has taken the .NET community by storm. With support for C#, Python, and Java, it seamlessly integrates with dotnet services and applications. But what makes it truly remarkable? Let’s dive into the details.
A Perfect Match: Semantic Kernel and .NET
Picture this: you’re building a web app, and you want to infuse it with AI magic. Enter Semantic Kernel. It’s like the secret sauce that binds your dotnet services and AI capabilities into a harmonious blend. Whether you’re a seasoned developer or just dipping your toes into AI waters, Semantic Kernel simplifies the process. As part of the Semantic Kernel community, I’ve witnessed its evolution firsthand. The collaborative spirit, the shared knowledge—it’s electrifying! We’re not just building software; we’re shaping the future of AI-driven web applications.
The Web App
Our initial plan was simple: create a job recommendations engine. But Semantic Kernel had other ideas. It took us on an exhilarating ride. Now, our web application not only suggests career paths but also taps into third-party APIs to fetch relevant job listings. And that’s not all—it even crafts personalized skilling plans and preps candidates for interviews. Talk about exceeding expectations!
Build
Since i have already created the repository on GitHub i don’t think it is critical to re post Terraform files here. We are building our main Infrastructure with Terraform and also invoke an Azure Cli script to automate the Container Image build and push. We will have these resources at the end:
Before deployment make sure to assign the Service Principal with the role “RBAC Administrator” and narrow down the assignments to AcrPull, AcrPush, so you can create a User Assigned Managed Identity with these roles.
Since we are building and pushing the Container Images with local-exec and Az Cli scripts within Terraform you will notice some explicit dependencies, for us to make sure everything builds in order. It is really amazing the fact that we can build all the Infra including the Apps with Terraform !
Architecture
Upon completion you will have a functioning React Web App with the ASP NET Core webapi, utilizing Semantic Kernel and an external Job Listings API, to get advice, find Jobs and get a Skilling Plan for a specific recommended role! The following is a reference Architecture. Aside the Private Endpoints the same deployment is available in GitHub.
Kernel SDK
The SDK provides a simple yet powerful array of commands to configure and “set” the Semantic Kernel characteristics. Let’s the first endpoint, where users ask for recommended career paths:
[HttpPost(“get-recommendations”)]
public async Task<IActionResult> GetRecommendations([FromBody] UserInput userInput)
{
_logger.LogInformation(“Received user input: {Skills}, {Interests}, {Experience}”, userInput.Skills, userInput.Interests, userInput.Experience);
var query = $”I have the following skills: {userInput.Skills}. ” +
$”My interests are: {userInput.Interests}. ” +
$”My experience includes: {userInput.Experience}. ” +
“Based on this information, what career paths would you recommend for me?”;
var history = new ChatHistory();
history.AddUserMessage(query);
ChatMessageContent? result = await _chatCompletionService.GetChatMessageContentAsync(history);
if (result == null)
{
_logger.LogError(“Received null result from the chat completion service.”);
return StatusCode(500, “Error processing your request.”);
}
string content = result.Content;
_logger.LogInformation(“Received content: {Content}”, content);
var recommendations = ParseRecommendations(content);
_logger.LogInformation(“Returning recommendations: {Count}”, recommendations.Count);
return Ok(new { recommendations });
The actual data flow is depicted below, and we can see the Interaction with the local Endpoints and the external endpoint as well. The user provides Skills, Interests, Experience and Level of current position and the API sends the Payload to Semantic kernel with a constructed prompt asking for positions recommendations. The recommendations return with clickable buttons, one to find relevant positions from LinkedIn listings using the external API, and another to ask again the Semantic Kernel for skill up advice!
The UI experience :
Recommendations:
Skill Up Plan:
Job Listings:
The Project can be extended to a point of automation and AI Integration where users can upload their CVs and ask the Semantic Kernel to provide feedback as well as apply for a specific position! As we discussed earlier some additional optimizations are good to have, like the Private Endpoints, Azure Front Door and/or Azure Firewall, but the point is to see Semantic Kernel in action with it’s amazing capabilities especially when used within the .NET SDK.
Important Note: This could have been a one shot deployment but we cannot add the custom domain with Terraform ( unless we use Azure DNS) and the Cors Settings. So we have to add these details for our Solution to function properly!
Once the Terraform completes, add the Custom Domains to both Container Apps. The advantage here is that we will know the Frontend and Backend FQDNs, since we decide the Domain name, and the React Environment Value is preconfigured with the backend URL. Same for the Backend, we have set as Environment Value for the ALLOWED_ORIGINS, the frontend URL. So we can just go to Custom Domain on each App, and add the domain names after selecting the Certificate which will be already there, since we have uploaded it via Terraform!
Lessons Learned
This was a real adventure and i want to share with you important lessons learned and hopefully save you some time and effort. Prepare ahead with a Certificate. I was having problems from the get go with ASP NET refusing to build on Containers until i integrated the certificate. The local development works fine without it. Cross Origin is very important, do not underestimate it ! Configure it correctly and in this example i went directly to Custom Domains, so i can have better overall control. This solution worked both on Azure Web Apps and Azure Container Apps. The Git Hub repo has the Container Apps solution but you can go with Web Apps. Finally don’t waste you time to go with Dapr. React does not ‘react’ well with the Dapr Client and my lesson learned here is that Dapr is made for same framework invocation or you are going to need a middleware. Since we cannot create the Custom Domain with Terraform there are solutions we can use, like using AzApi, We utilized a small portion of what really Semantic Kernel can do and i stopped when i realized that this project will never end if i continue pursuing ideas ! It is much better to have it on GiHub and probably we can come back and add some more features !
Conclusion
In this journey through the intersection of technology and career guidance, we’ve explored the powerful capabilities of Azure Container Apps and the transformative potential of Semantic Kernel, Microsoft’s open-source development kit. By seamlessly integrating AI into .NET applications, Semantic Kernel has not only simplified the development process but also opened new doors for innovation in career advice.
Our adventure began with a simple idea—creating a job recommendations engine. However, with the help of Semantic Kernel, this idea evolved into a sophisticated web application that goes beyond recommendations. It connects to third-party APIs, crafts personalized skilling plans, and prepares candidates for interviews, demonstrating the true power of AI-driven solutions.
By leveraging Terraform for infrastructure management and Azure CLI for automating container builds, we successfully deployed a robust architecture that includes a React Web App, ASP.NET Core web API, and integrated AI services. This project highlights the ease and efficiency of building and deploying cloud-based applications with modern tools. The code is available in GitHub for you to explore, contribute and extend as mush as you want to !
Git Hub Repo: Semantic Kernel – Career Advice
LinksReferences
Intro to Semantic KernelUnderstanding the kernelChat completionDeep dive into Semantic KernelAzure Container Apps documentation
How to create a Smart Career Advice and Job Search Engine with Semantic Kernel The conceptThe Rise of Semantic KernelSemantic Kernel, an open-source development kit, has taken the .NET community by storm. With support for C#, Python, and Java, it seamlessly integrates with dotnet services and applications. But what makes it truly remarkable? Let’s dive into the details.A Perfect Match: Semantic Kernel and .NETPicture this: you’re building a web app, and you want to infuse it with AI magic. Enter Semantic Kernel. It’s like the secret sauce that binds your dotnet services and AI capabilities into a harmonious blend. Whether you’re a seasoned developer or just dipping your toes into AI waters, Semantic Kernel simplifies the process. As part of the Semantic Kernel community, I’ve witnessed its evolution firsthand. The collaborative spirit, the shared knowledge—it’s electrifying! We’re not just building software; we’re shaping the future of AI-driven web applications.The Web AppOur initial plan was simple: create a job recommendations engine. But Semantic Kernel had other ideas. It took us on an exhilarating ride. Now, our web application not only suggests career paths but also taps into third-party APIs to fetch relevant job listings. And that’s not all—it even crafts personalized skilling plans and preps candidates for interviews. Talk about exceeding expectations!BuildSince i have already created the repository on GitHub i don’t think it is critical to re post Terraform files here. We are building our main Infrastructure with Terraform and also invoke an Azure Cli script to automate the Container Image build and push. We will have these resources at the end: Before deployment make sure to assign the Service Principal with the role “RBAC Administrator” and narrow down the assignments to AcrPull, AcrPush, so you can create a User Assigned Managed Identity with these roles.Since we are building and pushing the Container Images with local-exec and Az Cli scripts within Terraform you will notice some explicit dependencies, for us to make sure everything builds in order. It is really amazing the fact that we can build all the Infra including the Apps with Terraform !ArchitectureUpon completion you will have a functioning React Web App with the ASP NET Core webapi, utilizing Semantic Kernel and an external Job Listings API, to get advice, find Jobs and get a Skilling Plan for a specific recommended role! The following is a reference Architecture. Aside the Private Endpoints the same deployment is available in GitHub. Kernel SDKThe SDK provides a simple yet powerful array of commands to configure and “set” the Semantic Kernel characteristics. Let’s the first endpoint, where users ask for recommended career paths: [HttpPost(“get-recommendations”)]
public async Task<IActionResult> GetRecommendations([FromBody] UserInput userInput)
{
_logger.LogInformation(“Received user input: {Skills}, {Interests}, {Experience}”, userInput.Skills, userInput.Interests, userInput.Experience);
var query = $”I have the following skills: {userInput.Skills}. ” +
$”My interests are: {userInput.Interests}. ” +
$”My experience includes: {userInput.Experience}. ” +
“Based on this information, what career paths would you recommend for me?”;
var history = new ChatHistory();
history.AddUserMessage(query);
ChatMessageContent? result = await _chatCompletionService.GetChatMessageContentAsync(history);
if (result == null)
{
_logger.LogError(“Received null result from the chat completion service.”);
return StatusCode(500, “Error processing your request.”);
}
string content = result.Content;
_logger.LogInformation(“Received content: {Content}”, content);
var recommendations = ParseRecommendations(content);
_logger.LogInformation(“Returning recommendations: {Count}”, recommendations.Count);
return Ok(new { recommendations }); The actual data flow is depicted below, and we can see the Interaction with the local Endpoints and the external endpoint as well. The user provides Skills, Interests, Experience and Level of current position and the API sends the Payload to Semantic kernel with a constructed prompt asking for positions recommendations. The recommendations return with clickable buttons, one to find relevant positions from LinkedIn listings using the external API, and another to ask again the Semantic Kernel for skill up advice! The UI experience : Recommendations: Skill Up Plan: Job Listings: The Project can be extended to a point of automation and AI Integration where users can upload their CVs and ask the Semantic Kernel to provide feedback as well as apply for a specific position! As we discussed earlier some additional optimizations are good to have, like the Private Endpoints, Azure Front Door and/or Azure Firewall, but the point is to see Semantic Kernel in action with it’s amazing capabilities especially when used within the .NET SDK.Important Note: This could have been a one shot deployment but we cannot add the custom domain with Terraform ( unless we use Azure DNS) and the Cors Settings. So we have to add these details for our Solution to function properly! Once the Terraform completes, add the Custom Domains to both Container Apps. The advantage here is that we will know the Frontend and Backend FQDNs, since we decide the Domain name, and the React Environment Value is preconfigured with the backend URL. Same for the Backend, we have set as Environment Value for the ALLOWED_ORIGINS, the frontend URL. So we can just go to Custom Domain on each App, and add the domain names after selecting the Certificate which will be already there, since we have uploaded it via Terraform! Lessons LearnedThis was a real adventure and i want to share with you important lessons learned and hopefully save you some time and effort. Prepare ahead with a Certificate. I was having problems from the get go with ASP NET refusing to build on Containers until i integrated the certificate. The local development works fine without it. Cross Origin is very important, do not underestimate it ! Configure it correctly and in this example i went directly to Custom Domains, so i can have better overall control. This solution worked both on Azure Web Apps and Azure Container Apps. The Git Hub repo has the Container Apps solution but you can go with Web Apps. Finally don’t waste you time to go with Dapr. React does not ‘react’ well with the Dapr Client and my lesson learned here is that Dapr is made for same framework invocation or you are going to need a middleware. Since we cannot create the Custom Domain with Terraform there are solutions we can use, like using AzApi, We utilized a small portion of what really Semantic Kernel can do and i stopped when i realized that this project will never end if i continue pursuing ideas ! It is much better to have it on GiHub and probably we can come back and add some more features !ConclusionIn this journey through the intersection of technology and career guidance, we’ve explored the powerful capabilities of Azure Container Apps and the transformative potential of Semantic Kernel, Microsoft’s open-source development kit. By seamlessly integrating AI into .NET applications, Semantic Kernel has not only simplified the development process but also opened new doors for innovation in career advice.Our adventure began with a simple idea—creating a job recommendations engine. However, with the help of Semantic Kernel, this idea evolved into a sophisticated web application that goes beyond recommendations. It connects to third-party APIs, crafts personalized skilling plans, and prepares candidates for interviews, demonstrating the true power of AI-driven solutions.By leveraging Terraform for infrastructure management and Azure CLI for automating container builds, we successfully deployed a robust architecture that includes a React Web App, ASP.NET Core web API, and integrated AI services. This project highlights the ease and efficiency of building and deploying cloud-based applications with modern tools. The code is available in GitHub for you to explore, contribute and extend as mush as you want to !Git Hub Repo: Semantic Kernel – Career AdviceLinksReferencesIntro to Semantic KernelUnderstanding the kernelChat completionDeep dive into Semantic KernelAzure Container Apps documentation Read More
POWER QUERY EDITOR ISSUE IN CREATING DYNAMIC URL FROM A WEBSITE URL IN EXCEL SPREADSHEET
Hi Members,
I am facing an issue in creating a dynamic URL to fetch market data for Indian stocks based on two variables “COMPANY” and “QUARTER” as below
“Expression.Error: We cannot apply operator & to types Text and Number.
Details:
Operator=&
Left=https://www.bseindia.com/corporates/results.aspx?Code=
Right=540776″
The advance editor code for Table 5 in power query for excel is as below-
let
Source = Web.BrowserContents(“https://www.bseindia.com/corporates/results.aspx?Code=“& COMPANY() &”&qtr=”& QUARTER() &””),
#”Extracted Table From Html” = Html.Table(Source, {{“Column1”, “TABLE.tablesorter > * > TR > TD:not([colspan]):not([rowspan]):nth-child(1):nth-last-child(2)”}, {“Column2”, “TABLE.tablesorter > * > TR > TD:not([colspan]):not([rowspan]):nth-child(1):nth-last-child(2) + TD:not([colspan]):not([rowspan]):nth-child(2):nth-last-child(1), TABLE.tablesorter > * > TR > TD:not([colspan]):not([rowspan]):nth-child(1):nth-last-child(2) + TD[colspan=””4″”]:not([rowspan]):nth-child(2):nth-last-child(1)”}, {“Column3”, “TABLE.tablesorter > * > TR > TD:not([colspan]):not([rowspan]):nth-child(1):nth-last-child(2) + TD[colspan=””4″”]:not([rowspan]):nth-child(2):nth-last-child(1)”}, {“Column4”, “TABLE.tablesorter > * > TR > TD:not([colspan]):not([rowspan]):nth-child(1):nth-last-child(2) + TD[colspan=””4″”]:not([rowspan]):nth-child(2):nth-last-child(1)”}, {“Column5”, “TABLE.tablesorter > * > TR > TD:not([colspan]):not([rowspan]):nth-child(1):nth-last-child(2) + TD[colspan=””4″”]:not([rowspan]):nth-child(2):nth-last-child(1)”}}, [RowSelector=”TABLE.tablesorter > * > TR”])
in
#”Extracted Table From Html”
The advance editor code for Query COMPANY in power query for excel is as below-
let COMPANY = () =>
let
Source = Excel.CurrentWorkbook(){[Name=”COMPANY”]}[Content],
Column1 = Source{0}[Column1]
in
Column1
in
COMPANY
The advance editor code for Query QUARTER in power query for excel is as below-
let QUARTER = () =>
let
Source = Excel.CurrentWorkbook(){[Name=”QUARTER”]}[Content],
Column1 = Source{0}[Column1]
in
Column1
in
QUARTER
NOTE: original URL from the website from which we retrieve Table 5 is below:
https://www.bseindia.com/corporates/results.aspx?Code=500325&qtr=105.00
Where 500325 is a scrip/Company code for particular stock/company in number format and
105.00 is a Quarter Code for that company for a particular quarter for a financial year. The quarter code is independent of stocks and based on year and quarter combination. Our target is to replace the quarter and company code in URL with the Variables as mentioned above to fetch data for various companies quarterly results from various quarters.
Please suggest a workaround.
Thanks in advance.
Regards,
Pranjit Parasar
Hi Members, I am facing an issue in creating a dynamic URL to fetch market data for Indian stocks based on two variables “COMPANY” and “QUARTER” as below “Expression.Error: We cannot apply operator & to types Text and Number.Details:Operator=&Left=https://www.bseindia.com/corporates/results.aspx?Code=Right=540776″The advance editor code for Table 5 in power query for excel is as below- letSource = Web.BrowserContents(“https://www.bseindia.com/corporates/results.aspx?Code=”& COMPANY() &”&qtr=”& QUARTER() &””),#”Extracted Table From Html” = Html.Table(Source, {{“Column1”, “TABLE.tablesorter > * > TR > TD:not([colspan]):not([rowspan]):nth-child(1):nth-last-child(2)”}, {“Column2”, “TABLE.tablesorter > * > TR > TD:not([colspan]):not([rowspan]):nth-child(1):nth-last-child(2) + TD:not([colspan]):not([rowspan]):nth-child(2):nth-last-child(1), TABLE.tablesorter > * > TR > TD:not([colspan]):not([rowspan]):nth-child(1):nth-last-child(2) + TD[colspan=””4″”]:not([rowspan]):nth-child(2):nth-last-child(1)”}, {“Column3”, “TABLE.tablesorter > * > TR > TD:not([colspan]):not([rowspan]):nth-child(1):nth-last-child(2) + TD[colspan=””4″”]:not([rowspan]):nth-child(2):nth-last-child(1)”}, {“Column4”, “TABLE.tablesorter > * > TR > TD:not([colspan]):not([rowspan]):nth-child(1):nth-last-child(2) + TD[colspan=””4″”]:not([rowspan]):nth-child(2):nth-last-child(1)”}, {“Column5”, “TABLE.tablesorter > * > TR > TD:not([colspan]):not([rowspan]):nth-child(1):nth-last-child(2) + TD[colspan=””4″”]:not([rowspan]):nth-child(2):nth-last-child(1)”}}, [RowSelector=”TABLE.tablesorter > * > TR”])in#”Extracted Table From Html”The advance editor code for Query COMPANY in power query for excel is as below- let COMPANY = () =>letSource = Excel.CurrentWorkbook(){[Name=”COMPANY”]}[Content],Column1 = Source{0}[Column1]inColumn1inCOMPANYThe advance editor code for Query QUARTER in power query for excel is as below- let QUARTER = () =>letSource = Excel.CurrentWorkbook(){[Name=”QUARTER”]}[Content],Column1 = Source{0}[Column1]inColumn1inQUARTERNOTE: original URL from the website from which we retrieve Table 5 is below:https://www.bseindia.com/corporates/results.aspx?Code=500325&qtr=105.00Where 500325 is a scrip/Company code for particular stock/company in number format and105.00 is a Quarter Code for that company for a particular quarter for a financial year. The quarter code is independent of stocks and based on year and quarter combination. Our target is to replace the quarter and company code in URL with the Variables as mentioned above to fetch data for various companies quarterly results from various quarters. Please suggest a workaround. Thanks in advance. Regards, Pranjit Parasar Read More
RL DDPG agent does not seem to learn, aircraft control problem
Hello everyone,
I’m back with some updates on my mixed Reinforcement Learning (RL) and Supervised Learning training. A few days ago, I posted a question here on MathWorks about the working principle of “external actions” in the RL training block. Based on the suggestions I received, I have started a hybrid training approach.
I begin by injecting external actions from the controller for 75 seconds (1/4 of the entire episode length). After this, the agent takes action until the pitch rate error reaches 5 degrees per second. When this threshold is reached, the external agent takes control again. The external actions are then cut off when the pitch rate is very close to 0 degrees per second for about 40 seconds. The agent then takes control again, and this cycle continues.
I have also introduced a maximum number of allowed interventions. If the agent exceeds this threshold, the simulation stops and a penalty is applied. I also apply a penalty every time the external controller must intervene again, while a bonus is given every time the agent makes progress within the time window when it is left alone. This system of bonuses and penalties is added to the standard reward, which takes into account the altitude error, the flight path angle error, and the pitch rate error. The weight coefficients for these errors are 1, 1, and 10, respectively, because I want to emphasize that the aircraft must maintain level wings.
The initial conditions are always random, and the setpoint for altitude is always set 50 meters above the initial altitude.
Unfortunately, after the first training session, I haven’t seen any progress. According to your opinion, is it worth taking another attempt or is the whole setup wrong? Thank you.Hello everyone,
I’m back with some updates on my mixed Reinforcement Learning (RL) and Supervised Learning training. A few days ago, I posted a question here on MathWorks about the working principle of “external actions” in the RL training block. Based on the suggestions I received, I have started a hybrid training approach.
I begin by injecting external actions from the controller for 75 seconds (1/4 of the entire episode length). After this, the agent takes action until the pitch rate error reaches 5 degrees per second. When this threshold is reached, the external agent takes control again. The external actions are then cut off when the pitch rate is very close to 0 degrees per second for about 40 seconds. The agent then takes control again, and this cycle continues.
I have also introduced a maximum number of allowed interventions. If the agent exceeds this threshold, the simulation stops and a penalty is applied. I also apply a penalty every time the external controller must intervene again, while a bonus is given every time the agent makes progress within the time window when it is left alone. This system of bonuses and penalties is added to the standard reward, which takes into account the altitude error, the flight path angle error, and the pitch rate error. The weight coefficients for these errors are 1, 1, and 10, respectively, because I want to emphasize that the aircraft must maintain level wings.
The initial conditions are always random, and the setpoint for altitude is always set 50 meters above the initial altitude.
Unfortunately, after the first training session, I haven’t seen any progress. According to your opinion, is it worth taking another attempt or is the whole setup wrong? Thank you. Hello everyone,
I’m back with some updates on my mixed Reinforcement Learning (RL) and Supervised Learning training. A few days ago, I posted a question here on MathWorks about the working principle of “external actions” in the RL training block. Based on the suggestions I received, I have started a hybrid training approach.
I begin by injecting external actions from the controller for 75 seconds (1/4 of the entire episode length). After this, the agent takes action until the pitch rate error reaches 5 degrees per second. When this threshold is reached, the external agent takes control again. The external actions are then cut off when the pitch rate is very close to 0 degrees per second for about 40 seconds. The agent then takes control again, and this cycle continues.
I have also introduced a maximum number of allowed interventions. If the agent exceeds this threshold, the simulation stops and a penalty is applied. I also apply a penalty every time the external controller must intervene again, while a bonus is given every time the agent makes progress within the time window when it is left alone. This system of bonuses and penalties is added to the standard reward, which takes into account the altitude error, the flight path angle error, and the pitch rate error. The weight coefficients for these errors are 1, 1, and 10, respectively, because I want to emphasize that the aircraft must maintain level wings.
The initial conditions are always random, and the setpoint for altitude is always set 50 meters above the initial altitude.
Unfortunately, after the first training session, I haven’t seen any progress. According to your opinion, is it worth taking another attempt or is the whole setup wrong? Thank you. rl, reinforcement learning, machine learning, ddpg, control theory, aircraft MATLAB Answers — New Questions