Month: September 2024
conedisk problem using bvp4c
conedisk2()
function conedisk2
% Parameter values
A1 = 1.10629;
A2 = 1.15;
A3 = 1.2;
A4 = 1.1;
A5 = 1.1;
A6 = 1.1;
M = 0.2;
Grt = 5;
Pr = 0.71;
R = 0.2;
Ec = 0.1;
Q = 0.1;
Rew = 12;
Red = -12;
n = -1;
g1 = 0;
g2 = 0;
g3 = 0;
g4 = 0;
inf = 1;
% Set solver options to increase the maximum number of mesh points
options = bvpset(‘RelTol’, 1e-5, ‘AbsTol’, 1e-7, ‘NMax’, 5000);
% Defining parameters
solinit = bvpinit(linspace(0, 1, 200), [0 g1 g2 0 Rew g3 1 g4]);
sol = bvp4c(@bvp2D, @bc2D, solinit);
x = sol.x;
y = sol.y;
% Plotting of the velocity
figure(1)
plot(x, y(1,:), ‘linewidth’, 1)
hold on
xlabel(‘eta’, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
ylabel(‘F(eta)’, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
hold off
% Plotting of G
figure(2)
plot(x, y(5,:), ‘linewidth’, 1)
hold on
xlabel(‘eta ‘, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
ylabel(‘G(eta) ‘, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
hold off
% Plotting of theta
figure(3)
plot(x, y(7,:), ‘linewidth’, 1)
hold on
xlabel(‘eta’, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
ylabel(‘theta(eta)’, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
hold off
% Residual of the boundary conditions
function res = bc2D(y0, yinf)
res = [y0(1);yinf(1); y0(4); yinf(4);y0(5)-Rew; yinf(5)-Red;y0(7)-1; yinf(7)];
end
% System of First Order ODEs
function dydx = bvp2D(eta, y)
yy1 = (-(1+eta^2)*((10*A1*eta+A2*eta*y(1)-A2*y(4))*y(3))-3*(2*A1+7*A1*(eta^2)+A2*(2*eta^2+1)*y(1)-A2*eta*y(4))*y(2)-2*A2*y(5)*y(6)-3*(A1+A2*y(1))*y(4)+A3*M*y(2)-A4*Grt*y(8))/(A1*(1+eta^2)^2);
yy2 = eta*y(2);
yy3 = (-3*A1*eta*y(6)-A2*(eta*y(1)-y(4))*y(6)+A3*M*y(5))/(A1*(eta^2+1));
yy4 = ((A5+4/3*R)*((eta*((2*n)-1))*y(8)+n^2*y(7))-A3*Pr*M*Ec*(y(1)^2+y(5)^2)-Pr*Q*y(7)+A6*Pr*(y(4)*y(8)+n*y(1)*y(7)-eta*y(1)*y(8)))/(A5+4/3*R)*(1+eta^2);
dydx = [y(2); y(3); yy1; yy2; y(6); yy3; y(8); yy4];
end
end
, for the above code i want the graph for F,G as what i have attached in jpg…but I am unable to get the graph.Please help me where do I have to make the changes. Thanks in advance.conedisk2()
function conedisk2
% Parameter values
A1 = 1.10629;
A2 = 1.15;
A3 = 1.2;
A4 = 1.1;
A5 = 1.1;
A6 = 1.1;
M = 0.2;
Grt = 5;
Pr = 0.71;
R = 0.2;
Ec = 0.1;
Q = 0.1;
Rew = 12;
Red = -12;
n = -1;
g1 = 0;
g2 = 0;
g3 = 0;
g4 = 0;
inf = 1;
% Set solver options to increase the maximum number of mesh points
options = bvpset(‘RelTol’, 1e-5, ‘AbsTol’, 1e-7, ‘NMax’, 5000);
% Defining parameters
solinit = bvpinit(linspace(0, 1, 200), [0 g1 g2 0 Rew g3 1 g4]);
sol = bvp4c(@bvp2D, @bc2D, solinit);
x = sol.x;
y = sol.y;
% Plotting of the velocity
figure(1)
plot(x, y(1,:), ‘linewidth’, 1)
hold on
xlabel(‘eta’, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
ylabel(‘F(eta)’, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
hold off
% Plotting of G
figure(2)
plot(x, y(5,:), ‘linewidth’, 1)
hold on
xlabel(‘eta ‘, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
ylabel(‘G(eta) ‘, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
hold off
% Plotting of theta
figure(3)
plot(x, y(7,:), ‘linewidth’, 1)
hold on
xlabel(‘eta’, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
ylabel(‘theta(eta)’, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
hold off
% Residual of the boundary conditions
function res = bc2D(y0, yinf)
res = [y0(1);yinf(1); y0(4); yinf(4);y0(5)-Rew; yinf(5)-Red;y0(7)-1; yinf(7)];
end
% System of First Order ODEs
function dydx = bvp2D(eta, y)
yy1 = (-(1+eta^2)*((10*A1*eta+A2*eta*y(1)-A2*y(4))*y(3))-3*(2*A1+7*A1*(eta^2)+A2*(2*eta^2+1)*y(1)-A2*eta*y(4))*y(2)-2*A2*y(5)*y(6)-3*(A1+A2*y(1))*y(4)+A3*M*y(2)-A4*Grt*y(8))/(A1*(1+eta^2)^2);
yy2 = eta*y(2);
yy3 = (-3*A1*eta*y(6)-A2*(eta*y(1)-y(4))*y(6)+A3*M*y(5))/(A1*(eta^2+1));
yy4 = ((A5+4/3*R)*((eta*((2*n)-1))*y(8)+n^2*y(7))-A3*Pr*M*Ec*(y(1)^2+y(5)^2)-Pr*Q*y(7)+A6*Pr*(y(4)*y(8)+n*y(1)*y(7)-eta*y(1)*y(8)))/(A5+4/3*R)*(1+eta^2);
dydx = [y(2); y(3); yy1; yy2; y(6); yy3; y(8); yy4];
end
end
, for the above code i want the graph for F,G as what i have attached in jpg…but I am unable to get the graph.Please help me where do I have to make the changes. Thanks in advance. conedisk2()
function conedisk2
% Parameter values
A1 = 1.10629;
A2 = 1.15;
A3 = 1.2;
A4 = 1.1;
A5 = 1.1;
A6 = 1.1;
M = 0.2;
Grt = 5;
Pr = 0.71;
R = 0.2;
Ec = 0.1;
Q = 0.1;
Rew = 12;
Red = -12;
n = -1;
g1 = 0;
g2 = 0;
g3 = 0;
g4 = 0;
inf = 1;
% Set solver options to increase the maximum number of mesh points
options = bvpset(‘RelTol’, 1e-5, ‘AbsTol’, 1e-7, ‘NMax’, 5000);
% Defining parameters
solinit = bvpinit(linspace(0, 1, 200), [0 g1 g2 0 Rew g3 1 g4]);
sol = bvp4c(@bvp2D, @bc2D, solinit);
x = sol.x;
y = sol.y;
% Plotting of the velocity
figure(1)
plot(x, y(1,:), ‘linewidth’, 1)
hold on
xlabel(‘eta’, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
ylabel(‘F(eta)’, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
hold off
% Plotting of G
figure(2)
plot(x, y(5,:), ‘linewidth’, 1)
hold on
xlabel(‘eta ‘, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
ylabel(‘G(eta) ‘, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
hold off
% Plotting of theta
figure(3)
plot(x, y(7,:), ‘linewidth’, 1)
hold on
xlabel(‘eta’, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
ylabel(‘theta(eta)’, ‘fontweight’, ‘bold’, ‘fontsize’, 16)
hold off
% Residual of the boundary conditions
function res = bc2D(y0, yinf)
res = [y0(1);yinf(1); y0(4); yinf(4);y0(5)-Rew; yinf(5)-Red;y0(7)-1; yinf(7)];
end
% System of First Order ODEs
function dydx = bvp2D(eta, y)
yy1 = (-(1+eta^2)*((10*A1*eta+A2*eta*y(1)-A2*y(4))*y(3))-3*(2*A1+7*A1*(eta^2)+A2*(2*eta^2+1)*y(1)-A2*eta*y(4))*y(2)-2*A2*y(5)*y(6)-3*(A1+A2*y(1))*y(4)+A3*M*y(2)-A4*Grt*y(8))/(A1*(1+eta^2)^2);
yy2 = eta*y(2);
yy3 = (-3*A1*eta*y(6)-A2*(eta*y(1)-y(4))*y(6)+A3*M*y(5))/(A1*(eta^2+1));
yy4 = ((A5+4/3*R)*((eta*((2*n)-1))*y(8)+n^2*y(7))-A3*Pr*M*Ec*(y(1)^2+y(5)^2)-Pr*Q*y(7)+A6*Pr*(y(4)*y(8)+n*y(1)*y(7)-eta*y(1)*y(8)))/(A5+4/3*R)*(1+eta^2);
dydx = [y(2); y(3); yy1; yy2; y(6); yy3; y(8); yy4];
end
end
, for the above code i want the graph for F,G as what i have attached in jpg…but I am unable to get the graph.Please help me where do I have to make the changes. Thanks in advance. graph for f and g MATLAB Answers — New Questions
How to extract and open Json file in folder.
Dear All,
I have Json file in folder as attached. But, I tried to extract and open, it failed.
Some can help me?Dear All,
I have Json file in folder as attached. But, I tried to extract and open, it failed.
Some can help me? Dear All,
I have Json file in folder as attached. But, I tried to extract and open, it failed.
Some can help me? image analysis, image processing, digital image processing, image segmentation, image acquisition, image, data, database, data import MATLAB Answers — New Questions
Unable to start simulation at condition specified using IC block.
I have built a model to simulate acceleration and top speed of a vehicle. I want to specify the initial engine RPM as 3500 for which I have added IC Block specifying the same. But even then Engine RPM is 0 at the start. How can I start my simulation when the engine speed is 3500 RPM?I have built a model to simulate acceleration and top speed of a vehicle. I want to specify the initial engine RPM as 3500 for which I have added IC Block specifying the same. But even then Engine RPM is 0 at the start. How can I start my simulation when the engine speed is 3500 RPM? I have built a model to simulate acceleration and top speed of a vehicle. I want to specify the initial engine RPM as 3500 for which I have added IC Block specifying the same. But even then Engine RPM is 0 at the start. How can I start my simulation when the engine speed is 3500 RPM? vehicle, vehicle performance, initial condition, ic block MATLAB Answers — New Questions
staff booking across timezones
Hi eve!
Our team has 5 members, 2 in India, working in IST, one member working in GST and 2 members working in EST. I have kept my business hours 24 hours open since the time zones cover most of the day. I being the admin have my time zone set to IST. How do I enable the coherence of the time zone among the members across the time zones.
I want the customer to be able to book timings across the time zones. How do I setup the calendar for all my staff which do not sync in time, will the outlook for my EST and GST staff sync with IST if I use IST to set up their time?
Hi eve!Our team has 5 members, 2 in India, working in IST, one member working in GST and 2 members working in EST. I have kept my business hours 24 hours open since the time zones cover most of the day. I being the admin have my time zone set to IST. How do I enable the coherence of the time zone among the members across the time zones.I want the customer to be able to book timings across the time zones. How do I setup the calendar for all my staff which do not sync in time, will the outlook for my EST and GST staff sync with IST if I use IST to set up their time? Read More
old spfx project fails to bundle on windows server 2019 VM
Hi all,
I hope someone can help as I wasted a lot of time troubleshooting.
I have an old spfx project for on-premise sharepoint.
On my laptop I can bundle it using nodeV8 and gulp CLI version: 2.3.0 Local version: 3.9.1
I have configured a dev VM with windows 2019 and copied over the code, configured the same versions of node and gulp but when I do a bundle it fails on errors that it cannot find files referenced to in css files.
Looking at the errors they make even less sense because the files are there, but it is looking in the wrong folder. instead of “srcassests” it is looking in “srccomponentsassets” (which does not exist).
I can only guess that it is the version of windows (2019) somehow impacting webpack’s translation of the relative paths.
The error message says “Can’t resolve ‘../../assets/icons/app.png'”
but the actual code file says
Hi all,I hope someone can help as I wasted a lot of time troubleshooting.I have an old spfx project for on-premise sharepoint.On my laptop I can bundle it using nodeV8 and gulp CLI version: 2.3.0 Local version: 3.9.1I have configured a dev VM with windows 2019 and copied over the code, configured the same versions of node and gulp but when I do a bundle it fails on errors that it cannot find files referenced to in css files.Looking at the errors they make even less sense because the files are there, but it is looking in the wrong folder. instead of “srcassests” it is looking in “srccomponentsassets” (which does not exist). I can only guess that it is the version of windows (2019) somehow impacting webpack’s translation of the relative paths. The error message says “Can’t resolve ‘../../assets/icons/app.png'”but the actual code file says background-image: url(../../../assets/icons/app.png); so you see it ignores the first “../” why is this happening only on a server VM (I created two VMs from scratch to make sure it is not something I did the first time). Read More
Word Form control markers showing on PDF export
Hello,
As the subject says, I’m getting markers showing in my PDF files that have been exported from Word. The document/template is set up with content controls for the form fields. When the form fields have been filled out, the file is exported as a PDF.
In the image the left side is the Word doc, the right side is the PDF. I’ve indicated the marks with cyan ovals.
The text has exported as an image and they have exported as paths.
I have exported using “Save as Adobe PDF” from the File menu, “Create PDF” from the Ribbon and by selecting PDF from options under “Save As” in the File menu.
I’m running MS365 on Windows 11 Pro. I rarely use Word.
As this file will be used by an number of different users of varying experience levels, I am hoping that there is solution that can be applied to the template.
Any suggestions will be greatly appreciated.
Hello,As the subject says, I’m getting markers showing in my PDF files that have been exported from Word. The document/template is set up with content controls for the form fields. When the form fields have been filled out, the file is exported as a PDF.In the image the left side is the Word doc, the right side is the PDF. I’ve indicated the marks with cyan ovals.The text has exported as an image and they have exported as paths.I have exported using “Save as Adobe PDF” from the File menu, “Create PDF” from the Ribbon and by selecting PDF from options under “Save As” in the File menu. I’m running MS365 on Windows 11 Pro. I rarely use Word.As this file will be used by an number of different users of varying experience levels, I am hoping that there is solution that can be applied to the template. Any suggestions will be greatly appreciated. Read More
Delete Like Voting
On the Sharepoint site pages you can like the page at the bottom. How can we delete individual like votes? The likes still show employees who have not been with the company for a long time. Is there a way to delete this with PnP Powershell?
On the Sharepoint site pages you can like the page at the bottom. How can we delete individual like votes? The likes still show employees who have not been with the company for a long time. Is there a way to delete this with PnP Powershell? Read More
ผมล้างข้อมูลของแอป microsoft authenticator โดยไม่ตั้งใจทำให้รหัสในการเข้าบัญชี 2 ชั้นของผมหาย
ผมต้องใช้บัญชีนี้ในการทำงานผมสามารถแก้ไขมันยังไงได้บ้าง
ผมต้องใช้บัญชีนี้ในการทำงานผมสามารถแก้ไขมันยังไงได้บ้าง Read More
How to Report the Information Stored in Recoverable Items
Use PowerShell to Report Recoverable Items Data
In August, I published an article about using Microsoft Graph PowerShell SDK cmdlets to access Exchange Online mailbox data. The nature of website articles is that they can’t cover everything, and in turn this means that questions flow in about whether it’s possible to use a technique covered in an article to accomplish a goal.
Last week, I was asked if it’s possible to report items in the Recoverable Items structure within mailboxes. My answer is that it all depends on what data you want.
How Exchange Online Uses Recoverable Items
Recoverable Items includes folders such as Deletions, Purges, SubstrateHolds, and Versions where Exchange Online holds messages and attachments required for eDiscovery. These items might be held by a litigation hold, an in-place hold, or waiting removal by the Managed Folder Assistant after their single item recovery period or retention period expires. The Managed Folder Assistant is also responsible actioning instructions in retention policies and labels by moving items into Recoverable Items.
To make sure that it’s always possible to hold data, Recoverable Items has a separate quota of up to 110 GB. When archive mailboxes are used, Exchange mailbox retention policies can move items to the Recoverable Items folder in the archive mailbox. Microsoft 365 retention policies don’t support a move to archive action. The ability to move items into archive mailboxes for long-term storage is one of the reasons why Exchange mailbox retention policies are still very useful.
The Get-ExoMailboxFolderStatistics cmdlet (or my version of a script to report folder contents) can report how many items are in Recoverable Items folders and the consumed quota.
Accessing Recoverable Items
Outlook clients can access and recover items in the Deletions folder. Administrators can list items in the Deletions folder by running the Get-RecoverableItems cmdlet or through the Exchange admin center (Figure 1).
However, neither users nor administrators can use these options to access content held in the other Recoverable Items folders. Administrators can use the MFCMAPI utility to view the contents of any Recoverable Items folder.
All of this information is valuable, but it didn’t answer the question. The scenario contemplated is for an eDiscovery investigator who needs to review items to see if anything of interest is present. Items might be in any folder, not just Deletions.
Building a Script to Report Recoverable Items
The answer is to use PowerShell to build the report recoverable items script to:
Connect to Exchange Online and find the mailboxes of interest. Normally, an eDiscovery investigation is limited to a known subset of mailboxes and other sources. The script (downloadable from GitHub) finds all user mailboxes. Amend this command to find the right target set.
Connect to the Microsoft Graph PowerShell SDK using an application identifier of an Entra ID app that has consent to use the Graph Mail.Read application permission. An X.509 certificate loaded into the app is used for authentication. Running the script in an interactive session only allows delegate access to the folders in the mailbox of the signed-in user. An app-only session is required to access all mailboxes.
Use the Get-MgUserMailFolder cmdlet to retrieve the identifier of the Recoverable Items folder. “RecoverableItemsRoot” is a well-known folder, which makes the task easier.
Use the Get-MgUserMailFolderChildFolder cmdlet to retrieve the set of folders under the root. We’re not interested in some folders, like Calendar Logging and Audit, so the script excludes these from the analysis.
Define the time period to find items for. The script looks for items created over the last year.
For each folder, use the Get-MgUserMailFolderMessage cmdlet to fetch a limited set of properties (to speed up performance). In an eDiscovery scenario, you might want to fetch the BodyPreview property. The script fetches a single-value extended property containing the item size and formats the size (from bytes) to make it look nice.
Report what’s found (Figure 2), including generating a CSV file.
Figure 2: Report of Recoverable Items generated by PowerShell
The report recoverable items script can access confidential information. Consider using RBAC for applications to block access to sensitive or confidential mailboxes.
Code Usable for All Folders
The techniques explained here can be used to report items from any mailbox folder. It’s relatively simple PowerShell and the only thing that’s likely to trip people up is the requirement to access the Graph SDK and use an Entra ID app with an X.509 certificate for authentication and authorization. But now you know this must be done, it shouldn’t be a surprise.
Support the work of the Office 365 for IT Pros team by subscribing to the Office 365 for IT Pros eBook. Your support pays for the time we need to track, analyze, and document the changing world of Microsoft 365 and Office 365.
In ecap module how does capture event selection works?
I want to mesure position of Bldc motor using hall sensor for FOC.As a refrence model I am using mcb_pmsm_foc_hall_f280049c.slx.How does capture event selection works? Below are the image of event slection block of 3 hall sensor.I want to mesure position of Bldc motor using hall sensor for FOC.As a refrence model I am using mcb_pmsm_foc_hall_f280049c.slx.How does capture event selection works? Below are the image of event slection block of 3 hall sensor. I want to mesure position of Bldc motor using hall sensor for FOC.As a refrence model I am using mcb_pmsm_foc_hall_f280049c.slx.How does capture event selection works? Below are the image of event slection block of 3 hall sensor. hall sensor, field oriented control, ecap, f280049c MATLAB Answers — New Questions
Team Calendar alternative and link to work items
We’ve started using the Team Calendar, but was looking for something which could link to work items and dates so we can see how things are planned out in a calendar month(s) view by iteration cycles.
Ideally, we only want to update the work item e.g due date which will sync across to the calendar.
I have tried looking for an extension with no luck, and seeing if someone has found a solution.
We’ve started using the Team Calendar, but was looking for something which could link to work items and dates so we can see how things are planned out in a calendar month(s) view by iteration cycles. Ideally, we only want to update the work item e.g due date which will sync across to the calendar. I have tried looking for an extension with no luck, and seeing if someone has found a solution. Read More
Price increase D365 Sandboxes – did I miss something?
Dear all
last week, we received this mail regarding a tier 5 Sandbox and its pricing:
I know about the upcoming price update as from October 1 but a) it is not October yet and b) this SKU was not announced to be increased at all.
Is this a mistake in Microsoft’s billing system? (almost impossible – ok, sarcasm off now)
Thanks for your inputs
cheers
Daniel
Dear alllast week, we received this mail regarding a tier 5 Sandbox and its pricing:I know about the upcoming price update as from October 1 but a) it is not October yet and b) this SKU was not announced to be increased at all.Is this a mistake in Microsoft’s billing system? (almost impossible – ok, sarcasm off now)Thanks for your inputscheersDaniel Read More
Simple import data and lookup
I want to import data from excel and update a table in sqlserver
The excel file has a column and a pk to compare with DB table, and update db table column.
I am able to get the data using excel source and now looking for how to update the database table one column IsValid using excel (header in excel is same as header in sql table and data is also same) data.
Excel file and db table has primary key value as ID, if the ID from excel and DB matches I want to update the table data column isValid using excels isValid field
Is it using look up we can do it or using merge ?
I want to import data from excel and update a table in sqlserver The excel file has a column and a pk to compare with DB table, and update db table column. I am able to get the data using excel source and now looking for how to update the database table one column IsValid using excel (header in excel is same as header in sql table and data is also same) data. Excel file and db table has primary key value as ID, if the ID from excel and DB matches I want to update the table data column isValid using excels isValid field Is it using look up we can do it or using merge ? Read More
How to change baud rate for STM32 F769I-Discovery in Simulink for PiL-Simulation?
Hi guys,
for a PIL-Simulation with serial connection (USB), I want to change the PIL baud rate for an STM32 F769I-Discovery:
I tried to change the PIL baud rate to e.g. 1000000 Bd. After I compiled my model, it doesn’t run with my desired baud rate and it returned an error. When I left the baud rate to 115200 Bd (default), Simulink compiled my model and ran it with 115200Bd.
Is there an error or why can’t I change the baud rate for a STM32-F769I Discovery although there is an option to change the baud rate (see picture above)?
Greetings
RLHi guys,
for a PIL-Simulation with serial connection (USB), I want to change the PIL baud rate for an STM32 F769I-Discovery:
I tried to change the PIL baud rate to e.g. 1000000 Bd. After I compiled my model, it doesn’t run with my desired baud rate and it returned an error. When I left the baud rate to 115200 Bd (default), Simulink compiled my model and ran it with 115200Bd.
Is there an error or why can’t I change the baud rate for a STM32-F769I Discovery although there is an option to change the baud rate (see picture above)?
Greetings
RL Hi guys,
for a PIL-Simulation with serial connection (USB), I want to change the PIL baud rate for an STM32 F769I-Discovery:
I tried to change the PIL baud rate to e.g. 1000000 Bd. After I compiled my model, it doesn’t run with my desired baud rate and it returned an error. When I left the baud rate to 115200 Bd (default), Simulink compiled my model and ran it with 115200Bd.
Is there an error or why can’t I change the baud rate for a STM32-F769I Discovery although there is an option to change the baud rate (see picture above)?
Greetings
RL stm32microcontroller, baud rate, processor-in-the-loop simulation, pil, simulink, stm32-f769i discovery MATLAB Answers — New Questions
Cross forest and tenant free/bussy and GAL sharing
Is it possible to setup Free/Busy and GAL sharing between two organization, with their distinct and untrusted forest, where one has Exchange On-prem Only and the second one has exchange online only ?
thanks
Is it possible to setup Free/Busy and GAL sharing between two organization, with their distinct and untrusted forest, where one has Exchange On-prem Only and the second one has exchange online only ?thanks Read More
Unable to run signed scripts using Live response
Hi,
Our scripts uploaded in MDE library are signed by a certificate. MDE throws an error upon running any of the signed scripts. However, when these scripts are executed using standalone Powershell console they work as intended. MDE support suggests in order to execute signed scripts we need to install the certificate on the device before executing those signed scripts.
What’s interesting here is on the system where we ran the script successfully (using PS console), the certificate was not installed on it. Also, we were able to validate cert chain using powershell.
Any suggestions on what can be done here as we were hoping MDE executes in the same way as PS does. Not intending to install the cert on every device the script gets executed.
Thank you !!
Hi, Our scripts uploaded in MDE library are signed by a certificate. MDE throws an error upon running any of the signed scripts. However, when these scripts are executed using standalone Powershell console they work as intended. MDE support suggests in order to execute signed scripts we need to install the certificate on the device before executing those signed scripts. What’s interesting here is on the system where we ran the script successfully (using PS console), the certificate was not installed on it. Also, we were able to validate cert chain using powershell. Any suggestions on what can be done here as we were hoping MDE executes in the same way as PS does. Not intending to install the cert on every device the script gets executed. Thank you !! Read More
How to change the x-axis step size?
I have this code, everything is fine but I tried to change x-axis step size in order to be 1 instead of 0.5, but it didn’t work!
clear;
SF=[12 11 10 9 8 7];
TOA=[1318.91 741.38 370.69 185.34 102.91 56.58];
R_b=[0.29 0.54 0.98 1.76 3.12 5.47];
%Plotting
set ( gca, ‘xdir’, ‘reverse’ )
yyaxis left
stairs(SF,TOA,’-.’)
title(‘Distance <—-‘)
xlabel(‘SF’)
ylabel(‘TOA (msec)’)
yyaxis right
stairs(SF,R_b,’r’)
ylabel(‘Data Rate (kbps)’)
legend(‘TOA’,’Data Rate’)
gridI have this code, everything is fine but I tried to change x-axis step size in order to be 1 instead of 0.5, but it didn’t work!
clear;
SF=[12 11 10 9 8 7];
TOA=[1318.91 741.38 370.69 185.34 102.91 56.58];
R_b=[0.29 0.54 0.98 1.76 3.12 5.47];
%Plotting
set ( gca, ‘xdir’, ‘reverse’ )
yyaxis left
stairs(SF,TOA,’-.’)
title(‘Distance <—-‘)
xlabel(‘SF’)
ylabel(‘TOA (msec)’)
yyaxis right
stairs(SF,R_b,’r’)
ylabel(‘Data Rate (kbps)’)
legend(‘TOA’,’Data Rate’)
grid I have this code, everything is fine but I tried to change x-axis step size in order to be 1 instead of 0.5, but it didn’t work!
clear;
SF=[12 11 10 9 8 7];
TOA=[1318.91 741.38 370.69 185.34 102.91 56.58];
R_b=[0.29 0.54 0.98 1.76 3.12 5.47];
%Plotting
set ( gca, ‘xdir’, ‘reverse’ )
yyaxis left
stairs(SF,TOA,’-.’)
title(‘Distance <—-‘)
xlabel(‘SF’)
ylabel(‘TOA (msec)’)
yyaxis right
stairs(SF,R_b,’r’)
ylabel(‘Data Rate (kbps)’)
legend(‘TOA’,’Data Rate’)
grid x-axis, step-size MATLAB Answers — New Questions
Permission denied error when trying to remove Matlab on Ubuntu computer
Hi, I tried to remove Matlab on Ubuntu 18.04 computer using [root@localhost ~] rm -rf /usr/local/MATLAB/R2021b command but all I get is an error saying permission denied. What is the way around this?Hi, I tried to remove Matlab on Ubuntu 18.04 computer using [root@localhost ~] rm -rf /usr/local/MATLAB/R2021b command but all I get is an error saying permission denied. What is the way around this? Hi, I tried to remove Matlab on Ubuntu 18.04 computer using [root@localhost ~] rm -rf /usr/local/MATLAB/R2021b command but all I get is an error saying permission denied. What is the way around this? permission, uninstall MATLAB Answers — New Questions
IN matlab 2017b version i have a error in canny edge detection like this.
Segmentedimg = edge(Enhanceimg,’canny’); figure(‘Name’,’Segmented image’,’NumberTitle’,’off’); imshow(Segmentedimg);
title(‘Segmented Image’,’fontsize’,10,’fontname’,’Times New Roman’,’color’,’Black’);Segmentedimg = edge(Enhanceimg,’canny’); figure(‘Name’,’Segmented image’,’NumberTitle’,’off’); imshow(Segmentedimg);
title(‘Segmented Image’,’fontsize’,10,’fontname’,’Times New Roman’,’color’,’Black’); Segmentedimg = edge(Enhanceimg,’canny’); figure(‘Name’,’Segmented image’,’NumberTitle’,’off’); imshow(Segmentedimg);
title(‘Segmented Image’,’fontsize’,10,’fontname’,’Times New Roman’,’color’,’Black’); canny, sobel MATLAB Answers — New Questions
Auto complete inputs of method using object property
Hey,
I have a class with a property that I would like to use for auto completion:
classdef TestClass
properties
Names
end
methods
function self = TestClass(names)
arguments
names (1,:) string
end
self.Names = names;
end
function printName(self, name)
mustBeMember(name, self.Names)
disp(name)
end
end
end
So when I call the method ‘printName’, I would like matlab so suggest the possible options, i.e. the elements of the property ‘Names’.
How can I do that?Hey,
I have a class with a property that I would like to use for auto completion:
classdef TestClass
properties
Names
end
methods
function self = TestClass(names)
arguments
names (1,:) string
end
self.Names = names;
end
function printName(self, name)
mustBeMember(name, self.Names)
disp(name)
end
end
end
So when I call the method ‘printName’, I would like matlab so suggest the possible options, i.e. the elements of the property ‘Names’.
How can I do that? Hey,
I have a class with a property that I would like to use for auto completion:
classdef TestClass
properties
Names
end
methods
function self = TestClass(names)
arguments
names (1,:) string
end
self.Names = names;
end
function printName(self, name)
mustBeMember(name, self.Names)
disp(name)
end
end
end
So when I call the method ‘printName’, I would like matlab so suggest the possible options, i.e. the elements of the property ‘Names’.
How can I do that? oop, class MATLAB Answers — New Questions