Month: July 2024
Remove-mailuser parameter -PermanentlyDelete is not found
Hello
Please i need your help on this issue.
Remove-mailuser parameter -PermanentlyDelete is not found.
We need to confirm if this is the parameter to remove-mailuser for Exchange Online (Cloud) as mentioned in this Microsoft documentation below: https://learn.microsoft.com/en-us/powershell/module/exchange/remove-mailuser?view=exchange-ps
Hello Please i need your help on this issue. Remove-mailuser parameter -PermanentlyDelete is not found. We need to confirm if this is the parameter to remove-mailuser for Exchange Online (Cloud) as mentioned in this Microsoft documentation below: https://learn.microsoft.com/en-us/powershell/module/exchange/remove-mailuser?view=exchange-ps Read More
Microsoft Teams Rooms Android – Extend room reservation
Hi all,
I have a question regarding the extend room reservation feature on the in-room touch controller on Microsoft Teams Rooms on Android as unfortunately I do not find information on this in the documentation.
When extending the meeting on the touch controller (and I suppose it will be the same on the Teams Panel if one exists), there will be a new meeting created with “[Extended] Meeting Name”.
Will this meeting only be created in the exchange calendar of the ressource account or do the participants from the original meeting receive meeting invititations (which they should obviously ignore)?
From our testing we see that only the MTR ressource accounts exchange calendar will be blocked. It would be nice if someone could confirm this.
Thanks in advance!
Sven
Hi all, I have a question regarding the extend room reservation feature on the in-room touch controller on Microsoft Teams Rooms on Android as unfortunately I do not find information on this in the documentation. When extending the meeting on the touch controller (and I suppose it will be the same on the Teams Panel if one exists), there will be a new meeting created with “[Extended] Meeting Name”.Will this meeting only be created in the exchange calendar of the ressource account or do the participants from the original meeting receive meeting invititations (which they should obviously ignore)?From our testing we see that only the MTR ressource accounts exchange calendar will be blocked. It would be nice if someone could confirm this.Thanks in advance!Sven Read More
Limiting access to reorder Azure DevOps backlog
Hoping someone might respond here as there seem to be a lot of these type of questions that have been asked with no resolutions…
We have created a single stack rank ordered backlog and want to limit the ability for individuals to re-order these Epics. Individual work items currently live on various team boards with the stack rank order being created on a backlog which aggregates all of these team boards. I assume that order is actually dictated at the team level and then displayed on the aggregate board and if a team was to move the work item it would also move on the aggregate board…
Has anyone done this? Any ideas on how to limit who can change the stack rank order?
Hoping someone might respond here as there seem to be a lot of these type of questions that have been asked with no resolutions… We have created a single stack rank ordered backlog and want to limit the ability for individuals to re-order these Epics. Individual work items currently live on various team boards with the stack rank order being created on a backlog which aggregates all of these team boards. I assume that order is actually dictated at the team level and then displayed on the aggregate board and if a team was to move the work item it would also move on the aggregate board… Has anyone done this? Any ideas on how to limit who can change the stack rank order? Read More
Custom Coloring for SharePoint List Pills
Hello!
Not great at coding but hoping somebody can help. I have a SharePoint that I’d like to custom color the choice pills based on the hex codes below.
1-CORP#67a3c75-MPE
#5f497a
6-THETIS#e5bd0010-ENERGY#82990011-MPI#6a153214-MUSI#0b2e6a15-MPLI#0b5b5818-MUCI#c88ca420-MICON#8bc19f21-MCI#ff7b2e22-AMI#0a7e8c24-MRSI#7f5c3326-MTI#bf4f5160-MTG#a4348261-JDH#4f2cd0101-MTPL#9c7c38201-MTCI#005b39202-MCJV#902d0eAC#a6a6a6
This is the current JSON in the list:
{
“$schema”: “https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json”,
“elmType”: “div”,
“style”: {
“flex-wrap”: “wrap”,
“display”: “flex”
},
“children”: [
{
“elmType”: “div”,
“style”: {
“box-sizing”: “border-box”,
“padding”: “4px 8px 5px 8px”,
“overflow”: “hidden”,
“text-overflow”: “ellipsis”,
“display”: “flex”,
“border-radius”: “16px”,
“height”: “24px”,
“align-items”: “center”,
“white-space”: “nowrap”,
“margin”: “4px 4px 4px 4px”
},
“attributes”: {
“class”: {
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“1-CORP”
]
},
“sp-css-backgroundColor-BgCornflowerBlue sp-css-color-CornflowerBlueFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“5-MPE”
]
},
“sp-css-backgroundColor-BgMintGreen sp-css-color-MintGreenFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“6-THETIS”
]
},
“sp-css-backgroundColor-BgGold sp-css-color-GoldFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“”
]
},
“”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“10-MEG”
]
},
“sp-css-backgroundColor-BgCoral sp-css-color-CoralFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“11-MPI”
]
},
“sp-css-backgroundColor-BgDustRose sp-css-color-DustRoseFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“14-MUSI”
]
},
“sp-css-backgroundColor-BgCyan sp-css-color-CyanFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“15-MPLI”
]
},
“sp-css-backgroundColor-BgPeach sp-css-color-PeachFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“18-MUCI”
]
},
“sp-css-backgroundColor-BgSage sp-css-color-SageFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“20-MICON”
]
},
“sp-css-backgroundColor-BgLightPurple sp-css-color-LightPurpleFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“21-MCI”
]
},
“sp-css-backgroundColor-BgViolet sp-css-color-VioletFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“22-AMI”
]
},
“sp-css-backgroundColor-BgLightBlue sp-css-color-LightBlueFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“24-MRSI”
]
},
“sp-css-backgroundColor-BgMauve sp-css-color-MauveFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“26-MTI”
]
},
“sp-css-backgroundColor-BgLilac sp-css-color-LilacFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“60-MTG”
]
},
“sp-css-backgroundColor-BgLightGray sp-css-color-LightGrayFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“61-JDH”
]
},
“sp-css-backgroundColor-BgBlue sp-css-color-WhiteFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“101-MTPL”
]
},
“sp-css-backgroundColor-BgGreen sp-css-color-WhiteFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“201-MTCI”
]
},
“sp-css-backgroundColor-BgBrown sp-css-color-WhiteFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“202-MCJV”
]
},
“sp-css-backgroundColor-BgDarkRed sp-css-color-WhiteFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“AC”
]
},
“sp-css-backgroundColor-BgRed sp-css-color-WhiteFont”,
“sp-field-borderAllRegular sp-field-borderAllSolid sp-css-borderColor-neutralSecondary”
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
},
“txtContent”: “[$KCO]”
}
]
}
Hello! Not great at coding but hoping somebody can help. I have a SharePoint that I’d like to custom color the choice pills based on the hex codes below. 1-CORP#67a3c75-MPE#5f497a6-THETIS#e5bd0010-ENERGY#82990011-MPI#6a153214-MUSI#0b2e6a15-MPLI#0b5b5818-MUCI#c88ca420-MICON#8bc19f21-MCI#ff7b2e22-AMI#0a7e8c24-MRSI#7f5c3326-MTI#bf4f5160-MTG#a4348261-JDH#4f2cd0101-MTPL#9c7c38201-MTCI#005b39202-MCJV#902d0eAC#a6a6a6 This is the current JSON in the list: {
“$schema”: “https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json”,
“elmType”: “div”,
“style”: {
“flex-wrap”: “wrap”,
“display”: “flex”
},
“children”: [
{
“elmType”: “div”,
“style”: {
“box-sizing”: “border-box”,
“padding”: “4px 8px 5px 8px”,
“overflow”: “hidden”,
“text-overflow”: “ellipsis”,
“display”: “flex”,
“border-radius”: “16px”,
“height”: “24px”,
“align-items”: “center”,
“white-space”: “nowrap”,
“margin”: “4px 4px 4px 4px”
},
“attributes”: {
“class”: {
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“1-CORP”
]
},
“sp-css-backgroundColor-BgCornflowerBlue sp-css-color-CornflowerBlueFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“5-MPE”
]
},
“sp-css-backgroundColor-BgMintGreen sp-css-color-MintGreenFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“6-THETIS”
]
},
“sp-css-backgroundColor-BgGold sp-css-color-GoldFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“”
]
},
“”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“10-MEG”
]
},
“sp-css-backgroundColor-BgCoral sp-css-color-CoralFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“11-MPI”
]
},
“sp-css-backgroundColor-BgDustRose sp-css-color-DustRoseFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“14-MUSI”
]
},
“sp-css-backgroundColor-BgCyan sp-css-color-CyanFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“15-MPLI”
]
},
“sp-css-backgroundColor-BgPeach sp-css-color-PeachFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“18-MUCI”
]
},
“sp-css-backgroundColor-BgSage sp-css-color-SageFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“20-MICON”
]
},
“sp-css-backgroundColor-BgLightPurple sp-css-color-LightPurpleFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“21-MCI”
]
},
“sp-css-backgroundColor-BgViolet sp-css-color-VioletFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“22-AMI”
]
},
“sp-css-backgroundColor-BgLightBlue sp-css-color-LightBlueFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“24-MRSI”
]
},
“sp-css-backgroundColor-BgMauve sp-css-color-MauveFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“26-MTI”
]
},
“sp-css-backgroundColor-BgLilac sp-css-color-LilacFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“60-MTG”
]
},
“sp-css-backgroundColor-BgLightGray sp-css-color-LightGrayFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“61-JDH”
]
},
“sp-css-backgroundColor-BgBlue sp-css-color-WhiteFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“101-MTPL”
]
},
“sp-css-backgroundColor-BgGreen sp-css-color-WhiteFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“201-MTCI”
]
},
“sp-css-backgroundColor-BgBrown sp-css-color-WhiteFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“202-MCJV”
]
},
“sp-css-backgroundColor-BgDarkRed sp-css-color-WhiteFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$KCO]”,
“AC”
]
},
“sp-css-backgroundColor-BgRed sp-css-color-WhiteFont”,
“sp-field-borderAllRegular sp-field-borderAllSolid sp-css-borderColor-neutralSecondary”
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
},
“txtContent”: “[$KCO]”
}
]
} Read More
Using App Spaces to build a chat agent with OpenAI’s Node.js SDK
Did you know that OpenAI has an SDK for Node.js?
Well maybe you did, but I certainly didn’t. Whenever someone talks about any type of AI-based application, they’re almost always talking about Python. So, it was a welcome surprise for me to discover it since I’m way more familiar with Node than Python.
I decided to give the Node SDK a go just to see how well it works and stumbled upon a great cookbook tutorial by OpenAI. I took most of the code from that sample as-is, wrote a static front-end chat client for it, and then wired it up as a sample space called “Activity Planner Agent” that you can easily deploy in App Spaces. The only prerequisite is that you’ll need an OpenAI API key, which we’ll walk through below.
And if you’re interested in seeing the code for the sample space, check it out here.
First, what is App Spaces?
App Spaces is a new experience which is designed to simplify the process of building end-to-end applications in Azure. Here’s how it stands out:
Visual Design Interface: App Spaces provides a simple interface that helps you visualize your architecture, making it easier to build and manage your applications end-to-end.
Automatically chooses the best service to host your code: One of the biggest challenges in building applications is deciding which services to use. App Spaces removes this complexity by analyzing your code and choosing for you.
Simple but doesn’t box you in: While App Spaces removes unnecessary complexity for you, it still gives your application the room to grow for when you inevitably get the point where you’ll need more of the advanced features that Azure has to offer.
Learn more about App Spaces here
Getting started
The simplest way to get started is to just deploy the sample space called “Activity Planner Agent” from here. After deploying, you can click on the link “Open app in browser” on your Static app component.
After loading for the first time, the agent will walk you through a few simple steps to get your own OpenAI API key and add it to your app.
After generating your OpenAI API key and adding it to your backend app component, your settings should look something like this:
And that’s it! Now you can run your fully functional chatbot which specializes in helping you to plan activities based on your location and weather. Go ahead and reload the page which has your chat bot UI in it.
Okay great it’s basically just another chat bot. So what?
Yes, everyone is building chat bots these days, but this sample is more than just a passthrough interface for ChatGPT. It uses the function calling feature of OpenAI to allow your agent to enhance what your model is capable of. The cookbook which this is built upon will go into way more detail about this, but here’s a simplification of how this all works.
Initialization
To start, we initialize a chat completions session like so:
const response = await openAi.chat.completions.create({
model: “gpt-4”,
messages: messages,
tools: tools,
});
Model – In this case we’re using the GPT-4 model.
Messages – In the beginning, this only has the system message which sets the “persona” of what you want the model to take. In this case we set this to “You are a helpful assistant. Only use the functions you have been provided with.”
Tools – This is the really cool part which adds the function calling capability. You basically tell it what functions you can run for in order to get more information. In our case we pass the metadata for 2 functions, getLocation and getCurrentWeather. If the model needs any information about the your location or the weather for a specific location, it will ask you to run these functions and return their results.
Respond to a question
To illustrate how function calling works, I drew up a quick diagram. Basically when you ask a question, we send over the question with all of the tools at our disposal to OpenAI. OpenAI needs more context about our location, so it asks for your location (getLocation). Then it needs more context about the weather (getCurrentWeather), so it asks for the weather in your location. Once it has all that information, it can give you a list of activities that might be interesting for your situation.
To get an idea of the information being passed back and forth to the completions API, I also added a toggle which lets you visualize the conversation a bit better (Note: I purposely censored some of the output just in case)
Putting it all together with App Spaces
So, we’ve talked about the easy way to deploy this sample space, and a bit about how you could build an AI agent on App Spaces, but now you might be thinking: “Well anyone can deploy a pre-configured template. But how would I do this from scratch!?” Well, the surprising thing is that with App Spaces, putting it all together from scratch isn’t much more difficult. Here’s the steps you need to take:
Fork this repo – https://github.com/azure-template-resources/chatbot-react-nodejs
Create a new App Space – Click here and choose to deploy from “GitHub repository”
Create your static front-end: Login to GitHub and choose your forked repository. Make sure to select the “/client” folder to start. Then hit deploy.
Create your backend app: Click on “Add component” and choose the same repository but this time select the “/server” folder. Then hit deploy.
Secure your connection between components: Click on the “link” icon and complete the connection.
And that’s it! From here you would be in the exact same position as you would be if you had gone the simple route of deploying the sample space from the beginning of this post. Hopefully now you’ll have a better idea of the types of applications you can build with App Spaces and how easy it is to piece each component together to form your end-to-end application.
To continue your App Spaces journey, here’s a few posts you may be interested in checking out:
Building a full-stack app with Google Authentication – Learn how simple it is to lock down your app with authentication and authorization
Take your intelligent app to the next level and learn How to build a Retrieval-augmented generation (RAG) app on App Spaces
Application logging with App Spaces – Learn how App Spaces simplifies application logging in Azure
Microsoft Tech Community – Latest Blogs –Read More
Prompt Like a Pro: 8 Tips and tricks for working with Copilot in Teams
As a reminder, to have access to these features you need a Copilot for Microsoft 365 license!
How to prompt like a pro
Writing great prompts is the key to having better interactions with Microsoft Copilot in Teams. Just like talking to a co-worker, clear communication and certain techniques can help you get better results from some prompts than others. In this edition, we highlight how to prompt like a pro for Copilot in Teams – first by summarizing how and where Copilot can assist you in Teams, then by guiding you through 8 tips to elevate your prompting skills and how you interact with Copilot.
Utilize the following tips and tricks to build your Copilot foundation and start prompting like a pro!
Copilot for Microsoft 365 in Teams
Open Copilot for Microsoft 365 in Teams by navigating over to the chat app in Teams and clicking on the Copilot icon. Here, Copilot will use data grounded in the Microsoft Graph that searches across your Microsoft 365 apps to better personalize its answers. You can draft content, catch up on what you missed, and get answers to questions supported by data from PowerPoint and Word files, Outlook emails, and more – all securely grounded in – and powered by – your work data.
Tip #1: Include more specifics and details in your prompts. This can look like clarifying how Copilot can meet your needs or referencing files, meetings, or contacts that Copilot can leverage to provide a richer output. For example, instead of asking Copilot a simple prompt like “summarize the Fundraiser meeting,” ask it to “Recap the Fundraiser meeting and suggest an agenda for a follow-up meeting based on any outstanding items. Include a table that shows action items and who is responsible for each item.” The more detailed the prompt, the better Copilot’s outcome will be!
Copilot in the compose box
Copilot also assists you in crafting more polished and effective messages, straight from the text compose box in your chats and channels. It goes beyond spell-checking and grammar correction; Copilot will suggest improvements, rewrites, and adjustments to enhance the clarity, tone, and impact of your messages. Whether you’re quickly responding to your coworker or sharing a detailed project update with a manager, Copilot has your back. You can navigate to the message compose box anywhere you can write text in Teams and start crafting your message. After you have a suitable rough draft, click on the Copilot icon in your chat box, press “Rewrite,” and watch your message instantly transform!
Tip #2: The “Adjust” option allows you to adapt a message to whatever audience you are talking to, from a co-worker to a friend, your larger team, or even your manager. Simply choose from the range of options in the “Adjust” menu and change the length (concise or longer) or the tone (casual, professional, confident, or enthusiastic) of your message.
Tip #3: Use the “custom tone” option to finetune your message’s tone, include additional context, translate a message, and make your writing more inclusive or persuasive! For example, you can prompt that you want Copilot to make your message “longer, cheerful, and convincing” and Copilot can apply those changes instantly in the compose box – without you needing to leave your flow of work.
Copilot in chats and channels
If you’re checking the latest messages in a group chat or seeing what the newest updates are in your project’s channel, Copilot is there to transform the way you work. From an open chat or channel select the Copilot icon to expand a dedicated Copilot window to pull information from the specific chat or channel you are in. Did you just get back from a week off work and want to know what you missed? Or if your name was mentioned and why? Copilot quickly analyzes past messages, files sent, and other relevant information to provide answers to whatever you need help knowing about your chats and channels.
Tip #4: Catch up on information faster by asking Copilot for key takeaways from a chat or specific information you missed. You can even reference a chat participant in your prompt – like asking “What files has Erin shared?”
Tip #5: Copilot can help you with personal tasks and action items you might have missed. Instead of asking “What were the follow-up items,” make it personal! Ask “Do I have any follow-up items?” or “What is my highest priority task?”
Tip #6: Copilot in chats and channels will give better responses with more specific directions. Try sending it this prompt detailing how you want to receive information: “Create a table with everyone’s action items. Include the action item, person’s name, and due date.”
Copilot in Teams meetings
Copilot in Teams meetings helps you catch up, brainstorm, and get to decisions faster. Simply join your meeting and click on the Copilot icon to begin using Copilot. Copilot will need transcription to run (unless it’s set to “Only during the meeting” by the organizer). Clicking on Copilot will prompt you to start the transcript if it hasn’t started already.
Copilot can help you catch up on anything you’ve missed in the meeting so far, suggest questions to ask the other meeting participants, and more. It can even organize the ideas shared during the meeting in an easy-to-read table that you can share after the meeting. Copilot expands on the built-in summaries provided by intelligent meeting recap by enabling you to ask any question about the meeting, helping you get deeper insights into the topics you’re interested in. For the best experience, ensure that recording or transcription are turned on for your meeting. To use Copilot in Teams meetings without retaining a transcript of the meeting discussion, meeting organizers can set Copilot access to ‘Only during the meeting’ from the meeting options. When selected, users will only be able to interact with Copilot during the meeting, and they won’t be able to access Copilot, their previous interactions with Copilot, or intelligent meeting recap after the meeting ends. Learn more here.
Tip #7: Go beyond meeting summarization by using Copilot to help drive alignment and improve meeting outcomes. During a meeting, use prompts such as “What questions are unresolved?” and “Suggest follow up questions” to help improve meeting efficiency and productivity.
Tip #8: Ask Copilot to format and categorize the discussion points to help you stay organized with next steps. After the meeting, use prompts such as “List different perspectives by topic” or “List the pros and cons of the [INSERT TOPIC] decision in a table format” to visualize the discussion points in new ways that help you stay on track.
Extra prompting guidance
A lot goes into the foundation of a good prompt. For example, including a detailed persona – as laid out in this template – can help anchor Copilot into a specific mindset and expertise that you’re looking to deliver in your prompts.
Additionally, see this sample prompt used to gather insights for team brainstorming sessions with leadership. Not all prompts need to be this long but pay attention to the detailed persona and context added to the prompt which helps drive easily referenceable output in a table format.
Finally, make sure to iterate and regenerate. Often, your first result isn’t the final or best response. If you’re not satisfied with the results Copilot gave you, revise your prompt, follow the best practices laid out in this blog, and try again. Working with Copilot is all about building your conversation, and figuring out what communication style works best for your scenario is key to prompting even better with Copilot in Teams.
Additional resources
If you want to learn more about how to take your prompting skills up a notch and achieve better business outcomes
with Copilot, we highly encourage you to read the article Five tips for prompting AI, which dives into the structure of a prompt for better communication. And for more examples of prompts that Copilot can help you with, check out Copilot Lab! Filter by specific Microsoft 365 apps to learn what kinds of prompts to use for a variety of different work scenarios and get tips for better optimized prompts with Copilot!
What’s coming next
If you’re already using Copilot in Teams, share your favorite Copilot in Teams tips and tricks in the comments for the chance to get featured in a future “Prompt Like a Pro” blog! And be sure to follow the Teams MTC site so you never miss upcoming blogs. Happy prompting!
*To reference a specific person, file, or meeting with Copilot for Microsoft 365 in Teams, simply add a “/” to your prompt.
Copilot in Teams is constantly evolving and improving thanks to your input and feedback. If a Copilot prompt does not work the way you expect it to, let us know how by using the thumbs-down button that appears after a response.
Microsoft Tech Community – Latest Blogs –Read More
Create quizzes with Copilot in Forms
Copilot in Forms has been your go-to helper for quickly and easily creating forms and surveys. Now, we’re taking it a step further by adding the ability to generate quizzes. Copilot can help you create quizzes with correct answers based on your intents and inputs, making it perfect for teachers, trainers, or anyone looking to assess knowledge in an engaging and interactive way. Let’s see how Copilot can make your quiz creation a breeze.
Generate quiz draft based on input
You can specify your intentions, such as the quiz subject, audience, types of questions, and more—or simply choose from suggested prompts by clicking the ‘View prompts’ button to generate a quiz. For example, as a middle school teacher, you could ask Copilot to create a math quiz for grade 9 students. Copilot will then generate the quiz draft based on your specifications.
Generate quiz draft based on pasted content
Copilot can also generate a quiz from pasted content. For instance, you can simply copy and paste content from teaching materials, such as a paragraph from a biology textbook, to generate a quiz draft.
Correct answers for each question
You don’t have to manually add correct answers to each question. When generating the quiz draft, Copilot automatically includes correct answers for each question. You can easily review all questions with their correct answers in the draft.
Refine the draft and finalize the quiz
You have the flexibility to add/remove questions and refine it further by providing additional details to Copilot. For instance, if you forgot to include trigonometric questions in a math quiz, you can keep asking to add two questions on that topic. Once you’re done editing, just click “Keep it,” and Copilot will generate the final quiz for you.
The quiz function will initially roll out to commercial users (including Enterprise, SMB and EDU) in July 2024. A Copilot for Microsoft 365 license is required to access Copilot in Forms. Discover more about Copilot for Microsoft 365 here.
Microsoft Tech Community – Latest Blogs –Read More
Capture and visualize ideas without spatial constraints using Infinite Canvas in Visio for the web
Following our announcement earlier this year about mind maps in Visio for the web, we’re excited to announce a new feature that will let users stretch their creative boundaries by providing room to capture, organize, and visualize ideas without constraints. Infinite Canvas in Visio for the web provides a truly limitless drawing canvas to free users from the restrictions of pages. Whether creating a flowchart, org chart, network diagram, or other drawing, Infinite Canvas provides the flexibility to express ideas creatively.
User scenario: Creating a project proposal
To help illustrate how Infinite Canvas can enhance the diagramming experience, let’s look at a user scenario. Aaron is a Network Architect with Contoso, a company that provides cloud-based solutions. He is tasked with creating a proposal for a new IT project that involves setting up a hybrid cloud network for a client. He uses Visio for the web to create a supporting visual for his proposal.
Aaron starts with a blank canvas and adds flowchart shapes and connectors to show the steps and details of the project. Visio provides a variety of formatting options—from fill colors and outline colors to different connector styles and shapes—so he uses color-coding to represent the tasks, milestones, and decision points. He also uses shape data to include additional details for each step without cluttering the diagram.
An image of a flowchart in Visio for the web.
Brainstorming ideas with mind maps
When Aaron is done building the flowchart, he shares the Visio file with his team and invites them to collaborate on the proposal. He adds comments to highlight key points, and uses @mentions to ask questions and bring team members directly into the conversation.
Aaron and his colleagues use shapes and connectors from the new Mind Map stencil to generate, map out, and organize their ideas. No longer bound by spatial limitations, the team can create multiple mind maps on the same page. Again, they use the various formatting options to call out and categorize important notes and ideas.
An image of a mind map in Visio for the web.
Creating an early draft of the network diagram
Finally, Aaron and his colleagues start to create a first draft of the new network architecture based on their brainstorming sessions. They use the vast library of Azure and network shapes to create a realistic representation of the network components, then add text and comments to describe the functions and specifications of each component. Aaron and his team members can pan and scroll through the canvas quickly to refer to the flowchart and various mind maps.
With multiple diagrams on the same canvas—each representing a different aspect of their project—Aaron and his colleagues find the infinite canvas helpful for collaborating on the proposal. They can quickly refer to their shared ideas and align on next steps. But more importantly, the client has one source of truth to track information about their upcoming migration. Stakeholders no longer need to refer to different pages in a file to find information.
An image of a network diagram in Visio for the web.
Quick tips and tricks
Below are some quick tips and tricks to enhance your diagramming experience and help you make the most of Infinite Canvas.
Panning
Use the middle mouse button or the right mouse button to “grab” the canvas and pan around. This feature is useful when you need to move to a different part of the canvas quickly and easily.
Zooming
Hold the Ctrl key and scroll the mouse wheel to zoom in on a specific part of the canvas or zoom out to get a broader view of the entire canvas.
Auto Scrolling
Drag a shape in any direction and hold it close to the edge of the canvas to scroll automatically. This feature is particularly useful when you need to add more shapes to your diagram without having to manually scroll through the canvas.
Please note that, with the introduction of Infinite Canvas comes several changes in Visio for the web—for example, Infinite Canvas will be turned on by default for both new and existing files. Those experiences are outlined in our support article, “Change the drawing page or printer paper size.”
We hope that you enjoy working on the new infinite canvas in Visio for the web, and that you find it useful for diagramming, illustrating concepts, and organizing thoughts on one single canvas. We would love to hear your feedback and suggestions on how we can improve this feature. Please leave a comment below or provide your feedback either via the Visio Feedback Portal or directly in the Visio web app using “Give Feedback to Microsoft” in the bottom right corner.
Did you know? The Microsoft 365 Roadmap is where you can get the latest updates on productivity apps and intelligent cloud services. Check out what features are in development or coming soon to Visio for the web on the Microsoft 365 Roadmap.
Microsoft Tech Community – Latest Blogs –Read More
How can I improve the live streaming performance of Simulation Data Inspector (SDI) when using Simulink Real-Time and Speedgoat?
I use Simulink Real-Time (SLRT) to run simulations on a Speedgoat real-time target and wish to see the live signal data in the Simulation Data Inspector (SDI). To do this, I selected signals for streaming using signal logging badges, the SLRT Explorer, or instrument objects.
However, I noticed that the MATLAB process causes a very high RAM/CPU load on my PC. As a result, the MATLAB GUI can be very slow and laggy. Sometimes, I see noticeable gaps in the data in the SDI, or see that some timesteps are lost when I inspect the ‘logsout’ variable or export data from the SDI. Additionally, I may see the warning below in the Speedgoat system log:
Live Stream overload
Is there any way that I can improve the performance of SDI without reducing my model sample rate?I use Simulink Real-Time (SLRT) to run simulations on a Speedgoat real-time target and wish to see the live signal data in the Simulation Data Inspector (SDI). To do this, I selected signals for streaming using signal logging badges, the SLRT Explorer, or instrument objects.
However, I noticed that the MATLAB process causes a very high RAM/CPU load on my PC. As a result, the MATLAB GUI can be very slow and laggy. Sometimes, I see noticeable gaps in the data in the SDI, or see that some timesteps are lost when I inspect the ‘logsout’ variable or export data from the SDI. Additionally, I may see the warning below in the Speedgoat system log:
Live Stream overload
Is there any way that I can improve the performance of SDI without reducing my model sample rate? I use Simulink Real-Time (SLRT) to run simulations on a Speedgoat real-time target and wish to see the live signal data in the Simulation Data Inspector (SDI). To do this, I selected signals for streaming using signal logging badges, the SLRT Explorer, or instrument objects.
However, I noticed that the MATLAB process causes a very high RAM/CPU load on my PC. As a result, the MATLAB GUI can be very slow and laggy. Sometimes, I see noticeable gaps in the data in the SDI, or see that some timesteps are lost when I inspect the ‘logsout’ variable or export data from the SDI. Additionally, I may see the warning below in the Speedgoat system log:
Live Stream overload
Is there any way that I can improve the performance of SDI without reducing my model sample rate? sdi, real-time, realtime, signal, logging, buffer, delay, slrt, data, gaps, decimation, speedgoat, missing MATLAB Answers — New Questions
Method of Characteristics for Nozzle: Error with syms function
I am trying to create a Method of characteristics Code from JD Andersons book "Modern Compressible Flow with Historical Perspective" using example 11.1. Error arises when I try to obtain the coordinates of the points 2-7; where 7 is the n_div which I have taken.
Code:
clear;
clc;
close all;
%% Initial parameters %%
radian_to_deg = 180/pi;
degree_to_radian = pi/180;
prompt = "Enter a Mach Number ranging from 1.5 to 4: ";
Me = input(prompt);
prompt_1 = "Enter the number of divisions: ";
n_div = input(prompt_1);
%prompt_2 = "Enter the throat radius: ";
%TR = input(prompt_2);
g = 1.4;
mach_angle= [];
theta = [];
theta_a = [];
y=[];
x=[];
v=[];
v_a=[];
dydx_minus = [];
dydx_plus = [];
new_Mach=[];
%% get mach angle
ma_f = @(x) (asind(1/x)) ;
%% get theta_max
A = sqrt((g+1)/(g-1));
B = (g-1)/(g+1);
pm_f = @(x) (A*atand(sqrt(B*(x^2-1))) – atand(sqrt(x^2-1)));
theta_max = pm_f(Me)/2;
%% extraction of fractional part of theta_max
theta_i = sign(theta_max)*(abs(theta_max) – floor(abs(theta_max)));
%% Storing different values of theta_a
for i = 1:n_div
theta_a(i,1) = theta_i ;
theta_i = theta_i + 3.0;
end
v_a = theta_a;
%% Getting properties of a-1 characteristic line
ya=1;
xa=0;
%theta_a(1,1) = theta_i(1,1);
v_a(1,1) = theta_a(1,1);
%point 1
y(1,1) = 0;
Km_1 = theta_a(1,1) + v_a(1,1);
theta(1,1)= 0.5*(Km_1);
v(1,1) = 0.5*(Km_1);
%% get mach number for v(1,1)
syms x
f = @(x) (A*atand(sqrt(B*(x^2-1))) – atand(sqrt(x^2-1))-v(1,1));
f1 = matlabFunction(diff(f(x)));
%NR Method using a while loop
change = 10;
Mguess = 1.1;
while (change>1e-6)
Mnew = Mguess – f(Mguess)/f1(Mguess);
change = abs(Mguess – Mnew);
Mguess = Mnew;
end
new_Mach(1,1) = Mnew;
mach_angle(1,1) = ma_f(Mnew);
x(1,1) = -ya/tand(theta(1,1)-mach_angle(1,1));
%% rest of points:
for i = 2:n_div
Km = (theta_a(i,1)) + (v_a(i,1));
Kp = theta(i-1,1) – v(i-1,1);
theta(i,1) = 0.5*(Km+Kp);
v(i,1) = 0.5*(Km-Kp);
end
%% Calculating the Unknown Mach Number and corresponding Mach Angle using NR Method
syms x
for i=2:n_div
f = @(x) (A*atand(sqrt(B*(x^2-1))) – atand(sqrt(x^2-1))-v(i,1));
f1 = matlabFunction(diff(f(x)));
Mguess = 1.1;
change = 10;
while (change>1e-6)
Mnew = Mguess – f(Mguess)/f1(Mguess);
change = abs(Mguess – Mnew);
Mguess = Mnew;
end
new_Mach(i,1) = Mnew;
mach_angle(i,1) = ma_f(Mnew);
end
%% slopes and locations of points from 2-7
for i=2:n_div
dydx_minus(i,1) = tand(0.5*(theta(i)+theta(i)) – 0.5*(mach_angle(i)+mach_angle(i)));
dydx_plus(i,1) = tand(0.5*(theta(i) + theta(i-1))) + (0.5*(mach_angle(i) + mach_angle(i-1)));
x(i,1) = (y(i-1,1) – ya – (dydx_plus(i,1)*x(i-1)))/(dydx_minus(i,1) – dydx_plus(i,1));
y(i,1) = (dydx_plus(i,1)*(x(i,1)-x(i-1))) + y(i-1);
end
%slope and location of wall point 8
slopew1_minus = tand(theta_max);
slopew1_plus = dydx_plus(end,1);
xw = (y(end,1)-ya-(slopew1_plus*x(end,1)))/(slopew1_minus – slopew1_plus);
yw = (slopew1_plus*(xw(1,1)-x(end,1)))+y(end,1);
Error:
Error in MOC_prac (line 111)
y(i,1) = (dydx_plus(i,1)*(a_double(i,1)-a_double(i-1))) + y(i-1);
Unable to perform assignment because value of type ‘sym’ is not convertible to ‘double’.
Error in MOC_prac (line 111)
y(i,1) = (dydx_plus(i,1)*(x(i,1)-x(i-1))) + y(i-1);
Caused by:
Error using mupadengine/feval2char
Unable to convert expression containing symbolic variables into double array. Apply ‘subs’ function
first to substitute values for variables.
Is there any way I can resolve this error? Thank you!I am trying to create a Method of characteristics Code from JD Andersons book "Modern Compressible Flow with Historical Perspective" using example 11.1. Error arises when I try to obtain the coordinates of the points 2-7; where 7 is the n_div which I have taken.
Code:
clear;
clc;
close all;
%% Initial parameters %%
radian_to_deg = 180/pi;
degree_to_radian = pi/180;
prompt = "Enter a Mach Number ranging from 1.5 to 4: ";
Me = input(prompt);
prompt_1 = "Enter the number of divisions: ";
n_div = input(prompt_1);
%prompt_2 = "Enter the throat radius: ";
%TR = input(prompt_2);
g = 1.4;
mach_angle= [];
theta = [];
theta_a = [];
y=[];
x=[];
v=[];
v_a=[];
dydx_minus = [];
dydx_plus = [];
new_Mach=[];
%% get mach angle
ma_f = @(x) (asind(1/x)) ;
%% get theta_max
A = sqrt((g+1)/(g-1));
B = (g-1)/(g+1);
pm_f = @(x) (A*atand(sqrt(B*(x^2-1))) – atand(sqrt(x^2-1)));
theta_max = pm_f(Me)/2;
%% extraction of fractional part of theta_max
theta_i = sign(theta_max)*(abs(theta_max) – floor(abs(theta_max)));
%% Storing different values of theta_a
for i = 1:n_div
theta_a(i,1) = theta_i ;
theta_i = theta_i + 3.0;
end
v_a = theta_a;
%% Getting properties of a-1 characteristic line
ya=1;
xa=0;
%theta_a(1,1) = theta_i(1,1);
v_a(1,1) = theta_a(1,1);
%point 1
y(1,1) = 0;
Km_1 = theta_a(1,1) + v_a(1,1);
theta(1,1)= 0.5*(Km_1);
v(1,1) = 0.5*(Km_1);
%% get mach number for v(1,1)
syms x
f = @(x) (A*atand(sqrt(B*(x^2-1))) – atand(sqrt(x^2-1))-v(1,1));
f1 = matlabFunction(diff(f(x)));
%NR Method using a while loop
change = 10;
Mguess = 1.1;
while (change>1e-6)
Mnew = Mguess – f(Mguess)/f1(Mguess);
change = abs(Mguess – Mnew);
Mguess = Mnew;
end
new_Mach(1,1) = Mnew;
mach_angle(1,1) = ma_f(Mnew);
x(1,1) = -ya/tand(theta(1,1)-mach_angle(1,1));
%% rest of points:
for i = 2:n_div
Km = (theta_a(i,1)) + (v_a(i,1));
Kp = theta(i-1,1) – v(i-1,1);
theta(i,1) = 0.5*(Km+Kp);
v(i,1) = 0.5*(Km-Kp);
end
%% Calculating the Unknown Mach Number and corresponding Mach Angle using NR Method
syms x
for i=2:n_div
f = @(x) (A*atand(sqrt(B*(x^2-1))) – atand(sqrt(x^2-1))-v(i,1));
f1 = matlabFunction(diff(f(x)));
Mguess = 1.1;
change = 10;
while (change>1e-6)
Mnew = Mguess – f(Mguess)/f1(Mguess);
change = abs(Mguess – Mnew);
Mguess = Mnew;
end
new_Mach(i,1) = Mnew;
mach_angle(i,1) = ma_f(Mnew);
end
%% slopes and locations of points from 2-7
for i=2:n_div
dydx_minus(i,1) = tand(0.5*(theta(i)+theta(i)) – 0.5*(mach_angle(i)+mach_angle(i)));
dydx_plus(i,1) = tand(0.5*(theta(i) + theta(i-1))) + (0.5*(mach_angle(i) + mach_angle(i-1)));
x(i,1) = (y(i-1,1) – ya – (dydx_plus(i,1)*x(i-1)))/(dydx_minus(i,1) – dydx_plus(i,1));
y(i,1) = (dydx_plus(i,1)*(x(i,1)-x(i-1))) + y(i-1);
end
%slope and location of wall point 8
slopew1_minus = tand(theta_max);
slopew1_plus = dydx_plus(end,1);
xw = (y(end,1)-ya-(slopew1_plus*x(end,1)))/(slopew1_minus – slopew1_plus);
yw = (slopew1_plus*(xw(1,1)-x(end,1)))+y(end,1);
Error:
Error in MOC_prac (line 111)
y(i,1) = (dydx_plus(i,1)*(a_double(i,1)-a_double(i-1))) + y(i-1);
Unable to perform assignment because value of type ‘sym’ is not convertible to ‘double’.
Error in MOC_prac (line 111)
y(i,1) = (dydx_plus(i,1)*(x(i,1)-x(i-1))) + y(i-1);
Caused by:
Error using mupadengine/feval2char
Unable to convert expression containing symbolic variables into double array. Apply ‘subs’ function
first to substitute values for variables.
Is there any way I can resolve this error? Thank you! I am trying to create a Method of characteristics Code from JD Andersons book "Modern Compressible Flow with Historical Perspective" using example 11.1. Error arises when I try to obtain the coordinates of the points 2-7; where 7 is the n_div which I have taken.
Code:
clear;
clc;
close all;
%% Initial parameters %%
radian_to_deg = 180/pi;
degree_to_radian = pi/180;
prompt = "Enter a Mach Number ranging from 1.5 to 4: ";
Me = input(prompt);
prompt_1 = "Enter the number of divisions: ";
n_div = input(prompt_1);
%prompt_2 = "Enter the throat radius: ";
%TR = input(prompt_2);
g = 1.4;
mach_angle= [];
theta = [];
theta_a = [];
y=[];
x=[];
v=[];
v_a=[];
dydx_minus = [];
dydx_plus = [];
new_Mach=[];
%% get mach angle
ma_f = @(x) (asind(1/x)) ;
%% get theta_max
A = sqrt((g+1)/(g-1));
B = (g-1)/(g+1);
pm_f = @(x) (A*atand(sqrt(B*(x^2-1))) – atand(sqrt(x^2-1)));
theta_max = pm_f(Me)/2;
%% extraction of fractional part of theta_max
theta_i = sign(theta_max)*(abs(theta_max) – floor(abs(theta_max)));
%% Storing different values of theta_a
for i = 1:n_div
theta_a(i,1) = theta_i ;
theta_i = theta_i + 3.0;
end
v_a = theta_a;
%% Getting properties of a-1 characteristic line
ya=1;
xa=0;
%theta_a(1,1) = theta_i(1,1);
v_a(1,1) = theta_a(1,1);
%point 1
y(1,1) = 0;
Km_1 = theta_a(1,1) + v_a(1,1);
theta(1,1)= 0.5*(Km_1);
v(1,1) = 0.5*(Km_1);
%% get mach number for v(1,1)
syms x
f = @(x) (A*atand(sqrt(B*(x^2-1))) – atand(sqrt(x^2-1))-v(1,1));
f1 = matlabFunction(diff(f(x)));
%NR Method using a while loop
change = 10;
Mguess = 1.1;
while (change>1e-6)
Mnew = Mguess – f(Mguess)/f1(Mguess);
change = abs(Mguess – Mnew);
Mguess = Mnew;
end
new_Mach(1,1) = Mnew;
mach_angle(1,1) = ma_f(Mnew);
x(1,1) = -ya/tand(theta(1,1)-mach_angle(1,1));
%% rest of points:
for i = 2:n_div
Km = (theta_a(i,1)) + (v_a(i,1));
Kp = theta(i-1,1) – v(i-1,1);
theta(i,1) = 0.5*(Km+Kp);
v(i,1) = 0.5*(Km-Kp);
end
%% Calculating the Unknown Mach Number and corresponding Mach Angle using NR Method
syms x
for i=2:n_div
f = @(x) (A*atand(sqrt(B*(x^2-1))) – atand(sqrt(x^2-1))-v(i,1));
f1 = matlabFunction(diff(f(x)));
Mguess = 1.1;
change = 10;
while (change>1e-6)
Mnew = Mguess – f(Mguess)/f1(Mguess);
change = abs(Mguess – Mnew);
Mguess = Mnew;
end
new_Mach(i,1) = Mnew;
mach_angle(i,1) = ma_f(Mnew);
end
%% slopes and locations of points from 2-7
for i=2:n_div
dydx_minus(i,1) = tand(0.5*(theta(i)+theta(i)) – 0.5*(mach_angle(i)+mach_angle(i)));
dydx_plus(i,1) = tand(0.5*(theta(i) + theta(i-1))) + (0.5*(mach_angle(i) + mach_angle(i-1)));
x(i,1) = (y(i-1,1) – ya – (dydx_plus(i,1)*x(i-1)))/(dydx_minus(i,1) – dydx_plus(i,1));
y(i,1) = (dydx_plus(i,1)*(x(i,1)-x(i-1))) + y(i-1);
end
%slope and location of wall point 8
slopew1_minus = tand(theta_max);
slopew1_plus = dydx_plus(end,1);
xw = (y(end,1)-ya-(slopew1_plus*x(end,1)))/(slopew1_minus – slopew1_plus);
yw = (slopew1_plus*(xw(1,1)-x(end,1)))+y(end,1);
Error:
Error in MOC_prac (line 111)
y(i,1) = (dydx_plus(i,1)*(a_double(i,1)-a_double(i-1))) + y(i-1);
Unable to perform assignment because value of type ‘sym’ is not convertible to ‘double’.
Error in MOC_prac (line 111)
y(i,1) = (dydx_plus(i,1)*(x(i,1)-x(i-1))) + y(i-1);
Caused by:
Error using mupadengine/feval2char
Unable to convert expression containing symbolic variables into double array. Apply ‘subs’ function
first to substitute values for variables.
Is there any way I can resolve this error? Thank you! #syms, #subs, #double MATLAB Answers — New Questions
How can I make a graph like this for ANOVA 2-Way
I’m trying to obtain this graph from the example here for my ANOVA data: https://www.mathworks.com/matlabcentral/answers/488962-repeated-measures-anova-matlab?s_tid=srchtitle. However, I am having a hard time understanding the code. This is the code I’ve written for my data so far.
clear
clc
table1 = readtable(‘assignment3simple.xlsx’);
table1matrix = table1{:,2:7};
anova2(table1matrix, 2)
figure;
boxplot(table1matrix,{’20°C’, ’30°C’, ’40°C’, ’50°C’, ’60°C’, ’70°C’})
xlabel(‘Operating Temperature’);
ylabel(‘Power Output (w)’);
title(‘Box Plot of Power Output at Different Operating Temperatures’);
I’ve already got the graph for the interaction but getting the individual one is confusing me. Any help would be greatly appreciated. Thank you.
Note: This is the code used for the figure. (I am not using the same data, just trying to understand the code and apply it to mine)
bpdata = [];
for i = 1:max(Q2.PATIENT) %assuming patient numbers are 1:max
bpdata = [bpdata, Q2{Q2.PATIENT==i,3:8},nan(size(unique(Q2.TREAT)))];
end
figure()
boxplot(bpdata)
arrayfun(@xline,7:7:size(bpdata,2))
xlabel(‘6 treatment times across 11 patients’)
ylabel(‘measurement value’)
title(‘Data pooled between treatment factors’)
set(gca,’XTick’, [])
(Courtesy of Adam Danz)I’m trying to obtain this graph from the example here for my ANOVA data: https://www.mathworks.com/matlabcentral/answers/488962-repeated-measures-anova-matlab?s_tid=srchtitle. However, I am having a hard time understanding the code. This is the code I’ve written for my data so far.
clear
clc
table1 = readtable(‘assignment3simple.xlsx’);
table1matrix = table1{:,2:7};
anova2(table1matrix, 2)
figure;
boxplot(table1matrix,{’20°C’, ’30°C’, ’40°C’, ’50°C’, ’60°C’, ’70°C’})
xlabel(‘Operating Temperature’);
ylabel(‘Power Output (w)’);
title(‘Box Plot of Power Output at Different Operating Temperatures’);
I’ve already got the graph for the interaction but getting the individual one is confusing me. Any help would be greatly appreciated. Thank you.
Note: This is the code used for the figure. (I am not using the same data, just trying to understand the code and apply it to mine)
bpdata = [];
for i = 1:max(Q2.PATIENT) %assuming patient numbers are 1:max
bpdata = [bpdata, Q2{Q2.PATIENT==i,3:8},nan(size(unique(Q2.TREAT)))];
end
figure()
boxplot(bpdata)
arrayfun(@xline,7:7:size(bpdata,2))
xlabel(‘6 treatment times across 11 patients’)
ylabel(‘measurement value’)
title(‘Data pooled between treatment factors’)
set(gca,’XTick’, [])
(Courtesy of Adam Danz) I’m trying to obtain this graph from the example here for my ANOVA data: https://www.mathworks.com/matlabcentral/answers/488962-repeated-measures-anova-matlab?s_tid=srchtitle. However, I am having a hard time understanding the code. This is the code I’ve written for my data so far.
clear
clc
table1 = readtable(‘assignment3simple.xlsx’);
table1matrix = table1{:,2:7};
anova2(table1matrix, 2)
figure;
boxplot(table1matrix,{’20°C’, ’30°C’, ’40°C’, ’50°C’, ’60°C’, ’70°C’})
xlabel(‘Operating Temperature’);
ylabel(‘Power Output (w)’);
title(‘Box Plot of Power Output at Different Operating Temperatures’);
I’ve already got the graph for the interaction but getting the individual one is confusing me. Any help would be greatly appreciated. Thank you.
Note: This is the code used for the figure. (I am not using the same data, just trying to understand the code and apply it to mine)
bpdata = [];
for i = 1:max(Q2.PATIENT) %assuming patient numbers are 1:max
bpdata = [bpdata, Q2{Q2.PATIENT==i,3:8},nan(size(unique(Q2.TREAT)))];
end
figure()
boxplot(bpdata)
arrayfun(@xline,7:7:size(bpdata,2))
xlabel(‘6 treatment times across 11 patients’)
ylabel(‘measurement value’)
title(‘Data pooled between treatment factors’)
set(gca,’XTick’, [])
(Courtesy of Adam Danz) anova, statistics, matlab MATLAB Answers — New Questions
When I try to creat FMU, “docker container failed to start” error happened
Hello, all:
I try to create a FMU for Linux in windows system. but after I have met one error when I try to build. see following:
Failed to set up the docker environment for cross-platform compilation because the container could not be retrieved. If the computer does not have internet access, check documentation for manually downloading the docker container.
docker container failed to start
a few weeks ago, I alread successed creat a FMU for Linux in windows system. but I don’t know why this time when I try to build FMU again, one error happened?
can you help me to solve it?
thank you.Hello, all:
I try to create a FMU for Linux in windows system. but after I have met one error when I try to build. see following:
Failed to set up the docker environment for cross-platform compilation because the container could not be retrieved. If the computer does not have internet access, check documentation for manually downloading the docker container.
docker container failed to start
a few weeks ago, I alread successed creat a FMU for Linux in windows system. but I don’t know why this time when I try to build FMU again, one error happened?
can you help me to solve it?
thank you. Hello, all:
I try to create a FMU for Linux in windows system. but after I have met one error when I try to build. see following:
Failed to set up the docker environment for cross-platform compilation because the container could not be retrieved. If the computer does not have internet access, check documentation for manually downloading the docker container.
docker container failed to start
a few weeks ago, I alread successed creat a FMU for Linux in windows system. but I don’t know why this time when I try to build FMU again, one error happened?
can you help me to solve it?
thank you. fmu linux MATLAB Answers — New Questions
New Teams not loading with FSLogix 2210 HF4, Horizon non-persistent VDI
Hi all,
We’ve been testing the latest Teams 2.1 Bootstrapper on our non-persistent Horizon VDI machines but having issues once we bring FSLogix into the mix.
We are able to deploy new Teams onto our base image and when using a local profile it launches and runs as expected from the shortcut in the Start Menu. Similarly on our physical PCs Classic Teams > New Teams upgrades without issue (we’re not running FSLogix on physical machines… yet)
When logging in with FSLogix enabled (frxtray shows version 2.9.8228.50276) the Teams shortcut is present, however clicking it produces a white progress bar and no further action. We have updated our Redirections.xml to one we found here
Teams 2.1 with FSLogix setup guide – Jeff Riechers Technical Site
If we look at the properties of the Windows Store App for Teams it returns 16KB, which seems wrong? Looking in Event Viewer AppxPackaging log we see this error, can’t find much online relating to it.
App manifest validation warning: Declared namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/7 is inapplicable, it will be ignored during manifest processing.
I note from another thread that there’s a GPO for ODFC called IncludeTeams that needs to be turned on to roam the new Teams cache etc.
https://learn.microsoft.com/en-us/microsoftteams/new-teams-vdi-requirements-deploy
HKEY_LOCAL_MACHINESOFTWAREPoliciesFSLogixODFCIncludeTeams
However we don’t use ODFC as FSLogix is in single-profile mode as recommended here…
Configure ODFC containers tutorial – FSLogix | Microsoft Learn
So my question is:
does anyone have new Teams 2.1 working with FSLogix HF4 and single container profile?is ODFC required for Teams 2.1 to operate? If so is there any definitive MS documentation to say this as it seems rather vague and support are not giving us any further informationhas anyone got a stable non-persistent VDI desktop working with Teams 2.1 and FSLogix in general?
Any input much appreciated as it feels like we’ve hit a wall here at present. The MS documentation suggests Hotfix 4 is meant to be the supported configuration for Teams 2.x but struggling to find evidence of a working setup.
As an aside the reason we’re running FSLogix in the first place is in order for OneDrive client to be deployed onto our non-persistent VDI machines as Microsoft don’t support Roaming Profiles for this (which is what we used for roaming user data previously)
Hi all, We’ve been testing the latest Teams 2.1 Bootstrapper on our non-persistent Horizon VDI machines but having issues once we bring FSLogix into the mix. We are able to deploy new Teams onto our base image and when using a local profile it launches and runs as expected from the shortcut in the Start Menu. Similarly on our physical PCs Classic Teams > New Teams upgrades without issue (we’re not running FSLogix on physical machines… yet) When logging in with FSLogix enabled (frxtray shows version 2.9.8228.50276) the Teams shortcut is present, however clicking it produces a white progress bar and no further action. We have updated our Redirections.xml to one we found here Teams 2.1 with FSLogix setup guide – Jeff Riechers Technical Site If we look at the properties of the Windows Store App for Teams it returns 16KB, which seems wrong? Looking in Event Viewer AppxPackaging log we see this error, can’t find much online relating to it. App manifest validation warning: Declared namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/7 is inapplicable, it will be ignored during manifest processing. I note from another thread that there’s a GPO for ODFC called IncludeTeams that needs to be turned on to roam the new Teams cache etc. https://learn.microsoft.com/en-us/microsoftteams/new-teams-vdi-requirements-deployHKEY_LOCAL_MACHINESOFTWAREPoliciesFSLogixODFCIncludeTeams However we don’t use ODFC as FSLogix is in single-profile mode as recommended here… Configure ODFC containers tutorial – FSLogix | Microsoft Learn Using the ODFC container in a dual container configuration isn’t necessary or recommended.So my question is:does anyone have new Teams 2.1 working with FSLogix HF4 and single container profile?is ODFC required for Teams 2.1 to operate? If so is there any definitive MS documentation to say this as it seems rather vague and support are not giving us any further informationhas anyone got a stable non-persistent VDI desktop working with Teams 2.1 and FSLogix in general?Any input much appreciated as it feels like we’ve hit a wall here at present. The MS documentation suggests Hotfix 4 is meant to be the supported configuration for Teams 2.x but struggling to find evidence of a working setup. As an aside the reason we’re running FSLogix in the first place is in order for OneDrive client to be deployed onto our non-persistent VDI machines as Microsoft don’t support Roaming Profiles for this (which is what we used for roaming user data previously) Read More
How can I change list Alphabetically from last name to first?
Hello,
I have a list of contacts that I would like to share with an elderly gentleman that knows most of them by first name but my list is by last name. Is there a way to do this without re-writing it?
Thank you all you excel-lent! experts! Sorry, couldn’t help myself…
Hello, I have a list of contacts that I would like to share with an elderly gentleman that knows most of them by first name but my list is by last name. Is there a way to do this without re-writing it? Thank you all you excel-lent! experts! Sorry, couldn’t help myself… Read More
QBCFMonitorService Not Running – How to Fix This?
Hi everyone,
I’m currently having an issue with my Quick_Books Desktop where I’m getting an error that says “QBCFMonitorService Not Running”. This is causing problems with my Quick_Books functioning correctly.
I’ve tried restarting my computer and ensuring that all Windows updates are installed, but the error persists. Has anyone encountered this issue before? What steps can I take to resolve it?
Hi everyone,I’m currently having an issue with my Quick_Books Desktop where I’m getting an error that says “QBCFMonitorService Not Running”. This is causing problems with my Quick_Books functioning correctly.I’ve tried restarting my computer and ensuring that all Windows updates are installed, but the error persists. Has anyone encountered this issue before? What steps can I take to resolve it? Read More
Error in Time when using formula
I schedule device update maintenance windows for the company I work for, and we use something called scopesheets, where we pour all the info about the schedule, the devices, the files to be used, the method of procedure, etc… In the Schedule tab, I have to specify the dates and times for different time zones, one for the tool we use to schedule the work, one for the customer time zone, and one for the implementation engineer time zone. Since it was tedious having to modify all three groups of dates and times when a modification was needed, I started to use formulas to calculate them, I enter the date and time of the tool we use, and the formulas calculate the date and time for the other two groups.
For example, for the time I use “=D10- (1/24)” being “D10” the source cell and the minus and the “1” are variables that depends on how many hours before or after the target time zone is… Now, the problem is that, if the formula has to calculate a “negative” hour, meaning that my source time is something like 1 AM, and one of the other times is something like 11 PM from the day before, I get and error that says “Dates and times that are negative or too large show as #####” and the cells displays a bunch of “#####”
Is there any way to avoid this? To make Excel show the correct time?
I schedule device update maintenance windows for the company I work for, and we use something called scopesheets, where we pour all the info about the schedule, the devices, the files to be used, the method of procedure, etc… In the Schedule tab, I have to specify the dates and times for different time zones, one for the tool we use to schedule the work, one for the customer time zone, and one for the implementation engineer time zone. Since it was tedious having to modify all three groups of dates and times when a modification was needed, I started to use formulas to calculate them, I enter the date and time of the tool we use, and the formulas calculate the date and time for the other two groups. For example, for the time I use “=D10- (1/24)” being “D10” the source cell and the minus and the “1” are variables that depends on how many hours before or after the target time zone is… Now, the problem is that, if the formula has to calculate a “negative” hour, meaning that my source time is something like 1 AM, and one of the other times is something like 11 PM from the day before, I get and error that says “Dates and times that are negative or too large show as #####” and the cells displays a bunch of “#####”Is there any way to avoid this? To make Excel show the correct time? Read More
Unable To Join the Microsoft AI Cloud Partner Program
Hi All,
Apologies if this isn’t the correct place for this support request but I’ve been going round in circles trying to find somewhere to ask this question and this is my last resort.
I’m trying to join the Microsoft AI Cloud Partner Program. I’ve successfully created an account with Azure but when I navigate to join the partner program and login using my Azure account’s credentials I don’t see any options to enroll with the partner program. I just see the attached:
I’ve tried this a few times and can’t get past this point, does anyone know what I’m doing wrong please?
Many thanks,
James
Hi All, Apologies if this isn’t the correct place for this support request but I’ve been going round in circles trying to find somewhere to ask this question and this is my last resort. I’m trying to join the Microsoft AI Cloud Partner Program. I’ve successfully created an account with Azure but when I navigate to join the partner program and login using my Azure account’s credentials I don’t see any options to enroll with the partner program. I just see the attached: I’ve tried this a few times and can’t get past this point, does anyone know what I’m doing wrong please? Many thanks, James Read More
Outlook crashes when any type of image is in the signature or body of the email
Faulting application name: OUTLOOK.EXE, version: 16.0.17726.20160, time stamp: 0x668c4ed0
Faulting module name: OLMAPI32.DLL, version: 16.0.17726.20016, time stamp: 0x6657bbc3
Exception code: 0xc0000005
Fault offset: 0x00153e17
Faulting process id: 0x0x39AC
Faulting application start time: 0x0x1DAD9217F2040D7
Faulting application path: C:Program Files (x86)Microsoft OfficerootOffice16OUTLOOK.EXE
Faulting module path: C:Program Files (x86)Microsoft OfficerootOffice16OLMAPI32.DLL
Report Id: 8ecc7762-fb11-4c6b-80d5-f5bfd1465cbe
Faulting package full name:
Faulting package-relative application ID:
Windows 11 Enterprise all latest patches applied from July 9th patch release
Office 365
Microsoft® Outlook® for Microsoft 365 MSO (Version 2406 Build 16.0.17726.20078) 32-bit
Dell Optiplex 7010 i5 16GB ram 256GB ssd
Resolutions tried:
Reinstalled Office 365
Removed and rebuilt outlook profile
sfc/scannow
Office online repair tool.
Removed all patches from Jul 9th patch release
Faulting application name: OUTLOOK.EXE, version: 16.0.17726.20160, time stamp: 0x668c4ed0Faulting module name: OLMAPI32.DLL, version: 16.0.17726.20016, time stamp: 0x6657bbc3Exception code: 0xc0000005Fault offset: 0x00153e17Faulting process id: 0x0x39ACFaulting application start time: 0x0x1DAD9217F2040D7Faulting application path: C:Program Files (x86)Microsoft OfficerootOffice16OUTLOOK.EXEFaulting module path: C:Program Files (x86)Microsoft OfficerootOffice16OLMAPI32.DLLReport Id: 8ecc7762-fb11-4c6b-80d5-f5bfd1465cbeFaulting package full name:Faulting package-relative application ID: Windows 11 Enterprise all latest patches applied from July 9th patch releaseOffice 365 Microsoft® Outlook® for Microsoft 365 MSO (Version 2406 Build 16.0.17726.20078) 32-bit Dell Optiplex 7010 i5 16GB ram 256GB ssd Resolutions tried:Reinstalled Office 365Removed and rebuilt outlook profilesfc/scannowOffice online repair tool.Removed all patches from Jul 9th patch release Read More
SharePoint Calculated Column Refuses to Return a Correct Date!
This is frustrating! So many things have quit working in SharePoint!
Here’s the latest – it worked fine for years and now it doesn’t:
=[Last Review Date] + [Review Frequency]
(Last Review Date is a date field; Review Frequency is a number such as 90)
It returns all dates as 1900! I’ve never had this problem before. I’ve tried all the workarounds suggested by CoPilot, but none work. Is this just another of the string of temporarily not-working functions in 365? This has been a very trying month, MSFT!
Thanks so much for any help you can give 🙂
This is frustrating! So many things have quit working in SharePoint!Here’s the latest – it worked fine for years and now it doesn’t:=[Last Review Date] + [Review Frequency](Last Review Date is a date field; Review Frequency is a number such as 90)It returns all dates as 1900! I’ve never had this problem before. I’ve tried all the workarounds suggested by CoPilot, but none work. Is this just another of the string of temporarily not-working functions in 365? This has been a very trying month, MSFT!Thanks so much for any help you can give 🙂 Read More
Facing problem related to wi-fi.
Hi,
I am having issue connecting to wi-fi.I have tried all the troubleshooting options, which led to repair inplace upgrade (RIU) solution that is not feasible due to my advanced Windows version.Can u please help me out.
Hi, I am having issue connecting to wi-fi.I have tried all the troubleshooting options, which led to repair inplace upgrade (RIU) solution that is not feasible due to my advanced Windows version.Can u please help me out. Al Junry – 8:34 PM Read More