Category: News
Enabling Windows Hello for Business in Hybrid
Hello, we’re in a hybrid environment and we wanted to deploy Windows Hello. I have deployed the Cloud Kerberos for this requirement. I have done all the pre-requisite steps, I’m seeing the CloudTGT on dsregcmd. However, I’m still receiving the error below. Any suggestion on where to look at?
Hello, we’re in a hybrid environment and we wanted to deploy Windows Hello. I have deployed the Cloud Kerberos for this requirement. I have done all the pre-requisite steps, I’m seeing the CloudTGT on dsregcmd. However, I’m still receiving the error below. Any suggestion on where to look at? Read More
mIcrosoft Shifts – enable time off requests without notifications
Hi
Is it possible to enable time-off requests but not have the notifications go to the MS team owners? I have a MS team that contains all the staff in a department – the MS team has 8 owners but i want any time off requests to go to the resources manager on AAD not all the teams owners. Whilst I have a power automate to handle the approvals it does not prevent the mass notification of the Teams owners. It would be great if you could either:
a. Enable time off requests without notifications – and handle approvals via power automate
or better still
b. Enable time off requests and select whether notifications go to teams owners/users manager or both
If this is possible already can someone let me know how?
HiIs it possible to enable time-off requests but not have the notifications go to the MS team owners? I have a MS team that contains all the staff in a department – the MS team has 8 owners but i want any time off requests to go to the resources manager on AAD not all the teams owners. Whilst I have a power automate to handle the approvals it does not prevent the mass notification of the Teams owners. It would be great if you could either: a. Enable time off requests without notifications – and handle approvals via power automateor better stillb. Enable time off requests and select whether notifications go to teams owners/users manager or both If this is possible already can someone let me know how? Read More
Microsoft Forms “enter a date” option
Hello,
Forms has the function of adding the option ‘enter a date’ to a question. I would like the respondent to be able to enter 2 date options. However, it is not possible for me to assign the option ‘select a date’ twice to a question, but a new question is then generated directly.
Does anyone know how to solve this?
Many thanks
Hello, Forms has the function of adding the option ‘enter a date’ to a question. I would like the respondent to be able to enter 2 date options. However, it is not possible for me to assign the option ‘select a date’ twice to a question, but a new question is then generated directly. Does anyone know how to solve this?Many thanks Read More
Plotting Eddy Kinetic Energy
Hi I have problem with plotting eddy kinetic energy (EKE)
I have a data of sea surface height (variable name: adt) with matrix [n m k]. n is latitude, m is longitude and k is time.
I want to plot EKE with equation below
here is my initial code
regionName = ‘SouthIndian’ % change as you need to ..
eval([‘load ‘ regionName]); %to evaluate the data
[n, m, k] = size(b.adt); %n =lat, m= lon, k = absolute topohraphy
adt_mean = squeeze(mean(shiftdim(b.adt,2)));
g=(9.8).^2;
f=2.*(coriolisf(b.lat)).^2;
dhx=(diff(adt_mean)./diff(b.lat)).^2;
dhy=(diff(shiftdim(adt_mean,1))./diff(b.lon)).^2;
eke=g/f*(dhx+dhy);
But it doesnt working. Plese help or any suggestion about it.Hi I have problem with plotting eddy kinetic energy (EKE)
I have a data of sea surface height (variable name: adt) with matrix [n m k]. n is latitude, m is longitude and k is time.
I want to plot EKE with equation below
here is my initial code
regionName = ‘SouthIndian’ % change as you need to ..
eval([‘load ‘ regionName]); %to evaluate the data
[n, m, k] = size(b.adt); %n =lat, m= lon, k = absolute topohraphy
adt_mean = squeeze(mean(shiftdim(b.adt,2)));
g=(9.8).^2;
f=2.*(coriolisf(b.lat)).^2;
dhx=(diff(adt_mean)./diff(b.lat)).^2;
dhy=(diff(shiftdim(adt_mean,1))./diff(b.lon)).^2;
eke=g/f*(dhx+dhy);
But it doesnt working. Plese help or any suggestion about it. Hi I have problem with plotting eddy kinetic energy (EKE)
I have a data of sea surface height (variable name: adt) with matrix [n m k]. n is latitude, m is longitude and k is time.
I want to plot EKE with equation below
here is my initial code
regionName = ‘SouthIndian’ % change as you need to ..
eval([‘load ‘ regionName]); %to evaluate the data
[n, m, k] = size(b.adt); %n =lat, m= lon, k = absolute topohraphy
adt_mean = squeeze(mean(shiftdim(b.adt,2)));
g=(9.8).^2;
f=2.*(coriolisf(b.lat)).^2;
dhx=(diff(adt_mean)./diff(b.lat)).^2;
dhy=(diff(shiftdim(adt_mean,1))./diff(b.lon)).^2;
eke=g/f*(dhx+dhy);
But it doesnt working. Plese help or any suggestion about it. ssh, derivative, spatial MATLAB Answers — New Questions
How to interpolate data as stairs
I have a struct (lets call it Turbine State) with both time and value data. The issue is there aren’t enough data points captured with the range I want, so MATLAB intertpolates the missing data linearly between points.
i.e. shortly beore 14:10 the ‘state’ is 12 but this should remain 12 until it isn’t anymore. so the state should remain 12 before just after 14:30 when it drops to -1. How do i make this a ‘stairs’ representation and not a liner interpolation?
Thanks :)I have a struct (lets call it Turbine State) with both time and value data. The issue is there aren’t enough data points captured with the range I want, so MATLAB intertpolates the missing data linearly between points.
i.e. shortly beore 14:10 the ‘state’ is 12 but this should remain 12 until it isn’t anymore. so the state should remain 12 before just after 14:30 when it drops to -1. How do i make this a ‘stairs’ representation and not a liner interpolation?
Thanks 🙂 I have a struct (lets call it Turbine State) with both time and value data. The issue is there aren’t enough data points captured with the range I want, so MATLAB intertpolates the missing data linearly between points.
i.e. shortly beore 14:10 the ‘state’ is 12 but this should remain 12 until it isn’t anymore. so the state should remain 12 before just after 14:30 when it drops to -1. How do i make this a ‘stairs’ representation and not a liner interpolation?
Thanks 🙂 matlab, plot, plotting, interpolation MATLAB Answers — New Questions
How to block a drawnow from executing callbacks?
Mathworks has recklessly put a drawnow inside of its asynciolib for hardware read and writes:
toolboxsharedasynciolib+matlabshared+asyncio+internalStream.m Line 184: drawnow(‘limitrate’);
This will then execute callbacks in the middle of data transfer! I could remove those lines of code for every Matlab install, but if an update restores the code then I have a dangerous bug. Is there a way I can temporarily pause the event queue from executing callbacks?
The following function CallbackTest has a 10 second main loop which should not be interrupted with the press of a button. However if TCPIP commands are executed in the loop then a hidden drawnow is invoked and the button callback will be processed.
function CallbackTest(Do_TCPIP)
% Test to see if TCPIP reads evaluate callbacks.
% There is a 10s main loop which the button callback should not interrupt.
% The main loop will not be interrupted when Do_TCPIP is 0.
% However when Do_TCPIP is 1 then it will be interrupted.
%Initialize figure and button
hFigure=uifigure();
uibutton(hFigure,ButtonPushedFcn=@ACallBack);
%Initialize TCPIP
echotcpip("on",4000);
t = tcpclient("localhost",4000);
configureTerminator(t,"CR");
waitfor(hFigure,’FigureViewReady’)
%10 second main loop which should not be interrupted because there is no drawnow, figure, pause, or waitfor command
n=0;
while n < 20
if Do_TCPIP
writeline(t,"loop");
readline(t);
end
n=n+1;
java.lang.Thread.sleep(500);
end
% Wrap up
echotcpip("off");
delete(hFigure)
fprintf(‘Done!n’);
end
function ACallBack(~,~)
fprintf(‘Main loop interrupted.n’);
endMathworks has recklessly put a drawnow inside of its asynciolib for hardware read and writes:
toolboxsharedasynciolib+matlabshared+asyncio+internalStream.m Line 184: drawnow(‘limitrate’);
This will then execute callbacks in the middle of data transfer! I could remove those lines of code for every Matlab install, but if an update restores the code then I have a dangerous bug. Is there a way I can temporarily pause the event queue from executing callbacks?
The following function CallbackTest has a 10 second main loop which should not be interrupted with the press of a button. However if TCPIP commands are executed in the loop then a hidden drawnow is invoked and the button callback will be processed.
function CallbackTest(Do_TCPIP)
% Test to see if TCPIP reads evaluate callbacks.
% There is a 10s main loop which the button callback should not interrupt.
% The main loop will not be interrupted when Do_TCPIP is 0.
% However when Do_TCPIP is 1 then it will be interrupted.
%Initialize figure and button
hFigure=uifigure();
uibutton(hFigure,ButtonPushedFcn=@ACallBack);
%Initialize TCPIP
echotcpip("on",4000);
t = tcpclient("localhost",4000);
configureTerminator(t,"CR");
waitfor(hFigure,’FigureViewReady’)
%10 second main loop which should not be interrupted because there is no drawnow, figure, pause, or waitfor command
n=0;
while n < 20
if Do_TCPIP
writeline(t,"loop");
readline(t);
end
n=n+1;
java.lang.Thread.sleep(500);
end
% Wrap up
echotcpip("off");
delete(hFigure)
fprintf(‘Done!n’);
end
function ACallBack(~,~)
fprintf(‘Main loop interrupted.n’);
end Mathworks has recklessly put a drawnow inside of its asynciolib for hardware read and writes:
toolboxsharedasynciolib+matlabshared+asyncio+internalStream.m Line 184: drawnow(‘limitrate’);
This will then execute callbacks in the middle of data transfer! I could remove those lines of code for every Matlab install, but if an update restores the code then I have a dangerous bug. Is there a way I can temporarily pause the event queue from executing callbacks?
The following function CallbackTest has a 10 second main loop which should not be interrupted with the press of a button. However if TCPIP commands are executed in the loop then a hidden drawnow is invoked and the button callback will be processed.
function CallbackTest(Do_TCPIP)
% Test to see if TCPIP reads evaluate callbacks.
% There is a 10s main loop which the button callback should not interrupt.
% The main loop will not be interrupted when Do_TCPIP is 0.
% However when Do_TCPIP is 1 then it will be interrupted.
%Initialize figure and button
hFigure=uifigure();
uibutton(hFigure,ButtonPushedFcn=@ACallBack);
%Initialize TCPIP
echotcpip("on",4000);
t = tcpclient("localhost",4000);
configureTerminator(t,"CR");
waitfor(hFigure,’FigureViewReady’)
%10 second main loop which should not be interrupted because there is no drawnow, figure, pause, or waitfor command
n=0;
while n < 20
if Do_TCPIP
writeline(t,"loop");
readline(t);
end
n=n+1;
java.lang.Thread.sleep(500);
end
% Wrap up
echotcpip("off");
delete(hFigure)
fprintf(‘Done!n’);
end
function ACallBack(~,~)
fprintf(‘Main loop interrupted.n’);
end drawnow, tcpip, hardware, callbacks MATLAB Answers — New Questions
How can I batch Convert WEBP to JPG on my Windows 11?
I’m looking for a way to batch convert WEBP images to JPG format on my Windows 11 PC. I have a large number of WEBP files that I need to convert into JPGs for easier compatibility with various applications and services that don’t support the WEBP format. I’m seeking a solution that can handle the conversion of multiple files at once to save time, rather than having to manually convert each image one by one. Hopefully there is no loss in image quality! Any recommendations would be greatly appreciated.
My device:HP laptop, Windows 11 Home.
I’m looking for a way to batch convert WEBP images to JPG format on my Windows 11 PC. I have a large number of WEBP files that I need to convert into JPGs for easier compatibility with various applications and services that don’t support the WEBP format. I’m seeking a solution that can handle the conversion of multiple files at once to save time, rather than having to manually convert each image one by one. Hopefully there is no loss in image quality! Any recommendations would be greatly appreciated. My device:HP laptop, Windows 11 Home. Read More
LTSC Outlook Mac not having New Outlook
Hi All,
We are a hybrid exchange environment and a region’s mailboxes are not migrated to cloud. When we deployed Microsoft 365 version of Office to theses users, while configuring Outlook for some strange reason they were pointed to Office365 instead of Microsoft Exchange and upon investigation we finally decided to deploy LTSC version of Office. Post which they were pointed to Exchange and since then they are using this version.
The issue now here is, in this office version the users are not able to switch to New version of Outlook in Mac, when i was googling i found that we can actually enable users to switch by setting preferences as seen here:
https://learn.microsoft.com/en-us/deployoffice/mac/preferences-outlook#enable-new-outlook
The issue is, where do we run this command and how do we set this?
Hi All,We are a hybrid exchange environment and a region’s mailboxes are not migrated to cloud. When we deployed Microsoft 365 version of Office to theses users, while configuring Outlook for some strange reason they were pointed to Office365 instead of Microsoft Exchange and upon investigation we finally decided to deploy LTSC version of Office. Post which they were pointed to Exchange and since then they are using this version.The issue now here is, in this office version the users are not able to switch to New version of Outlook in Mac, when i was googling i found that we can actually enable users to switch by setting preferences as seen here:https://learn.microsoft.com/en-us/deployoffice/mac/preferences-outlook#enable-new-outlook The issue is, where do we run this command and how do we set this? Read More
Unable to edit a people column in sharepoint lists
Hello,
I have a SharePoint list with 3 people/group columns. For each column I need to restrict the people that can be selected for this item. When I allow the column content to be any user I am able to fill out the list just fine but when I set the list of users to a specific list I am unable to add anyone to these columns or edit people in these columns. This issue has been persistent with both the default form for the list and a custom form for the list.
When I have the list settings as in the below image I am unable to fill out the aforementioned columns. Any assistance would be greatly apricated in this matter.
Hello, I have a SharePoint list with 3 people/group columns. For each column I need to restrict the people that can be selected for this item. When I allow the column content to be any user I am able to fill out the list just fine but when I set the list of users to a specific list I am unable to add anyone to these columns or edit people in these columns. This issue has been persistent with both the default form for the list and a custom form for the list. When I have the list settings as in the below image I am unable to fill out the aforementioned columns. Any assistance would be greatly apricated in this matter. Read More
How to save Azure Data Factory work (objects)?
Hi,
I’m new to Azure Data Factory (ADF). I need to learn it in order to ingest external third-party data into our domain. I shall be using ADF Pipelines to retrieve the data and then load it into an Azure SQL Server database.
I currently develop Power BI reports and write SQL scripts to feed the Power BI reporting. These reports and scripts are saved in a backed-up drive – so if anything disappears, I can always use the back-ups to install the work.
The target SQL database scripts, the tables the ADF Pipelines will load to, will be backed-up following the same method.
How do I save the ADF Pipelines work and any other ADF objects that I may create (I don’t know what exactly will be created as I’m yet to develop anything in ADF)?
I’ve read about this CI/CD process but I don’t think it’s applicable to me. We are not using multiple environments (i.e. Dev, Test, UAT, Prod). I am using a Production environment only. Each data source that needs to be imported will have it’s own Pipeline, so breaking a Pipeline should not affect other Pipelines and that’s why I feel a single environment is suffice. I am the only Developer working within the ADF and so I have no need to be able to collaborate with peers and promote joint coding ventures.
Does the ADF back-up it’s Data Factories by default? If they do, can I trust that should our instance of ADF be deleted then I can retrieve the backed-up version to reinstall or roll-back?
Is the a process/software which saves the ADF objects so I can reinstall them if I need to (by the way, I’m not sure how to reinstall them so I’ll have to learn that)?
Thanks.
Hi,I’m new to Azure Data Factory (ADF). I need to learn it in order to ingest external third-party data into our domain. I shall be using ADF Pipelines to retrieve the data and then load it into an Azure SQL Server database.I currently develop Power BI reports and write SQL scripts to feed the Power BI reporting. These reports and scripts are saved in a backed-up drive – so if anything disappears, I can always use the back-ups to install the work.The target SQL database scripts, the tables the ADF Pipelines will load to, will be backed-up following the same method.How do I save the ADF Pipelines work and any other ADF objects that I may create (I don’t know what exactly will be created as I’m yet to develop anything in ADF)?I’ve read about this CI/CD process but I don’t think it’s applicable to me. We are not using multiple environments (i.e. Dev, Test, UAT, Prod). I am using a Production environment only. Each data source that needs to be imported will have it’s own Pipeline, so breaking a Pipeline should not affect other Pipelines and that’s why I feel a single environment is suffice. I am the only Developer working within the ADF and so I have no need to be able to collaborate with peers and promote joint coding ventures.Does the ADF back-up it’s Data Factories by default? If they do, can I trust that should our instance of ADF be deleted then I can retrieve the backed-up version to reinstall or roll-back?Is the a process/software which saves the ADF objects so I can reinstall them if I need to (by the way, I’m not sure how to reinstall them so I’ll have to learn that)?Thanks. Read More
Sync mail attribute from Entra ID to local Active Direcotry
Hello,
First question here and can’t seem to find the answer anywhere.
I have an existing sync with Entra Connect/Azure AD connect, however for local LDAP purposes I need to have the “mail” attribute in local Active Directory populated with the value of the user emailaddress in Entra ID. Is there any way that I can modify the connector so Entra ID syncs this value to local Active Directory?
Thanks in advance,
Kind regards,
Maik Brugman
Hello,First question here and can’t seem to find the answer anywhere.I have an existing sync with Entra Connect/Azure AD connect, however for local LDAP purposes I need to have the “mail” attribute in local Active Directory populated with the value of the user emailaddress in Entra ID. Is there any way that I can modify the connector so Entra ID syncs this value to local Active Directory?Thanks in advance,Kind regards,Maik Brugman Read More
windows ca sign certificate for linux
Hello, could you explain to me how to generate a certificate and then sign it via Windows ca?
I’m try many times using open’ssl, and then sing using website:
MyCaAddress/certsrv
Can someone explain me, step by step how i can do it ?
Hello, could you explain to me how to generate a certificate and then sign it via Windows ca?I’m try many times using open’ssl, and then sing using website:MyCaAddress/certsrvCan someone explain me, step by step how i can do it ? Read More
P-H diagram in Axes tool of App designer
Hi,
I want to reproduce the p-h diagram in App designer usin the ‘Axes’ component during the simulation of my simulink refrigeration model. My model has sensors elements from Simscape which provide the respective outputs of pressure and enthalpy necessary for the p-h diagram. However, I do not know how the code should be in UIAxes callback in order to take the live data from the sensors and then plot it in the ‘Axes’ component.
does anybody know how to do it?
Thanks in advance for your comments!Hi,
I want to reproduce the p-h diagram in App designer usin the ‘Axes’ component during the simulation of my simulink refrigeration model. My model has sensors elements from Simscape which provide the respective outputs of pressure and enthalpy necessary for the p-h diagram. However, I do not know how the code should be in UIAxes callback in order to take the live data from the sensors and then plot it in the ‘Axes’ component.
does anybody know how to do it?
Thanks in advance for your comments! Hi,
I want to reproduce the p-h diagram in App designer usin the ‘Axes’ component during the simulation of my simulink refrigeration model. My model has sensors elements from Simscape which provide the respective outputs of pressure and enthalpy necessary for the p-h diagram. However, I do not know how the code should be in UIAxes callback in order to take the live data from the sensors and then plot it in the ‘Axes’ component.
does anybody know how to do it?
Thanks in advance for your comments! app designer, axes tool, p-h diafram MATLAB Answers — New Questions
How to vary angles at constant rate in a kinematics problem?
o2 = [0, 0, 0]; % Origin
ain = [26,0,0]; % Initial vector
input_axis = [0,1,0]; % Axis of rotation (z-axis)
theta1 = deg2rad(157.5); % Angle of rotation in radians
% Rotation matrix function
rot_matrix = @(axis, theta) cos(theta) * eye(3) + …
sin(theta) * [0, -axis(3), axis(2); axis(3), 0, -axis(1); -axis(2), axis(1), 0] + …
(1 – cos(theta)) * (axis’ * axis);
% Compute the rotated vector
a_rotated = rot_matrix(input_axis, theta1) * (ain’ – o2′) + o2′;
% Transpose to row vector for display
a_rotated = a_rotated’;
a_final=a_rotated;
bin=[29.5,46,0];
o4=[13.5,46,0];
output_axis=[0,1,0];
theta2= deg2rad(105);
b1_rotated = rot_matrix(output_axis, theta2) * (bin’ – o4′) + o4′;
b1_final=b1_rotated’;
u3=[0,0,1];
c1=[125,0,0];
% Compute the rotated vector in terms of phi
syms phi;
rot_matrix_phi = rot_matrix(u3, phi);
c1_afinal_rotated = rot_matrix_phi * (c1 – a_final)’+a_final’ ;
c1_afinal_rotated = c1_afinal_rotated’; % Transpose to row vector for display
o4o2=o4-o2;
%disp(o4o2);
coupler=(c1_afinal_rotated-b1_final);
% Define the initial rotated components of the coupler
syms phi;
coupler = subs(coupler, conj(phi), phi);
%disp(‘Coupler vector without conjugate:’);
disp(coupler);
% Parametric substitution
syms t;
cos_phi = (1 – t^2) / (1 + t^2);
sin_phi = 2 * t / (1 + t^2);
% Substitute parametric forms into coupler components
coupler_parametric = subs(coupler, [cos(phi), sin(phi)], [cos_phi, sin_phi]);
% Display the parametric coupler
disp(‘Parametric form of coupler:’);
disp(coupler_parametric);
syms targetvalue % it might be 3.5 …
normsq = expand(sum(coupler_parametric.^2) – targetvalue^2);
normpoly = simplify(normsq*(t^2+1)^2);
vpa(expand(normpoly),4);
tsolve = solve(normpoly,t,’maxdegree’,4,’returnconditions’,true);
h=vpa(subs(tsolve.t,targetvalue, 106));
%disp(h);
real_solutions = h(imag(h) == 0);
disp(‘Real roots:’);
disp(real_solutions);
% Convert real values of t to angles using angle = 2 * atan(t)
angles_rad = 2 * atan(real_solutions);
angles_deg = rad2deg(angles_rad);
% Display angles in degrees
disp(‘Angles in degrees before adjustment:’);
disp(angles_deg);
phi=double(angles_rad(1));
p=double(angles_deg(1));
c1_position = double(rot_matrix(u3, phi) * (c1′ – a_final’) + a_final’);
p=(c1_position’-a_final)’;
disp(p’);
disp(p(2)/norm(c1_position’-a_final));
final_angle_phi=acosd(p(2)/norm(c1_position’-a_final)); % angle with y axis
disp(final_angle_phi) ;
disp(norm(c1_position’-b1_final));
disp(norm(a_rotated-o2));
%% in this code i want to change theta1 at rate of 90deg/sec and theta2 at rate of 60 deg/sec varying from 0 to 360 deg and want to calculate corresponding value of final_angle_phi with the y axis
%please help someoneo2 = [0, 0, 0]; % Origin
ain = [26,0,0]; % Initial vector
input_axis = [0,1,0]; % Axis of rotation (z-axis)
theta1 = deg2rad(157.5); % Angle of rotation in radians
% Rotation matrix function
rot_matrix = @(axis, theta) cos(theta) * eye(3) + …
sin(theta) * [0, -axis(3), axis(2); axis(3), 0, -axis(1); -axis(2), axis(1), 0] + …
(1 – cos(theta)) * (axis’ * axis);
% Compute the rotated vector
a_rotated = rot_matrix(input_axis, theta1) * (ain’ – o2′) + o2′;
% Transpose to row vector for display
a_rotated = a_rotated’;
a_final=a_rotated;
bin=[29.5,46,0];
o4=[13.5,46,0];
output_axis=[0,1,0];
theta2= deg2rad(105);
b1_rotated = rot_matrix(output_axis, theta2) * (bin’ – o4′) + o4′;
b1_final=b1_rotated’;
u3=[0,0,1];
c1=[125,0,0];
% Compute the rotated vector in terms of phi
syms phi;
rot_matrix_phi = rot_matrix(u3, phi);
c1_afinal_rotated = rot_matrix_phi * (c1 – a_final)’+a_final’ ;
c1_afinal_rotated = c1_afinal_rotated’; % Transpose to row vector for display
o4o2=o4-o2;
%disp(o4o2);
coupler=(c1_afinal_rotated-b1_final);
% Define the initial rotated components of the coupler
syms phi;
coupler = subs(coupler, conj(phi), phi);
%disp(‘Coupler vector without conjugate:’);
disp(coupler);
% Parametric substitution
syms t;
cos_phi = (1 – t^2) / (1 + t^2);
sin_phi = 2 * t / (1 + t^2);
% Substitute parametric forms into coupler components
coupler_parametric = subs(coupler, [cos(phi), sin(phi)], [cos_phi, sin_phi]);
% Display the parametric coupler
disp(‘Parametric form of coupler:’);
disp(coupler_parametric);
syms targetvalue % it might be 3.5 …
normsq = expand(sum(coupler_parametric.^2) – targetvalue^2);
normpoly = simplify(normsq*(t^2+1)^2);
vpa(expand(normpoly),4);
tsolve = solve(normpoly,t,’maxdegree’,4,’returnconditions’,true);
h=vpa(subs(tsolve.t,targetvalue, 106));
%disp(h);
real_solutions = h(imag(h) == 0);
disp(‘Real roots:’);
disp(real_solutions);
% Convert real values of t to angles using angle = 2 * atan(t)
angles_rad = 2 * atan(real_solutions);
angles_deg = rad2deg(angles_rad);
% Display angles in degrees
disp(‘Angles in degrees before adjustment:’);
disp(angles_deg);
phi=double(angles_rad(1));
p=double(angles_deg(1));
c1_position = double(rot_matrix(u3, phi) * (c1′ – a_final’) + a_final’);
p=(c1_position’-a_final)’;
disp(p’);
disp(p(2)/norm(c1_position’-a_final));
final_angle_phi=acosd(p(2)/norm(c1_position’-a_final)); % angle with y axis
disp(final_angle_phi) ;
disp(norm(c1_position’-b1_final));
disp(norm(a_rotated-o2));
%% in this code i want to change theta1 at rate of 90deg/sec and theta2 at rate of 60 deg/sec varying from 0 to 360 deg and want to calculate corresponding value of final_angle_phi with the y axis
%please help someone o2 = [0, 0, 0]; % Origin
ain = [26,0,0]; % Initial vector
input_axis = [0,1,0]; % Axis of rotation (z-axis)
theta1 = deg2rad(157.5); % Angle of rotation in radians
% Rotation matrix function
rot_matrix = @(axis, theta) cos(theta) * eye(3) + …
sin(theta) * [0, -axis(3), axis(2); axis(3), 0, -axis(1); -axis(2), axis(1), 0] + …
(1 – cos(theta)) * (axis’ * axis);
% Compute the rotated vector
a_rotated = rot_matrix(input_axis, theta1) * (ain’ – o2′) + o2′;
% Transpose to row vector for display
a_rotated = a_rotated’;
a_final=a_rotated;
bin=[29.5,46,0];
o4=[13.5,46,0];
output_axis=[0,1,0];
theta2= deg2rad(105);
b1_rotated = rot_matrix(output_axis, theta2) * (bin’ – o4′) + o4′;
b1_final=b1_rotated’;
u3=[0,0,1];
c1=[125,0,0];
% Compute the rotated vector in terms of phi
syms phi;
rot_matrix_phi = rot_matrix(u3, phi);
c1_afinal_rotated = rot_matrix_phi * (c1 – a_final)’+a_final’ ;
c1_afinal_rotated = c1_afinal_rotated’; % Transpose to row vector for display
o4o2=o4-o2;
%disp(o4o2);
coupler=(c1_afinal_rotated-b1_final);
% Define the initial rotated components of the coupler
syms phi;
coupler = subs(coupler, conj(phi), phi);
%disp(‘Coupler vector without conjugate:’);
disp(coupler);
% Parametric substitution
syms t;
cos_phi = (1 – t^2) / (1 + t^2);
sin_phi = 2 * t / (1 + t^2);
% Substitute parametric forms into coupler components
coupler_parametric = subs(coupler, [cos(phi), sin(phi)], [cos_phi, sin_phi]);
% Display the parametric coupler
disp(‘Parametric form of coupler:’);
disp(coupler_parametric);
syms targetvalue % it might be 3.5 …
normsq = expand(sum(coupler_parametric.^2) – targetvalue^2);
normpoly = simplify(normsq*(t^2+1)^2);
vpa(expand(normpoly),4);
tsolve = solve(normpoly,t,’maxdegree’,4,’returnconditions’,true);
h=vpa(subs(tsolve.t,targetvalue, 106));
%disp(h);
real_solutions = h(imag(h) == 0);
disp(‘Real roots:’);
disp(real_solutions);
% Convert real values of t to angles using angle = 2 * atan(t)
angles_rad = 2 * atan(real_solutions);
angles_deg = rad2deg(angles_rad);
% Display angles in degrees
disp(‘Angles in degrees before adjustment:’);
disp(angles_deg);
phi=double(angles_rad(1));
p=double(angles_deg(1));
c1_position = double(rot_matrix(u3, phi) * (c1′ – a_final’) + a_final’);
p=(c1_position’-a_final)’;
disp(p’);
disp(p(2)/norm(c1_position’-a_final));
final_angle_phi=acosd(p(2)/norm(c1_position’-a_final)); % angle with y axis
disp(final_angle_phi) ;
disp(norm(c1_position’-b1_final));
disp(norm(a_rotated-o2));
%% in this code i want to change theta1 at rate of 90deg/sec and theta2 at rate of 60 deg/sec varying from 0 to 360 deg and want to calculate corresponding value of final_angle_phi with the y axis
%please help someone #angles, #omega MATLAB Answers — New Questions
Training a deep CNN
Which data layout (NHWC, NCHW, or CHWN) is used in trainig a deep CNN? Is there a possibility to choose one of them for the training process?Which data layout (NHWC, NCHW, or CHWN) is used in trainig a deep CNN? Is there a possibility to choose one of them for the training process? Which data layout (NHWC, NCHW, or CHWN) is used in trainig a deep CNN? Is there a possibility to choose one of them for the training process? deep learning, cnn, nhwc, nchw MATLAB Answers — New Questions
“Linked Plan” Not Appearing “US Task June’24” Planner
Hi Team,
Planner “US Task June’24” is not showing “Linked Plan”. As showing in “US Task May’24” planner below screenshot. Could you please help me to link the same. Due to this automatic pending task email power automate flow is not working.
Thanks,
Rajeev
Hi Team, Planner “US Task June’24” is not showing “Linked Plan”. As showing in “US Task May’24” planner below screenshot. Could you please help me to link the same. Due to this automatic pending task email power automate flow is not working. Thanks,Rajeev Read More
Touchpad Only Works with Bluetooth Device
I’ve been experiencing a strange issue with my laptop’s touchpad on Windows 11. The touchpad only works when I have a Bluetooth device connected, such as my headphones or a wireless mouse. As soon as I disconnect the Bluetooth device, the touchpad becomes unresponsive and stops working.
I’ve tried restarting the laptop, updating the touchpad drivers, and even disabling and re-enabling the touchpad in the device settings, and I’ve also checked the BIOS settings and made sure that the touchpad is enabled, but the issue persists.
I need your help.
I’ve been experiencing a strange issue with my laptop’s touchpad on Windows 11. The touchpad only works when I have a Bluetooth device connected, such as my headphones or a wireless mouse. As soon as I disconnect the Bluetooth device, the touchpad becomes unresponsive and stops working. I’ve tried restarting the laptop, updating the touchpad drivers, and even disabling and re-enabling the touchpad in the device settings, and I’ve also checked the BIOS settings and made sure that the touchpad is enabled, but the issue persists. I need your help. Read More
Market Place application (solution template)
I try to create a Azure Market Place application (solution template) and try to test the solution near my Subscription with ARM template deployment :
1. When I used resources i was able to createselect vnet and create subnets inside if the virtual network was under the same RG of the main ARM.
2. the issue started when i tried to select existing vnet on a different RG (that required me to change the resources to be “Microsoft.Resources/deployments” instead of resources)
I modified the deployment to get a new parameter of the vnet RG and passed it to the deployment and now I’m receiving a validation error when I try to deploy (using custom deployment from a template in the portal).
the error received from the validation step is:
Deployment template validation failed: ‘The resource ‘Microsoft.Network/virtualNetworks/walkme-test1/subnets/walkme-in’ is not defined in the template. Please see https://aka.ms/arm-syntax for usage details.’. (Code: InvalidTemplate)
Thank you.
I try to create a Azure Market Place application (solution template) and try to test the solution near my Subscription with ARM template deployment :1. When I used resources i was able to createselect vnet and create subnets inside if the virtual network was under the same RG of the main ARM.2. the issue started when i tried to select existing vnet on a different RG (that required me to change the resources to be “Microsoft.Resources/deployments” instead of resources) I modified the deployment to get a new parameter of the vnet RG and passed it to the deployment and now I’m receiving a validation error when I try to deploy (using custom deployment from a template in the portal).the error received from the validation step is:Deployment template validation failed: ‘The resource ‘Microsoft.Network/virtualNetworks/walkme-test1/subnets/walkme-in’ is not defined in the template. Please see https://aka.ms/arm-syntax for usage details.’. (Code: InvalidTemplate)Thank you. Read More
Audit SCCM, MECM INSTALLATION
Hello everyone
I am on a mission to a client, and have to audit an existing SCCM installation to give recommendations regarding configuration and deployments.
I am looking for a methodology for a good success of this audit?
Could you help me?
Hello everyoneI am on a mission to a client, and have to audit an existing SCCM installation to give recommendations regarding configuration and deployments.I am looking for a methodology for a good success of this audit?Could you help me? Read More