Month: August 2024
Latest release channel build ui is laggy
i am having 24H2 latest release preview channel and ui is laggy . not sure why but start menu , explorer , settings and almost every menu even browser is lagging .
even i got a good HW core i 7 + rtx 3060 .
any ideas ? do i have to revert back to stable channel and if it is so is there any way to do it without re installing all the apps again ?
i am having 24H2 latest release preview channel and ui is laggy . not sure why but start menu , explorer , settings and almost every menu even browser is lagging .even i got a good HW core i 7 + rtx 3060 .any ideas ? do i have to revert back to stable channel and if it is so is there any way to do it without re installing all the apps again ? Read More
!!URGENT!! Action required for downloading Marketplace Insights reports through API
As communicated earlier, we have made change in Resource parameter for token generation.
You need to use ‘https://api.partnercenter.microsoft.com‘ as the resource parameter instead of ‘https://graph.microsoft.com‘
The old resource parameter (‘https://graph.microsoft.com‘) was initially planned to be deprecated on 30 June 2024, but we have extended the timeline to 30 August 2024.
Please plan your migration to new resource parameter by 30 August 2024 for uninterrupted service.
Learn more – Make your first API call to access commercial marketplace analytics data – Partner Center | Microsoft Learn
As communicated earlier, we have made change in Resource parameter for token generation.
You need to use ‘https://api.partnercenter.microsoft.com’ as the resource parameter instead of ‘https://graph.microsoft.com’
The old resource parameter (‘https://graph.microsoft.com’) was initially planned to be deprecated on 30 June 2024, but we have extended the timeline to 30 August 2024.
Please plan your migration to new resource parameter by 30 August 2024 for uninterrupted service.
Learn more – Make your first API call to access commercial marketplace analytics data – Partner Center | Microsoft Learn Read More
Operations – Order lines licensing – Need support to evaluate
Dear ALL,
I am implementing Dynamics 365 Finance Operation (F&O) for Customer. Customer also use Retail and Commerce module.
I have 2 scenarios need to ask your support to see if need Operations – Order lines licensing or not.
Scenario 1:
– Step 1: External application submit Online Order to some Staging tables which are created at Dynamics 365F&O.
– Step 2: The Customer Service Support (CS) access Dynamics 365 F&O who have been already assigned some type of Dynamics 365 F&O license, they will review Online Order in Staging tables, they will approve Online Order (in Staging tables) and execute customized function to create Sales Order.
– Step 2.1: Batch job function at Dynamics 365 F&O, may automatic approve Online order in Staging tables, because it match some automatic approval rule, and automatic execute customized function to create Sales Order.
=> With my understanding, I think:
– Step 1: don’t require Operations – Order lines licensing, because Staging table is not listed in operations table – order line.
– Step 2: don’t require Operations – Order lines licensing, because the Customer Service Support already have user license and direct use Dynamics 365F&O to create Sales Order.
– Step 2.1: require Operations – Order lines licensing, because don’t have any licensed User to direct user Dynamics 365 F&O to create Sales order.
Question: Is my understanding correct ?
—————————————————————–
Scenario 2:
– Step 1: External application submit Online Order to some Retail Transaction Tables with status suspended, those tables are stored at Cloud scale unit via Store Commerce API (Not submit directly to Dynamics 365F&O)
– Step 2: Cashier open Commerce app at POS machine, and recall above suspended Retail Transaction (which was created via Store commerce API), and they do checkout Transaction and collect payment. As you know the back end Dynamics 365 F&O process will create Sales order for posting to deduct inventory and record Revenue.
=> With my understanding, I think:
– Step 1: don’t require Operations – Order lines licensing, because Retail Transaction Table is not listed in operations table – order line.
– Step 2: don’t require Operations – Order lines licensing, because the Cashier, Commerce App already have user commerce license and direct use Dynamics 365 commerce app to create Retail Transaction.
=> So, at the end: This scenarios don’t require Operations – Order lines licensing.
Question: Is my understanding correct ?
Note: I aware that maybe Dynamics 365 F&O Database need more capacity to store Online Order, and may need to buy Additional Operations capacity.
Thanks for your reading.
Dear ALL,I am implementing Dynamics 365 Finance Operation (F&O) for Customer. Customer also use Retail and Commerce module.I have 2 scenarios need to ask your support to see if need Operations – Order lines licensing or not.Scenario 1: – Step 1: External application submit Online Order to some Staging tables which are created at Dynamics 365F&O.- Step 2: The Customer Service Support (CS) access Dynamics 365 F&O who have been already assigned some type of Dynamics 365 F&O license, they will review Online Order in Staging tables, they will approve Online Order (in Staging tables) and execute customized function to create Sales Order.- Step 2.1: Batch job function at Dynamics 365 F&O, may automatic approve Online order in Staging tables, because it match some automatic approval rule, and automatic execute customized function to create Sales Order.=> With my understanding, I think:- Step 1: don’t require Operations – Order lines licensing, because Staging table is not listed in operations table – order line.- Step 2: don’t require Operations – Order lines licensing, because the Customer Service Support already have user license and direct use Dynamics 365F&O to create Sales Order.- Step 2.1: require Operations – Order lines licensing, because don’t have any licensed User to direct user Dynamics 365 F&O to create Sales order.Question: Is my understanding correct ? —————————————————————–Scenario 2: – Step 1: External application submit Online Order to some Retail Transaction Tables with status suspended, those tables are stored at Cloud scale unit via Store Commerce API (Not submit directly to Dynamics 365F&O)- Step 2: Cashier open Commerce app at POS machine, and recall above suspended Retail Transaction (which was created via Store commerce API), and they do checkout Transaction and collect payment. As you know the back end Dynamics 365 F&O process will create Sales order for posting to deduct inventory and record Revenue.=> With my understanding, I think:- Step 1: don’t require Operations – Order lines licensing, because Retail Transaction Table is not listed in operations table – order line.- Step 2: don’t require Operations – Order lines licensing, because the Cashier, Commerce App already have user commerce license and direct use Dynamics 365 commerce app to create Retail Transaction.=> So, at the end: This scenarios don’t require Operations – Order lines licensing. Question: Is my understanding correct ? Note: I aware that maybe Dynamics 365 F&O Database need more capacity to store Online Order, and may need to buy Additional Operations capacity. Thanks for your reading. Read More
How to you the output of gnssBitSynchronize to increase integration time of PLL?
Hello, I have been checking and trying the GPS data decode example found in this link:
https://www.mathworks.com/help/satcom/ug/gps-data-decode.html
At the end of the example, it includes a further exploration which says that:
"Also, this example does not update the bit synchronization status back to the tracking loop. You can also use the bit synchronization value to increase the phase locked loop (PLL) integration time to enhance the PLL performance at low SNR values"
I am interested to do and apply this in the GPS Software receiver I am using. Is the sync index the location of start of navigation data bit? how do I use this to increase the PLL integration time?
Thank you for your help.Hello, I have been checking and trying the GPS data decode example found in this link:
https://www.mathworks.com/help/satcom/ug/gps-data-decode.html
At the end of the example, it includes a further exploration which says that:
"Also, this example does not update the bit synchronization status back to the tracking loop. You can also use the bit synchronization value to increase the phase locked loop (PLL) integration time to enhance the PLL performance at low SNR values"
I am interested to do and apply this in the GPS Software receiver I am using. Is the sync index the location of start of navigation data bit? how do I use this to increase the PLL integration time?
Thank you for your help. Hello, I have been checking and trying the GPS data decode example found in this link:
https://www.mathworks.com/help/satcom/ug/gps-data-decode.html
At the end of the example, it includes a further exploration which says that:
"Also, this example does not update the bit synchronization status back to the tracking loop. You can also use the bit synchronization value to increase the phase locked loop (PLL) integration time to enhance the PLL performance at low SNR values"
I am interested to do and apply this in the GPS Software receiver I am using. Is the sync index the location of start of navigation data bit? how do I use this to increase the PLL integration time?
Thank you for your help. gps MATLAB Answers — New Questions
Simscape Onramp Section 8.1 Task 9
I don’t know how to Solve this problem. There is no hint and solution.I don’t know how to Solve this problem. There is no hint and solution. I don’t know how to Solve this problem. There is no hint and solution. simscape MATLAB Answers — New Questions
I made a Heat map. I want to remove the x and y axis ticks. How is that possible?
I tried using set(gca…………), but that is for plot. i am stuck at this.I tried using set(gca…………), but that is for plot. i am stuck at this. I tried using set(gca…………), but that is for plot. i am stuck at this. heatmap, colormap MATLAB Answers — New Questions
OneDrive Direct Download Link
Hi all,
My Problem and Question
This question pertains to OneDrive for personal use. Microsoft recently made a change to the link format from the embed feature and made my direct download links obsolete. I would retrieve these links from the embed feature in OneDrive and the links looked like what’s shown below. The link would directly serve the file to whomever accessed it without them ever having to interact with OneDrive.
With the changes Microsoft recently made to OneDrive, is there a new way of getting links that have this functionality?
Old link format (no longer works): https://onedrive.live.com/download?resid=XXXXXXXXXXX&authkey=XXXXXXXXXXX
My Own Digging
I’ve scoured several forums unable to find any solutions. I have found a temporary solution; however, the links generated via this method only have temporary authentication, so they expire after a day. Perhaps it could be a real solution if I could figure out how to get a permanent auth token for a personal OneDrive file. I’m retrieving the link from the GET request when clicking the download button on a file from a publicly shared link.
Thank you to anyone that has input!
Hi all, My Problem and Question This question pertains to OneDrive for personal use. Microsoft recently made a change to the link format from the embed feature and made my direct download links obsolete. I would retrieve these links from the embed feature in OneDrive and the links looked like what’s shown below. The link would directly serve the file to whomever accessed it without them ever having to interact with OneDrive. With the changes Microsoft recently made to OneDrive, is there a new way of getting links that have this functionality?Old link format (no longer works): https://onedrive.live.com/download?resid=XXXXXXXXXXX&authkey=XXXXXXXXXXX My Own Digging I’ve scoured several forums unable to find any solutions. I have found a temporary solution; however, the links generated via this method only have temporary authentication, so they expire after a day. Perhaps it could be a real solution if I could figure out how to get a permanent auth token for a personal OneDrive file. I’m retrieving the link from the GET request when clicking the download button on a file from a publicly shared link. Link format: https://my.microsoftpersonalcontent.com/personal/{resid}/_layouts/15/download.aspx?UniqueId=XXXXXXXXXXXXX&Translate=false&tempauth=XXXXXXXXXXXXXXXX&ApiVersion=2.0 Thank you to anyone that has input! Read More
Windows 11 Insider Preview
Dude I keep getting this update for “Windows 11 Insider Preview” that turns my W10 into Windows 11. How do I stop this? I do not want W11. This is getting me heated ONG. I already put it scheduled for later, but how do I turn it off permanently? and I also left the Windows Insider program and shi like bru ONG. IM GONNA CRASHOUT
Dude I keep getting this update for “Windows 11 Insider Preview” that turns my W10 into Windows 11. How do I stop this? I do not want W11. This is getting me heated ONG. I already put it scheduled for later, but how do I turn it off permanently? and I also left the Windows Insider program and shi like bru ONG. IM GONNA CRASHOUT Read More
draw the centered data on the same axes as the raw data
draw the centered data on the same axes as the raw data given 12 samples of the raw data
WireLength DieHeight
1 125
4 110
5 287
6 200
8 350
10 280
12 400
14 370
13 480
18 420
19 540
22 518
where WireLength is the x axis and Die Height is the y axisdraw the centered data on the same axes as the raw data given 12 samples of the raw data
WireLength DieHeight
1 125
4 110
5 287
6 200
8 350
10 280
12 400
14 370
13 480
18 420
19 540
22 518
where WireLength is the x axis and Die Height is the y axis draw the centered data on the same axes as the raw data given 12 samples of the raw data
WireLength DieHeight
1 125
4 110
5 287
6 200
8 350
10 280
12 400
14 370
13 480
18 420
19 540
22 518
where WireLength is the x axis and Die Height is the y axis scatter, centered d MATLAB Answers — New Questions
How to load data from a .txt file to matlab in the form of a matrix???
I am saving data in a .txt file from c++ code which is continuously updating in real time.can i get this real time data loaded in to matrix in matlab in real time?? Please helpI am saving data in a .txt file from c++ code which is continuously updating in real time.can i get this real time data loaded in to matrix in matlab in real time?? Please help I am saving data in a .txt file from c++ code which is continuously updating in real time.can i get this real time data loaded in to matrix in matlab in real time?? Please help export MATLAB Answers — New Questions
How to PLOT from .TRC file generated by keysight N9320B Spectrum analyzer
I am trying to generate the plot from Keysight N9320 Spectrum analyzer .trc file from https://www.mathworks.com/matlabcentral/fileexchange/22908-read-spectrum-analyzer-trace-file but MATLAB can’t read it and error is
Unrecognized field name "XStart".
Error in readsatf (line 139)
freq(index) = struct.XStart + (index-1)*struct.XScale/struct.XNum;
because file don’t contain "#" headers and all the data is unreadable is there any other way to access these results from the .trc file.I am trying to generate the plot from Keysight N9320 Spectrum analyzer .trc file from https://www.mathworks.com/matlabcentral/fileexchange/22908-read-spectrum-analyzer-trace-file but MATLAB can’t read it and error is
Unrecognized field name "XStart".
Error in readsatf (line 139)
freq(index) = struct.XStart + (index-1)*struct.XScale/struct.XNum;
because file don’t contain "#" headers and all the data is unreadable is there any other way to access these results from the .trc file. I am trying to generate the plot from Keysight N9320 Spectrum analyzer .trc file from https://www.mathworks.com/matlabcentral/fileexchange/22908-read-spectrum-analyzer-trace-file but MATLAB can’t read it and error is
Unrecognized field name "XStart".
Error in readsatf (line 139)
freq(index) = struct.XStart + (index-1)*struct.XScale/struct.XNum;
because file don’t contain "#" headers and all the data is unreadable is there any other way to access these results from the .trc file. keysight, n8320b spectrum analyzer MATLAB Answers — New Questions
The dofference of predict() and PredictAndUpdateState()
Hi All,
I found the following two ways of predicting performs differently:
(1).
for i=1:size(XTest,2)
[trainedNet,YTest(:,i)]=PredictAndUpdateState(trainedNet,XTest(:,i));
end
(2).
for i=1:size(XTest,2)
[YTest(:,i),state]=predict(trainedNet,XTest(:,i));
trainedNet.State=state;
end
I wonder that what is the reseason for this phenomenon? Or, what is the difference between the ways of predict() and PredictAndUpdateState() to update networks?
Any help will be appreciated!Hi All,
I found the following two ways of predicting performs differently:
(1).
for i=1:size(XTest,2)
[trainedNet,YTest(:,i)]=PredictAndUpdateState(trainedNet,XTest(:,i));
end
(2).
for i=1:size(XTest,2)
[YTest(:,i),state]=predict(trainedNet,XTest(:,i));
trainedNet.State=state;
end
I wonder that what is the reseason for this phenomenon? Or, what is the difference between the ways of predict() and PredictAndUpdateState() to update networks?
Any help will be appreciated! Hi All,
I found the following two ways of predicting performs differently:
(1).
for i=1:size(XTest,2)
[trainedNet,YTest(:,i)]=PredictAndUpdateState(trainedNet,XTest(:,i));
end
(2).
for i=1:size(XTest,2)
[YTest(:,i),state]=predict(trainedNet,XTest(:,i));
trainedNet.State=state;
end
I wonder that what is the reseason for this phenomenon? Or, what is the difference between the ways of predict() and PredictAndUpdateState() to update networks?
Any help will be appreciated! lstm, predictandupdatestate, predict, prediction, deep learning MATLAB Answers — New Questions
copy a cell value into a table based of the value of adjacent dropdown
good evening all,
having some trouble wrapping my head around this.
I have dropdowns in A4:A7 which draw values from A12:A101. there is a corresponding value in B12:B101 that gets displayed in B4:B7 when a value is selected from the dropdown. i would like to add an “update cell” in C4:C7 that would update the values in B12:B101 when a new value is entered.
i have a stripped down version to show what ive got so far
any help is appreciated
good evening all, having some trouble wrapping my head around this. I have dropdowns in A4:A7 which draw values from A12:A101. there is a corresponding value in B12:B101 that gets displayed in B4:B7 when a value is selected from the dropdown. i would like to add an “update cell” in C4:C7 that would update the values in B12:B101 when a new value is entered. i have a stripped down version to show what ive got so far any help is appreciated GRAWtest.xlsx Read More
Shift end time and overnight rest break
I have an activity logger and cells on “Day 1” A16 to B33 are start and end times. A16 is populated from an entry in C10 and G10 is populated from the last time entered in B16:33. The array may be fully or partially populated depending on number of activities on the day. All cells are formatted as 12 hour time and no date is used. C16 to 33 use drop down lists for activity.
The issue arises when an overnight rest break is entered in B? and G10 displays the time of the following morning.
What I want is to have G10 ignore the following morning if the previous time is more than 9 hours behind (only entry for that length of time will be an overnight break). It may prove difficult to use PM and AM as some shifts work across midnight but if that is easiest then that can be arranged.
To this point AI has not been able to achieve a result but I will keep trying.
Edit: Continued searching has found this thread https://techcommunity.microsoft.com/t5/excel/check-if-a-time-falls-between-a-time-range-crossing-date-lines/m-p/3843408#M194413 andit seems this function
=IF( MEDIAN($D$2,$D$2+MOD($D$3-$D$2,1),$C4) = $C4, ” O”, “” )
or a variant may prove useful
Any help would be appreciated
Thank you
I have an activity logger and cells on “Day 1″ A16 to B33 are start and end times. A16 is populated from an entry in C10 and G10 is populated from the last time entered in B16:33. The array may be fully or partially populated depending on number of activities on the day. All cells are formatted as 12 hour time and no date is used. C16 to 33 use drop down lists for activity. The issue arises when an overnight rest break is entered in B? and G10 displays the time of the following morning. What I want is to have G10 ignore the following morning if the previous time is more than 9 hours behind (only entry for that length of time will be an overnight break). It may prove difficult to use PM and AM as some shifts work across midnight but if that is easiest then that can be arranged. To this point AI has not been able to achieve a result but I will keep trying. Edit: Continued searching has found this thread https://techcommunity.microsoft.com/t5/excel/check-if-a-time-falls-between-a-time-range-crossing-date-lines/m-p/3843408#M194413 andit seems this function =IF( MEDIAN($D$2,$D$2+MOD($D$3-$D$2,1),$C4) = $C4, ” O”, “” )or a variant may prove useful Any help would be appreciatedThank you Read More
How to draw a cone and it’s Frustum in 3D in Excel
Dear Experts,
Can some one please help me , with how to draw a Frustum(part of a Cone) in Excel in 3D,
Definition as below for Frustum , choose any values for R1,R2,and h.
Thanks in Advance,
Br,
Anupam
Dear Experts, Can some one please help me , with how to draw a Frustum(part of a Cone) in Excel in 3D,Definition as below for Frustum , choose any values for R1,R2,and h.Thanks in Advance,Br,Anupam Read More
How to Remove Extra Subplot When Custom Plotting with ‘particleswarm’?
Hello MATLAB Community,
I’m working on implementing a custom plot function for the particleswarm function in the Global Optimization Toolbox. However, I’m encountering an issue where an extra empty subplot is being generated along with the intended plots. I would like to know how to remove this extra subplot.
Here is my full code:
fun = @(x) 3*(1-x(1)).^2.*exp(-(x(1).^2)-(x(2)+1).^2)…
– 10*(x(1)/5 – x(1).^3 – x(2).^5).*exp(-x(1).^2-x(2).^2)…
– 1/3*exp(-(x(1)+1).^2 – x(2).^2);
xbounds = [-3, 3, -3, 3]; % [xmin xmax ymin ymax]
fconvert = @(x1, x2) fun([x1, x2]); % for fsurf, fun should be defined as fun = @(x1,x2,…,xn) but for PSO, fun = @(x)
myfig = fsurf(fconvert, xbounds,’ShowContours’,’on’, ‘FaceAlpha’, 0.7);
xlabel(‘x1’);
ylabel(‘x2’);
zlabel(‘f(x1, x2)’);
box on
plotFcnWithHandle = @(optimValues, state) myplot(optimValues, state, myfig);
rng default % For reproducibility
nvars = 2;
lb = [xbounds(1), xbounds(3)];
ub = [xbounds(2), xbounds(4)];
options = optimoptions(‘particleswarm’, …
‘SwarmSize’, 50,…
‘Display’,’iter’,…
‘DisplayInterval’, 1,…
‘FunctionTolerance’, 0.01,…
‘MaxIterations’, 500,…
‘MaxStallIterations’, 20,…
‘PlotFcn’, {‘pswplotbestf’,plotFcnWithHandle});
[x,fval] = particleswarm(fun,nvars,lb,ub,options);
function stop = myplot(optimValues, state, myfig)
stop = false;
ax = get(myfig,’Parent’);
positions = optimValues.swarm;
hold(ax, ‘on’);
delete(findall(ax, ‘Tag’, ‘particles’));
scatter3(ax, positions(:,1), positions(:,2), optimValues.swarmfvals, …
‘r’, ‘filled’, ‘MarkerEdgeColor’,’k’, ‘Tag’, ‘particles’);
% Update the figure
drawnow;
pause(1); % Pause for 1 second
end
In the code above, an extra empty subplot is generated in addition to the intended plot in the figure titled as "particleswarm". I would like to know how to prevent or remove this extra subplot. Thank you for your help!Hello MATLAB Community,
I’m working on implementing a custom plot function for the particleswarm function in the Global Optimization Toolbox. However, I’m encountering an issue where an extra empty subplot is being generated along with the intended plots. I would like to know how to remove this extra subplot.
Here is my full code:
fun = @(x) 3*(1-x(1)).^2.*exp(-(x(1).^2)-(x(2)+1).^2)…
– 10*(x(1)/5 – x(1).^3 – x(2).^5).*exp(-x(1).^2-x(2).^2)…
– 1/3*exp(-(x(1)+1).^2 – x(2).^2);
xbounds = [-3, 3, -3, 3]; % [xmin xmax ymin ymax]
fconvert = @(x1, x2) fun([x1, x2]); % for fsurf, fun should be defined as fun = @(x1,x2,…,xn) but for PSO, fun = @(x)
myfig = fsurf(fconvert, xbounds,’ShowContours’,’on’, ‘FaceAlpha’, 0.7);
xlabel(‘x1’);
ylabel(‘x2’);
zlabel(‘f(x1, x2)’);
box on
plotFcnWithHandle = @(optimValues, state) myplot(optimValues, state, myfig);
rng default % For reproducibility
nvars = 2;
lb = [xbounds(1), xbounds(3)];
ub = [xbounds(2), xbounds(4)];
options = optimoptions(‘particleswarm’, …
‘SwarmSize’, 50,…
‘Display’,’iter’,…
‘DisplayInterval’, 1,…
‘FunctionTolerance’, 0.01,…
‘MaxIterations’, 500,…
‘MaxStallIterations’, 20,…
‘PlotFcn’, {‘pswplotbestf’,plotFcnWithHandle});
[x,fval] = particleswarm(fun,nvars,lb,ub,options);
function stop = myplot(optimValues, state, myfig)
stop = false;
ax = get(myfig,’Parent’);
positions = optimValues.swarm;
hold(ax, ‘on’);
delete(findall(ax, ‘Tag’, ‘particles’));
scatter3(ax, positions(:,1), positions(:,2), optimValues.swarmfvals, …
‘r’, ‘filled’, ‘MarkerEdgeColor’,’k’, ‘Tag’, ‘particles’);
% Update the figure
drawnow;
pause(1); % Pause for 1 second
end
In the code above, an extra empty subplot is generated in addition to the intended plot in the figure titled as "particleswarm". I would like to know how to prevent or remove this extra subplot. Thank you for your help! Hello MATLAB Community,
I’m working on implementing a custom plot function for the particleswarm function in the Global Optimization Toolbox. However, I’m encountering an issue where an extra empty subplot is being generated along with the intended plots. I would like to know how to remove this extra subplot.
Here is my full code:
fun = @(x) 3*(1-x(1)).^2.*exp(-(x(1).^2)-(x(2)+1).^2)…
– 10*(x(1)/5 – x(1).^3 – x(2).^5).*exp(-x(1).^2-x(2).^2)…
– 1/3*exp(-(x(1)+1).^2 – x(2).^2);
xbounds = [-3, 3, -3, 3]; % [xmin xmax ymin ymax]
fconvert = @(x1, x2) fun([x1, x2]); % for fsurf, fun should be defined as fun = @(x1,x2,…,xn) but for PSO, fun = @(x)
myfig = fsurf(fconvert, xbounds,’ShowContours’,’on’, ‘FaceAlpha’, 0.7);
xlabel(‘x1’);
ylabel(‘x2’);
zlabel(‘f(x1, x2)’);
box on
plotFcnWithHandle = @(optimValues, state) myplot(optimValues, state, myfig);
rng default % For reproducibility
nvars = 2;
lb = [xbounds(1), xbounds(3)];
ub = [xbounds(2), xbounds(4)];
options = optimoptions(‘particleswarm’, …
‘SwarmSize’, 50,…
‘Display’,’iter’,…
‘DisplayInterval’, 1,…
‘FunctionTolerance’, 0.01,…
‘MaxIterations’, 500,…
‘MaxStallIterations’, 20,…
‘PlotFcn’, {‘pswplotbestf’,plotFcnWithHandle});
[x,fval] = particleswarm(fun,nvars,lb,ub,options);
function stop = myplot(optimValues, state, myfig)
stop = false;
ax = get(myfig,’Parent’);
positions = optimValues.swarm;
hold(ax, ‘on’);
delete(findall(ax, ‘Tag’, ‘particles’));
scatter3(ax, positions(:,1), positions(:,2), optimValues.swarmfvals, …
‘r’, ‘filled’, ‘MarkerEdgeColor’,’k’, ‘Tag’, ‘particles’);
% Update the figure
drawnow;
pause(1); % Pause for 1 second
end
In the code above, an extra empty subplot is generated in addition to the intended plot in the figure titled as "particleswarm". I would like to know how to prevent or remove this extra subplot. Thank you for your help! particle swarm optimization, global optimization toolbox MATLAB Answers — New Questions
To convert RT structure set from DICOM format to uncompressed NIfTI (.nii) format
I want to convert RT structure set from DICOM format to uncompressed NIfTI (.nii) format.I want to convert RT structure set from DICOM format to uncompressed NIfTI (.nii) format. I want to convert RT structure set from DICOM format to uncompressed NIfTI (.nii) format. rt structure set, dicom, nifti MATLAB Answers — New Questions
Security Baseline 23H2 issue with Hardened UNC Paths
I am testing the 23H2 Security Baseline and ran the CIS Benchmark assessment. A setting that previously passed with the November 2021 baseline is now failing. It is the Hardened UNC Paths under Administrative Templates – Network – Network Provider. The attached screenshot named Hardened UNC Paths…png shows the setting configured in the baseline. The screenshot named Registry.png shows the registry after the baseline is applied.
The entry for \*SYSVOL does not show up and the entry for \*NETLOGON is wrong. When adding the entry to the registry for this setting, Microsoft swapped the Name and Data values.
The screenshot Registry from Nov 2021 baseline.png is what it should look like and this passes the CIS Benchmark assessment.
Can anyone else confirm this? I plan to open a ticket for this issue.
I am testing the 23H2 Security Baseline and ran the CIS Benchmark assessment. A setting that previously passed with the November 2021 baseline is now failing. It is the Hardened UNC Paths under Administrative Templates – Network – Network Provider. The attached screenshot named Hardened UNC Paths…png shows the setting configured in the baseline. The screenshot named Registry.png shows the registry after the baseline is applied. The entry for \*SYSVOL does not show up and the entry for \*NETLOGON is wrong. When adding the entry to the registry for this setting, Microsoft swapped the Name and Data values. The screenshot Registry from Nov 2021 baseline.png is what it should look like and this passes the CIS Benchmark assessment. Can anyone else confirm this? I plan to open a ticket for this issue. Read More
CIS Benchmark Assessment fails on Defender settings on Security Baseline 23H2
With the November 2021 Security Baseline, my device passed all but one setting on the CIS Benchmark Assessment. After applying Security Baseline 23H2, I am failing all of them. See CIS Benchmark Assessment.png for the comparison.
I found that something in the 23H2 Security Baseline is blocking access to the HKEY_LOCAL_MACHINESOFTWAREPoliciesWindows DefenderPolicy Manager folder in the registry. See attached screenshot. Since the CIS Assessment cannot access the settings to verify them, it gives us a fail on all of the Defender settings. When I go back to the November 2021 baseline, I can see all the settings in the folder.
I’ve reviewed every setting in the 23H2 baseline to see what would cause this and cannot find anything. Any suggestions would be greatly appreciated. Right now, it seems safer to stay on the November 2021 baseline.
With the November 2021 Security Baseline, my device passed all but one setting on the CIS Benchmark Assessment. After applying Security Baseline 23H2, I am failing all of them. See CIS Benchmark Assessment.png for the comparison. I found that something in the 23H2 Security Baseline is blocking access to the HKEY_LOCAL_MACHINESOFTWAREPoliciesWindows DefenderPolicy Manager folder in the registry. See attached screenshot. Since the CIS Assessment cannot access the settings to verify them, it gives us a fail on all of the Defender settings. When I go back to the November 2021 baseline, I can see all the settings in the folder. I’ve reviewed every setting in the 23H2 baseline to see what would cause this and cannot find anything. Any suggestions would be greatly appreciated. Right now, it seems safer to stay on the November 2021 baseline. Read More