Category: News
Microsoft Teams DLP Playbook
May 2024 Edition
We’re so excited to publish the updated Teams DLP Playbook!
This document provides an overview of how enterprise customers can deploy Microsoft Teams-DLP for protecting sensitive information. Microsoft Purview Data Loss Prevention has integrations with multiple workloads that help to protect customer data with a single policy. Teams DLP is one of the workloads within Microsoft Purview Data Loss Prevention. This guide walks through the different aspects of deploying use cases across content/containers.
In summary, this playbook will help to:
Understand the new Microsoft Purview Portal console and interface
Develop a strategy for deploying Teams DLP across the organization
Provide near real-time Alerts with notifications
Review various scenarios to test Teams DLP over chat and channel communication
This document helps readers plan and protect sensitive information scenarios that normally exist in every organization. This playbook helps as a user guide to mitigate the risk of exchanging crucial data while communicating over chat or giving access to sites for guest users.
If you have any questions on this playbook or suggestions, please reach out to our yammer group at aka.ms/askmipteam!
Let us know what you think!
Microsoft Tech Community – Latest Blogs –Read More
how to make distance affect on attenuation factor?
This is so far my distance effect function, but the attenuation factor(Att_linear) doens’t work with input signal(inwave_lowpass) arrays have incompatible sizes for this operation, I tried to use convolve to solve it, but it will make the output (attenuated_signal) sounds like broken noise. I also tried filter(Att_linear, 1, inwave_lowpass) but it make the output sounds like broken also.
[inwave,fs]=audioread("anechoic_voice.wav");
%LOW-PASS FILTER%
% Define filter specifications
cutoff_frequency = 20000;
sampling_frequency = fs;
filter_order = 4;
%matlab lowpass filter
inwave_lowpass = lowpass(inwave,cutoff_frequency,sampling_frequency) ;
%ABSORPTION context%
%citing dissipation function by Densil C.(2015)
%alpha=absorption coeff (dB/m)
f_desired=(20:20000);
alpha = dissipation (f_desired, 20, 50,100,1);
%definie destination
r=1;
%decay factor in dB
Att=alpha.*r;
% Convert attenuation factor to linear scale
Att_linear = 10.^(Att/20);
% Apply attenuation to the input signal%
%attenuated_signal =inwave_lowpass.*Att_linear; %Problem: .*not work cuz arrays have incompatible sizes for this operation.%
attenuated_signal =conv(inwave_lowpass,Att_linear);%Problem: convolve not work for r when output.%
% Plot the frequency response of the attenuation filter
freqz(Att_linear, 1, 1024, fs);
% Play the attenuated signal
sound(attenuated_signal, fs);
Thank you for your time!This is so far my distance effect function, but the attenuation factor(Att_linear) doens’t work with input signal(inwave_lowpass) arrays have incompatible sizes for this operation, I tried to use convolve to solve it, but it will make the output (attenuated_signal) sounds like broken noise. I also tried filter(Att_linear, 1, inwave_lowpass) but it make the output sounds like broken also.
[inwave,fs]=audioread("anechoic_voice.wav");
%LOW-PASS FILTER%
% Define filter specifications
cutoff_frequency = 20000;
sampling_frequency = fs;
filter_order = 4;
%matlab lowpass filter
inwave_lowpass = lowpass(inwave,cutoff_frequency,sampling_frequency) ;
%ABSORPTION context%
%citing dissipation function by Densil C.(2015)
%alpha=absorption coeff (dB/m)
f_desired=(20:20000);
alpha = dissipation (f_desired, 20, 50,100,1);
%definie destination
r=1;
%decay factor in dB
Att=alpha.*r;
% Convert attenuation factor to linear scale
Att_linear = 10.^(Att/20);
% Apply attenuation to the input signal%
%attenuated_signal =inwave_lowpass.*Att_linear; %Problem: .*not work cuz arrays have incompatible sizes for this operation.%
attenuated_signal =conv(inwave_lowpass,Att_linear);%Problem: convolve not work for r when output.%
% Plot the frequency response of the attenuation filter
freqz(Att_linear, 1, 1024, fs);
% Play the attenuated signal
sound(attenuated_signal, fs);
Thank you for your time! This is so far my distance effect function, but the attenuation factor(Att_linear) doens’t work with input signal(inwave_lowpass) arrays have incompatible sizes for this operation, I tried to use convolve to solve it, but it will make the output (attenuated_signal) sounds like broken noise. I also tried filter(Att_linear, 1, inwave_lowpass) but it make the output sounds like broken also.
[inwave,fs]=audioread("anechoic_voice.wav");
%LOW-PASS FILTER%
% Define filter specifications
cutoff_frequency = 20000;
sampling_frequency = fs;
filter_order = 4;
%matlab lowpass filter
inwave_lowpass = lowpass(inwave,cutoff_frequency,sampling_frequency) ;
%ABSORPTION context%
%citing dissipation function by Densil C.(2015)
%alpha=absorption coeff (dB/m)
f_desired=(20:20000);
alpha = dissipation (f_desired, 20, 50,100,1);
%definie destination
r=1;
%decay factor in dB
Att=alpha.*r;
% Convert attenuation factor to linear scale
Att_linear = 10.^(Att/20);
% Apply attenuation to the input signal%
%attenuated_signal =inwave_lowpass.*Att_linear; %Problem: .*not work cuz arrays have incompatible sizes for this operation.%
attenuated_signal =conv(inwave_lowpass,Att_linear);%Problem: convolve not work for r when output.%
% Plot the frequency response of the attenuation filter
freqz(Att_linear, 1, 1024, fs);
% Play the attenuated signal
sound(attenuated_signal, fs);
Thank you for your time! attenuation, dsp MATLAB Answers — New Questions
i need to find frequency eqaution and then compute for the non zero natural frequencies the five degree of freedom system using damping ,mass and stiffness matrices
% Construct mass matrix
M = [m1, 0, 0, 0, 0;
0, m2, 0, 0, 0;
0, 0, m3, 0, 0;
0, 0, 0, m4, 0;
0, 0, 0, 0, m5]
% Construct damping matrix
C = [c2, -c2, 0, 0, 0;
-c2, c2+c3, -c3, 0, 0;
0, -c3, c3+c4, -c4, 0;
0, 0, -c4, c4+c5, -c5;
0, 0, 0, -c5, c5];
C= 1000*C
% Construct stiffness matrix
K = [k2, -k2, 0, 0, 0;
-k2, k2+k3, -k3, 0, 0;
0, -k3, k3+k4, k4, 0;
0, 0, -k4, k4+k5, -k5;
0, 0, 0, -k5, k5];% Construct mass matrix
M = [m1, 0, 0, 0, 0;
0, m2, 0, 0, 0;
0, 0, m3, 0, 0;
0, 0, 0, m4, 0;
0, 0, 0, 0, m5]
% Construct damping matrix
C = [c2, -c2, 0, 0, 0;
-c2, c2+c3, -c3, 0, 0;
0, -c3, c3+c4, -c4, 0;
0, 0, -c4, c4+c5, -c5;
0, 0, 0, -c5, c5];
C= 1000*C
% Construct stiffness matrix
K = [k2, -k2, 0, 0, 0;
-k2, k2+k3, -k3, 0, 0;
0, -k3, k3+k4, k4, 0;
0, 0, -k4, k4+k5, -k5;
0, 0, 0, -k5, k5]; % Construct mass matrix
M = [m1, 0, 0, 0, 0;
0, m2, 0, 0, 0;
0, 0, m3, 0, 0;
0, 0, 0, m4, 0;
0, 0, 0, 0, m5]
% Construct damping matrix
C = [c2, -c2, 0, 0, 0;
-c2, c2+c3, -c3, 0, 0;
0, -c3, c3+c4, -c4, 0;
0, 0, -c4, c4+c5, -c5;
0, 0, 0, -c5, c5];
C= 1000*C
% Construct stiffness matrix
K = [k2, -k2, 0, 0, 0;
-k2, k2+k3, -k3, 0, 0;
0, -k3, k3+k4, k4, 0;
0, 0, -k4, k4+k5, -k5;
0, 0, 0, -k5, k5]; matlab, vibration MATLAB Answers — New Questions
The mathematical details of using regression kernel for incremental learning
You state that in incremental learning using regression kernel "binary Gaussian kernel regression model for incremental learning. The kernel model maps data in a low-dimensional space into a high-dimensional space, then fits a linear model in the high-dimensional space."
I am writing a paper so I need mathematical details of mapping that maps data to high dimensional spaceYou state that in incremental learning using regression kernel "binary Gaussian kernel regression model for incremental learning. The kernel model maps data in a low-dimensional space into a high-dimensional space, then fits a linear model in the high-dimensional space."
I am writing a paper so I need mathematical details of mapping that maps data to high dimensional space You state that in incremental learning using regression kernel "binary Gaussian kernel regression model for incremental learning. The kernel model maps data in a low-dimensional space into a high-dimensional space, then fits a linear model in the high-dimensional space."
I am writing a paper so I need mathematical details of mapping that maps data to high dimensional space incremental learning, svm, machine learning MATLAB Answers — New Questions
Always use the same cell value in a formula
How can you keep the value of a cell same in all rows while the values of the other cells in the formula change per row
How can you keep the value of a cell same in all rows while the values of the other cells in the formula change per row Read More
Where can I find the DOM element for the microsoft search enterprise web connector?
I’m trying to setup the microsoft search enterprise web connector as described here: Enterprise websites Microsoft Graph connector | Microsoft Learn. The problem I’m having is with Dynamic Site configuration. I’m not familiar with DOM so I don’t know where to look to find the DOM Ready, Headers to Add, or Headers to Skip items. I assume it’s something I can find the the DevTools menu of the browser if I go to the site in question, but I don’t know what to look for once I’m there. Anyone who has experience with this, I’d appreciate your expertise.
I’m trying to setup the microsoft search enterprise web connector as described here: Enterprise websites Microsoft Graph connector | Microsoft Learn. The problem I’m having is with Dynamic Site configuration. I’m not familiar with DOM so I don’t know where to look to find the DOM Ready, Headers to Add, or Headers to Skip items. I assume it’s something I can find the the DevTools menu of the browser if I go to the site in question, but I don’t know what to look for once I’m there. Anyone who has experience with this, I’d appreciate your expertise. Read More
referencing text format
Hello everyone,
In my excelsheet I am referencing tables using VSTACK to create one master table, while keeping it easy to edit the original tables.
The problem that I am facing is that VSTACK does not use the text formatting of the referenced cells.
These are the source tables, and this is the master table:
I could manually make the headers the correct text format, but this format does not shift when a line is added or removed from a table, making the formatting shift incorrectly:
After manually adding formatting
adding a line (14 & 15) to the source table, and the text formatting stays on line 15 and 16 instead of shifting along with the text.
Is there a way to reference the text’s formatting so that the manual part of creating a master table can be fully automated? VSTACK does not have a parmater to keep formatting.
Hello everyone, In my excelsheet I am referencing tables using VSTACK to create one master table, while keeping it easy to edit the original tables. The problem that I am facing is that VSTACK does not use the text formatting of the referenced cells. These are the source tables, and this is the master table:I could manually make the headers the correct text format, but this format does not shift when a line is added or removed from a table, making the formatting shift incorrectly:After manually adding formattingadding a line (14 & 15) to the source table, and the text formatting stays on line 15 and 16 instead of shifting along with the text. Is there a way to reference the text’s formatting so that the manual part of creating a master table can be fully automated? VSTACK does not have a parmater to keep formatting. Read More
Bookings information not copying over to Outlook appointment
We have bookings and outlook to set up to go to our main calendar and then a copy of the appointment automatically goes to the individual calendar. The problem is that the Addition Information Section in the body of original appointment does not get copied over to the individual’s calendar. Due to changes made in Outlook last year, I can no longer change the body of the individual’s appointment. Our AI has to have the zoom link in the individuals appointment in order to connect to the meeting and that is what is missing. Short of having to manually add the zoom link into the hundreds of appointments, does anyone have any idea what solutions I have?
We have bookings and outlook to set up to go to our main calendar and then a copy of the appointment automatically goes to the individual calendar. The problem is that the Addition Information Section in the body of original appointment does not get copied over to the individual’s calendar. Due to changes made in Outlook last year, I can no longer change the body of the individual’s appointment. Our AI has to have the zoom link in the individuals appointment in order to connect to the meeting and that is what is missing. Short of having to manually add the zoom link into the hundreds of appointments, does anyone have any idea what solutions I have? Read More
Bad results – Ways of working
Hi team
I’ve just recently saw an specific case with one of our clients that has some issues creating the WoW report and I hope you can help us to identify if this is a problem that came after the April 2024 update.
As you can see the working hours are being showed like thousands and in some cases even the slide appears to have an error. We even regenerate a previous report (march) that was ok a month ago and right now it also broken.
Hi team I’ve just recently saw an specific case with one of our clients that has some issues creating the WoW report and I hope you can help us to identify if this is a problem that came after the April 2024 update. As you can see the working hours are being showed like thousands and in some cases even the slide appears to have an error. We even regenerate a previous report (march) that was ok a month ago and right now it also broken. Read More
the SQL server database engine cannot obtain a lock ressource at this time
hello
I have a problem with the configuration of SQL Server
I have SQL Server 2019 with the last cumulative update
i fixed the max server memory with 40000 Mo =40 Go
and maxdop to 0
i have enough disk space
the problem is when i execute this query :
(insert into table A select * from table B) this probleme happen
the instance of the SQL Server Database Engine cannot obtain a LOCK resource at this time. Rerun your statement when there are fewer active users. Ask the database administrator to check the lock and memory configuration for this instance, or to check for long-running transactions.
but when i execute the same wuery like this ( select * into table A from table B ) the query work fine with no problem
Can anyone help me
thanx a lot
hello I have a problem with the configuration of SQL Server I have SQL Server 2019 with the last cumulative update i fixed the max server memory with 40000 Mo =40 Goand maxdop to 0 i have enough disk space the problem is when i execute this query : (insert into table A select * from table B) this probleme happen the instance of the SQL Server Database Engine cannot obtain a LOCK resource at this time. Rerun your statement when there are fewer active users. Ask the database administrator to check the lock and memory configuration for this instance, or to check for long-running transactions.but when i execute the same wuery like this ( select * into table A from table B ) the query work fine with no problem Can anyone help me thanx a lot Read More
O365 Resource Room Delegate
My company recently had me setup a newly renovated meeting space as a resource room that required delegate approval to book. All of that is in place, and is working MOSTLY the way we would like it to. We have noticed however that pending resource requests still appear as tentative meetings (that end-users can join) prior to receiving delegate’s approval. This kind of defeats the purpose of adding a delegate approval requirement. Is there a way in powershell to prevent pending meetings from being viewable and/or joinable until they have actually been approved? Current settings below:
I was directed to post my question in this community instead of the O365 community.
My company recently had me setup a newly renovated meeting space as a resource room that required delegate approval to book. All of that is in place, and is working MOSTLY the way we would like it to. We have noticed however that pending resource requests still appear as tentative meetings (that end-users can join) prior to receiving delegate’s approval. This kind of defeats the purpose of adding a delegate approval requirement. Is there a way in powershell to prevent pending meetings from being viewable and/or joinable until they have actually been approved? Current settings below: I was directed to post my question in this community instead of the O365 community. Read More
Timestamp using VBA based on specific cell changes
Hi experts,
Hope you are well!
I am trying to get VBA to update a cell in one column with a timestamp of when another cell changes.
The attached code works well but when I use a filter on the spreadsheet, the code updates the timestamp to the current time when the actual cell has not been clicked or changed.
Is there anyway to better this code?
Function MyTimestamp(Reference As Range)
If Reference.Value <> “” Then
MyTimestamp = Format(Now, “dd-mm-yyyy hh:mm:ss”)
Else
MyTimestamp = “”
End If
End Function
See attached example
Thank you in advance
Matt
Hi experts,Hope you are well! I am trying to get VBA to update a cell in one column with a timestamp of when another cell changes. The attached code works well but when I use a filter on the spreadsheet, the code updates the timestamp to the current time when the actual cell has not been clicked or changed. Is there anyway to better this code? Function MyTimestamp(Reference As Range)
If Reference.Value <> “” Then
MyTimestamp = Format(Now, “dd-mm-yyyy hh:mm:ss”)
Else
MyTimestamp = “”
End If
End Function See attached example Thank you in advance Matt Read More
ACTION REQUIRED: New Agreement governing access to Hardware Dev Center
We have updated the agreements on Partner Center for the Windows Hardware Program. We made these updates to clarify our terms and ensure that they are transparent, as well as to address usage of new logos.
All participants in the Hardware Program are required to have their authorized personnel review, acknowledge, and accept the agreements. New submissions will be blocked after August 14, 2024 until the agreements are accepted.
Partners who have accepted prior versions of the agreement via other means will still need to accept the agreement on Partner Center. For partners who have already been a part of the program, you will see the previous agreement, the Windows Logo License Agreement from 2021, has been renamed and is now listed in the Agreements section of Partner Center as “Microsoft Marks License Agreement (formerly Windows Logo License Agreement)” with the value in the Agreement column of Version 2021.
As a result, partners who previously accepted the Windows Logo License Agreement will see two entries in the Agreements section:
The new Microsoft Marks License Agreement, with Version 2024.
The previous Windows Logo License Agreement, now renamed to “Microsoft Marks License Agreement (formerly Windows Logo License Agreement)” with the value in the Agreement column of Version 2021.
Going forward, the four agreements listed below will govern your access to the Hardware Program. Legacy agreements will be deprecated.
· Windows Hardware Compatibility Agreement
· Microsoft Marks License Agreement 2024 (New)
· Windows Analytics Agreement v2.0
If you encounter issues accessing the new agreements, please reach out to our support team. For details on how to contact support, see Get support for Partner Center dashboard issues – Windows drivers | Microsoft Learn.
Microsoft Tech Community – Latest Blogs –Read More
PART 3 – Ingesting AWS GovCloud Microsoft Sentinel in Azure Commercial
In the first part of this series Ingesting Non-Microsoft Cloud Security Data into Microsoft Sentinel for Government & DIB Customers we looked into the compliance levels of the clouds and the architecture of the AWS connector. In part 2 Ingesting Non-Microsoft Cloud Security Data into Microsoft Sentinel for Gov & DIB customers part 2 we walked thru setting up the connectors from AWS GovCloud and AWS into Microsoft Sentinel in Azure Government. In this blog we’ll discuss connecting AWS GovCloud into Microsoft Sentinel in Azure Commercial. We recognize that many Government and DIB customers use Azure Commercial and AWS GovCloud, so we’ve included the ability to monitor and respond to those cloud environments. Most of the same steps will apply, this will be very similar to part 2 so I’ve added more trouble shooting information in this part.
Installing the solution in Sentinel from Content Hub
First, we will open the Content Hub in Sentinel and search for “Amazon” to find the solution. The solution includes the S3 connector, 57 Analytic Rules, 36 Hunting Queries & 2 Workbooks.
Click install and the solution will install the connector and other parts of the solution. If you have already installed the Amazon Web Services solution, click on manage. Once the solution is installed You will be able to select the S3 Connector
The connector uses Windows PowerShell and AWS CLI to automate the setup required in AWS.
Configuring the installation environment
Prior to installing the connector using the PS1 script, you must properly configure the system you are using. If you have already done this skip forward to Running the ConfigueAwsConnector.ps1 Script section.
When running the script, ensure that you are using Windows PowerShell as there are Differences between Windows PowerShell and PowerShell 7.x – PowerShell.
Here is the link for installing PowerShell Install PowerShell on Windows, Linux, and macOS – PowerShell
AWS CLI installation is required by the configuration script to create the connections in AWS. Here is the link from Amazon to setup AWS CLI, AWS CLI Installation instructions.
The configuration script will confirm these settings when it runs. If this process returns any errors, check the *_accessKeys.csv file that you downloaded from AWS when you set up the access key, and ensure that the region is correct. In the AWS Console, the region displays US-Gov-West. You will need to update this to us-gov-west-1 when you run the AWS configure command or the script will throw an error.
Verified AWS access configuration
You will need to run the ConfigureAwsConnector.ps1 script. Depending on your organization’s policies, you may not be able to run the PowerShell script without setting the Windows PowerShell execution policy (using Set-ExecutionPolicy) to allow running unsigned scripts. You can check your policies by running.
PS C:> Get-ExecutionPolicy –List
If you need to change the policy run this command to allow running unsigned scripts
PS C:> Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Once you are done installing the connections, you should set the execution policy back. More information about setting execution policies can be found on this page Execution Policies – PowerShell
Running the ConfigueAwsConnector.ps1 Script
To get started, download / extract the PowerShell script.
Make note of the log analytics workspace ID, this will be required when running the ConfigureAwsConnector.ps1 script. To further simplify this process, a Cloud Formation Template is in development. That information will be added to this blog series upon release.
In this example we are connecting VPC Flow logs.
The script will ask for the following information in order to setup the OpenID Connection ((OIDC)🙁
S3 bucket and will create one if needed.
Azure Workspace ID
SQS queue to be created.
Make a note of the information listed under “Role Arn”, “Sqs Queue”, and “Destination Table” as you will need this to configure the connection in Sentinel. On the connector page in Sentinel paste in the information
Enter the Role ARN, SQS URL & Destination table on the connector blade in Sentinel
Then select add connection. The first time you connect, you may see an error (ID25).
This is due to a test message the new SQS queue sends on first connection. The test message does not have the correct record that the connector is expecting and throws the error. Microsoft is working on either clarifying the error message or suppressing the error. When you click connect a second time and then the SQS queue sends the correct message, and the connection will be successful.
You can repeat this process for the other data types in AWS GovCloud. The connection process is the same for each data type. Guard Duty & Cloud Trail data types will ask if you want to use KMS. I used a different KMS for each data type just to keep things organized. Here is an example of what I used in my lab
Once you have all the connections setup you will start seeing data flowing. It might take a few minutes for data to come into Sentinel. This depends on amount of data AWS generates and when Sentinel communicates with the SQS queue. You should see a list of the connection on the Amazon S3 connector page in Sentinel.
Unique Scenario – Sending AWS Guard Duty data into both Azure Gov and Azure Commercial.
I found the scenario for ingesting one AWS account into two Sentinels due to the way my test lab and accounts were configured. I don’t think many customers will encounter this scenario, but I wanted to cover it just in case.
Since Guard Duty Settings it can only use a single bucket / SQS queue, it is not possible to send Guard Duty logs to 2 instances of Sentinel “out-of-the-box”. If you want to do this, you would have to add another Sentinel Workspace and possibly API path to the Trust Relationship Policy.
You will also have to find a way to handle the messages in the SQS queue. Since each Sentinel instance will pick up the messages and the other Sentinel instance may miss the message to get the logs.
If you want to send single AWS account data into 2 Sentinel instances this will require using something like a message bus and custom code. That discussion is beyond the scope of this blog.
Troubleshooting the connector –
In the second blog entry Ingesting Non-Microsoft Cloud Security Data into Microsoft Sentinel for Gov & DIB customers part 2 we investigated verifying data flow and querying it once it has been imported to Microsoft Sentinel. In this section, we will tackle troubleshooting unexpected issues. There are several places that are helpful to check in AWS while troubleshooting or to ensure that the script ran correctly:
S3 Bucket – logs and event notifications
VPC – Flow Logs
SQS queues
Cloud Trail
Guard Duty
S3 Buckets – Here, we will be looking for logs and event notifications. In the bucket you should see a folder called AWSLogs. Under that folder look for the folder with your account ID – you may also see a folder that starts with o-****. The folder that with o-*** is where organization logs may be. Look for the *.gz files, these are the actual logs.
Also check the Event Notifications & SQS queues on the bucket to ensure they were created
Check the Bucket Policy and check the OIDC Role
VPC Flow Logs – verify the Destination Name is the correct S3 bucket in the VPC configuration on the AWS console. Then you can verify that the folder mentioned above actually has *.gz files.
SQS Queues – Look on the monitoring tab and verify traffic on the monitor tab of the queue(s). If you don’t see any traffic here, then there might be an issue with the event notifications.
Verify the Access Policy has the correct OIDC role and permissions
Cloud Trail – Verify Trail settings in the Cloud Trail console-
Trail Log location under General Details. and the IAM Role on the Trail page.
AWS KMS key is correct
IAM Role in the CloudWatch Logs
Guard Duty – verify the S3 Protection is on
the correct S3 bucket is set correctly in the console- Guard Duty Settings
Summary
In this part of this series, we’ve walked through setting up the CLI and scripts required to establish the connection from AWS GovCloud into Microsoft Sentinel in Azure commercial and how can verify that the script setup the AWS resources correctly. You’re encouraged to explore the workbooks, analytics and hunting queries that are installed with the AWS Solution. These concepts can be explored in-depth with the helpful links below:
Visualize your data using workbooks in Microsoft Sentinel | Microsoft Learn.
Detect threats with analytics rule templates in Microsoft Sentinel | Microsoft Learn
Hunting capabilities in Microsoft Sentinel | Microsoft Learn
We just released the Multi Cloud Attack Essentials solution in the Sentinel Content Hub & GitHub. Here is the link to the repository Azure-Sentinel/Solutions/Multi Cloud Attack Coverage Essentials – Resource Abuse at master · Azure/Azure-Sentinel · GitHub
In our next blog, we will cover Google Cloud Platform (GCP) integration and the new Cloud Formation installation option for AWS.
Microsoft Tech Community – Latest Blogs –Read More
Assignment help… Inputting double array into function.
Hello everyone. This is my first post here. I have no coding experience and am a current student at U.C. Berkeley studying Engineering Physics. I am taking a programming course that is using matlab and I am TERRIBLE at programming. Anyway thanks for all the help and support in advance.
The assignment is to calculate the surface area and volume of a cylinder. I don’t want a solution because I really need to learn this and some day wish to be pretty proficient with matlab as I will use it a lot for my major.
This is what I’ve done so far. It seems very basic.
function [ S , V ] = myCylinder( R,H )
S = (2*pi*R*H) + (2*pi*(R^2)); % Calculates the surface area of Cylinder.
V = (pi*(R^2)*H); % Calculates the volume of the Cylinder.
The problem I am having is it says I should be able to input the data as a double array.
So I could write
myCylinder([1,2],[2,4])
My attempt:
I was trying to use array indexing and reading up on that section in the text book but for the life of me after a long while I can not figure it out. Any tips and suggestions would be greatly appreciated. Thanks Guys!!
Anthony
PS having issues with inputting code into the forum. If anyone could explain an easier way for future use that would also be awesome.Hello everyone. This is my first post here. I have no coding experience and am a current student at U.C. Berkeley studying Engineering Physics. I am taking a programming course that is using matlab and I am TERRIBLE at programming. Anyway thanks for all the help and support in advance.
The assignment is to calculate the surface area and volume of a cylinder. I don’t want a solution because I really need to learn this and some day wish to be pretty proficient with matlab as I will use it a lot for my major.
This is what I’ve done so far. It seems very basic.
function [ S , V ] = myCylinder( R,H )
S = (2*pi*R*H) + (2*pi*(R^2)); % Calculates the surface area of Cylinder.
V = (pi*(R^2)*H); % Calculates the volume of the Cylinder.
The problem I am having is it says I should be able to input the data as a double array.
So I could write
myCylinder([1,2],[2,4])
My attempt:
I was trying to use array indexing and reading up on that section in the text book but for the life of me after a long while I can not figure it out. Any tips and suggestions would be greatly appreciated. Thanks Guys!!
Anthony
PS having issues with inputting code into the forum. If anyone could explain an easier way for future use that would also be awesome. Hello everyone. This is my first post here. I have no coding experience and am a current student at U.C. Berkeley studying Engineering Physics. I am taking a programming course that is using matlab and I am TERRIBLE at programming. Anyway thanks for all the help and support in advance.
The assignment is to calculate the surface area and volume of a cylinder. I don’t want a solution because I really need to learn this and some day wish to be pretty proficient with matlab as I will use it a lot for my major.
This is what I’ve done so far. It seems very basic.
function [ S , V ] = myCylinder( R,H )
S = (2*pi*R*H) + (2*pi*(R^2)); % Calculates the surface area of Cylinder.
V = (pi*(R^2)*H); % Calculates the volume of the Cylinder.
The problem I am having is it says I should be able to input the data as a double array.
So I could write
myCylinder([1,2],[2,4])
My attempt:
I was trying to use array indexing and reading up on that section in the text book but for the life of me after a long while I can not figure it out. Any tips and suggestions would be greatly appreciated. Thanks Guys!!
Anthony
PS having issues with inputting code into the forum. If anyone could explain an easier way for future use that would also be awesome. double array MATLAB Answers — New Questions
Issue with Configuring Plant Model from ECU TEST tool
Im currentyl working on setting up an ECU TEST project for my remote Test bench. I face the following error while trying to conenct to the test bench model port,
Could anyone help me resolve this issue?
Thank you,
Best Regards,
DhivyaIm currentyl working on setting up an ECU TEST project for my remote Test bench. I face the following error while trying to conenct to the test bench model port,
Could anyone help me resolve this issue?
Thank you,
Best Regards,
Dhivya Im currentyl working on setting up an ECU TEST project for my remote Test bench. I face the following error while trying to conenct to the test bench model port,
Could anyone help me resolve this issue?
Thank you,
Best Regards,
Dhivya simulink, ecu-test, model MATLAB Answers — New Questions
How to generating LDPC parity-check matrices with arbitrary sizes?
I want to use comm.LDPCEncoder/comm.LDPCDecoder and i know to use this encoder decoder in Matlab the H matrices should be Systematic (support Systematic codes only) otherwise i will receive this error.
"the last (N-K) columns of the parity-check matrix must be invertible in GF(2)."
I know two methods from MATLAB that will generate parity-check matrices:
H = dvbs2ldpc(r)
h = hammgen(m)
However, these methods are restricted to a certain ratio between rows and columns. I tried some other third-party scripts to generate the matrix, but some of them don’t seem to return a valid matrix, since "comm.LDPCDecoder" will fail with the same error.
I used some predefined H matrices of Mackay, but no way.
lent of my code-word is not fix it’s about 1000 to 3000 it depend to the situation of my simulation(for example code-word length is equal to 1536 or another case 2048), that’s why i should create a spars matrix then use it.
Now how to generate the LDPC parity-check matrices with arbitrary sizes[depend to length of my code-word]?
How to generating LDPC parity-check matrices with arbitrary sizes?I want to use comm.LDPCEncoder/comm.LDPCDecoder and i know to use this encoder decoder in Matlab the H matrices should be Systematic (support Systematic codes only) otherwise i will receive this error.
"the last (N-K) columns of the parity-check matrix must be invertible in GF(2)."
I know two methods from MATLAB that will generate parity-check matrices:
H = dvbs2ldpc(r)
h = hammgen(m)
However, these methods are restricted to a certain ratio between rows and columns. I tried some other third-party scripts to generate the matrix, but some of them don’t seem to return a valid matrix, since "comm.LDPCDecoder" will fail with the same error.
I used some predefined H matrices of Mackay, but no way.
lent of my code-word is not fix it’s about 1000 to 3000 it depend to the situation of my simulation(for example code-word length is equal to 1536 or another case 2048), that’s why i should create a spars matrix then use it.
Now how to generate the LDPC parity-check matrices with arbitrary sizes[depend to length of my code-word]?
How to generating LDPC parity-check matrices with arbitrary sizes? I want to use comm.LDPCEncoder/comm.LDPCDecoder and i know to use this encoder decoder in Matlab the H matrices should be Systematic (support Systematic codes only) otherwise i will receive this error.
"the last (N-K) columns of the parity-check matrix must be invertible in GF(2)."
I know two methods from MATLAB that will generate parity-check matrices:
H = dvbs2ldpc(r)
h = hammgen(m)
However, these methods are restricted to a certain ratio between rows and columns. I tried some other third-party scripts to generate the matrix, but some of them don’t seem to return a valid matrix, since "comm.LDPCDecoder" will fail with the same error.
I used some predefined H matrices of Mackay, but no way.
lent of my code-word is not fix it’s about 1000 to 3000 it depend to the situation of my simulation(for example code-word length is equal to 1536 or another case 2048), that’s why i should create a spars matrix then use it.
Now how to generate the LDPC parity-check matrices with arbitrary sizes[depend to length of my code-word]?
How to generating LDPC parity-check matrices with arbitrary sizes? ldpc, parity-check matrices, h matrices, comm.ldpcencoder, comm.ldpcdecoder MATLAB Answers — New Questions
How to view or change the driving cycle used in this model
Hi,
Can anyone help me find the table the import block is referring to to feed the reference velocities to the model. And also what would be the steps if i want to create such a input for a new model?
When I go to the "block parameters" for the inport block , then "Connect Input". Here I fond no signal pre selected variable.
I downloaded this model from https://in.mathworks.com/matlabcentral/fileexchange/63823-matlab-and-simulink-racing-lounge-vehicle-modeling
Thanks.Hi,
Can anyone help me find the table the import block is referring to to feed the reference velocities to the model. And also what would be the steps if i want to create such a input for a new model?
When I go to the "block parameters" for the inport block , then "Connect Input". Here I fond no signal pre selected variable.
I downloaded this model from https://in.mathworks.com/matlabcentral/fileexchange/63823-matlab-and-simulink-racing-lounge-vehicle-modeling
Thanks. Hi,
Can anyone help me find the table the import block is referring to to feed the reference velocities to the model. And also what would be the steps if i want to create such a input for a new model?
When I go to the "block parameters" for the inport block , then "Connect Input". Here I fond no signal pre selected variable.
I downloaded this model from https://in.mathworks.com/matlabcentral/fileexchange/63823-matlab-and-simulink-racing-lounge-vehicle-modeling
Thanks. simulink, vehicle model MATLAB Answers — New Questions
How can I get RAW capture with webcam function(without Image Acqusitio Toolbox)?
Hi,
I’m developing a depth camera and the camera using UVC(= webcam).
The output of the camera is not YUV or RGB but RAW16.
I tested that it is working with ‘webcam’ function in Matlab.
However, webcam function can only deliver the RGB image format with ‘snapshot’,(480x640x3(uint8)).
Can I get the RAW16(uint16) data using webcam/snapthot function?
I cannot find any options to do this.
BR,
Chanyong.Hi,
I’m developing a depth camera and the camera using UVC(= webcam).
The output of the camera is not YUV or RGB but RAW16.
I tested that it is working with ‘webcam’ function in Matlab.
However, webcam function can only deliver the RGB image format with ‘snapshot’,(480x640x3(uint8)).
Can I get the RAW16(uint16) data using webcam/snapthot function?
I cannot find any options to do this.
BR,
Chanyong. Hi,
I’m developing a depth camera and the camera using UVC(= webcam).
The output of the camera is not YUV or RGB but RAW16.
I tested that it is working with ‘webcam’ function in Matlab.
However, webcam function can only deliver the RGB image format with ‘snapshot’,(480x640x3(uint8)).
Can I get the RAW16(uint16) data using webcam/snapthot function?
I cannot find any options to do this.
BR,
Chanyong. webcam MATLAB Answers — New Questions