Month: June 2024
First Fundraiser!
Hello all!
I’m Celia, CEO of the African Future Pledge 501c3 Organization.
I’m neck-deep in our first www.AfricanFuturePledge.com fundraising project and about to send out donation letters to raise funds for prizes for our young contestants. I hope this platform will support our mission and our fundraising projects. We are definitely rookies, so to speak, but we are also very determined to support our young generations to the fullest. It’s nice to be among you and I’m looking to learn all I can that will support our efforts.
Hello all!I’m Celia, CEO of the African Future Pledge 501c3 Organization.I’m neck-deep in our first www.AfricanFuturePledge.com fundraising project and about to send out donation letters to raise funds for prizes for our young contestants. I hope this platform will support our mission and our fundraising projects. We are definitely rookies, so to speak, but we are also very determined to support our young generations to the fullest. It’s nice to be among you and I’m looking to learn all I can that will support our efforts. Read More
Secure Time Seeding (STS) strikes again – disable STS before it happens to you
Had an incident this week where time jumped forward by several months for no apparent reason on a domain controller. This has all the hallmarks of the STS issue written here:
We are planning to disable STS on all servers before this happens again. If you haven’t heard about this issue, read the article above.
Had an incident this week where time jumped forward by several months for no apparent reason on a domain controller. This has all the hallmarks of the STS issue written here:https://arstechnica.com/security/2023/08/windows-feature-that-resets-system-clocks-based-on-random-data-is-wreaking-havoc/3/We are planning to disable STS on all servers before this happens again. If you haven’t heard about this issue, read the article above. Read More
In HDL Workflow Advisor, why there doesn’t exist a platform for ZCU102 and FMCOMMS5?
In the documention: Hardware-Software Co-Design Workflow, it shows a way to deploy SDR algorithms for Xilinx® Zynq®-based radio hardware.
Actually, I got the message that ZCU102 is able to be linked with FMCOMMS5.
However, in the Step 4. Generate HDL IP Core Using HDL Workflow Advisor, I find the ZCU102 can only support FMCOMMS2/3/4, no FMCOMMS5!!
Is there somthing wrong with this documention? Is there some ways that I’m able to use the ZCU102 and FMCOMMS5 as my target platform?
I’m of strong desire for your replying, Thanks a lot!In the documention: Hardware-Software Co-Design Workflow, it shows a way to deploy SDR algorithms for Xilinx® Zynq®-based radio hardware.
Actually, I got the message that ZCU102 is able to be linked with FMCOMMS5.
However, in the Step 4. Generate HDL IP Core Using HDL Workflow Advisor, I find the ZCU102 can only support FMCOMMS2/3/4, no FMCOMMS5!!
Is there somthing wrong with this documention? Is there some ways that I’m able to use the ZCU102 and FMCOMMS5 as my target platform?
I’m of strong desire for your replying, Thanks a lot! In the documention: Hardware-Software Co-Design Workflow, it shows a way to deploy SDR algorithms for Xilinx® Zynq®-based radio hardware.
Actually, I got the message that ZCU102 is able to be linked with FMCOMMS5.
However, in the Step 4. Generate HDL IP Core Using HDL Workflow Advisor, I find the ZCU102 can only support FMCOMMS2/3/4, no FMCOMMS5!!
Is there somthing wrong with this documention? Is there some ways that I’m able to use the ZCU102 and FMCOMMS5 as my target platform?
I’m of strong desire for your replying, Thanks a lot! hdl workflow advisor, zcu102, fmcomms5, target platform MATLAB Answers — New Questions
How do I call Matlab polyfit function from C++?
Hello, I am trying to call the MATLAB polyfit function from a Windows application written in Visual Studio 2022 C++ and get the polynomial coefficients array, s, and mu from from polyfit.
int main(int argc, char* argv[])
{
double x[40];
double y[40];
double p[12]; // MATLAB returned array of coefficients
size_t dataSize;
// this function gets the data from a file and updates the unknown xy data size
// the data size = 40 elements
getXYpoints(x, y, &dataSize);
if (dataSize == 0)
{
cout << endl << "File Size is Zero, nothing to do";
return -2;
}
polyFit(x, y, p,dataSize, 12); // 12 is the order of the polynomials
}
The polyFit calls the MATLAB polyfit function
void polyFit(double* x, double* y, double* poly_coefficients, size_t xy_size, size_t poly_size)
{
using namespace matlab::engine;
// Start MATLAB engine synchronously
std::unique_ptr<MATLABEngine> matlabPtr = startMATLAB();
std::tuple<double, double, double> nresults;
// the following line gives a compile error for x, y, and the tuple definitions
nresults = matlabPtr->feval<std::tuple <double*, double, double>>(u"polyfit", x , y, poly_size);
//[p, s, mu] = polyfit (x,y, 12);
double P;
double S;
double MU;
std::tie(P, S, MU) = nresults;
for (auto it : p)
{
p[it] = P[it];
}
auto s = S;
auto mu = MU;
.
.
.
}
tuple <double*, double, double> tuple does not seem to support the first argument double*. Is there a better way to call polyfit from C++, or how do I overload the tuple class to accept a pointer to P (the polynomial coefficients array).Hello, I am trying to call the MATLAB polyfit function from a Windows application written in Visual Studio 2022 C++ and get the polynomial coefficients array, s, and mu from from polyfit.
int main(int argc, char* argv[])
{
double x[40];
double y[40];
double p[12]; // MATLAB returned array of coefficients
size_t dataSize;
// this function gets the data from a file and updates the unknown xy data size
// the data size = 40 elements
getXYpoints(x, y, &dataSize);
if (dataSize == 0)
{
cout << endl << "File Size is Zero, nothing to do";
return -2;
}
polyFit(x, y, p,dataSize, 12); // 12 is the order of the polynomials
}
The polyFit calls the MATLAB polyfit function
void polyFit(double* x, double* y, double* poly_coefficients, size_t xy_size, size_t poly_size)
{
using namespace matlab::engine;
// Start MATLAB engine synchronously
std::unique_ptr<MATLABEngine> matlabPtr = startMATLAB();
std::tuple<double, double, double> nresults;
// the following line gives a compile error for x, y, and the tuple definitions
nresults = matlabPtr->feval<std::tuple <double*, double, double>>(u"polyfit", x , y, poly_size);
//[p, s, mu] = polyfit (x,y, 12);
double P;
double S;
double MU;
std::tie(P, S, MU) = nresults;
for (auto it : p)
{
p[it] = P[it];
}
auto s = S;
auto mu = MU;
.
.
.
}
tuple <double*, double, double> tuple does not seem to support the first argument double*. Is there a better way to call polyfit from C++, or how do I overload the tuple class to accept a pointer to P (the polynomial coefficients array). Hello, I am trying to call the MATLAB polyfit function from a Windows application written in Visual Studio 2022 C++ and get the polynomial coefficients array, s, and mu from from polyfit.
int main(int argc, char* argv[])
{
double x[40];
double y[40];
double p[12]; // MATLAB returned array of coefficients
size_t dataSize;
// this function gets the data from a file and updates the unknown xy data size
// the data size = 40 elements
getXYpoints(x, y, &dataSize);
if (dataSize == 0)
{
cout << endl << "File Size is Zero, nothing to do";
return -2;
}
polyFit(x, y, p,dataSize, 12); // 12 is the order of the polynomials
}
The polyFit calls the MATLAB polyfit function
void polyFit(double* x, double* y, double* poly_coefficients, size_t xy_size, size_t poly_size)
{
using namespace matlab::engine;
// Start MATLAB engine synchronously
std::unique_ptr<MATLABEngine> matlabPtr = startMATLAB();
std::tuple<double, double, double> nresults;
// the following line gives a compile error for x, y, and the tuple definitions
nresults = matlabPtr->feval<std::tuple <double*, double, double>>(u"polyfit", x , y, poly_size);
//[p, s, mu] = polyfit (x,y, 12);
double P;
double S;
double MU;
std::tie(P, S, MU) = nresults;
for (auto it : p)
{
p[it] = P[it];
}
auto s = S;
auto mu = MU;
.
.
.
}
tuple <double*, double, double> tuple does not seem to support the first argument double*. Is there a better way to call polyfit from C++, or how do I overload the tuple class to accept a pointer to P (the polynomial coefficients array). polyfit, c++, visual studio c++, call matlab from c++ MATLAB Answers — New Questions
Sum function handles efficiently
I need to solve an ODE where the motion is determined by charges in position (where and ). For the sake of simplicity let’s just assume that and that the dynamic given by the particle in is given by (i.e. I need to solve). I just need to solve an ODE where the motion is determined by the effects of the charges combined, and in my case the dynamic is simply given by the sum of the functions . I tried definining function handles stored in a 2 dimensional array of size , where in position I store the function . Then, I would need to define and solve an ODE where the motion is determined by . The way I did this is by recursion, i.e.:
%I have already defined f as a 2D array, where f{i,j}=f_{i,j} described
%in the text
F= @(t,x) 0;
for i= 1:1:N
for j=1:1:N
F= @(t,x) F(t,x) + f{i,j}(t,x)
end
end
After this, I use the solve function:
fun = ode(ODEFcn=@(t,x) F(t,x),InitialTime=0,InitialValue=[0,0]); % Set up the problem by creating an ode object
sol = solve(fun,0,100); % Solve it over the interval [0,10]
The problem is: the performance is very bad. I already see this when defining . I think there might be some issues with the recursion, nad maybe there’s a better way for defining , in such a way that the performances get better.I need to solve an ODE where the motion is determined by charges in position (where and ). For the sake of simplicity let’s just assume that and that the dynamic given by the particle in is given by (i.e. I need to solve). I just need to solve an ODE where the motion is determined by the effects of the charges combined, and in my case the dynamic is simply given by the sum of the functions . I tried definining function handles stored in a 2 dimensional array of size , where in position I store the function . Then, I would need to define and solve an ODE where the motion is determined by . The way I did this is by recursion, i.e.:
%I have already defined f as a 2D array, where f{i,j}=f_{i,j} described
%in the text
F= @(t,x) 0;
for i= 1:1:N
for j=1:1:N
F= @(t,x) F(t,x) + f{i,j}(t,x)
end
end
After this, I use the solve function:
fun = ode(ODEFcn=@(t,x) F(t,x),InitialTime=0,InitialValue=[0,0]); % Set up the problem by creating an ode object
sol = solve(fun,0,100); % Solve it over the interval [0,10]
The problem is: the performance is very bad. I already see this when defining . I think there might be some issues with the recursion, nad maybe there’s a better way for defining , in such a way that the performances get better. I need to solve an ODE where the motion is determined by charges in position (where and ). For the sake of simplicity let’s just assume that and that the dynamic given by the particle in is given by (i.e. I need to solve). I just need to solve an ODE where the motion is determined by the effects of the charges combined, and in my case the dynamic is simply given by the sum of the functions . I tried definining function handles stored in a 2 dimensional array of size , where in position I store the function . Then, I would need to define and solve an ODE where the motion is determined by . The way I did this is by recursion, i.e.:
%I have already defined f as a 2D array, where f{i,j}=f_{i,j} described
%in the text
F= @(t,x) 0;
for i= 1:1:N
for j=1:1:N
F= @(t,x) F(t,x) + f{i,j}(t,x)
end
end
After this, I use the solve function:
fun = ode(ODEFcn=@(t,x) F(t,x),InitialTime=0,InitialValue=[0,0]); % Set up the problem by creating an ode object
sol = solve(fun,0,100); % Solve it over the interval [0,10]
The problem is: the performance is very bad. I already see this when defining . I think there might be some issues with the recursion, nad maybe there’s a better way for defining , in such a way that the performances get better. ode, matlab function, solve, performance MATLAB Answers — New Questions
Is MathWorks removing the concurrent license option from the Campus-Wide License offering?
MathWorks has announced their move away from MATLAB (Concurrent) to MATLAB (Individual) for shared teaching labs and computer classrooms. Does this mean that the MATLAB (Concurrent) license is being removed?MathWorks has announced their move away from MATLAB (Concurrent) to MATLAB (Individual) for shared teaching labs and computer classrooms. Does this mean that the MATLAB (Concurrent) license is being removed? MathWorks has announced their move away from MATLAB (Concurrent) to MATLAB (Individual) for shared teaching labs and computer classrooms. Does this mean that the MATLAB (Concurrent) license is being removed? MATLAB Answers — New Questions
Saving figure as .svg alters appearance
Hi,
I’m making figures in MATLAB and want to export them in .svg to work with them in other programs. So far, that has been no problem, but I’m stumbling into something odd now. I’m trying to export this figure:
As you can see, this works fine in .png. This is also what the figure looks like in MATLAB. However, when I export as .svg, the blue patch that I plotted around the line to indicate the SEM continues until 10 seconds instead of 5:
I think this might be because I’m first plotting the patch, and then alter the x axis. However, this is not visible in the matlab figure, and the red and green patches show no problem for this.
My code is as follows:
xaxeslimits = [-5 5];
f = figure(‘InvertHardcopy’,’off’,’Color’,[1 1 1]);
t = tiledlayout(size(ROIs,2)/2, 2);
x = linspace(-5, 10, 226);
tileind = 2;
for roi = 1:size(ROIs, 2)
nexttile(tileind)
title(ROInames{roi})
eval([‘yhbo = means.hbo.’ ROIs{roi} ‘;’])
eval([‘SEMhbo = sems.hbo.’ ROIs{roi} ‘;’])
eval([‘yhbr = means.hbr.’ ROIs{roi} ‘;’])
eval([‘SEMhbr = sems.hbr.’ ROIs{roi} ‘;’])
eval([‘y = means.fluo.’ ROIs{roi} ‘;’])
eval([‘SEM = sems.fluo.’ ROIs{roi} ‘;’])
y = y-1; % to get centered around 0
% HbO
yyaxis right
plot(x, yhbo, ‘Color’, ‘red’, ‘LineWidth’, 2)
patch([x, fliplr(x)], [yhbo + SEMhbo fliplr(yhbo – SEMhbo)], ‘r’ ,’EdgeColor’,’none’, ‘FaceAlpha’,0.25)
hold on
% HbR
plot(x, yhbr, ‘Color’, ‘blue’, ‘LineStyle’, ‘-‘, ‘LineWidth’, 2)
patch([x, fliplr(x)], [yhbr + SEMhbr fliplr(yhbr – SEMhbr)], ‘b’ ,’EdgeColor’,’none’, ‘FaceAlpha’,0.25)
ylim([-1.5 1.5]);
h_label = ylabel(‘Delta muM’, ‘interpreter’, ‘Tex’, ‘Rotation’, 270);
ax = gca;
ax.YColor = ‘red’;
ax.XColor = ‘k’;
set(ax, ‘FontSize’, 15, ‘LineWidth’, 2)
xlim(xaxeslimits);
% Fluo
yyaxis left
plot(x,y, ‘Color’, [0.4660 0.6740 0.1880], ‘LineWidth’, 2);
patch([x, fliplr(x)], [y + SEM fliplr(y – SEM)], ‘g’ ,’EdgeColor’,’none’, ‘FaceAlpha’,0.25)
f_label = ylabel(‘Delta F/F’);
ylim([-0.05 0.05]); % centered at 0
ax = gca;
ax.YColor = [0.4660 0.6740 0.1880];
ax.XColor = ‘k’;
set(ax, ‘FontSize’, 15, ‘LineWidth’, 2)
xlabel(‘Time (sec)’)
xlim(xaxeslimits);
if tileind == size(ROIs, 2)
tileind = 1;
else
tileind = tileind+2;
end
end
leg1 = legend({‘GCaMP’, ‘SEM’, ‘HbO’,’SEM’, ‘HbR’,’SEM’}, ‘Orientation’, ‘Horizontal’);
leg1.Location = ‘southoutside’;
% f.Position = [10 10 1800 1000];
f.Position = [10 10 900 1000];
% save
pause(0.5)
% saveas(gcf, [SaveDir ‘/NVC/Sham_RS/’ Acq ‘_’ type ‘_’ ROIsavename ‘_AvCurves.tiff’], ‘tiff’);
% saveas(gcf, [SaveDir ‘/NVC/Sham_RS/’ Acq ‘_’ type ‘_’ ROIsavename ‘_AvCurves.eps’], ‘epsc’);
saveas(gcf, [SaveDir ‘/NVC/Sham_RS/’ Acq ‘_’ type ‘_’ ROIsavename ‘_AvCurves.svg’], ‘svg’);
close(f)
Does anybody know how to fix this? I’d like to be able to easily alter the x-axis and have it still work.
Best,
MarleenHi,
I’m making figures in MATLAB and want to export them in .svg to work with them in other programs. So far, that has been no problem, but I’m stumbling into something odd now. I’m trying to export this figure:
As you can see, this works fine in .png. This is also what the figure looks like in MATLAB. However, when I export as .svg, the blue patch that I plotted around the line to indicate the SEM continues until 10 seconds instead of 5:
I think this might be because I’m first plotting the patch, and then alter the x axis. However, this is not visible in the matlab figure, and the red and green patches show no problem for this.
My code is as follows:
xaxeslimits = [-5 5];
f = figure(‘InvertHardcopy’,’off’,’Color’,[1 1 1]);
t = tiledlayout(size(ROIs,2)/2, 2);
x = linspace(-5, 10, 226);
tileind = 2;
for roi = 1:size(ROIs, 2)
nexttile(tileind)
title(ROInames{roi})
eval([‘yhbo = means.hbo.’ ROIs{roi} ‘;’])
eval([‘SEMhbo = sems.hbo.’ ROIs{roi} ‘;’])
eval([‘yhbr = means.hbr.’ ROIs{roi} ‘;’])
eval([‘SEMhbr = sems.hbr.’ ROIs{roi} ‘;’])
eval([‘y = means.fluo.’ ROIs{roi} ‘;’])
eval([‘SEM = sems.fluo.’ ROIs{roi} ‘;’])
y = y-1; % to get centered around 0
% HbO
yyaxis right
plot(x, yhbo, ‘Color’, ‘red’, ‘LineWidth’, 2)
patch([x, fliplr(x)], [yhbo + SEMhbo fliplr(yhbo – SEMhbo)], ‘r’ ,’EdgeColor’,’none’, ‘FaceAlpha’,0.25)
hold on
% HbR
plot(x, yhbr, ‘Color’, ‘blue’, ‘LineStyle’, ‘-‘, ‘LineWidth’, 2)
patch([x, fliplr(x)], [yhbr + SEMhbr fliplr(yhbr – SEMhbr)], ‘b’ ,’EdgeColor’,’none’, ‘FaceAlpha’,0.25)
ylim([-1.5 1.5]);
h_label = ylabel(‘Delta muM’, ‘interpreter’, ‘Tex’, ‘Rotation’, 270);
ax = gca;
ax.YColor = ‘red’;
ax.XColor = ‘k’;
set(ax, ‘FontSize’, 15, ‘LineWidth’, 2)
xlim(xaxeslimits);
% Fluo
yyaxis left
plot(x,y, ‘Color’, [0.4660 0.6740 0.1880], ‘LineWidth’, 2);
patch([x, fliplr(x)], [y + SEM fliplr(y – SEM)], ‘g’ ,’EdgeColor’,’none’, ‘FaceAlpha’,0.25)
f_label = ylabel(‘Delta F/F’);
ylim([-0.05 0.05]); % centered at 0
ax = gca;
ax.YColor = [0.4660 0.6740 0.1880];
ax.XColor = ‘k’;
set(ax, ‘FontSize’, 15, ‘LineWidth’, 2)
xlabel(‘Time (sec)’)
xlim(xaxeslimits);
if tileind == size(ROIs, 2)
tileind = 1;
else
tileind = tileind+2;
end
end
leg1 = legend({‘GCaMP’, ‘SEM’, ‘HbO’,’SEM’, ‘HbR’,’SEM’}, ‘Orientation’, ‘Horizontal’);
leg1.Location = ‘southoutside’;
% f.Position = [10 10 1800 1000];
f.Position = [10 10 900 1000];
% save
pause(0.5)
% saveas(gcf, [SaveDir ‘/NVC/Sham_RS/’ Acq ‘_’ type ‘_’ ROIsavename ‘_AvCurves.tiff’], ‘tiff’);
% saveas(gcf, [SaveDir ‘/NVC/Sham_RS/’ Acq ‘_’ type ‘_’ ROIsavename ‘_AvCurves.eps’], ‘epsc’);
saveas(gcf, [SaveDir ‘/NVC/Sham_RS/’ Acq ‘_’ type ‘_’ ROIsavename ‘_AvCurves.svg’], ‘svg’);
close(f)
Does anybody know how to fix this? I’d like to be able to easily alter the x-axis and have it still work.
Best,
Marleen Hi,
I’m making figures in MATLAB and want to export them in .svg to work with them in other programs. So far, that has been no problem, but I’m stumbling into something odd now. I’m trying to export this figure:
As you can see, this works fine in .png. This is also what the figure looks like in MATLAB. However, when I export as .svg, the blue patch that I plotted around the line to indicate the SEM continues until 10 seconds instead of 5:
I think this might be because I’m first plotting the patch, and then alter the x axis. However, this is not visible in the matlab figure, and the red and green patches show no problem for this.
My code is as follows:
xaxeslimits = [-5 5];
f = figure(‘InvertHardcopy’,’off’,’Color’,[1 1 1]);
t = tiledlayout(size(ROIs,2)/2, 2);
x = linspace(-5, 10, 226);
tileind = 2;
for roi = 1:size(ROIs, 2)
nexttile(tileind)
title(ROInames{roi})
eval([‘yhbo = means.hbo.’ ROIs{roi} ‘;’])
eval([‘SEMhbo = sems.hbo.’ ROIs{roi} ‘;’])
eval([‘yhbr = means.hbr.’ ROIs{roi} ‘;’])
eval([‘SEMhbr = sems.hbr.’ ROIs{roi} ‘;’])
eval([‘y = means.fluo.’ ROIs{roi} ‘;’])
eval([‘SEM = sems.fluo.’ ROIs{roi} ‘;’])
y = y-1; % to get centered around 0
% HbO
yyaxis right
plot(x, yhbo, ‘Color’, ‘red’, ‘LineWidth’, 2)
patch([x, fliplr(x)], [yhbo + SEMhbo fliplr(yhbo – SEMhbo)], ‘r’ ,’EdgeColor’,’none’, ‘FaceAlpha’,0.25)
hold on
% HbR
plot(x, yhbr, ‘Color’, ‘blue’, ‘LineStyle’, ‘-‘, ‘LineWidth’, 2)
patch([x, fliplr(x)], [yhbr + SEMhbr fliplr(yhbr – SEMhbr)], ‘b’ ,’EdgeColor’,’none’, ‘FaceAlpha’,0.25)
ylim([-1.5 1.5]);
h_label = ylabel(‘Delta muM’, ‘interpreter’, ‘Tex’, ‘Rotation’, 270);
ax = gca;
ax.YColor = ‘red’;
ax.XColor = ‘k’;
set(ax, ‘FontSize’, 15, ‘LineWidth’, 2)
xlim(xaxeslimits);
% Fluo
yyaxis left
plot(x,y, ‘Color’, [0.4660 0.6740 0.1880], ‘LineWidth’, 2);
patch([x, fliplr(x)], [y + SEM fliplr(y – SEM)], ‘g’ ,’EdgeColor’,’none’, ‘FaceAlpha’,0.25)
f_label = ylabel(‘Delta F/F’);
ylim([-0.05 0.05]); % centered at 0
ax = gca;
ax.YColor = [0.4660 0.6740 0.1880];
ax.XColor = ‘k’;
set(ax, ‘FontSize’, 15, ‘LineWidth’, 2)
xlabel(‘Time (sec)’)
xlim(xaxeslimits);
if tileind == size(ROIs, 2)
tileind = 1;
else
tileind = tileind+2;
end
end
leg1 = legend({‘GCaMP’, ‘SEM’, ‘HbO’,’SEM’, ‘HbR’,’SEM’}, ‘Orientation’, ‘Horizontal’);
leg1.Location = ‘southoutside’;
% f.Position = [10 10 1800 1000];
f.Position = [10 10 900 1000];
% save
pause(0.5)
% saveas(gcf, [SaveDir ‘/NVC/Sham_RS/’ Acq ‘_’ type ‘_’ ROIsavename ‘_AvCurves.tiff’], ‘tiff’);
% saveas(gcf, [SaveDir ‘/NVC/Sham_RS/’ Acq ‘_’ type ‘_’ ROIsavename ‘_AvCurves.eps’], ‘epsc’);
saveas(gcf, [SaveDir ‘/NVC/Sham_RS/’ Acq ‘_’ type ‘_’ ROIsavename ‘_AvCurves.svg’], ‘svg’);
close(f)
Does anybody know how to fix this? I’d like to be able to easily alter the x-axis and have it still work.
Best,
Marleen image export, svg, plotting, figure export MATLAB Answers — New Questions
Error using barrier Objective function is undefined at initial point. Fmincon cannot continue.
Hi, after running my code
R=readmatrix(filename1);
R=R.’;
w=readmatrix(filename2);
gamma = 2;
Aeq = ones(1,68);
beq = 1;
lb = zeros(68,1);
ub = ones(68,1);
x0=0.0147*ones(1,68);
u = @(x) 1/(1-gamma)*x.^(1-gamma);
obj = @(x)-sum(u(x*w*R));
x = fmincon(obj,x0,[],[],Aeq,beq,lb,ub);
I recived the following error
Error using barrier
Objective function is undefined at initial point. Fmincon cannot continue.
Error in fmincon (line 824)
[X,FVAL,EXITFLAG,OUTPUT,LAMBDA,GRAD,HESSIAN] =
barrier(funfcn,X,A,B,Aeq,Beq,l,u,confcn,options.HessFcn, …
I run the same code before but with a lees number of data and it works perfectly. Can you please help me what is wrong with my code ?
Thanks in advance
:::: UPDATE
after my discussion with Torsten : here
I reads my data carefully and found the problem with my dataHi, after running my code
R=readmatrix(filename1);
R=R.’;
w=readmatrix(filename2);
gamma = 2;
Aeq = ones(1,68);
beq = 1;
lb = zeros(68,1);
ub = ones(68,1);
x0=0.0147*ones(1,68);
u = @(x) 1/(1-gamma)*x.^(1-gamma);
obj = @(x)-sum(u(x*w*R));
x = fmincon(obj,x0,[],[],Aeq,beq,lb,ub);
I recived the following error
Error using barrier
Objective function is undefined at initial point. Fmincon cannot continue.
Error in fmincon (line 824)
[X,FVAL,EXITFLAG,OUTPUT,LAMBDA,GRAD,HESSIAN] =
barrier(funfcn,X,A,B,Aeq,Beq,l,u,confcn,options.HessFcn, …
I run the same code before but with a lees number of data and it works perfectly. Can you please help me what is wrong with my code ?
Thanks in advance
:::: UPDATE
after my discussion with Torsten : here
I reads my data carefully and found the problem with my data Hi, after running my code
R=readmatrix(filename1);
R=R.’;
w=readmatrix(filename2);
gamma = 2;
Aeq = ones(1,68);
beq = 1;
lb = zeros(68,1);
ub = ones(68,1);
x0=0.0147*ones(1,68);
u = @(x) 1/(1-gamma)*x.^(1-gamma);
obj = @(x)-sum(u(x*w*R));
x = fmincon(obj,x0,[],[],Aeq,beq,lb,ub);
I recived the following error
Error using barrier
Objective function is undefined at initial point. Fmincon cannot continue.
Error in fmincon (line 824)
[X,FVAL,EXITFLAG,OUTPUT,LAMBDA,GRAD,HESSIAN] =
barrier(funfcn,X,A,B,Aeq,Beq,l,u,confcn,options.HessFcn, …
I run the same code before but with a lees number of data and it works perfectly. Can you please help me what is wrong with my code ?
Thanks in advance
:::: UPDATE
after my discussion with Torsten : here
I reads my data carefully and found the problem with my data fmincon MATLAB Answers — New Questions
how extract two arrays in matlab of unequal length
I have datasets of unequal length, like data file 1 has 47 data points and data file 2 has 649 data points , now i want diffence of these two curves, but I am looking for options , how to extract them.
I am attaching image of the plots.
please guide.
Regards,
IqraI have datasets of unequal length, like data file 1 has 47 data points and data file 2 has 649 data points , now i want diffence of these two curves, but I am looking for options , how to extract them.
I am attaching image of the plots.
please guide.
Regards,
Iqra I have datasets of unequal length, like data file 1 has 47 data points and data file 2 has 649 data points , now i want diffence of these two curves, but I am looking for options , how to extract them.
I am attaching image of the plots.
please guide.
Regards,
Iqra arrays, different length, matlab MATLAB Answers — New Questions
how to remove noise from curves and take their derivates
Hello,
I have some curves which are not smooth, I have to take their derivative. therefore first requirement is remove the noise and take the derivative.
I am doing this work through curve fitting using rat35, poly9 etc. and then taking the derivative. but everytime i run the script, result changes slighty.
i am attaching the curve , their zoom version and then warnings which appeared in workspace, would you please guide me how i should handle this issue.
Regards,
KiranHello,
I have some curves which are not smooth, I have to take their derivative. therefore first requirement is remove the noise and take the derivative.
I am doing this work through curve fitting using rat35, poly9 etc. and then taking the derivative. but everytime i run the script, result changes slighty.
i am attaching the curve , their zoom version and then warnings which appeared in workspace, would you please guide me how i should handle this issue.
Regards,
Kiran Hello,
I have some curves which are not smooth, I have to take their derivative. therefore first requirement is remove the noise and take the derivative.
I am doing this work through curve fitting using rat35, poly9 etc. and then taking the derivative. but everytime i run the script, result changes slighty.
i am attaching the curve , their zoom version and then warnings which appeared in workspace, would you please guide me how i should handle this issue.
Regards,
Kiran curve fitting, noise, smooth curve, derivative, denoising, fitnlm, sgolayfilt MATLAB Answers — New Questions
Write a function called corners that takes a matrix as an input argument and returns four outputs: the elements at its four corners in this order: top_left, top_right, bottom_left and bottom_right. (Note that loops and if-statements are neither neces
This question is soft-locked: new answers that are equivalent to already posted answers may be deleted without prior notice.
Can’t find a solution to this problem im a noob, please help, example
>> [a, b, c, d] = corners([1 2; 3 4])
a =
1
b =
2
c =
3
d =
4This question is soft-locked: new answers that are equivalent to already posted answers may be deleted without prior notice.
Can’t find a solution to this problem im a noob, please help, example
>> [a, b, c, d] = corners([1 2; 3 4])
a =
1
b =
2
c =
3
d =
4 This question is soft-locked: new answers that are equivalent to already posted answers may be deleted without prior notice.
Can’t find a solution to this problem im a noob, please help, example
>> [a, b, c, d] = corners([1 2; 3 4])
a =
1
b =
2
c =
3
d =
4 functions, homework, soft-lock, corners of matrix MATLAB Answers — New Questions
Maximize my GUI window
How can i maximize my GUI window keeping the ratio of all my labels and buttons maximized with the windowHow can i maximize my GUI window keeping the ratio of all my labels and buttons maximized with the window How can i maximize my GUI window keeping the ratio of all my labels and buttons maximized with the window matlab gui, guide, app designer, appdesigner, resize, gui MATLAB Answers — New Questions
Enhanced Collaboration in Custom Environment
Does anyone know if the enhanced collaboration is available in a custom environment?
Does anyone know if the enhanced collaboration is available in a custom environment? Read More
Future of Project Accelerator
I recently deployed Project Accelerator and have been using it in production. I am concerned over the future of the platform. Does anyone have any insight on the future of this platform?
I recently deployed Project Accelerator and have been using it in production. I am concerned over the future of the platform. Does anyone have any insight on the future of this platform? Read More
Copilot for Microsoft 365 limitations with document size
Hey,
I’m trying to understand what the limitations with files size within Copilot for M365 are.
For example, when I ask to summarize a very large file, I’m not sure what is the size limit in terms of number of words or MB.
Another example, when I create a Word document or a PPT document from a Word file or a PDF file, I’m not sure what the size limit is for the referred document.
Any clue, any links, any data?
Hey,I’m trying to understand what the limitations with files size within Copilot for M365 are.For example, when I ask to summarize a very large file, I’m not sure what is the size limit in terms of number of words or MB.Another example, when I create a Word document or a PPT document from a Word file or a PDF file, I’m not sure what the size limit is for the referred document.Any clue, any links, any data? Read More
Calculate Year’s Past
Hello All – I’m looking to convert many rows within a table to a Year’s left equation instead of doing it all by hand. The result should be,
Year New – 2020
5 Years before Expiration
Years remaining – 1
Year New 2018
5 Years before Expiration
Years Remaining – (-1)
I have all my years of expiration in a separate box but trying to come up with a simple formula that calculates the years remaining but putting it simply as a 5 years left or -1 years left. Any advice would be appreciated, thank you
Hello All – I’m looking to convert many rows within a table to a Year’s left equation instead of doing it all by hand. The result should be, Year New – 2020 5 Years before Expiration Years remaining – 1 Year New 2018 5 Years before ExpirationYears Remaining – (-1) I have all my years of expiration in a separate box but trying to come up with a simple formula that calculates the years remaining but putting it simply as a 5 years left or -1 years left. Any advice would be appreciated, thank you Read More
Uusi Bit.get-suosituskoodi: qp29 (uusi rekisteröinti 2024)
Paras B I T GE T -viitekoodi vuodelle 2024 on “qp29”. Käytä tätä koodia saadaksesi 30% alennuksen kaupoista. Lisäksi uudet käyttäjät, jotka rekisteröityvät B I T GE T -palveluun käyttämällä tarjouskoodia “qp29“, voivat saada eksklusiivisen palkinnon, joka on jopa 5005 USDT.
B I T GE T -viitekoodin qp29 edut
B I T GE T -viitekoodi qp29 tarjoaa loistavan tavan säästää kaupankäyntikuluissa ja ansaita samalla houkuttelevia palkintoja. Syöttämällä tämän koodin saat pysyvän 30 % alennuksen kaupankäyntikuluistasi. Lisäksi, jos jaat henkilökohtaisen viittauskoodisi ystäviesi kanssa, voit saada 50 % bonuksen heidän kaupankäyntikuluistaan. Hyödynnä tämä tilaisuus kasvattaaksesi tulojasi ja tuomalla uusia käyttäjiä alustalle.
Paras B I T GE T -viitekoodi vuodelle 2024
Suositeltu B I T GE T -viitekoodi vuodelle 2024 on qp29. Kun rekisteröidyt tällä koodilla, voit saada jopa 5005 USDT bonuksena. Jaa tämä koodi ystävillesi ansaitaksesi 50 % provisiota, mikä auttaa sinua varmistamaan enintään 5005 USDT:n rekisteröintibonuksen. Tämä on loistava tapa parantaa kaupankäyntikokemustasi lisäetuilla ja kannustaa muita osallistumaan.
Kuinka käyttää B I T GE T -viitekoodia
B I T GE T -viitekoodi on tarkoitettu erityisesti uusille käyttäjille, jotka eivät ole vielä rekisteröityneet alustalle. Käytä koodia seuraavasti:
Vieraile B I T GE T -sivustolla ja napsauta “Kirjaudu sisään”.
Anna käyttäjätietosi ja käy läpi KYC- ja AML-menettelyt.
Kun sinua pyydetään antamaan viittauskoodi, kirjoita qp29.
Suorita rekisteröintiprosessi ja suorita tarvittavat vahvistukset.
Kun kaikki ehdot täyttyvät, saat heti tervetuliaisbonuksesi.
Miksi käyttää B I T GE T -viitekoodia?
Pysyvä alennus: Koodilla qp29 saat automaattisesti 30 % alennuksen kaikista kaupankäyntipalkkioista.
Runsas tervetuliaisbonus: Uudet käyttäjät voivat saada jopa 5005 USDT.
Lisätulot: Jaa koodisi ja ansaitse 50 % provisio.
Hyödynnä tämä tilaisuus ja varmista etusi nykyisellä B I T GE T -viitekoodilla qp29! Saat jopa 5005 USDT ja hyödynnä pysyviä alennuksia kaupankäyntikuluistasi.
Paras B I T GE T -viitekoodi vuodelle 2024 on “qp29”. Käytä tätä koodia saadaksesi 30% alennuksen kaupoista. Lisäksi uudet käyttäjät, jotka rekisteröityvät B I T GE T -palveluun käyttämällä tarjouskoodia “qp29”, voivat saada eksklusiivisen palkinnon, joka on jopa 5005 USDT.B I T GE T -viitekoodin qp29 edutB I T GE T -viitekoodi qp29 tarjoaa loistavan tavan säästää kaupankäyntikuluissa ja ansaita samalla houkuttelevia palkintoja. Syöttämällä tämän koodin saat pysyvän 30 % alennuksen kaupankäyntikuluistasi. Lisäksi, jos jaat henkilökohtaisen viittauskoodisi ystäviesi kanssa, voit saada 50 % bonuksen heidän kaupankäyntikuluistaan. Hyödynnä tämä tilaisuus kasvattaaksesi tulojasi ja tuomalla uusia käyttäjiä alustalle.Paras B I T GE T -viitekoodi vuodelle 2024Suositeltu B I T GE T -viitekoodi vuodelle 2024 on qp29. Kun rekisteröidyt tällä koodilla, voit saada jopa 5005 USDT bonuksena. Jaa tämä koodi ystävillesi ansaitaksesi 50 % provisiota, mikä auttaa sinua varmistamaan enintään 5005 USDT:n rekisteröintibonuksen. Tämä on loistava tapa parantaa kaupankäyntikokemustasi lisäetuilla ja kannustaa muita osallistumaan.Kuinka käyttää B I T GE T -viitekoodiaB I T GE T -viitekoodi on tarkoitettu erityisesti uusille käyttäjille, jotka eivät ole vielä rekisteröityneet alustalle. Käytä koodia seuraavasti:Vieraile B I T GE T -sivustolla ja napsauta “Kirjaudu sisään”.Anna käyttäjätietosi ja käy läpi KYC- ja AML-menettelyt.Kun sinua pyydetään antamaan viittauskoodi, kirjoita qp29.Suorita rekisteröintiprosessi ja suorita tarvittavat vahvistukset.Kun kaikki ehdot täyttyvät, saat heti tervetuliaisbonuksesi.Miksi käyttää B I T GE T -viitekoodia?Pysyvä alennus: Koodilla qp29 saat automaattisesti 30 % alennuksen kaikista kaupankäyntipalkkioista.Runsas tervetuliaisbonus: Uudet käyttäjät voivat saada jopa 5005 USDT.Lisätulot: Jaa koodisi ja ansaitse 50 % provisio.Hyödynnä tämä tilaisuus ja varmista etusi nykyisellä B I T GE T -viitekoodilla qp29! Saat jopa 5005 USDT ja hyödynnä pysyviä alennuksia kaupankäyntikuluistasi. Read More
Deleted Users
Hi all,
We have E5 Compliance licenses. I’ve been asked to set a retention policy of five years just for current employees. If I use a Static scope of all users for the retention policy, what happens when a user leaves.
So after the deleted user is soft deleted then hard deleted, are their associated retained emails also deleted. I know we can use inactive mailboxes and legal holds if we want to keep the email, but just wondering about what happens if we don’t.
Hi all, We have E5 Compliance licenses. I’ve been asked to set a retention policy of five years just for current employees. If I use a Static scope of all users for the retention policy, what happens when a user leaves. So after the deleted user is soft deleted then hard deleted, are their associated retained emails also deleted. I know we can use inactive mailboxes and legal holds if we want to keep the email, but just wondering about what happens if we don’t. Read More
Új Bit.get ajánlási kód: qp29 (új regisztráció 2024)
A legjobb B I T GE T ajánlókód 2024-re a „qp29”. Használja ezt a kódot, hogy 30% kedvezményt kapjon a kereskedésekből. Ezenkívül az új felhasználók, akik a „qp29” promóciós kóddal regisztrálnak a B I T GE T-re, akár 5005 USDT exkluzív jutalomban is részesülhetnek.
A B I T GE T ajánlókód qp29 előnyei
A B I T GE T qp29 ajánlókód nagyszerű lehetőséget kínál a kereskedési díjak megtakarítására, miközben vonzó jutalmakat keres. A kód megadásával állandó 30% kedvezményt kap a kereskedési díjaiból. Ezenkívül, ha megosztja személyes ajánlókódját barátaival, 50% bónuszt kaphat a kereskedési díjakra. Használja ki ezt a lehetőséget, hogy növelje bevételeit, miközben új felhasználókat hozzon a platformra.
A legjobb B I T GE T ajánlókód 2024-re
Az ajánlott B I T GE T ajánlókód 2024-re a qp29. Ha ezzel a kóddal regisztrál, akár 5005 USDT-t is kaphat bónuszként. Oszd meg ezt a kódot barátaiddal, hogy 50%-os jutalékot kapj, így biztosíthatod a maximum 5005 USDT értékű regisztrációs bónuszt. Ez egy nagyszerű módja annak, hogy további előnyökkel javítsa kereskedési élményét, miközben másokat is a részvételre ösztönöz.
A B I T GE T ajánlókód használata
A B I T GE T ajánlókód kifejezetten azoknak az új felhasználóknak szól, akik még nem regisztráltak a platformon. A kód használatához kövesse az alábbi lépéseket:
Látogassa meg a B I T GE T webhelyet, és kattintson a „Bejelentkezés” gombra.
Adja meg felhasználói adatait, és végezze el a KYC és AML eljárásokat.
Amikor a rendszer kéri az ajánlókódot, írja be a qp29 kódot.
Végezze el a regisztrációs folyamatot, és végezze el a szükséges ellenőrzéseket.
Ha minden feltétel teljesül, azonnal megkapja az üdvözlő bónuszt.
Miért használja a B I T GE T ajánlókódot?
Állandó kedvezmény: A qp29 kóddal automatikusan 30% kedvezményt kap minden kereskedési jutalékból.
Nagyvonalú üdvözlő bónusz: Az új felhasználók akár 5005 USDT-t is kaphatnak.
További bevétel: Ossza meg kódját, és szerezzen 50% jutalékot.
Használja ki ezt a lehetőséget, és biztosítsa előnyeit a jelenlegi B I T GE T qp29 ajánlókóddal! Kapjon akár 5005 USDT-t, és részesüljön állandó kedvezményekben kereskedési díjaiból.
A legjobb B I T GE T ajánlókód 2024-re a „qp29”. Használja ezt a kódot, hogy 30% kedvezményt kapjon a kereskedésekből. Ezenkívül az új felhasználók, akik a „qp29” promóciós kóddal regisztrálnak a B I T GE T-re, akár 5005 USDT exkluzív jutalomban is részesülhetnek.A B I T GE T ajánlókód qp29 előnyeiA B I T GE T qp29 ajánlókód nagyszerű lehetőséget kínál a kereskedési díjak megtakarítására, miközben vonzó jutalmakat keres. A kód megadásával állandó 30% kedvezményt kap a kereskedési díjaiból. Ezenkívül, ha megosztja személyes ajánlókódját barátaival, 50% bónuszt kaphat a kereskedési díjakra. Használja ki ezt a lehetőséget, hogy növelje bevételeit, miközben új felhasználókat hozzon a platformra.A legjobb B I T GE T ajánlókód 2024-reAz ajánlott B I T GE T ajánlókód 2024-re a qp29. Ha ezzel a kóddal regisztrál, akár 5005 USDT-t is kaphat bónuszként. Oszd meg ezt a kódot barátaiddal, hogy 50%-os jutalékot kapj, így biztosíthatod a maximum 5005 USDT értékű regisztrációs bónuszt. Ez egy nagyszerű módja annak, hogy további előnyökkel javítsa kereskedési élményét, miközben másokat is a részvételre ösztönöz.A B I T GE T ajánlókód használataA B I T GE T ajánlókód kifejezetten azoknak az új felhasználóknak szól, akik még nem regisztráltak a platformon. A kód használatához kövesse az alábbi lépéseket:Látogassa meg a B I T GE T webhelyet, és kattintson a „Bejelentkezés” gombra.Adja meg felhasználói adatait, és végezze el a KYC és AML eljárásokat.Amikor a rendszer kéri az ajánlókódot, írja be a qp29 kódot.Végezze el a regisztrációs folyamatot, és végezze el a szükséges ellenőrzéseket.Ha minden feltétel teljesül, azonnal megkapja az üdvözlő bónuszt.Miért használja a B I T GE T ajánlókódot?Állandó kedvezmény: A qp29 kóddal automatikusan 30% kedvezményt kap minden kereskedési jutalékból.Nagyvonalú üdvözlő bónusz: Az új felhasználók akár 5005 USDT-t is kaphatnak.További bevétel: Ossza meg kódját, és szerezzen 50% jutalékot.Használja ki ezt a lehetőséget, és biztosítsa előnyeit a jelenlegi B I T GE T qp29 ajánlókóddal! Kapjon akár 5005 USDT-t, és részesüljön állandó kedvezményekben kereskedési díjaiból. Read More
Announcing new Windows Autopilot onboarding experience for government and commercial customers
Organizations are increasingly adopting a hybrid workplace and Windows Autopilot provides flexibility to deliver devices to users anywhere with internet connectivity. With more and more adoption of Windows Autopilot, Microsoft Intune is enhancing this solution to support a greater variety of scenarios and use cases.
Today, Intune is releasing a new Autopilot profile experience, Windows Autopilot device preparation, which enables IT admins to deploy configurations efficiently and consistently and removes the complexity of troubleshooting for both commercial and government (Government Community Cloud (GCC) High, and U.S. Department of Defense (DoD)) organizations and agencies.
What is Windows Autopilot device preparation and why was it created?
While the existing Windows Autopilot experience supports multiple scenarios and device types, we’re extending this value across additional cloud instances and improving consistency and troubleshooting capabilities based on customer feedback. We’re introducing Autopilot device preparation in a way that won’t interrupt current deployments or experience and provides a more consistent and efficient experience.
Among some of the benefits of Autopilot device preparation are:
Availability in government clouds (GCC High and DoD) which will allow government customers to deploy at scale using Autopilot.
Providing more consistency in user experience during deployments by locking in IT admins intentions for onboarding.
Creating more error resiliency in the experience to allow users to recover without needing to call a help desk.
Sharing more insight into the Autopilot process with new reporting details.
A single Autopilot device preparation profile to configure deployment and OOBE settings
The Autopilot device preparation admin experience simplifies admin configuration by having a single profile to provision all policies in one location, including deployment settings and out-of-box (OOBE) settings. It also improves the consistency of the experience for users and gets them to the desktop faster by allowing you to select which apps (line-of-business (LOB), Win32, or Store apps) and PowerShell scripts must be delivered during OOBE.
Grouping at enrollment time
An improved grouping experience places devices in a group at the time of enrollment. Simply assign all configurations to a device security group and include the group as part of the device preparation profile. The configuration will be saved and then delivered on the device as soon as the user authenticates during OOBE.
New user experience in OOBE
A simplified OOBE view shows the progress of the deployment in percentage % so that users know how far along in the process they are. When the device preparation configuration has been delivered to the device, the user will be informed that critical setup is complete, and they can continue to the desktop.
The Autopilot device preparation deployment report
The new Autopilot device preparation deployment report captures the status of each deployment in near real-time and provides detailed information to help with troubleshooting. Here are some highlights of what to expect:
Easily track which devices went through Autopilot
Track status and deployment phase in near-real-time
Expand more details for each deployment:
Device details
Profile name and version
Deployment status details
Apps applied with status
Scripts applied with status
Coming soon: Corporate identifiers for Windows
While we don’t have a tenant association feature ready in this initial release, we understand the importance of only allowing known devices to enroll to your tenant. So, we’ll soon expand enrollment restrictions to include Windows corporate identifiers. Autopilot device preparation will support the new corporate identifier enrollment feature <link to doc>. This added functionality will allow you to pre-upload device identifiers and ensure only trusted devices go through Autopilot device preparation. Stay tuned to What’s new in Intune for the release!
Frequently Asked Questions
How is this new Autopilot profile different from the current Autopilot profile?
The new Autopilot profile is a re-architecture of the current Autopilot profile so while the experience to OEMs, IT admins and users may look the same, the underlying architecture is very different. The updated architecture in the new Autopilot profiles gives the admin new capabilities that improve the deployment experience.
New orchestration agent allows the experience to fail fast and provide more error details.
Targeting is more precise and avoids dynamic changes when dynamic grouping is used.
Reporting infrastructure provides more details on the deployment experience.
Who does the new Autopilot profile benefit?
The new profile will benefit government customers who can now use Windows Autopilot device preparation to streamline their deployments at scale. It’ll also benefit new customers onboarding Windows Autopilot by reducing the complexity of setting up the deployment.
Is the new profile available in all sovereign clouds?
The new profile is available for Government Community Cloud (GCC) High and U.S. Department of Defense (DoD). It’s expected to be available for Intune operated by 21Vianet in China later this year.
What about the other Autopilot scenarios like pre-provisioning and self-deploying mode?
These functionalities will be supported in the future but aren’t part of the initial release.
Why is there a limit on the number of apps I can select to be delivered during OOBE?
We limited the number of applications that can be applied during OOBE to increase stability and achieve a higher success rate. Looking at our telemetry, almost 90% of all Autopilot deployments are deployed with 10 or fewer apps. This limit is intended to improve the overall user experience so that users can become more productive quickly. We understand that there are outliers and companies that want to target more during setup, but for the user-driven approach, we want to leverage the desktop experience for non-essential applications.
What is the order of installation for the device preparation profile?
The process is described in detail in: Overview for Windows Autopilot device preparation user-driven Microsoft Entra join in Intune.
Can we now mix app types such as LOB and Win32 apps with the device preparation profile?
While we always recommend Win32 apps, in current Autopilot deployments, mixing apps may result in errors. With the device preparation profile, we’ve streamlined the providers so different app types should not impact each other.
What is the guidance on user- vs device-based targeting?
Only device-based configurations will be delivered during OOBE. Assign security policy to devices, ensure all selected apps in the device preparation profile are set to install in system context, and are targeted to the device security group specified in the profile.
How will users know when the setup is complete?
Many users aren’t sure when the provisioning process is complete. To help mitigate confusion and calls to the help desk, we’re adding a completion page in OOBE. Admins can configure the pageto require a user to manually select to continue or set the page to auto-continue. This message will let the user know that OOBE setup is complete but there may be additional installations happening that they can monitor in the Intune Company Portal.
Can the new profile be used by other MDMs?
Windows Autopilot device preparation will support 3rd party MDMs. In this initial release, configuration is only possible via Intune.
Will this be available on Windows 10 devices?
Currently, device preparation profiles are only available on:
Windows 11, version 23H2 with KB5035942 or later.
Windows 11, version 22H2 with KB5035942 or later.
How can I move my existing devices to the new device preparation profile?
If you’d like to have an existing device join your tenant through the device preparation profile, the device would first need to be de-registered from Autopilot, then retargeted to a security group within your device preparation profile.
Do I need to migrate my existing profiles from Autopilot-to-Autopilot device preparation?
There’s no need to migrate from existing Autopilot to the new Autopilot profile. We expect both environments to exist in parallel for a while as we work to improve the experience and add more functionality.
Does this mean we are no longer investing in Autopilot?
Not at all! We’re continuing to work on Autopilot in parallel with developing Autopilot device preparation. The first release of Autopilot device preparation won’t have all the scenarios of Autopilot, specifically pre-provisioning and self-deploying modes, so we’ll continue to invest in those areas. Additionally, where possible, we plan to add any high value features from Autopilot device preparation to Autopilot to improve the experience for all customers.
If you have any questions, leave a comment below or reach out to us on X @IntuneSuppTeam. Stay tuned to What’s new in Intune and What’s new in Autopilot as we continue developing this new deployment experience.
Microsoft Tech Community – Latest Blogs –Read More