Month: August 2024
Correspondence between student name and Learner ID in Matlab Grader and Moodle
We are using Matlab Grader in a Moodle platform. Though we are able to detect and give feedback for most of the common errors made by our students, teachers often need to revise the code of individual students. The correspondence between Matlab Grader’s Learner ID and student’s names in Moodle must be stablished somewhere. Can we access this information? Asking our students to submit their Solution ID, a solution that I’ve seen in several of the questions posted to this community, is just not an option. The procedure ought to be automatized somehow, probably by our Moodle platform managers, but is this possible?
Best regardsWe are using Matlab Grader in a Moodle platform. Though we are able to detect and give feedback for most of the common errors made by our students, teachers often need to revise the code of individual students. The correspondence between Matlab Grader’s Learner ID and student’s names in Moodle must be stablished somewhere. Can we access this information? Asking our students to submit their Solution ID, a solution that I’ve seen in several of the questions posted to this community, is just not an option. The procedure ought to be automatized somehow, probably by our Moodle platform managers, but is this possible?
Best regards We are using Matlab Grader in a Moodle platform. Though we are able to detect and give feedback for most of the common errors made by our students, teachers often need to revise the code of individual students. The correspondence between Matlab Grader’s Learner ID and student’s names in Moodle must be stablished somewhere. Can we access this information? Asking our students to submit their Solution ID, a solution that I’ve seen in several of the questions posted to this community, is just not an option. The procedure ought to be automatized somehow, probably by our Moodle platform managers, but is this possible?
Best regards matlab grader, learner id, moodle MATLAB Answers — New Questions
how to simulate parallel inverters with different power rating ?
Hello !
I am trying to simulate a micgrogrid in which 3 pv inverters connected in parallel. Aim is to detect the island operation and to study the performance of parallel inverters. I want to make transition smooth from grid forming to grid feeding or vice versa, making a suitable control strategy and then want to improve the power quality of such microgrid. I need help in accurate simulation. Lookig for kindness in this regard if someone has worked on this problem. Pls contact me on ghh559953@gmail.comHello !
I am trying to simulate a micgrogrid in which 3 pv inverters connected in parallel. Aim is to detect the island operation and to study the performance of parallel inverters. I want to make transition smooth from grid forming to grid feeding or vice versa, making a suitable control strategy and then want to improve the power quality of such microgrid. I need help in accurate simulation. Lookig for kindness in this regard if someone has worked on this problem. Pls contact me on ghh559953@gmail.com Hello !
I am trying to simulate a micgrogrid in which 3 pv inverters connected in parallel. Aim is to detect the island operation and to study the performance of parallel inverters. I want to make transition smooth from grid forming to grid feeding or vice versa, making a suitable control strategy and then want to improve the power quality of such microgrid. I need help in accurate simulation. Lookig for kindness in this regard if someone has worked on this problem. Pls contact me on ghh559953@gmail.com all MATLAB Answers — New Questions
what is the difference between monostatic RCS and bistatic RCS?
I am currently working in MATLAB POFACETS, I know what is monostatic RADAR and what is Bistatic RADAR. But why is the radar cross section differs based on type of radar we use? Does RCS should be constant even if we use bistatic or monostatic configuration? after all backsctatter is a part of bistatic RCS calculations right?I am currently working in MATLAB POFACETS, I know what is monostatic RADAR and what is Bistatic RADAR. But why is the radar cross section differs based on type of radar we use? Does RCS should be constant even if we use bistatic or monostatic configuration? after all backsctatter is a part of bistatic RCS calculations right? I am currently working in MATLAB POFACETS, I know what is monostatic RADAR and what is Bistatic RADAR. But why is the radar cross section differs based on type of radar we use? Does RCS should be constant even if we use bistatic or monostatic configuration? after all backsctatter is a part of bistatic RCS calculations right? phased array MATLAB Answers — New Questions
Does anyone recommend a useful YouTube-to-mp3-Converter on Windows or Mac?
Hi everyone, my wife is pregnant, and I want to download some prenatal mp3 from youtube to play for the baby in my wife’s belly. I searched youtube-to-mp3 on Google and got a lot of results, but most of them are online services, with a lot of ads, and they always get errors halfway through downloading. These websites are simply clickbait, and I really can’t stand it. I beg you to recommend a useful, ad-free desktop app converter for Windows or Mac. Thank you.
Hi everyone, my wife is pregnant, and I want to download some prenatal mp3 from youtube to play for the baby in my wife’s belly. I searched youtube-to-mp3 on Google and got a lot of results, but most of them are online services, with a lot of ads, and they always get errors halfway through downloading. These websites are simply clickbait, and I really can’t stand it. I beg you to recommend a useful, ad-free desktop app converter for Windows or Mac. Thank you. Read More
Conditional Formatting a cell to change color when a certain date is reached
I’m wanting to set up conditional formatting so an entire cell row changes color when a certain date is reached. I’ve been able to change a single cell but I’m having trouble doing the row, and it’s been years since I’ve really had to use EX
The cells range A-N, and it starts on row 3, so A3 is the 98 field. I would like the entire row to turn red if the date in K3 (this is the 6/4/2025 field) within 30 days, of 6/4/2025, and to turn yellow if this same field is within 60 days.
Thanks for any help.
98Hipot (0-120 kVAC)High Voltage Inc.112XTDYes116/4/20246/4/2025Test Lab
I’m wanting to set up conditional formatting so an entire cell row changes color when a certain date is reached. I’ve been able to change a single cell but I’m having trouble doing the row, and it’s been years since I’ve really had to use EXThe cells range A-N, and it starts on row 3, so A3 is the 98 field. I would like the entire row to turn red if the date in K3 (this is the 6/4/2025 field) within 30 days, of 6/4/2025, and to turn yellow if this same field is within 60 days.Thanks for any help. 98Hipot (0-120 kVAC)High Voltage Inc.112XTDYes116/4/20246/4/2025Test Lab Read More
Using Azure Email Communication Service to Send Messages
If you’re looking for an email service capable of handling large volumes of email to external recipients, Microsoft will propose Email Communication Services (ECS). Built on top of Exchange Online, ECS shares some characteristics with the High Volume Email (HVE) solution. After testing both, HVE is probably a better solution if you have a Microsoft 365 tenant.
https://practical365.com/ecs-email-communication-services/
If you’re looking for an email service capable of handling large volumes of email to external recipients, Microsoft will propose Email Communication Services (ECS). Built on top of Exchange Online, ECS shares some characteristics with the High Volume Email (HVE) solution. After testing both, HVE is probably a better solution if you have a Microsoft 365 tenant.
https://practical365.com/ecs-email-communication-services/ Read More
Trouble with Bing Webmaster Tools & Insights
Hello Microsoft Community! I’m currently facing some challenges with Bing Webmaster Tools related to monitoring clicks and impressions on my website. Despite having everything set up correctly, the data seems incomplete or outdated, and I’m struggling to get accurate insights into my site’s performance. Has anyone else encountered similar issues with Bing Webmaster Tools? If so, how did you resolve them? Any best practices or troubleshooting steps you could recommend would be greatly appreciated.
On a related note, I’ve been working on a website that provides detailed information about Burger King’s menu, including nutritional data, allergen information, and options for specific dietary needs. If you’re interested in seeing how a comprehensive menu resource is structured or if you have any tips on improving site performance.
Hello Microsoft Community! I’m currently facing some challenges with Bing Webmaster Tools related to monitoring clicks and impressions on my website. Despite having everything set up correctly, the data seems incomplete or outdated, and I’m struggling to get accurate insights into my site’s performance. Has anyone else encountered similar issues with Bing Webmaster Tools? If so, how did you resolve them? Any best practices or troubleshooting steps you could recommend would be greatly appreciated.On a related note, I’ve been working on a website that provides detailed information about Burger King’s menu, including nutritional data, allergen information, and options for specific dietary needs. If you’re interested in seeing how a comprehensive menu resource is structured or if you have any tips on improving site performance. Read More
How do I paste a data set and have it repeat each piece 10 times?
Hello,
I’m working on importing data and for one of my imports, I have to repeat most of the information in a row except for 1 cell. Is there a way to automate this, so I’m not having to paste 10 times and change that 1 cell each time?
Example – I’m looking for an easier way to go from Table 1 to Table 2 without having to manually process it.
Table 1
a
1b2
Table 2
a13a14b23b24
Hello,I’m working on importing data and for one of my imports, I have to repeat most of the information in a row except for 1 cell. Is there a way to automate this, so I’m not having to paste 10 times and change that 1 cell each time?Example – I’m looking for an easier way to go from Table 1 to Table 2 without having to manually process it.Table 1a1b2Table 2a13a14b23b24 Read More
Edits to MS Bookings Appt
We’ve noticed just in the last few days when making an edit to an appointment in MS Bookings that the subject is changed to No Subject and the link for the Teams call no longer works for the colleague it’s scheduled with. Any changes that may impact the tool for making edits to scheduled appts?
We’ve noticed just in the last few days when making an edit to an appointment in MS Bookings that the subject is changed to No Subject and the link for the Teams call no longer works for the colleague it’s scheduled with. Any changes that may impact the tool for making edits to scheduled appts? Read More
Move an existing AVD session host to a different Host Pool
Hello All,
Hoping you can help. We want to do some testing with some of our AVD’s and need to move them to a different Host Pool. I have had a look and can’t see a ‘migrate’ or ‘copy’ option.
We would be really grateful if someone might be able to point us in the right direction.
Cheers
Hello All, Hoping you can help. We want to do some testing with some of our AVD’s and need to move them to a different Host Pool. I have had a look and can’t see a ‘migrate’ or ‘copy’ option.We would be really grateful if someone might be able to point us in the right direction. Cheers Read More
Issues updating shared calendars
Hi all,
Im the admin of an organization using several M365 licenses. Thhe majority of users using Outlook Web no matter the level of subscription.
Id like some of the users to see all the main Calenda updates of an specific account. To do this:
1- Logging in to the specific account and sharing the Calendar with all the organization. This option is enabled by default
2- Logging from any of the users account and add the shared calendar through the email address to “Other Calendars”
3- When do the latter, the user can see all the Events that had been created up to that moment but not the updates nor new events
I know the same can be done through Groups but need to be done through Calendars
Any idea on whats going on here?
Hi all,Im the admin of an organization using several M365 licenses. Thhe majority of users using Outlook Web no matter the level of subscription.Id like some of the users to see all the main Calenda updates of an specific account. To do this:1- Logging in to the specific account and sharing the Calendar with all the organization. This option is enabled by default2- Logging from any of the users account and add the shared calendar through the email address to “Other Calendars”3- When do the latter, the user can see all the Events that had been created up to that moment but not the updates nor new events I know the same can be done through Groups but need to be done through Calendars Any idea on whats going on here? Read More
Microsoft Entra /Azure Connect Reinstallation and Source Anchor Change
Hello everyone,
I would like to talk about the possibility of changing the SourceAnchor in Azure Connect.
Officially, this is not supported by Microsoft, but there is still a way to do this via a few detours.
the running AD Sync must be stopped first of all.
to make the changeover, all users must first be soft-deleted. The most practical way to do this is to synchronize an OU in which there are no users.
Now the Entra objects are stored under deleted It is important to note that before restoring the users who do not have an Exchange Online mailbox, Entra P1 or 2 must be removed so that a second mailbox is not created here.
Now all users must be restored.
After this has been done, the Immutable id of the users must be removed via PowerShell.
This is possible with the following command:
Get-MsolUser -all | Set-MsolUser -ImmutableID “$Null” (If this command is required for individual users, replace -all with -userpricipalname “example@email,de”)
If the Immutable Id has been removed for all users, the status in Entra must be set to Cloud Only. If this is the case, you can start with the next steps.
It is important to note that the actions carried out above can lead to short-term failures and should therefore ideally be carried out before the weekend!
In the next step, a clean uninstallation of Azure Connect must be carried out.
Here I would recommend the article ADsync uninstallation from MSXFAQ where it is well explained.
When uninstalling, only the steps that do not hinder a new installation should be carried out, but this is well explained in the article.
after successfully uninstalling the AD Sync, there may be delays, which is why I would recommend waiting 24 hours before reinstalling.
The waiting time can be skipped, but it still worked for me.
as soon as you have installed the AD Sync with the new desired attribute, you can start the sync.
The users should now be matched with the existing cloud objects via Softmatch.
If this does not work, it is possible to delete the Immutable ID again or to correct the errors via the AD Connect error display of the Entra ID.
Under the function other errors, several errors may be displayed, this was fixed by us by fixing all duplicate attribute errors.
I hope this has helped you a little.
I am always open to feedback!
Hello everyone, I would like to talk about the possibility of changing the SourceAnchor in Azure Connect. Officially, this is not supported by Microsoft, but there is still a way to do this via a few detours. the running AD Sync must be stopped first of all. to make the changeover, all users must first be soft-deleted. The most practical way to do this is to synchronize an OU in which there are no users. Now the Entra objects are stored under deleted It is important to note that before restoring the users who do not have an Exchange Online mailbox, Entra P1 or 2 must be removed so that a second mailbox is not created here. Now all users must be restored. After this has been done, the Immutable id of the users must be removed via PowerShell. This is possible with the following command: Get-MsolUser -all | Set-MsolUser -ImmutableID “$Null” (If this command is required for individual users, replace -all with -userpricipalname “example@email,de”) If the Immutable Id has been removed for all users, the status in Entra must be set to Cloud Only. If this is the case, you can start with the next steps. It is important to note that the actions carried out above can lead to short-term failures and should therefore ideally be carried out before the weekend! In the next step, a clean uninstallation of Azure Connect must be carried out. Here I would recommend the article ADsync uninstallation from MSXFAQ where it is well explained. When uninstalling, only the steps that do not hinder a new installation should be carried out, but this is well explained in the article. after successfully uninstalling the AD Sync, there may be delays, which is why I would recommend waiting 24 hours before reinstalling. The waiting time can be skipped, but it still worked for me. as soon as you have installed the AD Sync with the new desired attribute, you can start the sync. The users should now be matched with the existing cloud objects via Softmatch. If this does not work, it is possible to delete the Immutable ID again or to correct the errors via the AD Connect error display of the Entra ID. Under the function other errors, several errors may be displayed, this was fixed by us by fixing all duplicate attribute errors. I hope this has helped you a little. I am always open to feedback! Read More
Link req to verify statement in a test sequence
Hello,
Is it possible to link a requirement to a verify statement from a test sequence block?
Tnx much for support!
DianaHello,
Is it possible to link a requirement to a verify statement from a test sequence block?
Tnx much for support!
Diana Hello,
Is it possible to link a requirement to a verify statement from a test sequence block?
Tnx much for support!
Diana simulink test, simulink coverage MATLAB Answers — New Questions
How i can modified this App designer file in which RLC added like = [0.01, 10,15, 0.01] and time interval also like [ 10, 50; 50, 100; 100, 200; 200, 300] each single field.
How i can modified this App designer file in which RLC added like = [0.01, 10,15, 0.01] and time interval also like [ 10, 50; 50, 100; 100, 200; 200, 300] each in a single field. Kindly help me outHow i can modified this App designer file in which RLC added like = [0.01, 10,15, 0.01] and time interval also like [ 10, 50; 50, 100; 100, 200; 200, 300] each in a single field. Kindly help me out How i can modified this App designer file in which RLC added like = [0.01, 10,15, 0.01] and time interval also like [ 10, 50; 50, 100; 100, 200; 200, 300] each in a single field. Kindly help me out matlab gui, appdesigner MATLAB Answers — New Questions
Vertical blank space in tiledlayout compact
Dear all
I am plotting the following:
u1=figure(‘visible’,’off’,’units’,’pixels’,’position’,[0 0 1920 1080]);
t=tiledlayout(2,2,’Padding’,’compact’);
title(t,[‘Bilayer. Monte Carlo, $15$ million steps. $T=2$ K, $mathbf{H}=0$’;”;”],’FontSize’,18,’interpreter’,’latex’);
ax1=nexttile;
uimagesc(space_x,space_y,mx);
axis xy;
clim([-round(max([abs(max(max(mx))) abs(min(min(mx)))]),2) round(max([abs(max(max(mx))) abs(min(min(mx)))]),2)]);
colormap(ax1,bluewhitered(256));
box on;
clr1=colorbar(‘YTick’,[-round(max([abs(max(max(mx))) abs(min(min(mx)))]),2) -round(max([abs(max(max(mx))) abs(min(min(mx)))])/2,2) 0 round(max([abs(max(max(mx))) abs(min(min(mx)))])/2,2) round(max([abs(max(max(mx))) abs(min(min(mx)))]),2)]);
set(clr1,’TickLabelInterpreter’,’latex’);
xlabel(‘$a$-{it th} spatial direction, $a , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(‘$b$-{it th} spatial direction, $b , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(clr1,’$a$-{it th} magnetization component, $m_a$’,’Interpreter’,’Latex’,’FontSize’,16);
xlim([0 300]);
xticks([0:50:300]);
ylim([0 100]);
yticks([0:20:100]);
pbaspect([1 1/3 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,15);
ax2=nexttile;
uimagesc(space_x,space_y,my);
clim([-max([abs(max(max(my))) abs(min(min(my)))]) max([abs(max(max(my))) abs(min(min(my)))])]);
colormap(ax2,bluewhitered(256));
axis xy;
box on;
clr2=colorbar(‘YTick’,[-max([abs(max(max(my))) abs(min(min(my)))]) -max([abs(max(max(my))) abs(min(min(my)))])/2 0 max([abs(max(max(my))) abs(min(min(my)))])/2 max([abs(max(max(my))) abs(min(min(my)))])]);
set(clr2,’TickLabelInterpreter’,’latex’);
xlabel(‘$a$-{it th} spatial direction, $a , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(‘$b$-{it th} spatial direction, $b , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(clr2,’$b$-{it th} magnetization component, $m_b$’,’Interpreter’,’Latex’,’FontSize’,16);
xlim([0 300]);
xticks([0:50:300]);
ylim([0 100]);
yticks([0:20:100]);
pbaspect([1 1/3 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,15);
ax3=nexttile;
uimagesc(space_x,space_y,mz);
box on;
axis xy;
clim([-max([abs(max(max(mz))) abs(min(min(mz)))]) max([abs(max(max(mz))) abs(min(min(mz)))])]);
colormap(ax3,bluewhitered(256));
clr3=colorbar(‘YTick’,[-max([abs(max(max(mz))) abs(min(min(mz)))]) -max([abs(max(max(mz))) abs(min(min(mz)))])/2 0 max([abs(max(max(mz))) abs(min(min(mz)))])/2 max([abs(max(max(mz))) abs(min(min(mz)))])]);
set(clr3,’TickLabelInterpreter’,’latex’);
xlabel(‘$a$-{it th} spatial direction, $a , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(‘$b$-{it th} spatial direction, $b , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(clr3,’$z$-{it th} magnetization component, $m_z$’,’Interpreter’,’Latex’,’FontSize’,16);
xlim([0 300]);
xticks([0:50:300]);
ylim([0 100]);
yticks([0:20:100]);
pbaspect([1 1/3 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,15);
ax4=nexttile;
uimagesc(space_x,space_y,total_magnetization);
box on;
axis xy;
clim([0 max(max(total_magnetization))]);
colormap(ax4,cmap);
clr4=colorbar(‘YTick’,[0 max(max(total_magnetization))/5 2*max(max(total_magnetization))/5 3*max(max(total_magnetization))/5 4*max(max(total_magnetization))/5 max(max(total_magnetization))]);
set(clr4,’TickLabelInterpreter’,’latex’);
xlabel(‘$a$-{it th} spatial direction, $a , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(‘$b$-{it th} spatial direction, $b , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(clr4,’Magnetization vector modulus, $left| mathbf{m} right|$’,’Interpreter’,’Latex’,’FontSize’,16);
xlim([0 300]);
xticks([0:50:300]);
ylim([0 100]);
yticks([0:20:100]);
pbaspect([1 1/3 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,15);
set(gcf,’color’,’white’);
set(gca,’Units’,’normalized’);
set(u1,’Units’,’Inches’);
posu1=get(u1,’Position’);
set(u1,’PaperPositionMode’,’Auto’,’PaperUnits’,’Inches’,’PaperSize’,[posu1(3),posu1(4)]);
and the plot looks like:
As you can see there is some vertical unnecessary space between the two horizontal stacks of plots. I would like to reduce it to be able to put the general title "Bilayer…" far enough from the top plots.
Any ideas?Dear all
I am plotting the following:
u1=figure(‘visible’,’off’,’units’,’pixels’,’position’,[0 0 1920 1080]);
t=tiledlayout(2,2,’Padding’,’compact’);
title(t,[‘Bilayer. Monte Carlo, $15$ million steps. $T=2$ K, $mathbf{H}=0$’;”;”],’FontSize’,18,’interpreter’,’latex’);
ax1=nexttile;
uimagesc(space_x,space_y,mx);
axis xy;
clim([-round(max([abs(max(max(mx))) abs(min(min(mx)))]),2) round(max([abs(max(max(mx))) abs(min(min(mx)))]),2)]);
colormap(ax1,bluewhitered(256));
box on;
clr1=colorbar(‘YTick’,[-round(max([abs(max(max(mx))) abs(min(min(mx)))]),2) -round(max([abs(max(max(mx))) abs(min(min(mx)))])/2,2) 0 round(max([abs(max(max(mx))) abs(min(min(mx)))])/2,2) round(max([abs(max(max(mx))) abs(min(min(mx)))]),2)]);
set(clr1,’TickLabelInterpreter’,’latex’);
xlabel(‘$a$-{it th} spatial direction, $a , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(‘$b$-{it th} spatial direction, $b , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(clr1,’$a$-{it th} magnetization component, $m_a$’,’Interpreter’,’Latex’,’FontSize’,16);
xlim([0 300]);
xticks([0:50:300]);
ylim([0 100]);
yticks([0:20:100]);
pbaspect([1 1/3 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,15);
ax2=nexttile;
uimagesc(space_x,space_y,my);
clim([-max([abs(max(max(my))) abs(min(min(my)))]) max([abs(max(max(my))) abs(min(min(my)))])]);
colormap(ax2,bluewhitered(256));
axis xy;
box on;
clr2=colorbar(‘YTick’,[-max([abs(max(max(my))) abs(min(min(my)))]) -max([abs(max(max(my))) abs(min(min(my)))])/2 0 max([abs(max(max(my))) abs(min(min(my)))])/2 max([abs(max(max(my))) abs(min(min(my)))])]);
set(clr2,’TickLabelInterpreter’,’latex’);
xlabel(‘$a$-{it th} spatial direction, $a , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(‘$b$-{it th} spatial direction, $b , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(clr2,’$b$-{it th} magnetization component, $m_b$’,’Interpreter’,’Latex’,’FontSize’,16);
xlim([0 300]);
xticks([0:50:300]);
ylim([0 100]);
yticks([0:20:100]);
pbaspect([1 1/3 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,15);
ax3=nexttile;
uimagesc(space_x,space_y,mz);
box on;
axis xy;
clim([-max([abs(max(max(mz))) abs(min(min(mz)))]) max([abs(max(max(mz))) abs(min(min(mz)))])]);
colormap(ax3,bluewhitered(256));
clr3=colorbar(‘YTick’,[-max([abs(max(max(mz))) abs(min(min(mz)))]) -max([abs(max(max(mz))) abs(min(min(mz)))])/2 0 max([abs(max(max(mz))) abs(min(min(mz)))])/2 max([abs(max(max(mz))) abs(min(min(mz)))])]);
set(clr3,’TickLabelInterpreter’,’latex’);
xlabel(‘$a$-{it th} spatial direction, $a , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(‘$b$-{it th} spatial direction, $b , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(clr3,’$z$-{it th} magnetization component, $m_z$’,’Interpreter’,’Latex’,’FontSize’,16);
xlim([0 300]);
xticks([0:50:300]);
ylim([0 100]);
yticks([0:20:100]);
pbaspect([1 1/3 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,15);
ax4=nexttile;
uimagesc(space_x,space_y,total_magnetization);
box on;
axis xy;
clim([0 max(max(total_magnetization))]);
colormap(ax4,cmap);
clr4=colorbar(‘YTick’,[0 max(max(total_magnetization))/5 2*max(max(total_magnetization))/5 3*max(max(total_magnetization))/5 4*max(max(total_magnetization))/5 max(max(total_magnetization))]);
set(clr4,’TickLabelInterpreter’,’latex’);
xlabel(‘$a$-{it th} spatial direction, $a , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(‘$b$-{it th} spatial direction, $b , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(clr4,’Magnetization vector modulus, $left| mathbf{m} right|$’,’Interpreter’,’Latex’,’FontSize’,16);
xlim([0 300]);
xticks([0:50:300]);
ylim([0 100]);
yticks([0:20:100]);
pbaspect([1 1/3 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,15);
set(gcf,’color’,’white’);
set(gca,’Units’,’normalized’);
set(u1,’Units’,’Inches’);
posu1=get(u1,’Position’);
set(u1,’PaperPositionMode’,’Auto’,’PaperUnits’,’Inches’,’PaperSize’,[posu1(3),posu1(4)]);
and the plot looks like:
As you can see there is some vertical unnecessary space between the two horizontal stacks of plots. I would like to reduce it to be able to put the general title "Bilayer…" far enough from the top plots.
Any ideas? Dear all
I am plotting the following:
u1=figure(‘visible’,’off’,’units’,’pixels’,’position’,[0 0 1920 1080]);
t=tiledlayout(2,2,’Padding’,’compact’);
title(t,[‘Bilayer. Monte Carlo, $15$ million steps. $T=2$ K, $mathbf{H}=0$’;”;”],’FontSize’,18,’interpreter’,’latex’);
ax1=nexttile;
uimagesc(space_x,space_y,mx);
axis xy;
clim([-round(max([abs(max(max(mx))) abs(min(min(mx)))]),2) round(max([abs(max(max(mx))) abs(min(min(mx)))]),2)]);
colormap(ax1,bluewhitered(256));
box on;
clr1=colorbar(‘YTick’,[-round(max([abs(max(max(mx))) abs(min(min(mx)))]),2) -round(max([abs(max(max(mx))) abs(min(min(mx)))])/2,2) 0 round(max([abs(max(max(mx))) abs(min(min(mx)))])/2,2) round(max([abs(max(max(mx))) abs(min(min(mx)))]),2)]);
set(clr1,’TickLabelInterpreter’,’latex’);
xlabel(‘$a$-{it th} spatial direction, $a , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(‘$b$-{it th} spatial direction, $b , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(clr1,’$a$-{it th} magnetization component, $m_a$’,’Interpreter’,’Latex’,’FontSize’,16);
xlim([0 300]);
xticks([0:50:300]);
ylim([0 100]);
yticks([0:20:100]);
pbaspect([1 1/3 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,15);
ax2=nexttile;
uimagesc(space_x,space_y,my);
clim([-max([abs(max(max(my))) abs(min(min(my)))]) max([abs(max(max(my))) abs(min(min(my)))])]);
colormap(ax2,bluewhitered(256));
axis xy;
box on;
clr2=colorbar(‘YTick’,[-max([abs(max(max(my))) abs(min(min(my)))]) -max([abs(max(max(my))) abs(min(min(my)))])/2 0 max([abs(max(max(my))) abs(min(min(my)))])/2 max([abs(max(max(my))) abs(min(min(my)))])]);
set(clr2,’TickLabelInterpreter’,’latex’);
xlabel(‘$a$-{it th} spatial direction, $a , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(‘$b$-{it th} spatial direction, $b , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(clr2,’$b$-{it th} magnetization component, $m_b$’,’Interpreter’,’Latex’,’FontSize’,16);
xlim([0 300]);
xticks([0:50:300]);
ylim([0 100]);
yticks([0:20:100]);
pbaspect([1 1/3 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,15);
ax3=nexttile;
uimagesc(space_x,space_y,mz);
box on;
axis xy;
clim([-max([abs(max(max(mz))) abs(min(min(mz)))]) max([abs(max(max(mz))) abs(min(min(mz)))])]);
colormap(ax3,bluewhitered(256));
clr3=colorbar(‘YTick’,[-max([abs(max(max(mz))) abs(min(min(mz)))]) -max([abs(max(max(mz))) abs(min(min(mz)))])/2 0 max([abs(max(max(mz))) abs(min(min(mz)))])/2 max([abs(max(max(mz))) abs(min(min(mz)))])]);
set(clr3,’TickLabelInterpreter’,’latex’);
xlabel(‘$a$-{it th} spatial direction, $a , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(‘$b$-{it th} spatial direction, $b , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(clr3,’$z$-{it th} magnetization component, $m_z$’,’Interpreter’,’Latex’,’FontSize’,16);
xlim([0 300]);
xticks([0:50:300]);
ylim([0 100]);
yticks([0:20:100]);
pbaspect([1 1/3 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,15);
ax4=nexttile;
uimagesc(space_x,space_y,total_magnetization);
box on;
axis xy;
clim([0 max(max(total_magnetization))]);
colormap(ax4,cmap);
clr4=colorbar(‘YTick’,[0 max(max(total_magnetization))/5 2*max(max(total_magnetization))/5 3*max(max(total_magnetization))/5 4*max(max(total_magnetization))/5 max(max(total_magnetization))]);
set(clr4,’TickLabelInterpreter’,’latex’);
xlabel(‘$a$-{it th} spatial direction, $a , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(‘$b$-{it th} spatial direction, $b , , left( mathrm{nm} right)$’,’FontSize’,15,’interpreter’,’latex’);
ylabel(clr4,’Magnetization vector modulus, $left| mathbf{m} right|$’,’Interpreter’,’Latex’,’FontSize’,16);
xlim([0 300]);
xticks([0:50:300]);
ylim([0 100]);
yticks([0:20:100]);
pbaspect([1 1/3 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,15);
set(gcf,’color’,’white’);
set(gca,’Units’,’normalized’);
set(u1,’Units’,’Inches’);
posu1=get(u1,’Position’);
set(u1,’PaperPositionMode’,’Auto’,’PaperUnits’,’Inches’,’PaperSize’,[posu1(3),posu1(4)]);
and the plot looks like:
As you can see there is some vertical unnecessary space between the two horizontal stacks of plots. I would like to reduce it to be able to put the general title "Bilayer…" far enough from the top plots.
Any ideas? padding compact tiledlayout MATLAB Answers — New Questions
How can I install MATLAB without the default JRE?
I noticed that MATLAB does not ship with the newest version of the Java Runtime Environment.Can I install a newer JRE and configure MATLAB to use it?I noticed that MATLAB does not ship with the newest version of the Java Runtime Environment.Can I install a newer JRE and configure MATLAB to use it? I noticed that MATLAB does not ship with the newest version of the Java Runtime Environment.Can I install a newer JRE and configure MATLAB to use it? MATLAB Answers — New Questions
Dell PW7015L Powerbank Companion for XPS 15 9520 USB-C Laptop
I used to own a Dell XPS 15 9550, which required a barrel for charging, and I had two PW7015L barrel powerbanks that worked well with it. However, when I switched to a Dell XPS 15 9520, which uses USB-C for charging, I could no longer use the barrels powerbanks with it.
I discovered that by purchasing a Dell barrel to USB-C adapter, I could connect the old powerbanks to the XPS 9520. Unfortunately, the adapter was not available on Dell’s website at the time, so I opted to buy a Dell PW7018LC powerbank for the XPS 9520 instead, as it uses USB-C.
Now, I’m contemplating if I buy the mentioned Dell barrel to USB-C adapter, would I be able to charge the older PW7015L barrel powerbanks using the XPS 9520 laptop charger. This is crucial because I usually travel with only one powerbank, the USB-C PW7018LC, but if the adapter allows me to bring along my two old powerbanks and charge them with the XPS 9520 charger, it would be a significant advantage.
Essentially, my goal is to avoid carrying the old barrel charger for the XPS 9550 and instead rely on the USB-C charger that comes with the XPS 9520. I want to streamline my charging setup and maximize the use of both old and new powerbanks without carrying additional equipment if possible.
I used to own a Dell XPS 15 9550, which required a barrel for charging, and I had two PW7015L barrel powerbanks that worked well with it. However, when I switched to a Dell XPS 15 9520, which uses USB-C for charging, I could no longer use the barrels powerbanks with it. I discovered that by purchasing a Dell barrel to USB-C adapter, I could connect the old powerbanks to the XPS 9520. Unfortunately, the adapter was not available on Dell’s website at the time, so I opted to buy a Dell PW7018LC powerbank for the XPS 9520 instead, as it uses USB-C. Now, I’m contemplating if I buy the mentioned Dell barrel to USB-C adapter, would I be able to charge the older PW7015L barrel powerbanks using the XPS 9520 laptop charger. This is crucial because I usually travel with only one powerbank, the USB-C PW7018LC, but if the adapter allows me to bring along my two old powerbanks and charge them with the XPS 9520 charger, it would be a significant advantage. Essentially, my goal is to avoid carrying the old barrel charger for the XPS 9550 and instead rely on the USB-C charger that comes with the XPS 9520. I want to streamline my charging setup and maximize the use of both old and new powerbanks without carrying additional equipment if possible. Read More
How to Prevent a Laptop from Getting Warmer When Plugged In
Hello everyone, I’ve noticed a strange issue with my laptop – my hands feel a difference in temperature between the keyboard when it’s connected to AC compared to DC, even when the laptop is idle. Although there was a noticeable temperature variance (confirmed by HWinfo), I didn’t observe any performance differences.
Unable to find any information online, I recently decided to delve into the registry settings to investigate power configurations stored for AC (plugged in) and DC (on battery) modes. I’ve compiled a list of a few settings that I discovered and will share them here in the hopes that it may benefit others who are curious:
While the list is short, adjusting these settings has now made the temperature difference negligible without affecting the PC’s speed noticeably. By aligning the values for AC with the default DC settings, I’ve managed to resolve the warmer temperatures associated with AC power without compromising performance. It’s also possible to tweak the settings to optimize CPU response for DC usage. This behavior seems to be inherent in Windows, at least on my Dell machine.
It should be noted that these adjustments primarily impact idle or light computer usage and won’t enhance the cooling performance of the system, which becomes relevant under heavy usage scenarios.
Here are the specific registry settings I modified:
[…list of registry settings…]
Additionally, for those interested in fine-tuning CPU-related settings, the following adjustments can be made:
[…CPU-specific registry settings…]
By making these adjustments, you can potentially tailor your laptop’s power settings to better suit your usage preferences and possibly manage temperature differentials between AC and DC power sources.
Hello everyone, I’ve noticed a strange issue with my laptop – my hands feel a difference in temperature between the keyboard when it’s connected to AC compared to DC, even when the laptop is idle. Although there was a noticeable temperature variance (confirmed by HWinfo), I didn’t observe any performance differences. Unable to find any information online, I recently decided to delve into the registry settings to investigate power configurations stored for AC (plugged in) and DC (on battery) modes. I’ve compiled a list of a few settings that I discovered and will share them here in the hopes that it may benefit others who are curious: While the list is short, adjusting these settings has now made the temperature difference negligible without affecting the PC’s speed noticeably. By aligning the values for AC with the default DC settings, I’ve managed to resolve the warmer temperatures associated with AC power without compromising performance. It’s also possible to tweak the settings to optimize CPU response for DC usage. This behavior seems to be inherent in Windows, at least on my Dell machine. It should be noted that these adjustments primarily impact idle or light computer usage and won’t enhance the cooling performance of the system, which becomes relevant under heavy usage scenarios. Here are the specific registry settings I modified: […list of registry settings…]Additionally, for those interested in fine-tuning CPU-related settings, the following adjustments can be made: […CPU-specific registry settings…] By making these adjustments, you can potentially tailor your laptop’s power settings to better suit your usage preferences and possibly manage temperature differentials between AC and DC power sources. Read More
“Viewing Recent App Activity: How to Access Search History in Task Manager’s ‘Create New Task’ Funct
My task management tool keeps forgetting my command to launch the new explorer. Seriously, how frustrating is that?
My task management tool keeps forgetting my command to launch the new explorer. Seriously, how frustrating is that? Read More
“Remnants of Ghostly ‘Paste’ Feature Continue to Appear in Desktop Context Menu”
I continue to encounter a persistent issue with a ghost Paste command lingering in the context menus of my two primary Windows 11 machines. Despite multiple reboots and recent adjustments, this ghost command remains visible but inactive, appearing grayed out. It seems the only way to activate it is by copying something, such as a shortcut, which causes it to turn black and reveals its accompanying function, Paste Shortcut.
Thus far, I have been unable to find any information online that addresses this peculiar ghost command. Does anyone here have insights on how to banish this lingering ghost from my context menus?
I continue to encounter a persistent issue with a ghost Paste command lingering in the context menus of my two primary Windows 11 machines. Despite multiple reboots and recent adjustments, this ghost command remains visible but inactive, appearing grayed out. It seems the only way to activate it is by copying something, such as a shortcut, which causes it to turn black and reveals its accompanying function, Paste Shortcut. Thus far, I have been unable to find any information online that addresses this peculiar ghost command. Does anyone here have insights on how to banish this lingering ghost from my context menus? Read More