Category: News
How can I count the number of times a number appear in a vector?
How can I count the number of times a number appear in a vector?
A=[ 1 2 3 1 1 6 3 4 2 2 1 1 1 ]
1 appears 7 times
2 appears 3 times
3 appears 3 times
and on
…
Best RegardsHow can I count the number of times a number appear in a vector?
A=[ 1 2 3 1 1 6 3 4 2 2 1 1 1 ]
1 appears 7 times
2 appears 3 times
3 appears 3 times
and on
…
Best Regards How can I count the number of times a number appear in a vector?
A=[ 1 2 3 1 1 6 3 4 2 2 1 1 1 ]
1 appears 7 times
2 appears 3 times
3 appears 3 times
and on
…
Best Regards count, number of times, histogram MATLAB Answers — New Questions
Error: File: untitled5 Line: 19 Column: 1 Function definitions in a script must appear at the end of the file. Move all statements after the “f” function definition to before
% Define parameters
m = 1;
L = 16;
g = 9.81;
H = -22;
theta_0 = -deg2rad(170); % Convert initial angle to radians
theta_B = deg2rad(55);
a=0;
% Calculate initial angular velocity
omega_B = sqrt(g / L * (1 – cos(theta_B)));
% Define ODEs
function dy = f(t, y)
dy(1) = y(2);
dy(2) = -g;
end
% Initial conditions
[a, omega_B ] = y0;
% Solve ODEs
[t, y] = ode45(@f, [0, sqrt(2 * (H + L * (1 – cos(theta_B))) / g)], y0);
% Horizontal coordinate of landing point
X = y(end, 1);
% Round to nearest whole number
X = round(X);
% Display result
disp([‘Horizontal coordinate of landing point (X): ‘, num2str(X), ‘ meters’]);% Define parameters
m = 1;
L = 16;
g = 9.81;
H = -22;
theta_0 = -deg2rad(170); % Convert initial angle to radians
theta_B = deg2rad(55);
a=0;
% Calculate initial angular velocity
omega_B = sqrt(g / L * (1 – cos(theta_B)));
% Define ODEs
function dy = f(t, y)
dy(1) = y(2);
dy(2) = -g;
end
% Initial conditions
[a, omega_B ] = y0;
% Solve ODEs
[t, y] = ode45(@f, [0, sqrt(2 * (H + L * (1 – cos(theta_B))) / g)], y0);
% Horizontal coordinate of landing point
X = y(end, 1);
% Round to nearest whole number
X = round(X);
% Display result
disp([‘Horizontal coordinate of landing point (X): ‘, num2str(X), ‘ meters’]); % Define parameters
m = 1;
L = 16;
g = 9.81;
H = -22;
theta_0 = -deg2rad(170); % Convert initial angle to radians
theta_B = deg2rad(55);
a=0;
% Calculate initial angular velocity
omega_B = sqrt(g / L * (1 – cos(theta_B)));
% Define ODEs
function dy = f(t, y)
dy(1) = y(2);
dy(2) = -g;
end
% Initial conditions
[a, omega_B ] = y0;
% Solve ODEs
[t, y] = ode45(@f, [0, sqrt(2 * (H + L * (1 – cos(theta_B))) / g)], y0);
% Horizontal coordinate of landing point
X = y(end, 1);
% Round to nearest whole number
X = round(X);
% Display result
disp([‘Horizontal coordinate of landing point (X): ‘, num2str(X), ‘ meters’]); task-6 (projectile motion: linear versus non-linea MATLAB Answers — New Questions
i want to share my to do list in Outlook to internal members of my Team
Hello
Please I need your help on this issue.
I want to share my to do list in Outlook to internal members of my Team.
I would like to know how to share TO DO lists in Outlook with my internal Teams members.
I am also confused with the difference between TASKS and To Do lists.
I was able to share my to-do list with my end user on outlook. But when they click on the link they get the error message
Hello Please I need your help on this issue. I want to share my to do list in Outlook to internal members of my Team. I would like to know how to share TO DO lists in Outlook with my internal Teams members. I am also confused with the difference between TASKS and To Do lists. I was able to share my to-do list with my end user on outlook. But when they click on the link they get the error message Read More
Command Line Development of WebForms with IISExpress
Hi there
Is there a viable workflow for continued development of an existing ASP dot NET Web Forms application just using the command line, a text editor and a web browser, without running Visual Studio (at least not all the time)?
Since Web Forms do not run on dot Net Core, a Windows machine (physical or virtual) is required. The work is being done on a non-Windows machine, and connecting in to the Windows machine via Remote Desktop to run Visual Studio is not a preferred option (though it may be the only viable one, and is what I am doing currently).
In principle working via the terminal, some form of file sync or share, and a browser is possible and I have done it with SSH, MSBuild.exe and IIS Express, but what is missing is all the output from the Output window of Visual Studio. There are various ways of logging that could be set up, but what I like about the Output window is it tells exceptions, as well as debug messages, and I am pretty lost without it.
Any recommendations, other than give up, and keep using Visual Studio?
Hi there Is there a viable workflow for continued development of an existing ASP dot NET Web Forms application just using the command line, a text editor and a web browser, without running Visual Studio (at least not all the time)? Since Web Forms do not run on dot Net Core, a Windows machine (physical or virtual) is required. The work is being done on a non-Windows machine, and connecting in to the Windows machine via Remote Desktop to run Visual Studio is not a preferred option (though it may be the only viable one, and is what I am doing currently). In principle working via the terminal, some form of file sync or share, and a browser is possible and I have done it with SSH, MSBuild.exe and IIS Express, but what is missing is all the output from the Output window of Visual Studio. There are various ways of logging that could be set up, but what I like about the Output window is it tells exceptions, as well as debug messages, and I am pretty lost without it. Any recommendations, other than give up, and keep using Visual Studio? Read More
Exchange Server Apps page Method Not Allowed
Hi All,
We have six exchange server two of server while open Organization, Apps the screen display
The request failed. The remote server returned an error: (405) Method Not Allowed.
Tried many possible no luck, Any idea?
Thank you
Hi All, We have six exchange server two of server while open Organization, Apps the screen displayThe request failed. The remote server returned an error: (405) Method Not Allowed. Tried many possible no luck, Any idea? Thank you Read More
Looking to optimize and manage your cloud resources? Join our Azure optimization skills challenge!
Businesses have committed to the cloud for its scalability, agility, and security. Without optimization, however, this flexibility can lead to unmanaged sprawl. Continuous improvement and careful management through all phases of your cloud journey help you to avoid unexpected costs and inefficient resource allocation while improving security and reliability. Strategic optimization delivers the resiliency to efficiently and securely handle fluctuating workloads with ease, ensuring you manage your environment for optimal performance.
That’s why we’re thrilled to bring you our Azure Optimization Cloud Skills Challenge, a curated collection of learning resources and guidance on optimization tools and best practices from Microsoft that can help your business can thrive in the cloud. This track helps you build cloud resiliency, create reliable and secure workloads, manage cloud spend, and modernize to innovate.
What’s an Azure Cloud Skills Challenge?
Part interactive learning sprint, part competition between you and peers around the globe, Azure Cloud Skills Challenges give you a timeframe to complete a set of courses, exercises, tutorials, and assessments with email reminders to help you stay on track. By completing any challenge within 30 days, you’re eligible for a 50% discount voucher on a related Microsoft Certification exam.
What will I learn in the Optimization Cloud Skills Challenge?
Microsoft offers several solutions and tools to help with cloud optimization within the Azure ecosystem to strategically manage cloud spend, enhance efficiency, and stay competitive in the ever-evolving cloud landscape. Our curated Azure Optimization Cloud Skills Challenge provides insight into the organizational and financial efficiency of integrating Azure solutions into your cloud strategy.
Learn about pricing for cost efficiency with Azure Savings Plan for Compute
The main goals of optimizing your cloud compute resources are to promote efficient usage and simplify management while realizing significant cost savings. An Azure Savings Plan for Compute goes beyond just offering discounts—they provide a holistic approach to cloud optimization.
The first module in the Optimization Cloud Skills Challenge focuses on Azure Savings Plans for Compute, aimed at showing you how to significantly optimize the cost of your resources when compared with pay-as-you-go prices. This learning module explores features, benefits, and ideal use cases, then walks you through the purchase process.
By the end of this module, you’ll learn to efficiently utilize resources, simplify management, and realize significant cost savings.
Discounted cloud resources, upfront commitment with Azure Reserved Instances
Azure Reserved Instances (RIs) let you lock in significant discounts on virtual machines and other compute resources by pre-paying for a commitment in a specific region. You can change the scope or size of your RI as needed and combine with Azure Hybrid Benefit for Windows Server licenses for a powerful cost-saving solution.
In the Azure Reserved Instances module of the Optimization Cloud Skills Challenge, you’ll learn how to analyze and buy reserved instances, optimize against underused resources, and understand the benefits provided through compute purchases.
Learn how to analyze, purchase, and optimize your cloud resources for consistent and significant discounts with Azure Reserved Instances.
Free cloud cost and security insights with Azure Advisor
Azure Advisor acts as your digital cloud consultant, continuously analyzing your cloud resources, including configuration and usage telemetry. Advisor identifies opportunities to optimize your deployments across four key areas: cost, security, performance, and reliability.
It recommends ways to reduce your Azure bill by suggesting more cost-effective resources or identifying underutilized services.
Our Azure Advisor learning module will show you how to get the most out of your Azure investment by ensuring your cloud resources are efficiently configured.
Monitor spending using Microsoft Cost Management
Microsoft Cost Management offers detailed insights into resource usage, budgeting options, and cost optimization recommendations. Features like reserved instances and cost allocation reports help you identify areas for savings and ensure your cloud spending aligns with your budget.
The Describe Cost Management in Azure learning module explores different methods to estimate, track, and manage costs in Azure. You’ll be introduced to factors that impact costs in Azure and tools to help you both predict potential costs and monitor and control costs.
Guide your cloud journey to success: Microsoft Cloud Adoption Framework and Well-Architected Framework
Microsoft offers two invaluable frameworks that provide best practice guidance and checklists to help your team manage and govern your cloud, avoid costly mistakes, and keep your workloads secure. The Microsoft Cloud Adoption Framework (CAF) and Well-Architected Framework (WAF) are resources your business can leverage to build and manage cloud-hosted applications in a cost-effective way. The Azure Optimization Cloud Skills Challenge goes in-depth on these frameworks to provide a fundamental understanding of optimization best practices.
Getting started with the Microsoft Cloud Adoption Framework for Azure: Emphasizing critical aspects of cloud transition, including strategy, readiness, planning, and execution, CAF aligns business objectives with technical requirements, ensuring a seamless transition to the cloud while optimizing for cost, reliability, and security. In this introduction, you’ll learn how to overcome common challenges associated with cloud adoption.
Address tangible risks with the Govern methodology of the Cloud Adoption Framework for Azure: Any technical change made in the process of cloud adoption and optimization introduces risk to your environment. In this module you’ll see how CAF’s Govern methodology mitigates risks to adopt the cloud with confidence.
Complementing CAF, the Well-Architected Framework offers a systematic approach to evaluate architectures against five key pillars, each of which has their own learning module:
Operational excellence: Design an Azure architecture that uses modern practices and gives you full visibility into your environment.
Cost optimization: Apply cost optimization guidance in your architecture to sustain and improve your ROI.
Performance efficiency: Explore how to scale your system to handle load, identify network bottlenecks, and optimize your storage performance.
Security: Incorporate security into your architecture design and discover tools to help you create a secure environment through all the layers of your architecture.
Reliability: Apply reliability guidance in your architecture to improve your workload’s availability and resilience.
What can I learn next?
After completing the Optimization Cloud Skills Challenge, you’ll find there’s lots more to discover on Microsoft Learn.
Our Learn Live sessions deliver technical readiness and skilling programming in a television format, typically broadcasted live with Q&A and available on-demand.
Azure Optimization Virtual Training Days aim to funnel Microsoft’s know-how into helping you optimize and manage your cloud investment. Guided by a Microsoft Technical Trainer, you’ll discover how Azure guidance, resources, and practices can streamline your cloud spend, enable modernization, and fuel innovation in the cloud.
Microsoft Tech Community – Latest Blogs –Read More
pv array mppt model doesn’t work as expected
this simulation is a pv array connected with a buck boost converter and a mppt algorithm, the problem is even though the pv plots are correct the voltage does’nt seem to be tkane into consideration when calculation the final output power, and the load power and pv array power should be the same but they’re not and idk why i checked pretty much everythingthis simulation is a pv array connected with a buck boost converter and a mppt algorithm, the problem is even though the pv plots are correct the voltage does’nt seem to be tkane into consideration when calculation the final output power, and the load power and pv array power should be the same but they’re not and idk why i checked pretty much everything this simulation is a pv array connected with a buck boost converter and a mppt algorithm, the problem is even though the pv plots are correct the voltage does’nt seem to be tkane into consideration when calculation the final output power, and the load power and pv array power should be the same but they’re not and idk why i checked pretty much everything simulink, optimization, array, matlab function MATLAB Answers — New Questions
when making custom PCB and pcb trace, what is the thickness of the trace?
I follow this tutorial for making PCB trace and simulating it under different frequencies.
What I fail to find in the documentation and tutorial, is what is the thickness of the trace/GND plane I am making? (In the default microstrip line).
It seems like I can only change the
d.Thickness
I tried to run
trace.Thickness
It gives me:
Unrecognized method, property, or field ‘Thickness’ for class ‘traceLine’.I follow this tutorial for making PCB trace and simulating it under different frequencies.
What I fail to find in the documentation and tutorial, is what is the thickness of the trace/GND plane I am making? (In the default microstrip line).
It seems like I can only change the
d.Thickness
I tried to run
trace.Thickness
It gives me:
Unrecognized method, property, or field ‘Thickness’ for class ‘traceLine’. I follow this tutorial for making PCB trace and simulating it under different frequencies.
What I fail to find in the documentation and tutorial, is what is the thickness of the trace/GND plane I am making? (In the default microstrip line).
It seems like I can only change the
d.Thickness
I tried to run
trace.Thickness
It gives me:
Unrecognized method, property, or field ‘Thickness’ for class ‘traceLine’. pcb, thickness, trace MATLAB Answers — New Questions
fminsearch doesn’t converge to the right value
Hi all,
I am trying to solve and minimize the following exponential fit, trying to retrieve the exponential term.
I am using fminsearch to minimize the "sum-squared-error cost function" but somehow it is not really working. I am sure I am making some stupid mistake but I can’t figure it out … It should give me back the 0.1 value but never really get it (even if noise is 0).
Here the code:
x=0:100;
y=exp(-0.1*x)’+0.1*rand(101,1);
plot(x,y)
hold on
%%
[h, ff, s] = sc(0.5, x, y)
plot(x, y)
plot(x,h,x,y,x,ff)
% hold on
% s
function [h ff s]=sc(k, x, y)
co=[exp(-k*x)’ ones(size(y))]y;
%
% ff=co(1)*exp(-k*x)’+co(2)*ones(size(y));
% h=y-ff;
% s=sum(h.^2);
%
ff = @(k,x) co(1).*exp(-k.*x)’+co(2).*ones(size(y));
h = @(k) sum((y-ff(k,x)).^2);
options = optimset(‘PlotFcns’,@optimplotfval,’Display’,’iter’);
s = fminsearch(h,k,options);
ff=exp(-s*x)’+co(2)*ones(size(y));
h=y-ff;
end
Thanks for help,
EHi all,
I am trying to solve and minimize the following exponential fit, trying to retrieve the exponential term.
I am using fminsearch to minimize the "sum-squared-error cost function" but somehow it is not really working. I am sure I am making some stupid mistake but I can’t figure it out … It should give me back the 0.1 value but never really get it (even if noise is 0).
Here the code:
x=0:100;
y=exp(-0.1*x)’+0.1*rand(101,1);
plot(x,y)
hold on
%%
[h, ff, s] = sc(0.5, x, y)
plot(x, y)
plot(x,h,x,y,x,ff)
% hold on
% s
function [h ff s]=sc(k, x, y)
co=[exp(-k*x)’ ones(size(y))]y;
%
% ff=co(1)*exp(-k*x)’+co(2)*ones(size(y));
% h=y-ff;
% s=sum(h.^2);
%
ff = @(k,x) co(1).*exp(-k.*x)’+co(2).*ones(size(y));
h = @(k) sum((y-ff(k,x)).^2);
options = optimset(‘PlotFcns’,@optimplotfval,’Display’,’iter’);
s = fminsearch(h,k,options);
ff=exp(-s*x)’+co(2)*ones(size(y));
h=y-ff;
end
Thanks for help,
E Hi all,
I am trying to solve and minimize the following exponential fit, trying to retrieve the exponential term.
I am using fminsearch to minimize the "sum-squared-error cost function" but somehow it is not really working. I am sure I am making some stupid mistake but I can’t figure it out … It should give me back the 0.1 value but never really get it (even if noise is 0).
Here the code:
x=0:100;
y=exp(-0.1*x)’+0.1*rand(101,1);
plot(x,y)
hold on
%%
[h, ff, s] = sc(0.5, x, y)
plot(x, y)
plot(x,h,x,y,x,ff)
% hold on
% s
function [h ff s]=sc(k, x, y)
co=[exp(-k*x)’ ones(size(y))]y;
%
% ff=co(1)*exp(-k*x)’+co(2)*ones(size(y));
% h=y-ff;
% s=sum(h.^2);
%
ff = @(k,x) co(1).*exp(-k.*x)’+co(2).*ones(size(y));
h = @(k) sum((y-ff(k,x)).^2);
options = optimset(‘PlotFcns’,@optimplotfval,’Display’,’iter’);
s = fminsearch(h,k,options);
ff=exp(-s*x)’+co(2)*ones(size(y));
h=y-ff;
end
Thanks for help,
E fminsearch, curve fitting MATLAB Answers — New Questions
Can’s sign into Outlook.com
I cannot sign into my Outlook.com email account. It gives me the attached error message.
I cannot sign into my Outlook.com email account. It gives me the attached error message. Read More
To Do in Outlook Due Date reverts to previous day
As you can see in the screenshot, I created a Task on the second, but when saved it shows the first.
When trying to change the date, it reverts to the previous date.
All dates in BIOS, Computer, Outlook, OWA are correct.
Thank you in advance.
As you can see in the screenshot, I created a Task on the second, but when saved it shows the first. When trying to change the date, it reverts to the previous date. All dates in BIOS, Computer, Outlook, OWA are correct. Thank you in advance. Read More
Why do bulk download requests from One Drive fail?
Not sure if this is a code related issue, or a network issue. or node related issue. It is hard to pinpoint any root cause as the data received is variable and inconsistent. When requesting downloads in bulk from the Graph API using Fetch and node JS there appears to be an intermittent problem.
At first it was assumed that node and fetch were struggling with the number of requests being made for example we would run an API request to gather info on 1000 files and for each file request a download using the methods provided by the Microsoft JavaScript SDK for the M365 API.
What was initially discovered was that when 2000+ files were requested multiple downloads would fail. For example, only 700 of these files would land on disk. In circumstances where downloads were failing there appear to have been no retry attempts.
The flows were checked for event loop lag and the CPU for excessive usage. Neither were apparent as issues. What was indicated in a error response was that fetch was just failing. It was not receiving a response.
A timer was added to create a space between individual requests, this worked and did mediate well.
However, it was also apparent that download requests were failing when smaller amounts of files were requested, for example between 400 and 500. It is conceivable that this should not be a problem for an API to manage.
I am just wondering if anyone else has encountered similar problems.
Not sure if this is a code related issue, or a network issue. or node related issue. It is hard to pinpoint any root cause as the data received is variable and inconsistent. When requesting downloads in bulk from the Graph API using Fetch and node JS there appears to be an intermittent problem. At first it was assumed that node and fetch were struggling with the number of requests being made for example we would run an API request to gather info on 1000 files and for each file request a download using the methods provided by the Microsoft JavaScript SDK for the M365 API. What was initially discovered was that when 2000+ files were requested multiple downloads would fail. For example, only 700 of these files would land on disk. In circumstances where downloads were failing there appear to have been no retry attempts. The flows were checked for event loop lag and the CPU for excessive usage. Neither were apparent as issues. What was indicated in a error response was that fetch was just failing. It was not receiving a response. A timer was added to create a space between individual requests, this worked and did mediate well. However, it was also apparent that download requests were failing when smaller amounts of files were requested, for example between 400 and 500. It is conceivable that this should not be a problem for an API to manage. I am just wondering if anyone else has encountered similar problems. Read More
Audience targeting not working
Hi,
I have a SharePoint comms site using SharePoint online. I have a Power Automate flow that runs behind the site so that when I post news to the site, a flow is triggered that sends an email to a target audience group(s) that appear in a list on the SharePoint site.
This was working well until I recently changed some of the audience group names (to reflect changes in the business). Now, my flow no longer works as it is looking for groups that have now changed.
I’ve updated the MS365 group names and although they do show when I try to edit the audience from the page details (see image), when I update the page, the audience has reverted back to it’s previous iteration.
Please can someone advise why this is happening and how to encourage the SharePoint site to accept the new audience names?
Hi, I have a SharePoint comms site using SharePoint online. I have a Power Automate flow that runs behind the site so that when I post news to the site, a flow is triggered that sends an email to a target audience group(s) that appear in a list on the SharePoint site. This was working well until I recently changed some of the audience group names (to reflect changes in the business). Now, my flow no longer works as it is looking for groups that have now changed. I’ve updated the MS365 group names and although they do show when I try to edit the audience from the page details (see image), when I update the page, the audience has reverted back to it’s previous iteration. Please can someone advise why this is happening and how to encourage the SharePoint site to accept the new audience names? Read More
Have a safe coffee chat with your documentation using Azure AI Services | JavaScript Day 2024
In the Azure Developers JavaScript Day 2024, Maya Shavin a Senior Software Engineer at Microsoft, presented a session called “Have a safe coffee chat with your documentation using Azure AI Services”. And she introduced innovative approaches for integrating AI technologies to ensure the safety of document-based Q&A systems.
Let’s dive into the content!
What was covered during the session?
Now let’s talk about what was covered during the session! If you wish, you can watch the video of the session at the link below:
Introduction to AI-Powered Safety in Documentation
Maya opened her presentation by introducing her background in Microsoft’s industrial AI division, where she focuses on incorporating AI technologies into industry-specific applications. With over a decade of experience in both Front-End and Back-End development, she also highlighted her contributions to the Tech Community as an author and Community Organizer.
Concept of Document Q&A Assistant
Maya described the document Q&A assistant as a straightforward interaction system where an AI, not a human, responds to user queries. The system processes in two primary phases:
Injection Phase: here, documents are uploaded, segmented, indexed with metadata and stored in a searchable database.
Query Phase: the phase where the AI retrieves and summarizes relevant document sections in response to user queries.
The Importance of Content Moderation
A significant portion of her talk focused on content moderation, crucial for preventing inappropriate or harmful content from undermining the AI system’s integrity. She explained how AI responses could potentially reflect, or be influenced by, the offensive content within user inputs. To combat this, Microsoft promotes responsible AI practices structured around in:
Fairness: AI systems should treat all people fairly.
Reliability and safety: AI systems should perform reliably and safely.
Privacy and security: AI systems should be secure and respect privacy.
Inclusiveness: AI systems should empower everyone and engage people.
Transparency: AI systems should be understandable.
Accountability: People should be accountable for AI systems.
For more information on Microsoft’s Responsible AI Practices, visit the link.
Azure AI Content Safety
Maya introduced Azure AI Content Safety, a pivotal service for detecting harmful content in both user inputs and AI-generated responses. This service supports multiple programming languages and offers a studio experience for testing various content sensitivity levels. Its primary features include:
Text Analysis API: Scans text for sexual content, violence, hate, and self-harm with multi-severity levels.
Image Analysis API: Scans images for sexual content, violence, hate, and self-harm with multi-severity levels.
Text Blocklist Management APIs: The default AI classifiers are sufficient for most content safety needs; however, you might need to screen for terms that are specific to your use case. You can create blocklists of terms to use with the Text API.
To understand how Azure AI Content Safety works, there’s a video below about the service:
Demonstrating Azure AI Content Safety in Action
Maya demonstrated how to integrate Azure AI Content Safety into a JavaScript project. She showcased a function that analyzes content and adjusts responses based on predefined sensitivity levels, thus preventing the system from providing harmful output.
This function works by categorizing content into several types of sensitive material—like hate speech, sexual content, and violence—and filtering them accordingly.
She also mentioned the use of the Azure AI Content Safety SDK for JavaScript/TypeScript, which you can find at the link
Comparing Azure AI Content Safety and Azure OpenAI Content Filters
Maya also compared the Azure AI Content Safety with OpenAI’s content filtering features. She highlighted that while Azure AI Content Safety is versatile and can be integrated into various AI workflows, OpenAI’s content filtering is bundled with their services and might not incur additional costs.
However, Azure AI Content Safety offers more control over the moderation process and supports more languages.
Final Thoughts and Steps Forward
Concluding her talk, Maya stressed the ongoing need for manual oversight in content moderation to ensure that AI interactions remain appropriate and effective. She encouraged attendees to implement Azure AI content safety in their projects to enhance the security layers of their AI applications.
Maya Shavin’s session provided valuable insights into the mechanisms of safeguarding AI-driven document assistants, ensuring that they operate within the realms of safety and ethics dictated by modern AI standards.
Azure Developers JavaScript Day Cloud Skills Challenge
Don’t forget to participate in the Azure Developers JavaScript Day Cloud Skills Challenge to test your knowledge and skills in a series of learn modules and learn more about Azure services and tools. As I mentioned in the previous articles, besides the challenge is over, you can still access the content and learn more about the topics covered during the event.
Link to the challenge: JavaScript and Azure Cloud Skills Challenge
Additional Resources
If you want to learn more about Azure AI Content Safety Services, especially if you’re JavaScript Developer, you can access the following resources:
Azure AI Content Safety
Azure AI Content Safety SDK for JavaScript/TypeScript
Documentation – Azure AI Content Safety REST client library for JavaScript – version 1.0.0
Stay Tuned!
If you wish, you can follow what happened during the two days of the event via the playlist on YouTube. The event was full of interesting content and insights for JavaScript developers!
If you are a JavaScript/TypeScript developer, follow me on Twitter or LinkedIn Glaucia Lemos for more news about the development and technology world! Especially if you are interested in how to integrate JavaScript/TypeScript applications with the Azure, Artificial Intelligence, Web Development, and more!
And see you in the next article!
Microsoft Tech Community – Latest Blogs –Read More
The steady-state density matrix ρ by solving the master equation.
I need help in writting code for numerical solution of master equation for given Hamiltonian.I need help in writting code for numerical solution of master equation for given Hamiltonian. I need help in writting code for numerical solution of master equation for given Hamiltonian. master equation MATLAB Answers — New Questions
constraint Orientation Target quaternion
Hello again, dear community,
I’m seeking some clarity on the concept of constraintOrientationTarget, particularly regarding how TargetOrientation functions. Despite reviewing the explanation provided by MathWorks here, I’m still struggling to grasp its practical application. The example provided doesn’t directly incorporate TargetOrientation, leaving me a bit perplexed. Could someone kindly offer guidance on how to effectively utilize it? Your assistance is greatly appreciated.
Many thanks in advance!
fixOrientation = constraintOrientationTarget(gripper);
fixOrientation.ReferenceBody = bodyName; % This is an object to be picked up
fixOrientation.TargetOrientation = [1 0 0 0]; % ??Hello again, dear community,
I’m seeking some clarity on the concept of constraintOrientationTarget, particularly regarding how TargetOrientation functions. Despite reviewing the explanation provided by MathWorks here, I’m still struggling to grasp its practical application. The example provided doesn’t directly incorporate TargetOrientation, leaving me a bit perplexed. Could someone kindly offer guidance on how to effectively utilize it? Your assistance is greatly appreciated.
Many thanks in advance!
fixOrientation = constraintOrientationTarget(gripper);
fixOrientation.ReferenceBody = bodyName; % This is an object to be picked up
fixOrientation.TargetOrientation = [1 0 0 0]; % ?? Hello again, dear community,
I’m seeking some clarity on the concept of constraintOrientationTarget, particularly regarding how TargetOrientation functions. Despite reviewing the explanation provided by MathWorks here, I’m still struggling to grasp its practical application. The example provided doesn’t directly incorporate TargetOrientation, leaving me a bit perplexed. Could someone kindly offer guidance on how to effectively utilize it? Your assistance is greatly appreciated.
Many thanks in advance!
fixOrientation = constraintOrientationTarget(gripper);
fixOrientation.ReferenceBody = bodyName; % This is an object to be picked up
fixOrientation.TargetOrientation = [1 0 0 0]; % ?? matlab MATLAB Answers — New Questions
Why does my Transfer function overshoots
syms s real
zeros = roots([0.075, 1, 1]);
poles = roots([1, 3, 5, 0]);
Gs = zpk(zeros, poles,1);
rlocus(Gs)
As you can see, eventhough K=45.3 is on the root locus with damping coeff. 1 it still overshoots. What might cause this problem or am i doing something wrong ?syms s real
zeros = roots([0.075, 1, 1]);
poles = roots([1, 3, 5, 0]);
Gs = zpk(zeros, poles,1);
rlocus(Gs)
As you can see, eventhough K=45.3 is on the root locus with damping coeff. 1 it still overshoots. What might cause this problem or am i doing something wrong ? syms s real
zeros = roots([0.075, 1, 1]);
poles = roots([1, 3, 5, 0]);
Gs = zpk(zeros, poles,1);
rlocus(Gs)
As you can see, eventhough K=45.3 is on the root locus with damping coeff. 1 it still overshoots. What might cause this problem or am i doing something wrong ? transfer function, root locus, overshoot MATLAB Answers — New Questions
Problem in YOLOv2 training
I’m doing a YOLOv2 training and I came across the following error:
Error using
trainYOLOv2ObjectDetector>iParseInputsYolov2
(line 240)
Invalid network.
Error in
trainYOLOv2ObjectDetector
(line 174)
[trainingData, lgraph,
params, options] =
iParseInputsYolov2(…
Error in criando (line 13)
[detector,info] =
trainYOLOv2ObjectDetector(ds,lgraph,options);
Caused by:
Network: The input to
the YOLO v2 transform
layer must have 12
channels to support 2
anchor boxes and 1
classes. The number of
channels must equal
numAnchors * (5 +
numClasses). Update the
training data, the
number of anchor boxes
specified in the
yolov2Transform layer,
or the layers preceding
the transform layer.
My code:
clear, clc, close all;
vagem = load(‘RotulosVagem.mat’);
lgraph = load(‘lgraph.mat’);
lgraph = lgraph.lgraph;
gTruth = vagem.gTruth;
[imds, blds] = objectDetectorTrainingData(gTruth);
ds = combine(imds, blds);
options = trainingOptions(‘sgdm’);
[detector,info] = trainYOLOv2ObjectDetector(ds,lgraph,options);
I will attach the files. Thanks in advance.I’m doing a YOLOv2 training and I came across the following error:
Error using
trainYOLOv2ObjectDetector>iParseInputsYolov2
(line 240)
Invalid network.
Error in
trainYOLOv2ObjectDetector
(line 174)
[trainingData, lgraph,
params, options] =
iParseInputsYolov2(…
Error in criando (line 13)
[detector,info] =
trainYOLOv2ObjectDetector(ds,lgraph,options);
Caused by:
Network: The input to
the YOLO v2 transform
layer must have 12
channels to support 2
anchor boxes and 1
classes. The number of
channels must equal
numAnchors * (5 +
numClasses). Update the
training data, the
number of anchor boxes
specified in the
yolov2Transform layer,
or the layers preceding
the transform layer.
My code:
clear, clc, close all;
vagem = load(‘RotulosVagem.mat’);
lgraph = load(‘lgraph.mat’);
lgraph = lgraph.lgraph;
gTruth = vagem.gTruth;
[imds, blds] = objectDetectorTrainingData(gTruth);
ds = combine(imds, blds);
options = trainingOptions(‘sgdm’);
[detector,info] = trainYOLOv2ObjectDetector(ds,lgraph,options);
I will attach the files. Thanks in advance. I’m doing a YOLOv2 training and I came across the following error:
Error using
trainYOLOv2ObjectDetector>iParseInputsYolov2
(line 240)
Invalid network.
Error in
trainYOLOv2ObjectDetector
(line 174)
[trainingData, lgraph,
params, options] =
iParseInputsYolov2(…
Error in criando (line 13)
[detector,info] =
trainYOLOv2ObjectDetector(ds,lgraph,options);
Caused by:
Network: The input to
the YOLO v2 transform
layer must have 12
channels to support 2
anchor boxes and 1
classes. The number of
channels must equal
numAnchors * (5 +
numClasses). Update the
training data, the
number of anchor boxes
specified in the
yolov2Transform layer,
or the layers preceding
the transform layer.
My code:
clear, clc, close all;
vagem = load(‘RotulosVagem.mat’);
lgraph = load(‘lgraph.mat’);
lgraph = lgraph.lgraph;
gTruth = vagem.gTruth;
[imds, blds] = objectDetectorTrainingData(gTruth);
ds = combine(imds, blds);
options = trainingOptions(‘sgdm’);
[detector,info] = trainYOLOv2ObjectDetector(ds,lgraph,options);
I will attach the files. Thanks in advance. yolov2, neural network, neural networks, deep learning, machine learning, image, image processing, image analysis, image acquisition, image segmentation MATLAB Answers — New Questions
state events – changing the function of the solution after a certain time value
Hello everyone!
I’m using MATLAB for a university project, where I have the following problem: I have two similar functions let’s call them ‘a’ and ‘b’. The only difference between them is that ‘b’ consists of one additional constant parameter in the same equation. In the beginning the function ‘a’ is called and the integration is done accordingly. After a certain time value (e.g.: t =200s) the program should stop using ‘a’ for the solution and continue the integration with ‘b’. Is it possible to do it by using state-events and if yes, then how? I would be very grateful, if you could help me how to do that.Hello everyone!
I’m using MATLAB for a university project, where I have the following problem: I have two similar functions let’s call them ‘a’ and ‘b’. The only difference between them is that ‘b’ consists of one additional constant parameter in the same equation. In the beginning the function ‘a’ is called and the integration is done accordingly. After a certain time value (e.g.: t =200s) the program should stop using ‘a’ for the solution and continue the integration with ‘b’. Is it possible to do it by using state-events and if yes, then how? I would be very grateful, if you could help me how to do that. Hello everyone!
I’m using MATLAB for a university project, where I have the following problem: I have two similar functions let’s call them ‘a’ and ‘b’. The only difference between them is that ‘b’ consists of one additional constant parameter in the same equation. In the beginning the function ‘a’ is called and the integration is done accordingly. After a certain time value (e.g.: t =200s) the program should stop using ‘a’ for the solution and continue the integration with ‘b’. Is it possible to do it by using state-events and if yes, then how? I would be very grateful, if you could help me how to do that. events, integration, function, state MATLAB Answers — New Questions
when clicking an image is opening Mail app instead of Outlook
Hi guys, hope you are doing well. So I have an image and then we have a few options we can choose when clicking the image ( site, from a link, one drive, web search…) it is already added mailto:email address removed for privacy reasons?subject=SharePoint Inquiry but it is opening Mail apps and asking to log in there which is annoying and a waste of time. We want a link that will directly open Outlook which is the app we all use and have open. Can you please direct me which is the best way to do it ?
Hi guys, hope you are doing well. So I have an image and then we have a few options we can choose when clicking the image ( site, from a link, one drive, web search…) it is already added mailto:email address removed for privacy reasons?subject=SharePoint Inquiry but it is opening Mail apps and asking to log in there which is annoying and a waste of time. We want a link that will directly open Outlook which is the app we all use and have open. Can you please direct me which is the best way to do it ? Read More