Month: June 2024
How do I cross-compile for Linux on ARM using MATLAB Coder?
I have some MATLAB code that I would like to compile into a ".so" shared library with MATLAB Coder. MATLAB is running on my x86 Windows computer, but I would like the executable to run on an ARM board running Linux. How do generate and compile the code so it will run on the ARM board?I have some MATLAB code that I would like to compile into a ".so" shared library with MATLAB Coder. MATLAB is running on my x86 Windows computer, but I would like the executable to run on an ARM board running Linux. How do generate and compile the code so it will run on the ARM board? I have some MATLAB code that I would like to compile into a ".so" shared library with MATLAB Coder. MATLAB is running on my x86 Windows computer, but I would like the executable to run on an ARM board running Linux. How do generate and compile the code so it will run on the ARM board? matlab-coder, cross-compile, arm, linux, cmake MATLAB Answers — New Questions
What are the frequencies when N in fft(x,N) is odd?
I know when N is even, fft(x,N) corresponds to frequencies 0,df,…,N/2*df,-(N/2-2)*df,…,-df.
What about if N is odd?I know when N is even, fft(x,N) corresponds to frequencies 0,df,…,N/2*df,-(N/2-2)*df,…,-df.
What about if N is odd? I know when N is even, fft(x,N) corresponds to frequencies 0,df,…,N/2*df,-(N/2-2)*df,…,-df.
What about if N is odd? fft, frequency, spectrum MATLAB Answers — New Questions
Teams status issue
Hi,
I am doing remote job. I am using new Microsoft teams. My team’s status always goes away if I am working in some other tools or tabs. I have to go back to teams every 2 minutes once to change the status to available. It’s really frustrating. Please help.
Hi,I am doing remote job. I am using new Microsoft teams. My team’s status always goes away if I am working in some other tools or tabs. I have to go back to teams every 2 minutes once to change the status to available. It’s really frustrating. Please help. Read More
sharepoint online DisableCompanyWideSharingLinks
reposting Igor’s question here as per MSFT’s suggestion :
“How can I disable the ‘Share with entire organization’ option globally for OneDrive and SharePoint in Microsoft 365? I’ve examined the documentation at https://learn.microsoft.com/en-us/microsoft-365/solutions/microsoft-365-limit-sharing?view=o365-worldwide#sharing-with-specific-people and discovered PowerShell commands such as ‘Set-SPOSite -Identity https://contoso.sharepoint.com -DisableCompanyWideSharingLinks Disabled’ for SharePoint sites and ‘Set-SPOSite -Identity https://contoso-my.sharepoint.com/personal/my_alias_contoso_com -DisableCompanyWideSharingLinks Disabled’ for OneDrives. The challenge is executing these commands for each site and user in our environment. Is there a method to apply this globally across the entire organization?”
reposting Igor’s question here as per MSFT’s suggestion : “How can I disable the ‘Share with entire organization’ option globally for OneDrive and SharePoint in Microsoft 365? I’ve examined the documentation at https://learn.microsoft.com/en-us/microsoft-365/solutions/microsoft-365-limit-sharing?view=o365-worldwide#sharing-with-specific-people and discovered PowerShell commands such as ‘Set-SPOSite -Identity https://contoso.sharepoint.com -DisableCompanyWideSharingLinks Disabled’ for SharePoint sites and ‘Set-SPOSite -Identity https://contoso-my.sharepoint.com/personal/my_alias_contoso_com -DisableCompanyWideSharingLinks Disabled’ for OneDrives. The challenge is executing these commands for each site and user in our environment. Is there a method to apply this globally across the entire organization?” Read More
Pressing Cancel When IKEv2 VPN is Connecting Locks Up Notification Icons
Hello,
I’m getting ready to roll out IKEv2 VPN to my company. We found that if you cancel, right after you push the connect button, it locks up the notification icons in the task bar. On our laptops you can left-click as many times as you want on the network/sound/power icons and settings menu will not pop-up again. You are able to right-click on the icons and go to the various settings, but to get the hovering menu to show again you need to restart Windows Explorer in task manager. I have verified this issue on multiple Dell and Lenovo laptops.
Hello, I’m getting ready to roll out IKEv2 VPN to my company. We found that if you cancel, right after you push the connect button, it locks up the notification icons in the task bar. On our laptops you can left-click as many times as you want on the network/sound/power icons and settings menu will not pop-up again. You are able to right-click on the icons and go to the various settings, but to get the hovering menu to show again you need to restart Windows Explorer in task manager. I have verified this issue on multiple Dell and Lenovo laptops. Read More
Send copies of team emails and events to team members inboxes doesn’t work
Send copies of team emails and events to team members inboxes will not stay checked.
Admin – Exchange – Groups – Select Group – Settings:
Send copies of team emails and events to team members inboxes is blank, I check it and save. It shows saved. I go back into it, it is unchecked.
I’m sure there is a Powershell solution but I need this working for basic techs who don’t have PS access.
Thanks
Send copies of team emails and events to team members inboxes will not stay checked. Admin – Exchange – Groups – Select Group – Settings: Send copies of team emails and events to team members inboxes is blank, I check it and save. It shows saved. I go back into it, it is unchecked. I’m sure there is a Powershell solution but I need this working for basic techs who don’t have PS access. Thanks Read More
I need a way to remind people they have things waiting for them in Teams.
I’m not sure what to do about this situation. Some of the Power Automate workflows I’ve built require a person to review items and fill out forms. Some of them also include assignments in Planner. I’ve an email notification to alert people to check Teams for the messages but people are complaining it’s too hard or they can’t find them. However, when I log into their account I can find the prompt without a problem.
I need some way to bang people over the head that they have things waiting for their input.
I’m not sure what to do about this situation. Some of the Power Automate workflows I’ve built require a person to review items and fill out forms. Some of them also include assignments in Planner. I’ve an email notification to alert people to check Teams for the messages but people are complaining it’s too hard or they can’t find them. However, when I log into their account I can find the prompt without a problem. I need some way to bang people over the head that they have things waiting for their input. Read More
Excel Formula No longer working (PC)
I’ve been using a simple formula to track my bank balance for years. Suddenly this simple addition and subtraction formula is no longer working on line 1934. Result is “#VALUE” instead of the calculation.
I thought that I might have exceeded the number of usable lines in a single worksheet so I made a copy and tried deleting all but the last 300 or so lines. Same result. How do I fix this?
I’ve been using a simple formula to track my bank balance for years. Suddenly this simple addition and subtraction formula is no longer working on line 1934. Result is “#VALUE” instead of the calculation. I thought that I might have exceeded the number of usable lines in a single worksheet so I made a copy and tried deleting all but the last 300 or so lines. Same result. How do I fix this? Read More
Adding additional condition to Cell Formula
I am using the following to convert a value to a negative number from cell (E2) into a new cell (D2) when cell (I2) equals “Discover” and it works fine. But I want to add an exception to not convert to negative into (D2) if another cell (J2) value has(equals) “Payment”. If it does equal “Payment” just Set (D2) to (E2).
For a cell D2 I am using the following with success:
=IF(I2=”Discover”,(E2*(0-1)),E2)
Now I want to add another condition(or exception) to the above: Even if I2 is “Discover” but cell J2 has “Payment” then just set D2 to E2 (even when (I2) is “Discover”
Appreciate any tips, Thank You
I am using the following to convert a value to a negative number from cell (E2) into a new cell (D2) when cell (I2) equals “Discover” and it works fine. But I want to add an exception to not convert to negative into (D2) if another cell (J2) value has(equals) “Payment”. If it does equal “Payment” just Set (D2) to (E2).For a cell D2 I am using the following with success:=IF(I2=”Discover”,(E2*(0-1)),E2)Now I want to add another condition(or exception) to the above: Even if I2 is “Discover” but cell J2 has “Payment” then just set D2 to E2 (even when (I2) is “Discover”Appreciate any tips, Thank You Read More
https for just one aspx web forms application?
We have a legacy web forms .aspx web application installed under “Default Web Site” is it possible to enable https: for just this web application ? given that there are other web applications deployed under “Default Web Site”
All the instructions i found online insist upon creating a https: binding in IIS on port :443
The challenge is, I want to know is there any other possible way to enable https: for just that one web application without impacting the other applications ?
We have a legacy web forms .aspx web application installed under “Default Web Site” is it possible to enable https: for just this web application ? given that there are other web applications deployed under “Default Web Site”All the instructions i found online insist upon creating a https: binding in IIS on port :443The challenge is, I want to know is there any other possible way to enable https: for just that one web application without impacting the other applications ? Read More
What does this setting do in IIS – Ssl Settings – Require SSL ?
I would like to understand the effect of this setting in IIS
What happens when this check box named <code>”Require SSL”</code> is checked?
Does this enable https: protocol on a http site?
Does this allow only https: urls? and not http: urls on a web application?
I can’t possibly find any information surrounding this checkbox if checked!
I would like to understand the effect of this setting in IIS What happens when this check box named <code>”Require SSL”</code> is checked?Does this enable https: protocol on a http site?Does this allow only https: urls? and not http: urls on a web application?I can’t possibly find any information surrounding this checkbox if checked! Read More
Reducing Repetitive Tasks and Improving Processes for Pharma Sales Reps – Video
Are you looking for a way to reduce the time and effort required to complete your tasks as a Pharma Sales Rep? Do you want to optimize your workflows and processes to achieve more with less resources? Do you want to see how Copilot for Microsoft 365 can help you solve real-world challenges frequently encountered by sales reps in the Pharmaceutical Industry today?
If you answered yes to any of these questions, then you should watch this recorded session. Copilot for Microsoft 365 is a powerful tool that leverages artificial intelligence and automation to help you work smarter and faster in Microsoft 365. Copilot for Microsoft 365 can assist you with reducing many of the repetitive tasks that reps find themselves inundated with.
In this webinar series, you will learn how to use Copilot for Microsoft 365 to gain immediate value from your subscription. You will also see how Copilot for Microsoft 365 can address specific use cases and scenarios for pharmaceutical reps. You will hear from the experts from Microsoft’s Healthcare and Life Sciences groups, who will share their insights and experiences with Copilot for Microsoft 365.
To see the entire series click here.
Resources:
Get started with Copilot for Microsoft 365 – Training | Microsoft Learn
Microsoft Copilot for Microsoft 365—Features and Plans | Microsoft 365
Copilot Lab (cloud.microsoft)
Learn about Copilot prompts – Microsoft Support
Data, Privacy, and Security for Microsoft Copilot for Microsoft 365 | Microsoft Learn
Microsoft Copilot for Microsoft 365 documentation | Microsoft Learn
Copilot for Microsoft 365 – Microsoft Adoption
To see the entire series click here.
Thanks for visiting – Michael Gannotti LinkedIn
Microsoft Tech Community – Latest Blogs –Read More
Plot legend goes behing plot axes when using tiledlayout
I am generating several plots with legends on one figure using tiledlayout(). While the plot looks correct, the legends disappear behind the axes when I try to move them. The issue appears to be the same as described in this question, although I did not have any success with the fix:
Why does legend goes to the back of the axes box in multiplots if you click it or move it with the mouse?
The minimimum code that produces the issue is below. I get the same results when I omit the object handles.
t = tiledlayout(2, 1);
ax1 = nexttile(t);
pt1 = plot(ax1, 0:10, 0:10);
lg1 = legend(ax1, ‘Plot 1’);
ax2 = nexttile(t);
pt2 = plot(ax2, 0:10, 0:10);
lg2 = legend(ax2, ‘Plot 2’);I am generating several plots with legends on one figure using tiledlayout(). While the plot looks correct, the legends disappear behind the axes when I try to move them. The issue appears to be the same as described in this question, although I did not have any success with the fix:
Why does legend goes to the back of the axes box in multiplots if you click it or move it with the mouse?
The minimimum code that produces the issue is below. I get the same results when I omit the object handles.
t = tiledlayout(2, 1);
ax1 = nexttile(t);
pt1 = plot(ax1, 0:10, 0:10);
lg1 = legend(ax1, ‘Plot 1’);
ax2 = nexttile(t);
pt2 = plot(ax2, 0:10, 0:10);
lg2 = legend(ax2, ‘Plot 2’); I am generating several plots with legends on one figure using tiledlayout(). While the plot looks correct, the legends disappear behind the axes when I try to move them. The issue appears to be the same as described in this question, although I did not have any success with the fix:
Why does legend goes to the back of the axes box in multiplots if you click it or move it with the mouse?
The minimimum code that produces the issue is below. I get the same results when I omit the object handles.
t = tiledlayout(2, 1);
ax1 = nexttile(t);
pt1 = plot(ax1, 0:10, 0:10);
lg1 = legend(ax1, ‘Plot 1’);
ax2 = nexttile(t);
pt2 = plot(ax2, 0:10, 0:10);
lg2 = legend(ax2, ‘Plot 2’); plot, legend, tiledlayout, nexttile MATLAB Answers — New Questions
How do I extract Trajectory Data using NGSIM dataset?
It is required to extract trajectory data along with the frame number, vehicle ID, lane number, time, and position for the target vehicles in US-101 category of the Next Generation Simulation (NGSIM) dataset; however, after successfully reading the file with "data = readtable(‘pre-processing.csv’)", one proceeded to use "Features=[categorical(pre-processing.csv,trajectory)]", but was flagging an error, kindly help.It is required to extract trajectory data along with the frame number, vehicle ID, lane number, time, and position for the target vehicles in US-101 category of the Next Generation Simulation (NGSIM) dataset; however, after successfully reading the file with "data = readtable(‘pre-processing.csv’)", one proceeded to use "Features=[categorical(pre-processing.csv,trajectory)]", but was flagging an error, kindly help. It is required to extract trajectory data along with the frame number, vehicle ID, lane number, time, and position for the target vehicles in US-101 category of the Next Generation Simulation (NGSIM) dataset; however, after successfully reading the file with "data = readtable(‘pre-processing.csv’)", one proceeded to use "Features=[categorical(pre-processing.csv,trajectory)]", but was flagging an error, kindly help. matlab, ngsim, data, excel MATLAB Answers — New Questions
Portfolio optimization — estimateCustomObjectivePortfolio equivalent in R2021b?
Hello, Matlab community. I am working on a portfolio optimization exercise, and I’m looking for a way to incorporate a user-defined objective function in the usual Portfolio object workflow. The "estimateCustomObjectivePortfolio" function seems to be exactly what I need, but unfortunately it was introduced in R2022b. I am using a corporate R2021b Matlab license, so my IT department may not let me just upgrade to get the new functionality (I’m checking on that as well).
Assuming I have to live with R2021b for now, I’ll give you an example of what I’m trying to accomplish. Consider a fixed-income-only universe of asset classes, and durations for each:
– IG corporate duration = 7 years
– high yield corporate duration = 3 years
– treasury duration = 10 years
– etc.
In the portfolio optimization, I’d like to be able to have a stated duration target for the resulting portfolio. But, the duration of any hypothetical portfolio depends on the portfolio weights the optimizer is considering in any given iteration, and I don’t see a way (in my version of Matlab) to state that duration target as a constraint or objective.
Thanks in advance for any thoughts you may have.Hello, Matlab community. I am working on a portfolio optimization exercise, and I’m looking for a way to incorporate a user-defined objective function in the usual Portfolio object workflow. The "estimateCustomObjectivePortfolio" function seems to be exactly what I need, but unfortunately it was introduced in R2022b. I am using a corporate R2021b Matlab license, so my IT department may not let me just upgrade to get the new functionality (I’m checking on that as well).
Assuming I have to live with R2021b for now, I’ll give you an example of what I’m trying to accomplish. Consider a fixed-income-only universe of asset classes, and durations for each:
– IG corporate duration = 7 years
– high yield corporate duration = 3 years
– treasury duration = 10 years
– etc.
In the portfolio optimization, I’d like to be able to have a stated duration target for the resulting portfolio. But, the duration of any hypothetical portfolio depends on the portfolio weights the optimizer is considering in any given iteration, and I don’t see a way (in my version of Matlab) to state that duration target as a constraint or objective.
Thanks in advance for any thoughts you may have. Hello, Matlab community. I am working on a portfolio optimization exercise, and I’m looking for a way to incorporate a user-defined objective function in the usual Portfolio object workflow. The "estimateCustomObjectivePortfolio" function seems to be exactly what I need, but unfortunately it was introduced in R2022b. I am using a corporate R2021b Matlab license, so my IT department may not let me just upgrade to get the new functionality (I’m checking on that as well).
Assuming I have to live with R2021b for now, I’ll give you an example of what I’m trying to accomplish. Consider a fixed-income-only universe of asset classes, and durations for each:
– IG corporate duration = 7 years
– high yield corporate duration = 3 years
– treasury duration = 10 years
– etc.
In the portfolio optimization, I’d like to be able to have a stated duration target for the resulting portfolio. But, the duration of any hypothetical portfolio depends on the portfolio weights the optimizer is considering in any given iteration, and I don’t see a way (in my version of Matlab) to state that duration target as a constraint or objective.
Thanks in advance for any thoughts you may have. portfolio optimization, custom constraint MATLAB Answers — New Questions
Data normalization using robust scaling
Hello all, I am trying to implement "Robust Scaling" but I am confused. Should I use "all" parameter for "median" and "iqr" functions?
Thanks for the help.
DataSet = readtable(‘Datasets/Test.csv’);
DataSet = table2array(DataSet); % 7195 * 22
RScaling = (DataSet – median(DataSet))./iqr(DataSet)Hello all, I am trying to implement "Robust Scaling" but I am confused. Should I use "all" parameter for "median" and "iqr" functions?
Thanks for the help.
DataSet = readtable(‘Datasets/Test.csv’);
DataSet = table2array(DataSet); % 7195 * 22
RScaling = (DataSet – median(DataSet))./iqr(DataSet) Hello all, I am trying to implement "Robust Scaling" but I am confused. Should I use "all" parameter for "median" and "iqr" functions?
Thanks for the help.
DataSet = readtable(‘Datasets/Test.csv’);
DataSet = table2array(DataSet); % 7195 * 22
RScaling = (DataSet – median(DataSet))./iqr(DataSet) normalization MATLAB Answers — New Questions
Reminder: Windows Tech Community Live – June 5th
Looking for more insights, tips, and best practices on managing Windows? Don’t miss this Tech Community Live: Windows edition tomorrow (June 5, 2024)! For four hours, the engineering and product teams will be live on camera and in chat to answer your questions. So, post your question now, before the live events start! Here’s the agenda:
Time
Ask Microsoft Anything (AMA) about…
7:30 – 8:30 a.m. (Pacific Time)
Windows security and best practices
8:30 – 9:30 a.m. (Pacific Time)
Finding your way to “cloud first”
9:30 – 10:30 a.m. (Pacific Time)
10:30 – 11:30 a.m. (Pacific Time)
For more details and to RSVP to the entire event, visit aka.ms/TCL/Windows.
Looking for more insights, tips, and best practices on managing Windows? Don’t miss this Tech Community Live: Windows edition tomorrow (June 5, 2024)! For four hours, the engineering and product teams will be live on camera and in chat to answer your questions. So, post your question now, before the live events start! Here’s the agenda:
Time
Ask Microsoft Anything (AMA) about…
7:30 – 8:30 a.m. (Pacific Time)
Windows security and best practices
8:30 – 9:30 a.m. (Pacific Time)
Finding your way to “cloud first”
9:30 – 10:30 a.m. (Pacific Time)
Managing Windows updates
10:30 – 11:30 a.m. (Pacific Time)
Windows Autopilot
For more details and to RSVP to the entire event, visit aka.ms/TCL/Windows. Read More
Reminder: Windows security AMA – June 5th
Curious about the latest security features and updates for Windows 11? Learn how to better protect your data and identities in this Ask Microsoft Anything (AMA) session! Tomorrow (June 5, 2024) at 7:30 AM PT, explore defaults, customization, and best practices that enable you to “lock down” Windows in your environment. The product and engineering teams will be there to help you stay ahead of evolving threats with Windows. So, post your questions now and early at aka.ms/AMA/WindowsSecurity.
What is Tech Community Live?
This session is part of Tech Community Live: Windows edition. There will be four hours of live AMA sessions in total. Find answers, insights, and tips about deploying, updating, and managing Windows from the engineering and product teams as they’ll be on camera and in chat answering your questions!
Can’t attend live? No worries! All sessions will be recorded and available on demand after they conclude. For the full list of sessions, visit aka.ms/TCL/Windows.
Curious about the latest security features and updates for Windows 11? Learn how to better protect your data and identities in this Ask Microsoft Anything (AMA) session! Tomorrow (June 5, 2024) at 7:30 AM PT, explore defaults, customization, and best practices that enable you to “lock down” Windows in your environment. The product and engineering teams will be there to help you stay ahead of evolving threats with Windows. So, post your questions now and early at aka.ms/AMA/WindowsSecurity.
What is Tech Community Live?
This session is part of Tech Community Live: Windows edition. There will be four hours of live AMA sessions in total. Find answers, insights, and tips about deploying, updating, and managing Windows from the engineering and product teams as they’ll be on camera and in chat answering your questions!
Can’t attend live? No worries! All sessions will be recorded and available on demand after they conclude. For the full list of sessions, visit aka.ms/TCL/Windows. Read More
Planner completing multiple tasks across the same plan in multiple channels
Hi, we recently started using Microsoft Teams and are very excited to start using Planner with it. As we created a plan, we wanted to be able to use the same plan within a team (the Use an existing plan from this team option) via channels, but what’s happening is when we checked off something completed on one channel within the team it then checks off everything in the other channels as well? We have a lot of repeated tasks that we were hoping we wouldn’t have to recreate within the project.
Help is appreciated in advance 🙂
Hi, we recently started using Microsoft Teams and are very excited to start using Planner with it. As we created a plan, we wanted to be able to use the same plan within a team (the Use an existing plan from this team option) via channels, but what’s happening is when we checked off something completed on one channel within the team it then checks off everything in the other channels as well? We have a lot of repeated tasks that we were hoping we wouldn’t have to recreate within the project. Help is appreciated in advance 🙂 Read More