Category: News
Stop the annoying pop ups in everything
For the love of any deity out there, how do I stop the constant pop ups from Microsoft? I use Outlook, I get pop ups. Sharepoint? More pop ups. OneNote? You better believe I get more pop ups. They are annoying, unwanted and intrusive; All I want to do is get my stuff done without Microsoft harassing me with “Did you know about this feature? Click here to try it!” Or, “we’d love your feedback that we will ignore because it doesn’t comply with what we want to hear but we will continue to pester you instead of letting you do what you need to do!”
Well, yes, I knew about it and I’m not using it because it is hot garbage, just like everything Microsoft has released. I constantly fill out Microsoft’s crappy surveys and tell them to stop bothering me with surveys!
How do I get this harassment to stop?! Here are some examples
For the love of any deity out there, how do I stop the constant pop ups from Microsoft? I use Outlook, I get pop ups. Sharepoint? More pop ups. OneNote? You better believe I get more pop ups. They are annoying, unwanted and intrusive; All I want to do is get my stuff done without Microsoft harassing me with “Did you know about this feature? Click here to try it!” Or, “we’d love your feedback that we will ignore because it doesn’t comply with what we want to hear but we will continue to pester you instead of letting you do what you need to do!” Well, yes, I knew about it and I’m not using it because it is hot garbage, just like everything Microsoft has released. I constantly fill out Microsoft’s crappy surveys and tell them to stop bothering me with surveys! How do I get this harassment to stop?! Here are some examples Read More
Azure Web Application Firewall(WAF) integration in Copilot for Security
With the Azure WAF in Copilot for Security integration, security and IT teams can move faster, and focus on high value tasks. The Copilot summarizes data and generates in-depth contextual insights into the WAF threat landscape. This enables analysts to determine if the WAF policy is blocking a request it should not have blocked, or if their WAF policy needs to be fine-tuned. It results in time and cost savings since Copilot can reason over terabytes of data in a matter of minutes, not hours or days.
Azure WAF capabilities available in the standalone Copilot for Security experience are: Get Top Rules Triggered, Get Top Blocks By IP, Get SQLi Blocks By WAF, and Get XSS Blocks By WAF
Full details can be obtained here: Azure WAF integration in Copilot for Security – Protect web applications using Gen AI
Microsoft Tech Community – Latest Blogs –Read More
Azure Static Web Apps Dedicated Plan: Building Enterprise Grade Full Stack Web Apps
Introduction
Azure Static Web Apps already offers an amazing solution to build and host full stack web apps with our Free and Standard plans!
However, you have been asking us for Static Web Apps that are compliant with data residency rules to allow you to build secure web apps that also comply with your data governance requirements we are now offering the Dedicated plan (in preview)! Additionally, this new plan will support Always On managed functions, drastically improving the experience for Static Web Apps with dynamic backends and for apps that follow the SSR patterns. And for a limited time, the Dedicated plan will be offered for free. Check it out here: https://aka.ms/swa-dedicated-preview
Why Use It
If you are looking to securely host your full stack web apps look no further than the Dedicated Plan. In preview, the dedicated plan allows you to have data residency in select regions for your web app.
Free
Standard
Dedicated (In Preview)
Web hosting
X
X
X
CI/CD
X
X
X
Global Distribution
X
X
X
Private Link
X
X
Custom Domain
X
X
Managed Backends
X
X
Data Residency
X
Always On Managed Functions Support
X
How to Get Started?
To get started with this new plan go to the portal and enter the Static Web Apps create flow. You will now see a new plan type for Dedicated. Please select that plan and then select the region in which you would like your resources to be created in and in which your data will be stored.
Check it out here: https://aka.ms/swa-dedicated-preview
Disclaimer: During preview only 1 resource per subscription can created using the Dedicated Plan
Available in the following regions during Preview: East US 2, Central US, West US 2, and East Asia
Have feedback to share with us, please email us at az-swa-preview@microsoft.com
Microsoft Tech Community – Latest Blogs –Read More
You Are Real: More Secure Identity Verification
Why is Liveness Detection Crucial for Identity Verification Today?
With the ubiquitous internet infrastructure and mobile networks providing a backbone for daily interactions, coupled with a sustained increase in remote activities post-pandemic, the need for robust identity verification mechanisms is more critical than ever. As individuals engage in a wide range of online transactions — from banking and e-commerce to healthcare consultations and remote work — the risk of identity fraud has significantly escalated. According to the Consumer Sentinel Network’s 2023 Annual Data Book, reports of fraud and identity theft have nearly doubled in the last four years.[1]
Furthermore, the widespread availability of digital devices like smartphones and tablets, along with pervasive social media platforms, has made personal photos and identity details more accessible and easier to exploit. This accessibility significantly undermines the effectiveness of simple image-based face recognition technologies, which can be easily circumvented using readily available photographs. These vulnerabilities render traditional methods of identity verification increasingly ineffective in today’s digital world.
As the threat landscape evolves, the need for advanced verification methods that can counteract these sophisticated threats becomes crucial. This is where liveness detection emerges as an indispensable tool in the arsenal of security measures. In line with cybersecurity best practices recommended by the Cybersecurity and Infrastructure Security Agency (CISA), Multifactor Authentication (MFA) is advocated to mitigate the risks associated with password-only security. Face scan or liveness detection plays a critical role in the “Something You Are” pillar of MFA.[2] The integration of liveness detection not only improving system security but also maintaining trust in every digital interaction, making it a foundational component for the future of secure online identity verification.
Successful Applications of Liveness Detection Across Industries
Liveness detection is making significant impacts across multiple sectors, demonstrating its versatility and essential role in secure identity verification:
Identity Authentication: Liveness detection technology excels in a range of applications within identity authentication, including identity issuing, account creation, and account recovery. A standout example of this is Microsoft’s Entra Verified ID, which exemplifies versatility and technological sophistication. Ankur, the Product Manager at Microsoft VerifiedID, explains the effectiveness of this system: “Face Check using Entra Verified ID relies on Azure AI Vision Face capability to add a critical layer of trust by matching a user’s real-time selfie and the photo from their identity document (such as a passport or driver’s license). By combining the open standards-based approach for Verified ID with world-class Vision capabilities, enterprises are able to reduce the risk of account takeover and impersonation without compromising on security, compliance, or privacy.”
This advanced approach has been applied effectively in various sectors. A notable application is seen with BEMO, where liveness detection has transformed administrative operations, which could reduce the average time for support ticket resolution. As one BEMO customer expressed, “BEMO, you have greatly improved the admin password reset flows like self-service for getting a Temporary Access Pass (TAP). The validation process using our new company VerifiedID and going through the ‘live face check’ was even cool.”
Moreover, the benefits of integrating liveness detection extend beyond digital identities to physical ID issuing, enabling a remote self-service process that brings convenience to customers and saves operational costs. This seamless integration of technology has fostered collaborations that enhance both security and accessibility. “ADOT MVD has been working closely with Microsoft on this functionality that helps customers securely access our services online, and we are excited for today’s release,” said Eric Jorgensen, Director of the Arizona Department of Transportation Motor Vehicle Division.
Healthcare: In healthcare, ensuring the identity of providers and patients is paramount for both privacy and safety. Liveness detection can help to secure telemedicine by confirming the presence and authenticity of individuals during consultations, thereby preventing fraud and protecting sensitive health data.
Education: The shift towards online learning and remote examinations has heightened the need for reliable identity verification. Liveness detection can ensure the integrity of remote exams and interviews by verifying student identities and deterring deceptive practices.
Finance: The finance sector may benefit from liveness detection, using it alongside facial recognition technologies to safeguard sensitive financial transactions and verify the identities of account holders, thus could help prevent unauthorized access and fraud.
New Features to Our Liveness Detection Technology
JavaScript Library for Web Applications: Azure AI Vision Face Client SDK language support has been expanded to include JavaScript, enabling developers to seamlessly integrate liveness detection into web applications and can enhance security across various online platforms.
Active Motion Challenge: Liveness detection has been enhanced with the addition of a dynamic layer requiring users to perform live actions in response to real-time prompts, ensuring that only genuine users can pass the verification, thus could improve both security and user experience. Watch it in action here!
Ready to Code? Check out our tutorial.
Looking Ahead
As we continue to innovate, our commitment to delivering secure, reliable, and user-friendly liveness detection solutions remains strong. We invite you to explore these new features and see how they can enhance your security protocols.
[1] Consumer Sentinel Network Data Book 2023 | Federal Trade Commission (ftc.gov)
[2] More than a Password | CISA
Microsoft Tech Community – Latest Blogs –Read More
DC-DC multiphase buck converter
Hi everyone,
may you help in finding the schematic of a 4-phase DC-DC buck converter?
Thank you so much.
Regards,
FrancescoHi everyone,
may you help in finding the schematic of a 4-phase DC-DC buck converter?
Thank you so much.
Regards,
Francesco Hi everyone,
may you help in finding the schematic of a 4-phase DC-DC buck converter?
Thank you so much.
Regards,
Francesco multiphase buck converter MATLAB Answers — New Questions
Rte_Type.h in model reference
I have a autosar classic component that has a model reference is using datatypes defined in the component. Code generation is successfull but, I can not get the metrics report.
Error messages as follows
In component code generation report, section static code metrics: (3 Lines error)
component.h line 65 identifier "XYZ" is undefined, XYZ is a enum class
component.c line 32 identifier "ABC" is undefined, ABC is a enum value
model reference.h Line 34 expected a declaration
In model reference code generation report, section static code metrics: (1 Line error)
model reference.h Line 26 cannot open source file "Rte_Type.h"I have a autosar classic component that has a model reference is using datatypes defined in the component. Code generation is successfull but, I can not get the metrics report.
Error messages as follows
In component code generation report, section static code metrics: (3 Lines error)
component.h line 65 identifier "XYZ" is undefined, XYZ is a enum class
component.c line 32 identifier "ABC" is undefined, ABC is a enum value
model reference.h Line 34 expected a declaration
In model reference code generation report, section static code metrics: (1 Line error)
model reference.h Line 26 cannot open source file "Rte_Type.h" I have a autosar classic component that has a model reference is using datatypes defined in the component. Code generation is successfull but, I can not get the metrics report.
Error messages as follows
In component code generation report, section static code metrics: (3 Lines error)
component.h line 65 identifier "XYZ" is undefined, XYZ is a enum class
component.c line 32 identifier "ABC" is undefined, ABC is a enum value
model reference.h Line 34 expected a declaration
In model reference code generation report, section static code metrics: (1 Line error)
model reference.h Line 26 cannot open source file "Rte_Type.h" autosar simulink MATLAB Answers — New Questions
Optimize loop to reduce run time
My code works well but it takes a lot of time to run since the vectors are larger in size. I know it can be optimized by using vector instead of for loop but I am unable to do that properly. Please help
prob_det_glrt_signoise_fix_pfa_2d = zeros(num_trials,length(noise_sigma));
prob_det_glrt_signoise_fix_pfaa_2d = zeros(1,length(noise_sigma));
inv_sqrt = 1/sqrt(2);
for jj = 1:length(noise_sigma)
for ii = 1:num_trials
complex_awgn = noise_sigma(jj)*(randn(numrangebins,numdoppbins)+1i*randn(numrangebins,numdoppbins))*inv_sqrt;
s_matrix_2D = u_matrix_2D + complex_awgn; % received signal with noise
pow_val_2D = (abs (s_matrix_2D(bin_rng_2d,bin_dopp_2d)) )^2;
prob_det_glrt_signoise_fix_pfa_2d(ii,jj) = pow_val_2D > threshold(jj); % Hypothesis H1
end
prob_det_glrt_signoise_fix_pfaa_2d(jj) = mean(prob_det_glrt_signoise_fix_pfa_2d(:,jj));
endMy code works well but it takes a lot of time to run since the vectors are larger in size. I know it can be optimized by using vector instead of for loop but I am unable to do that properly. Please help
prob_det_glrt_signoise_fix_pfa_2d = zeros(num_trials,length(noise_sigma));
prob_det_glrt_signoise_fix_pfaa_2d = zeros(1,length(noise_sigma));
inv_sqrt = 1/sqrt(2);
for jj = 1:length(noise_sigma)
for ii = 1:num_trials
complex_awgn = noise_sigma(jj)*(randn(numrangebins,numdoppbins)+1i*randn(numrangebins,numdoppbins))*inv_sqrt;
s_matrix_2D = u_matrix_2D + complex_awgn; % received signal with noise
pow_val_2D = (abs (s_matrix_2D(bin_rng_2d,bin_dopp_2d)) )^2;
prob_det_glrt_signoise_fix_pfa_2d(ii,jj) = pow_val_2D > threshold(jj); % Hypothesis H1
end
prob_det_glrt_signoise_fix_pfaa_2d(jj) = mean(prob_det_glrt_signoise_fix_pfa_2d(:,jj));
end My code works well but it takes a lot of time to run since the vectors are larger in size. I know it can be optimized by using vector instead of for loop but I am unable to do that properly. Please help
prob_det_glrt_signoise_fix_pfa_2d = zeros(num_trials,length(noise_sigma));
prob_det_glrt_signoise_fix_pfaa_2d = zeros(1,length(noise_sigma));
inv_sqrt = 1/sqrt(2);
for jj = 1:length(noise_sigma)
for ii = 1:num_trials
complex_awgn = noise_sigma(jj)*(randn(numrangebins,numdoppbins)+1i*randn(numrangebins,numdoppbins))*inv_sqrt;
s_matrix_2D = u_matrix_2D + complex_awgn; % received signal with noise
pow_val_2D = (abs (s_matrix_2D(bin_rng_2d,bin_dopp_2d)) )^2;
prob_det_glrt_signoise_fix_pfa_2d(ii,jj) = pow_val_2D > threshold(jj); % Hypothesis H1
end
prob_det_glrt_signoise_fix_pfaa_2d(jj) = mean(prob_det_glrt_signoise_fix_pfa_2d(:,jj));
end for loop, optimization MATLAB Answers — New Questions
unique macro
Is it possible to write a macro that causes a cell value to flash or blink if the cell value fails to meet a maximum or minimum value?
Is it possible to write a macro that causes a cell value to flash or blink if the cell value fails to meet a maximum or minimum value? Read More
Excel and KPIs
Hello everyone,
Does anyone have any types, training, cases related to KPIs in Excel ?
Thank you so much.
Hello everyone,Does anyone have any types, training, cases related to KPIs in Excel ? Thank you so much. Read More
Latest Threat Intelligence (May 2024)
Microsoft Defender for IoT has released the May 2024 Threat Intelligence package. The package is available for download from the Microsoft Defender for IoT portal (click Updates, then Download file).
Threat Intelligence updates reflect the combined impact of proprietary research and threat intelligence carried out by Microsoft security teams. Each package contains the latest CVEs (Common Vulnerabilities and Exposures), IOCs (Indicators of Compromise), and other indicators applicable to IoT/ICS/OT networks (published during the past month) researched and implemented by Microsoft Threat Intelligence Research – CPS.
The CVE scores are aligned with the National Vulnerability Database (NVD). Starting with the August 2023 threat intelligence updates, CVSSv3 scores are shown if they are relevant; otherwise the CVSSv2 scores are shown.
Guidance
Customers are recommended to update their systems with the latest TI package in order to detect potential exposure risks and vulnerabilities in their networks and on their devices. Threat Intelligence packages are updated every month with the most up-to-date security information available, ensuring that Microsoft Defender for IoT can identify malicious actors and behaviors on devices.
Update your system with the latest TI package
The package is available for download from the Microsoft Defender for IoT portal (click Updates, then Download file), for more information, please review Update threat intelligence data | Microsoft Docs.
MD5 Hash: 5eec8bb9ccc842a2447ad1ee60232208
For cloud connected sensors, Microsoft Defender for IoT can automatically update new threat intelligence packages following their release, click here for more information. Read More
Adjusting the spacing between the bars of different groups within a category using boxchart.
I am using boxchart to plot data as in the example: openExample(‘graphics/UseCombinationOfGroupingVariablesExample’)
How do I reduce the spacing between the groups (blue and red) so that they touch each other for every category? This is required for me as I have six groups. The spacing between the goups makes it difficult to differentiate between boxes of different categories. I want the boxes of each category to be clubbed together. Any suggestions would be highly appreciated.I am using boxchart to plot data as in the example: openExample(‘graphics/UseCombinationOfGroupingVariablesExample’)
How do I reduce the spacing between the groups (blue and red) so that they touch each other for every category? This is required for me as I have six groups. The spacing between the goups makes it difficult to differentiate between boxes of different categories. I want the boxes of each category to be clubbed together. Any suggestions would be highly appreciated. I am using boxchart to plot data as in the example: openExample(‘graphics/UseCombinationOfGroupingVariablesExample’)
How do I reduce the spacing between the groups (blue and red) so that they touch each other for every category? This is required for me as I have six groups. The spacing between the goups makes it difficult to differentiate between boxes of different categories. I want the boxes of each category to be clubbed together. Any suggestions would be highly appreciated. matlab, boxchart, plot, box plot MATLAB Answers — New Questions
Stateflow parameter defined in dspace data dictionary
Is it possible to link a stateflow parameter to a variable defined in the dspace data dictionary? If, so how do I go about it?
Thanks, AlanIs it possible to link a stateflow parameter to a variable defined in the dspace data dictionary? If, so how do I go about it?
Thanks, Alan Is it possible to link a stateflow parameter to a variable defined in the dspace data dictionary? If, so how do I go about it?
Thanks, Alan state flow, data dictionary, parameter MATLAB Answers — New Questions
Access 2016 Error after 22H2 update
Hello,
Has anyone else been experiencing the issue where Access prompts that it cant use “file path”.accdb; file already in use? This is preventing multiuser experience of shared (split) database stored on network file share. The issue started occurring after the update to 22H2 (for me, mid-April).
A similar instance occurred at the end of 2021 that was documented here: Error in Access when opening a database on a network file share – Microsoft Support
I have been looking for any updates by MS for this and have not been able to find anything that hints at a possible solution in the works. Thank you for any tips or info that can be provided.
-Matt
Hello,Has anyone else been experiencing the issue where Access prompts that it cant use “file path”.accdb; file already in use? This is preventing multiuser experience of shared (split) database stored on network file share. The issue started occurring after the update to 22H2 (for me, mid-April).A similar instance occurred at the end of 2021 that was documented here: Error in Access when opening a database on a network file share – Microsoft SupportI have been looking for any updates by MS for this and have not been able to find anything that hints at a possible solution in the works. Thank you for any tips or info that can be provided. -Matt Read More
how to get value of a Variable from dSPACE Data Dictionary using MATLAB Command ?
I have one DD opened and I would like to check each variable’s Value if it is defined or not using only the MATLAB commands. So, Does anyone have any idea about this ?I have one DD opened and I would like to check each variable’s Value if it is defined or not using only the MATLAB commands. So, Does anyone have any idea about this ? I have one DD opened and I would like to check each variable’s Value if it is defined or not using only the MATLAB commands. So, Does anyone have any idea about this ? dd, dspacedd, dsdd, dsddman, matlab, simulink, targetlink MATLAB Answers — New Questions
Show/Hide Certain Rows Based on Picklist Selection
Hi all! I’m looking for help creating a code to show/hide specific rows when certain options are selected. I looked at some previous responses but couldn’t figure out how to adapt it for my needs.
In my spreadsheet, there’s a multiple choice drop down picklist in cell B12 with picklist options titled Claim 1-8. I’m looking to show/hide rows 16-23, which correspond to the claim 1-8 numbering in the B12 drop down. For example- if claims 1 and 6 are selected in cell B12, I want to show Row 16 and 21, and hide all others.
Would love any help or advice!
Hi all! I’m looking for help creating a code to show/hide specific rows when certain options are selected. I looked at some previous responses but couldn’t figure out how to adapt it for my needs. In my spreadsheet, there’s a multiple choice drop down picklist in cell B12 with picklist options titled Claim 1-8. I’m looking to show/hide rows 16-23, which correspond to the claim 1-8 numbering in the B12 drop down. For example- if claims 1 and 6 are selected in cell B12, I want to show Row 16 and 21, and hide all others. Would love any help or advice! Read More
Contact Details from E-Mails Signature to Outlook Contacts
Hello,
I am new here, so “hi”;)
I have a lot of new contacts that I am corresponding with outside of my organization. Currently, I manually copy and paste each piece of information from the person’s signature (email, phone numbers, website, address, etc.) into the contact form. This takes forever.
Is there a faster way without using an add-on?
I vaguely remember that in Outlook 2016 you could drag and drop the information, but that doesn’t seem to work anymore in 365 (iOs).
Can anyone shed some light on this, please?
Thank you so much in advance, Julia
Hello, I am new here, so “hi”;) I have a lot of new contacts that I am corresponding with outside of my organization. Currently, I manually copy and paste each piece of information from the person’s signature (email, phone numbers, website, address, etc.) into the contact form. This takes forever.Is there a faster way without using an add-on?I vaguely remember that in Outlook 2016 you could drag and drop the information, but that doesn’t seem to work anymore in 365 (iOs). Can anyone shed some light on this, please? Thank you so much in advance, Julia Read More
Graphene conductance and dielectric permittivity
Hello,
I’m trying to reproduce the conductance and the dielectric permittivity of graphene, as described in this link: https://support.lumerical.com/hc/en-us/articles/360042244874-Graphene-surface-conductivity-material-model .
To do this, I wrote the following code in MATLAB:
wls_interval=0.3:0.01:5; % wavelength in microns
c=3*10^8; % speed of light
f=(c./(wls_interval*10^-6)); %Hz
w=2*pi.*f; %rad/s
f=f.*10^-12; % frequency in THz
E=1240./(wls_interval*10^3); % energy expressed as 1240/(wls in nanometers)
htag=6.582*10^-16; % reduced Planck constant in eV*s
hconst=htag*2*pi; % Planck constant in eV*s
%w=2*pi*c./(wls_interval.*10^-6);
epsr=1; % relative permittivity of vacuum
e=-1.602*10^-19; % Electron’s charge in C
kb=8.617*10^-5; % Boltzmann constant in eV/K
T=300; % Temperature in °K
mu_c=0.2; % Chemical potential in eV
eps0=8.854*10^-12; % Vacuum dielectric permittivity (F/m)
n_sheets=1; %number of sheets by which the graphene layer is made of
t_sheet=0.336*10^-9; % thickness of a graphene sheet in nm
tg=n_sheets*t_sheet; % total thickness of the graphene layer
Gamma=0.41*10^-3; % Scattering rate in eV
parfor i=1:length(E)
%—– Interband contribution numerical —–
FD=@(x) 1./(exp((x-mu_c)./(kb*T))+1); %Fermi-Dirac distribution
den=@(x) (E(i)+1i*2*Gamma).^2-4*(x./htag).^2;
fun=@(x) (FD(-x)-FD(x))./den(x);
eta(i)=1i*e^2*(E(i)+1i*2*Gamma)/(pi*htag^2);
int_term(i)=integral(fun,0,E(i));
sigma_inter(i)=eta(i)*int_term(i);
%—————————————————————————-
%—– Intraband contribution analytical —–
alpha(i)=1i*e^2*kb*T/(pi*htag^2*(E(i)+2*1i*Gamma));
beta=mu_c/(kb*T);
sigma_intra(i)=alpha(i)*(beta+2*log(exp(-beta)+1));
sigma_tot(i)=sigma_intra(i)+sigma_inter(i);
eps_graph_par(i)=eps0*(epsr(i)+1i*sigma_tot(i)/(eps0*E(i)*tg));
refind(i)=sqrt(eps_graph_par(i));
end
The results I’m supposed to get are plotted in panel "a" and "b", while the ones I actually get are in panel "d-g". Even though you may notice that the real interband conductivity may resemble to some extent the real total conductivty I’m supposed to get, this is not the case for the imaginary part, that is totally different. Moreover, the order of magnitude is completely out of scale (see panel "c,d"), therefore, the contribution of the interband part is minimal also in the visible range, while it should be significant.
Can you please help me in finding the error?
Thank you so much!Hello,
I’m trying to reproduce the conductance and the dielectric permittivity of graphene, as described in this link: https://support.lumerical.com/hc/en-us/articles/360042244874-Graphene-surface-conductivity-material-model .
To do this, I wrote the following code in MATLAB:
wls_interval=0.3:0.01:5; % wavelength in microns
c=3*10^8; % speed of light
f=(c./(wls_interval*10^-6)); %Hz
w=2*pi.*f; %rad/s
f=f.*10^-12; % frequency in THz
E=1240./(wls_interval*10^3); % energy expressed as 1240/(wls in nanometers)
htag=6.582*10^-16; % reduced Planck constant in eV*s
hconst=htag*2*pi; % Planck constant in eV*s
%w=2*pi*c./(wls_interval.*10^-6);
epsr=1; % relative permittivity of vacuum
e=-1.602*10^-19; % Electron’s charge in C
kb=8.617*10^-5; % Boltzmann constant in eV/K
T=300; % Temperature in °K
mu_c=0.2; % Chemical potential in eV
eps0=8.854*10^-12; % Vacuum dielectric permittivity (F/m)
n_sheets=1; %number of sheets by which the graphene layer is made of
t_sheet=0.336*10^-9; % thickness of a graphene sheet in nm
tg=n_sheets*t_sheet; % total thickness of the graphene layer
Gamma=0.41*10^-3; % Scattering rate in eV
parfor i=1:length(E)
%—– Interband contribution numerical —–
FD=@(x) 1./(exp((x-mu_c)./(kb*T))+1); %Fermi-Dirac distribution
den=@(x) (E(i)+1i*2*Gamma).^2-4*(x./htag).^2;
fun=@(x) (FD(-x)-FD(x))./den(x);
eta(i)=1i*e^2*(E(i)+1i*2*Gamma)/(pi*htag^2);
int_term(i)=integral(fun,0,E(i));
sigma_inter(i)=eta(i)*int_term(i);
%—————————————————————————-
%—– Intraband contribution analytical —–
alpha(i)=1i*e^2*kb*T/(pi*htag^2*(E(i)+2*1i*Gamma));
beta=mu_c/(kb*T);
sigma_intra(i)=alpha(i)*(beta+2*log(exp(-beta)+1));
sigma_tot(i)=sigma_intra(i)+sigma_inter(i);
eps_graph_par(i)=eps0*(epsr(i)+1i*sigma_tot(i)/(eps0*E(i)*tg));
refind(i)=sqrt(eps_graph_par(i));
end
The results I’m supposed to get are plotted in panel "a" and "b", while the ones I actually get are in panel "d-g". Even though you may notice that the real interband conductivity may resemble to some extent the real total conductivty I’m supposed to get, this is not the case for the imaginary part, that is totally different. Moreover, the order of magnitude is completely out of scale (see panel "c,d"), therefore, the contribution of the interband part is minimal also in the visible range, while it should be significant.
Can you please help me in finding the error?
Thank you so much! Hello,
I’m trying to reproduce the conductance and the dielectric permittivity of graphene, as described in this link: https://support.lumerical.com/hc/en-us/articles/360042244874-Graphene-surface-conductivity-material-model .
To do this, I wrote the following code in MATLAB:
wls_interval=0.3:0.01:5; % wavelength in microns
c=3*10^8; % speed of light
f=(c./(wls_interval*10^-6)); %Hz
w=2*pi.*f; %rad/s
f=f.*10^-12; % frequency in THz
E=1240./(wls_interval*10^3); % energy expressed as 1240/(wls in nanometers)
htag=6.582*10^-16; % reduced Planck constant in eV*s
hconst=htag*2*pi; % Planck constant in eV*s
%w=2*pi*c./(wls_interval.*10^-6);
epsr=1; % relative permittivity of vacuum
e=-1.602*10^-19; % Electron’s charge in C
kb=8.617*10^-5; % Boltzmann constant in eV/K
T=300; % Temperature in °K
mu_c=0.2; % Chemical potential in eV
eps0=8.854*10^-12; % Vacuum dielectric permittivity (F/m)
n_sheets=1; %number of sheets by which the graphene layer is made of
t_sheet=0.336*10^-9; % thickness of a graphene sheet in nm
tg=n_sheets*t_sheet; % total thickness of the graphene layer
Gamma=0.41*10^-3; % Scattering rate in eV
parfor i=1:length(E)
%—– Interband contribution numerical —–
FD=@(x) 1./(exp((x-mu_c)./(kb*T))+1); %Fermi-Dirac distribution
den=@(x) (E(i)+1i*2*Gamma).^2-4*(x./htag).^2;
fun=@(x) (FD(-x)-FD(x))./den(x);
eta(i)=1i*e^2*(E(i)+1i*2*Gamma)/(pi*htag^2);
int_term(i)=integral(fun,0,E(i));
sigma_inter(i)=eta(i)*int_term(i);
%—————————————————————————-
%—– Intraband contribution analytical —–
alpha(i)=1i*e^2*kb*T/(pi*htag^2*(E(i)+2*1i*Gamma));
beta=mu_c/(kb*T);
sigma_intra(i)=alpha(i)*(beta+2*log(exp(-beta)+1));
sigma_tot(i)=sigma_intra(i)+sigma_inter(i);
eps_graph_par(i)=eps0*(epsr(i)+1i*sigma_tot(i)/(eps0*E(i)*tg));
refind(i)=sqrt(eps_graph_par(i));
end
The results I’m supposed to get are plotted in panel "a" and "b", while the ones I actually get are in panel "d-g". Even though you may notice that the real interband conductivity may resemble to some extent the real total conductivty I’m supposed to get, this is not the case for the imaginary part, that is totally different. Moreover, the order of magnitude is completely out of scale (see panel "c,d"), therefore, the contribution of the interband part is minimal also in the visible range, while it should be significant.
Can you please help me in finding the error?
Thank you so much! graphene, conductivity, kubo formula MATLAB Answers — New Questions
ADF – Data Flow Error for Excel source
Hi Community,
I am getting an error when trying to run my adf pipeline and data flow. My data flow reads from an excel source, where the sheet has 1,048,576 records (max excel sheet can have).
For some reason, I get an error, and after trial and error method, noticed that the data flow runs perfectly when reading data sample around 998,997th record, but throws the below error, if I sample more or disable the data sampling.
Job failed due to reason: Failed to read data from excel file: abfss://<blob container>/<filename>.xlsx with error message: For input string: “1e6” – java.lang.NumberFormatException: For input string: “1e6”
I checked the excel file manually, but the records seem to be perfectly okay. Is this a limitation, or any insights might be appreciated.
Hi Community, I am getting an error when trying to run my adf pipeline and data flow. My data flow reads from an excel source, where the sheet has 1,048,576 records (max excel sheet can have). For some reason, I get an error, and after trial and error method, noticed that the data flow runs perfectly when reading data sample around 998,997th record, but throws the below error, if I sample more or disable the data sampling.Job failed due to reason: Failed to read data from excel file: abfss://<blob container>/<filename>.xlsx with error message: For input string: “1e6” – java.lang.NumberFormatException: For input string: “1e6” I checked the excel file manually, but the records seem to be perfectly okay. Is this a limitation, or any insights might be appreciated. Read More
Error: unable to resolve the name
I have some code which generates a variable name iteratively in a loop, It was working fine but now I get the error: unable to resolve the name ‘pre1min.windowchunkIdx’.
preORpost = {‘pre’ ‘post’}
all_type_ALL = []; %output for all voc types for all ppts
%load raw data
for pOp = 1:length(preORpost)
for min = 1:2
%window = [preORpost{pOp} num2str(min) ‘min’];
varName = [preORpost{pOp} num2str(min) ‘min’]; % Generate variable name
fieldName = ‘windowchunkIdx’; % Generate field name
windowchunk = eval([varName ‘.’ fieldName]);I have some code which generates a variable name iteratively in a loop, It was working fine but now I get the error: unable to resolve the name ‘pre1min.windowchunkIdx’.
preORpost = {‘pre’ ‘post’}
all_type_ALL = []; %output for all voc types for all ppts
%load raw data
for pOp = 1:length(preORpost)
for min = 1:2
%window = [preORpost{pOp} num2str(min) ‘min’];
varName = [preORpost{pOp} num2str(min) ‘min’]; % Generate variable name
fieldName = ‘windowchunkIdx’; % Generate field name
windowchunk = eval([varName ‘.’ fieldName]); I have some code which generates a variable name iteratively in a loop, It was working fine but now I get the error: unable to resolve the name ‘pre1min.windowchunkIdx’.
preORpost = {‘pre’ ‘post’}
all_type_ALL = []; %output for all voc types for all ppts
%load raw data
for pOp = 1:length(preORpost)
for min = 1:2
%window = [preORpost{pOp} num2str(min) ‘min’];
varName = [preORpost{pOp} num2str(min) ‘min’]; % Generate variable name
fieldName = ‘windowchunkIdx’; % Generate field name
windowchunk = eval([varName ‘.’ fieldName]); variable, name, loop MATLAB Answers — New Questions