Month: June 2024
RE: help with powershell script please
hi i need help with a powershell script to get all the calendar permissions that a particular user has its an on prem exchange. This is my code so far. I need access rights, identity and user i need this data exported to a csv. It would be good if i could set the para to also be for a few users that im after.
Get-Mailbox | ForEach-Object { Get-MailboxFolderPermission (($_.PrimarySmtpAddress.ToString())+”:Calendar”) -User -ErrorAction SilentlyContinue} | select-object -property @{Label=’Identity,User,AccessRights’; expression={$_.accessrights -join ‘;’}} |Export-CSV -Path C:Tempuser.csv -NoTypeInformation
then was told to add this via reddit :-
select-object -property @{Label=’AccessRights’; expression={$_.accessrights -join ‘;’}
unfortunately they arent very helpful or willing to which i find is rude so im turning to this community. I just want the script i need it today please I have not got time to go backwards and forwards with different things its not hard someone must know how to format what i want. I will work out later with learning more of scripting. Right now im on a time contra
hi i need help with a powershell script to get all the calendar permissions that a particular user has its an on prem exchange. This is my code so far. I need access rights, identity and user i need this data exported to a csv. It would be good if i could set the para to also be for a few users that im after. Get-Mailbox | ForEach-Object { Get-MailboxFolderPermission (($_.PrimarySmtpAddress.ToString())+”:Calendar”) -User -ErrorAction SilentlyContinue} | select-object -property @{Label=’Identity,User,AccessRights’; expression={$_.accessrights -join ‘;’}} |Export-CSV -Path C:Tempuser.csv -NoTypeInformation then was told to add this via reddit :- select-object -property @{Label=’AccessRights’; expression={$_.accessrights -join ‘;’} unfortunately they arent very helpful or willing to which i find is rude so im turning to this community. I just want the script i need it today please I have not got time to go backwards and forwards with different things its not hard someone must know how to format what i want. I will work out later with learning more of scripting. Right now im on a time contra Read More
Login onedrive developer … Help me…
Hi !
I have a OneDrive account and have set up two-factor authentication using the Microsoft Authenticator app on my phone for login verification. My phone is currently broken, and I cannot log into my existing account. Could you please assist me in logging in on my computer?
Thank you very much!
Hi !I have a OneDrive account and have set up two-factor authentication using the Microsoft Authenticator app on my phone for login verification. My phone is currently broken, and I cannot log into my existing account. Could you please assist me in logging in on my computer?Thank you very much! Read More
Simulink start page stuck on infinite loading screen
I am using Matlab 2022b. This is the behavior I get when opening Matlab.
Selecting the Matlab application once will open two seperate Matlab windows.
Matlab itself runs fine (I can run
Opening Simulink loads the Simulink start page and once I select a project it gets stuck in an infinite loading loop. I have tried reinstalling and I get the same behavior.I am using Matlab 2022b. This is the behavior I get when opening Matlab.
Selecting the Matlab application once will open two seperate Matlab windows.
Matlab itself runs fine (I can run
Opening Simulink loads the Simulink start page and once I select a project it gets stuck in an infinite loading loop. I have tried reinstalling and I get the same behavior. I am using Matlab 2022b. This is the behavior I get when opening Matlab.
Selecting the Matlab application once will open two seperate Matlab windows.
Matlab itself runs fine (I can run
Opening Simulink loads the Simulink start page and once I select a project it gets stuck in an infinite loading loop. I have tried reinstalling and I get the same behavior. simulink MATLAB Answers — New Questions
Solve ill-conditioned linear systems
Consider the following linear system of equations :
When solving this system using MATLAB, I found that the condition number of matrix is extremely large, indicating that the system is ill-conditioned. Some characteristics of the system are as follows:
Condition number of : 2.715e+06
Determinant of : 0.5196
I have attempted several methods, including least squares, normalization, and regularization, but none have produced satisfactory results in terms of accuracy. The matrix and is currently stored as double type, and I have also tried using ‘vpa’ to control the number of significant digits, but it was in vain. Are there any effective methods to solve this system, or is it possible to identify and eliminate highly correlated row vectors to ensure the accuracy of the remaining solutions?
Matlab data ‘.mat’:
https://1drv.ms/u/s!AlQCuPoSp7emgaNizYy43ea4fhgecg?e=vd3ubh
%% Load data
load("cal_linear_equations.mat");
%% Evaluate and calculate
DET_A=det(A_coeff);
Cond_A=cond(A_coeff);
Sol_real=A_coeffb_coeff;
Error=A_coeff*Sol_real-b_coeff;
max(abs(Error));Consider the following linear system of equations :
When solving this system using MATLAB, I found that the condition number of matrix is extremely large, indicating that the system is ill-conditioned. Some characteristics of the system are as follows:
Condition number of : 2.715e+06
Determinant of : 0.5196
I have attempted several methods, including least squares, normalization, and regularization, but none have produced satisfactory results in terms of accuracy. The matrix and is currently stored as double type, and I have also tried using ‘vpa’ to control the number of significant digits, but it was in vain. Are there any effective methods to solve this system, or is it possible to identify and eliminate highly correlated row vectors to ensure the accuracy of the remaining solutions?
Matlab data ‘.mat’:
https://1drv.ms/u/s!AlQCuPoSp7emgaNizYy43ea4fhgecg?e=vd3ubh
%% Load data
load("cal_linear_equations.mat");
%% Evaluate and calculate
DET_A=det(A_coeff);
Cond_A=cond(A_coeff);
Sol_real=A_coeffb_coeff;
Error=A_coeff*Sol_real-b_coeff;
max(abs(Error)); Consider the following linear system of equations :
When solving this system using MATLAB, I found that the condition number of matrix is extremely large, indicating that the system is ill-conditioned. Some characteristics of the system are as follows:
Condition number of : 2.715e+06
Determinant of : 0.5196
I have attempted several methods, including least squares, normalization, and regularization, but none have produced satisfactory results in terms of accuracy. The matrix and is currently stored as double type, and I have also tried using ‘vpa’ to control the number of significant digits, but it was in vain. Are there any effective methods to solve this system, or is it possible to identify and eliminate highly correlated row vectors to ensure the accuracy of the remaining solutions?
Matlab data ‘.mat’:
https://1drv.ms/u/s!AlQCuPoSp7emgaNizYy43ea4fhgecg?e=vd3ubh
%% Load data
load("cal_linear_equations.mat");
%% Evaluate and calculate
DET_A=det(A_coeff);
Cond_A=cond(A_coeff);
Sol_real=A_coeffb_coeff;
Error=A_coeff*Sol_real-b_coeff;
max(abs(Error)); linear equations, equation, system MATLAB Answers — New Questions
Is Subsite really necessary in Sharepoint Online?
Hello everyone! I hope everyone is well!
Perhaps it is not a technical doubt but rather a need or concept.
What is the need for “subsites” in Sharepoint Online today? I ask this because thinking about the natural ways of creating and using websites, it is not necessary.
But trying to be a person of good will, the user still wanting to have a Subsite, I, as the Environment Administrator, cannot list this “site” nor can I observe where it uses the space in question. Then? Where does it consume space? But before that, really, what is the use of a subsite? And how do you then list those that exist in the environment, use, volume, etc.
It may seem like endless nonsense and I apologize for the inconvenience with something that may seem so trivial, but it has taken away my peace of mind in the last few hours thinking about it.
Thank you very much for your attention
Good Regards
Hello everyone! I hope everyone is well! Perhaps it is not a technical doubt but rather a need or concept. What is the need for “subsites” in Sharepoint Online today? I ask this because thinking about the natural ways of creating and using websites, it is not necessary. But trying to be a person of good will, the user still wanting to have a Subsite, I, as the Environment Administrator, cannot list this “site” nor can I observe where it uses the space in question. Then? Where does it consume space? But before that, really, what is the use of a subsite? And how do you then list those that exist in the environment, use, volume, etc. It may seem like endless nonsense and I apologize for the inconvenience with something that may seem so trivial, but it has taken away my peace of mind in the last few hours thinking about it. Thank you very much for your attentionGood Regards Read More
New Real-Time Intelligence in Microsoft Fabric | Event-based actions and insights
Quickly spot real-time indicators of issues as they unfold, without the need to poll or manually monitor changes in your data and without writing a single line of code. That’s what the new Real-Time Intelligence service in Microsoft Fabric is all about. It extends Microsoft Fabric to the world of streaming data across your IoT and operational systems. Whether you are a data analyst or business user, you can easily explore high-granularity, high-volume data and spot issues before they impact your business. And as a Data engineer, you can more easily track system level changes across your data estate to manage and improve your pipelines.
Courtney Berg, from the Microsoft Fabric product team, joins Jeremy Chapman to explore all of the updates, explain how Real-Time Intelligence adds to what was possible with Data Activator and Microsoft Synapse Real-Time Analytics and demonstrates how this would work to derive insights and take actions automatically in a scenario with multiple live data streams across different data types.
Spot issues before they impact business.
Get insights on high granularity, high-volume data with Real-Time Intelligence in Microsoft Fabric.
Use Copilot to stay updated.
Generate queries swiftly, enabling real-time insights to spot hidden issues and make informed decisions — all within a live and filterable dashboard interface. See it here.
Move from schedule-driven to event-driven.
Real-time alerts and analytics tailored to your business needs. Check out Real-Time Intelligence here.
Watch the full video here:
QUICK LINKS:
00:00 — Real-Time Intelligence
00:54 — How it’s different
02:07 — Eventstream and Real-Time Hub
03:27 — Synapse Real-Time Analytics
04:03 — See it in action
05:25 — Use Copilot to stay updated
06:28 — Filter data and set up alerts
08:25 — Sophisticated Logic and Data Integration
09:48 — Data integration to Real-Time Hub
11:23 — Workflow automation
12:18 — System events
13:30 — Additional areas of use for Real-Time Intelligence
14:02 — Wrap up
Link References
Check out Real-Time Intelligence at https://aka.ms/RealTimeIntelligence
For all things Microsoft Fabric, go to https://microsoft.com/fabric
Unfamiliar with Microsoft Mechanics?
As Microsoft’s official video series for IT, you can watch and share valuable content and demos of current and upcoming tech from the people who build it at Microsoft.
Subscribe to our YouTube: https://www.youtube.com/c/MicrosoftMechanicsSeries
Talk with other IT Pros, join us on the Microsoft Tech Community: https://techcommunity.microsoft.com/t5/microsoft-mechanics-blog/bg-p/MicrosoftMechanicsBlog
Watch or listen from anywhere, subscribe to our podcast: https://microsoftmechanics.libsyn.com/podcast
Keep getting this insider knowledge, join us on social:
Follow us on Twitter: https://twitter.com/MSFTMechanics
Share knowledge on LinkedIn: https://www.linkedin.com/company/microsoft-mechanics/
Enjoy us on Instagram: https://www.instagram.com/msftmechanics/
Loosen up with us on TikTok: https://www.tiktok.com/@msftmechanics
Video Transcript:
– What if I told you you can quickly spot real-time indicators of issues as they unfold without the need to poll or manually monitor changes in your data and without writing a single line of code. That’s the goal of the new Real-Time Intelligence service, part of Microsoft Fabric’s platform. It extends Fabric to the world of streaming data across your IoT and operational systems. As a data analyst or a business user, you can easily explore high-granularity, high-volume data, and spot issues before they impact the business, and as a data engineer, you can more easily track system-level changes across your data estate to manage and improve your pipelines, and today I’m joined by Courtney Berg, who also helped build Microsoft Fabric. Welcome.
– Hey, Jeremy. Thanks for having me on the show.
– Thank you, and congrats on the availability of Real-Time Intelligence in Microsoft Fabric today. Now, most of us are familiar with event orchestration systems, but this is a lot different than that, so what makes this different?
– Well, this will give you an intelligent, unified, no-code way to listen and analyze real-time changes in your data wherever it lives. So, for example, you might have telemetry data collected from your business systems sitting in other clouds, along with streaming data of your IoT devices on the edge. You can pull from the sources you want and transform and combine the data in real time. And then with interactive real-time analysis, you can explore the data, spot emerging patterns, and isolate that single data point that could be the first indicator of an issue. We make query authoring easier with generative AI to help you quickly discover insights, and you can act faster by establishing rich conditions for active monitoring and defining what should happen next, so whether it’s notifying the right team or triggering automated workflows for system-level remediations. So, you can build your own custom integrated and automated systems to detect changes in data across your estate, analyze these events in context, and trigger early actions, all without writing a single line of code.
– Right, and if we compare that to most event-based systems out there today that are tied to specific data sources and those aren’t listening to changes in data at an aggregate level, this is changing things significantly, so what’s behind that?
– Well, as you mentioned, Real-Time Intelligence is part of Microsoft Fabric, and what it does is it orchestrates the process of being able to ingest streaming and event data in real time, analyze and transform it, and then act on it. The way that it does this is through a number of capabilities. So, first is Eventstream, which lets you bring in data, whether it’s from Microsoft Services, external sources, or even change data feeds from operational databases using available connectors, and a major thing we’re solving for here is how to capture real-time data in motion so that you could directly act on insights while they’re fresh. So here, underlying everything is the new Real-Time hub. This provides a single location for streaming data, as well as discrete event data across your organization happening at a system level. Now importantly, as a central location, it’s also cataloging the data, and it makes it easy to search for and discover real-time data: something that’s been historically difficult. And from here, you can take two paths to make a decision for your available data. So first, as data comes in, you can take immediate action using our Reflex capability, which is part of Data Activator, to look for rich conditions to trigger notifications or specific processes. Secondly, your data can go directly into our Eventhouse that provides a unified workspace to work with all of your data and is optimized for time series data. From there, you can easily query it with KQL and visualize it on our Real-Time Dashboard before acting on it with Reflex.
– So, just to pause you there for a second, so where do existing components for Fabric like Synapse Real-Time Analytics then fit into the picture?
– Yeah, so what we’re doing is we’re removing those tech silos so that we could better orchestrate the entire lifecycle, from capturing, analyzing, and acting on Real-Time Intelligence. We’ve built Real-Time Intelligence on top of proven technologies while adding new functionality. So, capabilities from Synapse Real-Time Analytics and Data Activator in Fabric have been unified, and there’s also a number of real-time streaming analytics and data exploration features from the Azure platform, along with Fabric’s strength in data visualization from Power BI that we bring in under the covers.
– Right, this is really going to provide a familiar experience, while expanding the approach to addressing the specific challenges of working with real-time data.
– That’s right, and all your Entra ID, information protection and governance policies, they all apply here.
– So, can you walk us through an example with all this running?
– Sure, I’m going to show you a scenario focused on business events where we take change data recorded from one system to another that causes a butterfly effect. In this case, we’re a direct-to-consumer food retailer. So, imagine it’s a hot spell and our sales and marketing team want to improve customer loyalty and satisfaction. They’ve come up with this idea of an aggressive discount on ice cream, which sounds like a great idea, but there’s a chain of dependencies with different teams and systems on point, and it’s not until you integrate these systems together that you can catch and react to what’s unfolding in real time. Plus, we want to catch that sweet spot of early indicators, and Real-Time Intelligence will do that for you with zero code. Here in our Real-Time Dashboard, you can see we’ve brought in all the relevant information across multiple systems into one view. Data is coming in from our sales and stock system, which gets updated hourly, I have real-time information from our IoT sensors with the refrigeration temperatures in our stores, and on the right here, I see data from Postgres backend of our mobile delivery app, showing orders ready to be picked up and available drivers, and in fact, we see average temperatures across our freezers are increasing over the last few hours.
– So, just because we have perishable goods here, and like you said, it’s a hot day, we’ve also got logistical dependencies, including different teams that are on point, there is a lot of things that could potentially go wrong here, so how do we get ahead of something like this?
– Yeah, listen closely, because the devil’s in the details. You’ll notice that our dashboard currently shows aggregate numbers across multiple freezers across different departments. So, the first gotcha is I don’t have a view of the individual freezer levels to be able to spot hidden issues with the freezers containing the ice cream, so let’s dig in a little bit more. Now, I can manually query to see what’s going on, but to save time, I’ll ask Copilot to do this for me. I’ll paste in my prompt, “Show the average temperature by department as column chart,” and it generates a KQL query that I can insert to get my chart. This looks pretty useful, so I’ll pin it to a dashboard to keep me updated in real time. Now, I’ll select the existing dashboard, give the tile a name, and add it. I’ll move it where I want it, resize it, and now I have visibility over freezers by each department.
– So, I can tell there’s a lot of different things to look into here, so from the report directly, can we slice and dice that data?
– Yes, everything is filterable live and can be queried on each tile. Let’s explore the freezer data some more. I’m going to drill into the aggregate freezer temperature. This should normally be pretty flat over time. I’ll start by removing the summarization to look at the data across all of the stores. There’s way too much here, so I can aggregate it in different ways. I’ll start with the average temperature, group it by timestamp, and also by department. Now, I can see the frozen dessert department is trending up over time. Now, we found something in the information that’s interesting. The temperatures in the frozen dessert freezers are moving up, which is not a good thing when you’re dealing with ice cream, so of course, I get notified of the issue from any of these tiles. I could set up alert if a threshold is exceeded, but that wouldn’t be super useful in our case, because we’ve alerted it to change the aggregate temperature across multiple freezers.
– That makes sense. So, could we zero it in then on the freezers that we care about, maybe the frozen dessert ones that have our ice cream?
– Yeah, absolutely. You can get pretty granular here. To go into particular data streams, the Real-Time hub is the best option. Here, I can find and use all the streaming data in Fabric. I can filter with these options on top and I can search through these streams. I’ll start typing “IoT” to pull up all of my IoT sensors. This top row represents our freezer sensors. In the details, I can see here what other items are using the stream, and then over here on the right, I get to preview the actual events coming in with the details about each event, and from here I can also set an alert. I’ll do that, and at this time, I’ll set my condition to be on event grouped by. In the grouping field, I’ll select FreezerID, in when, I’ll choose temperature, for the condition, I’ll select it becomes greater than, and for the value, I’ll set it to 29. So now that if any freezer goes above that threshold, I can get alerted in Teams, and I’ll use the same workspace as before and the same item name, TemperatureAlerts.
– So now, you can see all these alerts per freezer as they happen.
– Yeah, and the logic can get more sophisticated to look at business conditions and how they’re changing when the alert condition happens over a period of time, not just event by event. So, let’s look here. In fact, if I go into the reflex that was created, I can see the trigger and the individual streams that it’s monitoring. So, it looks like freezers D1 and D2 have gone over our threshold, so we’re seeing a few indicators of issues.
– So, that’s one sign, but you might also recall that we saw some orders and wait times that were trending up in the dashboard, so what can we tell from that?
– Yeah, that’s valuable data. That might give us an early warning from our mobile customer order app. So, if I go back into Real-Time hub and search for your orders data, I can’t find that information yet, so let’s bring that data in from our app’s database. I can add more data to integrate a complete view from Real-Time hub. I click Get Events. You can see all the data sources that you connect to, like Confluent, a few Azure services, Google Pub Sub, and Amazon Kinesis. In this list, there are a few marked CDC, which use the open-source Debezium framework that we host for you. Here, I’ll connect a Postgres database and listen for the changes. From there, you’ll add the connection details, the server, and then the database instance. And I need to specify other Eventstreams that are going to manage the connection stream, And finally, I’ll put in the name of the table that I want to monitor for changes. In this case, it’s delivery orders. Now, I just need to confirm it and that’s it.
– So, is that then going to streamify our CDC data feed in this case so that we can get real-time updates from our Postgres database?
– Exactly, in just a few steps. In the Eventstream, I can see and transform the events. This is a preview of the list of all the changes to the orders as they come in. If I go into Edit, I can do all sorts of transformations, like aggregate, expand, filter, group, or join the data to integrate multiple events to a cleaned up feed before I publish it back to Real-Time hub. I’ll choose Manage Fields, and now I can select the fields by reaching into that schema under the payload, and then order_id, customer_id, order_type, delivery_type, and waitTime. I’ll refresh, and now preview shows me just those fields. This looks pretty good. It’s the sort of output I need, so I can choose from the stream output to publish it back to the Real-Time hub for my orderWaitTime feed, and now it’s configured.
– Okay, so now the data from the mobile delivery app is flowing into the Real-Time hub.
– Yeah, it just takes a moment for those events to come in. Now, I can try the same search as before in Real-Time hub. I’ll search again for those orders, and then there’s the orderWaitTime feed I just created. When I open it, I get a preview of the number of events that have been generated and flowing through the stream. I can see connected items, the event stream, and things that are subscribing to the events, and I can create alerts directly from here as well. To save time, since I showed you this before, I’ll fast forward and head right over to Data Activator, because I already have my trigger ready for when the wait time crosses nine minutes, and it will send out an email.
– And there’s nothing better than getting an email or a Teams notification, except for maybe a mobile app notification, right?
– It’s funny that you mention that. This is right up your alley: workflow automation. So, in this case, I might change the promotion to something that reduces the number of orders but balances it out increasing the average amount of each order. You’ve probably seen examples, where instead of getting 25% off a single item, the promotion might be something like when you spend $100, you save $25. So, instead of an email, I can actually have it start a Power Automate workflow. In fact, in this tab, I’ve created one here. It listens to when the reflex trigger fires, then it creates an approval, and an Adaptive Card is posted in the Teams channel to start a new campaign. This should reduce the number of smaller customer orders and drive higher value orders so that we don’t tie up our drivers. Back in my reflex item, I just need to change the action that I want to have take over to this custom action for the campaign approval, and that’s all I need to do.
– And that’s going to then kick off a Power Automate flow effectively every time that trigger fires, so does this only work then with business-related events?
– It also works with system events too. Every Fabric item generates a system event, and activity in Azure storage does too. We can use these events just like business events. You’ll remember that our inventory system only updates hourly, and we can make that closer to real time. Starting from the pipeline, I’m going to create a new trigger, and then ask it to listen for a particular event in Real-Time hub. Our inventory stock system writes all the recent transactions into Azure storage account. I’ll connect to existing account and choose the correct subscription. Now I’ll choose my storage account, ContosoStockOutput. In Eventstream name, I’ll paste in ContosoStorageEvents. Then I can choose the event types. In my case, I only want the create events, so I’ll deselect everything else. Then I just need to create, and after that, hit Save, and like before, I need to fill in details for the workspace and the new item. I’ll name it EventBasedDataLoad this time, and that’s it. If I head back over to the monitor, you’ll see that the batch sales load succeeded, so now Real-Time Intelligence is listening for events where files are added to my Azure storage account, and will kick off the pipeline automatically. The analytics over the stock system are event driven, so you’ll see updates faster than the hourly poll we had previously.
– And I can see a lot of cases where this would be really useful to Real-Time Intelligence, whether that’s for recommendation engines or for things like generative AI. It could also be used to ground large language models with up-to-date information for a lot more accurate responses.
– Yeah, and of course, you can use system events to start other Fabric jobs. For example, you could run a notebook to train an LLM using real-time streaming data routed into OneLake via Real-Time Intelligence. So, basically any data activity in Fabric can now be event driven rather than scheduled.
– So, it’s really great to see all the updates for Microsoft Fabric, so where can all the folks watching right now go to learn more?
– Yeah, Real-Time Intelligence is in public preview today, and you can learn more at aka.ms/RealTimeIntelligence, and for all things Microsoft Fabric, check out microsoft.com/fabric.
– Thanks so much for joining us today, Courtney, and of course, keep watching Microsoft Mechanics for all the latest tech updates. Be sure to subscribe if you haven’t already, and as always, thank you for watching.
Microsoft Tech Community – Latest Blogs –Read More
What is the Proper Notation for Multi-level Mixed Effects Models
I am a little confused on the proper syntax/notation for multi-level mxied effects models and was wondering what the proper way to write the formula is for these in Matlab? The results for either syntax appear identical except the BLUP names from calling "randomEffects" are different.
From the Multilevel Mixed-Effects Modeling Using MATLAB where state is nested within region they use the syntax (1|REGION) + (1|STATE:REGION).
However, from the fitlme description where to "j th tomato type nested in the k th soil type" the notation used is (1|Soil) + (1|Soil:Tomato).
Thanks,
SethI am a little confused on the proper syntax/notation for multi-level mxied effects models and was wondering what the proper way to write the formula is for these in Matlab? The results for either syntax appear identical except the BLUP names from calling "randomEffects" are different.
From the Multilevel Mixed-Effects Modeling Using MATLAB where state is nested within region they use the syntax (1|REGION) + (1|STATE:REGION).
However, from the fitlme description where to "j th tomato type nested in the k th soil type" the notation used is (1|Soil) + (1|Soil:Tomato).
Thanks,
Seth I am a little confused on the proper syntax/notation for multi-level mxied effects models and was wondering what the proper way to write the formula is for these in Matlab? The results for either syntax appear identical except the BLUP names from calling "randomEffects" are different.
From the Multilevel Mixed-Effects Modeling Using MATLAB where state is nested within region they use the syntax (1|REGION) + (1|STATE:REGION).
However, from the fitlme description where to "j th tomato type nested in the k th soil type" the notation used is (1|Soil) + (1|Soil:Tomato).
Thanks,
Seth fitglme, fitlme MATLAB Answers — New Questions
Cannot find an ADALM-PLUTO radio.
Hi,
at the end of the installation of the Support Package "Communications Toolbox Support Package for Analog Devices ADALM-Pluto Radio" I get an "Hardware Setup Error" that the Adalm-Pluto cannot be found. A view to WIndows System shows the Adalm Pluto.
I tried to unistall an install several times, but it dindn’t help.
MATLAB Version: 9.3.0.713579 (R2017b)
Operating System: Microsoft Windows 10 Home Version 10.0 (Build 17134)Hi,
at the end of the installation of the Support Package "Communications Toolbox Support Package for Analog Devices ADALM-Pluto Radio" I get an "Hardware Setup Error" that the Adalm-Pluto cannot be found. A view to WIndows System shows the Adalm Pluto.
I tried to unistall an install several times, but it dindn’t help.
MATLAB Version: 9.3.0.713579 (R2017b)
Operating System: Microsoft Windows 10 Home Version 10.0 (Build 17134) Hi,
at the end of the installation of the Support Package "Communications Toolbox Support Package for Analog Devices ADALM-Pluto Radio" I get an "Hardware Setup Error" that the Adalm-Pluto cannot be found. A view to WIndows System shows the Adalm Pluto.
I tried to unistall an install several times, but it dindn’t help.
MATLAB Version: 9.3.0.713579 (R2017b)
Operating System: Microsoft Windows 10 Home Version 10.0 (Build 17134) adalm-pluto MATLAB Answers — New Questions
how to change latex default font in figure?
set(STA1,’A_Label’,’String’,’$(i+n)-C_{10}$’,’Interpreter’,’latex’,’FontSize’,18,’FontWeight’,’bold’)
When I use latex interpreter ,it can‘t use Times new roman style。how to solve this problem?
(在使用Latex编译器画图时,发现只能使用默认字体,不能更改为新罗马字体,如何解决?)set(STA1,’A_Label’,’String’,’$(i+n)-C_{10}$’,’Interpreter’,’latex’,’FontSize’,18,’FontWeight’,’bold’)
When I use latex interpreter ,it can‘t use Times new roman style。how to solve this problem?
(在使用Latex编译器画图时,发现只能使用默认字体,不能更改为新罗马字体,如何解决?) set(STA1,’A_Label’,’String’,’$(i+n)-C_{10}$’,’Interpreter’,’latex’,’FontSize’,18,’FontWeight’,’bold’)
When I use latex interpreter ,it can‘t use Times new roman style。how to solve this problem?
(在使用Latex编译器画图时,发现只能使用默认字体,不能更改为新罗马字体,如何解决?) latex, fontname, times new roman MATLAB Answers — New Questions
Non-zero Gaussian noise in image processing
How can i Generate Gaussian Noise with a non zero meadian?
i found this code put i do not understand the division by 256.
where (I) is the cameraman image.
%Generating Gaussian Noise
mean= 40/256; Std= 20; var=(Std/256)^2;
G=imnoise(I,’gaussian’,mean,var);
imshow(G)
title (‘Image with Gaussian Noise’)How can i Generate Gaussian Noise with a non zero meadian?
i found this code put i do not understand the division by 256.
where (I) is the cameraman image.
%Generating Gaussian Noise
mean= 40/256; Std= 20; var=(Std/256)^2;
G=imnoise(I,’gaussian’,mean,var);
imshow(G)
title (‘Image with Gaussian Noise’) How can i Generate Gaussian Noise with a non zero meadian?
i found this code put i do not understand the division by 256.
where (I) is the cameraman image.
%Generating Gaussian Noise
mean= 40/256; Std= 20; var=(Std/256)^2;
G=imnoise(I,’gaussian’,mean,var);
imshow(G)
title (‘Image with Gaussian Noise’) gaussian noise, digital image processing, gaussian noise with non zero median MATLAB Answers — New Questions
Inconsistent Transcript File Formats in Microsoft Teams
I downloaded transcript files from two recorded meetings in Microsoft Teams.
However, the formats of the two files are different.
The first one is as follows:
00:00:00.000 –> 00:00:00.810
<v {SPEAKER_NAME}>Hello.</v>
The second one is as follows:
00:00:00.000 –> 00:00:00.810
Hello.
Why doesn’t the second file include the speaker’s name?
What could be the possible reasons for this?
The organizers of the meetings were different. Could it be related to the version of Teams that the meeting organizers were using?
Please let me know.
Thank you.
I downloaded transcript files from two recorded meetings in Microsoft Teams.However, the formats of the two files are different. The first one is as follows:00:00:00.000 –> 00:00:00.810
<v {SPEAKER_NAME}>Hello.</v> The second one is as follows:00:00:00.000 –> 00:00:00.810
Hello. Why doesn’t the second file include the speaker’s name?What could be the possible reasons for this?The organizers of the meetings were different. Could it be related to the version of Teams that the meeting organizers were using?Please let me know. Thank you. Read More
Is there a refund for copilot for microsoft 365?
I used to be a copilot pro user with my personal account, but i didnt like it, so I canceled my subscription. Recently I have seen some updates on copilot and I want to give it another try, but I have seen that these updates are for copilot for microsoft 365 users (those with a business account).
So I opened a business account just for trying these new features, but I have to pay the whole year subscription, and I was wondering if, in case I don’t like it either, can I get a refund from these subscription (copilot for microsoft 365 for a business account, a 1 year subscription). I’m from Mexico, if that helps.
Thanks!
I used to be a copilot pro user with my personal account, but i didnt like it, so I canceled my subscription. Recently I have seen some updates on copilot and I want to give it another try, but I have seen that these updates are for copilot for microsoft 365 users (those with a business account).So I opened a business account just for trying these new features, but I have to pay the whole year subscription, and I was wondering if, in case I don’t like it either, can I get a refund from these subscription (copilot for microsoft 365 for a business account, a 1 year subscription). I’m from Mexico, if that helps. Thanks! Read More
how to apply mask on image of a size
I have apply noise to an image, now I would like to add mask on the image of size 3×3.
This is the code I am using to add noise but not able to add mask in it.
I = imread(‘sample2.jpg’);
I = rgb2gray(I);
noise_type = ‘salt & pepper’; % ‘gaussian’ or ‘poisson’ are also valid
noises = imnoise(im, noise_type, 0.09);
nim = im;
nim(noises == 0) = 0;
%# plot
figure; subplot(1,2,1);
imagesc(nim);
colormap(gray);
title(‘the noisy image’);I have apply noise to an image, now I would like to add mask on the image of size 3×3.
This is the code I am using to add noise but not able to add mask in it.
I = imread(‘sample2.jpg’);
I = rgb2gray(I);
noise_type = ‘salt & pepper’; % ‘gaussian’ or ‘poisson’ are also valid
noises = imnoise(im, noise_type, 0.09);
nim = im;
nim(noises == 0) = 0;
%# plot
figure; subplot(1,2,1);
imagesc(nim);
colormap(gray);
title(‘the noisy image’); I have apply noise to an image, now I would like to add mask on the image of size 3×3.
This is the code I am using to add noise but not able to add mask in it.
I = imread(‘sample2.jpg’);
I = rgb2gray(I);
noise_type = ‘salt & pepper’; % ‘gaussian’ or ‘poisson’ are also valid
noises = imnoise(im, noise_type, 0.09);
nim = im;
nim(noises == 0) = 0;
%# plot
figure; subplot(1,2,1);
imagesc(nim);
colormap(gray);
title(‘the noisy image’); mask on image MATLAB Answers — New Questions
How to generate c code for simulink example model, but just for a certain block.
I am using simulink example model titled "Grid tied inverter optimal current control" and i want to generate the c code for hardware implementation for the TI F28379D device. The issue is , the c code generted create dmany lines of code for the whole model but i just want the controller (DSP) code. how do i do that?I am using simulink example model titled "Grid tied inverter optimal current control" and i want to generate the c code for hardware implementation for the TI F28379D device. The issue is , the c code generted create dmany lines of code for the whole model but i just want the controller (DSP) code. how do i do that? I am using simulink example model titled "Grid tied inverter optimal current control" and i want to generate the c code for hardware implementation for the TI F28379D device. The issue is , the c code generted create dmany lines of code for the whole model but i just want the controller (DSP) code. how do i do that? simulink, code generation, dsp, hardware, embedded coder MATLAB Answers — New Questions
Clicking Outlook.com app support
Why does the link to Outlook.com app support just open your Outlook.com inbox?
That is the opposite of support. I actually need help with an issue that was “fixed” in 1022, but because it was “fixed”, I cannot find help.
Why does the link to Outlook.com app support just open your Outlook.com inbox?That is the opposite of support. I actually need help with an issue that was “fixed” in 1022, but because it was “fixed”, I cannot find help. https://support.microsoft.com/en-US/home/contact?linkquery=Can%27t%20sign%20in%20to%20Outlook.com%20or%20Hotmail Read More
How do I correct the ‘Invalid root outport connection in the referenced model ‘referenced_model’ error in Simulink 7.2 (R2008a)?
I have a model, which contains a referenced model. When I update the main model I receive the following error:
ERROR: Invalid root outport connection in the referenced model ‘referenced_model’. Two different blocks drive the root Outport block 1. To be a valid connection, the root Outport block must be driven by one source port. Use the ‘Invalid Root Inport and Outport block connection’ option on the ‘Model Referencing’ group of the Diagnostics page of the Configuration Parameters dialog box to control reporting of this condition.
What can I do in order to avoid this error?I have a model, which contains a referenced model. When I update the main model I receive the following error:
ERROR: Invalid root outport connection in the referenced model ‘referenced_model’. Two different blocks drive the root Outport block 1. To be a valid connection, the root Outport block must be driven by one source port. Use the ‘Invalid Root Inport and Outport block connection’ option on the ‘Model Referencing’ group of the Diagnostics page of the Configuration Parameters dialog box to control reporting of this condition.
What can I do in order to avoid this error? I have a model, which contains a referenced model. When I update the main model I receive the following error:
ERROR: Invalid root outport connection in the referenced model ‘referenced_model’. Two different blocks drive the root Outport block 1. To be a valid connection, the root Outport block must be driven by one source port. Use the ‘Invalid Root Inport and Outport block connection’ option on the ‘Model Referencing’ group of the Diagnostics page of the Configuration Parameters dialog box to control reporting of this condition.
What can I do in order to avoid this error? MATLAB Answers — New Questions
image overlays to make playing card
Hi I am trying to overlap a picture of a red diamond ontop of another image that I created so that it looks like a playing card. Bleow is the script for the playing card is there a way to combine the red diamond image ontop of the mona lisa?
The mona.lisa.jpg was a just a random jpg i found of mona lisa and crop/coppied/and then flipped to give the effect of a playing card
Also the red diamond was just an image that i pulled off the internet
pic = imread(‘monalisa.jpg’);
top_mona = pic(1:550, 1:743, :);
flipped_mona = imrotate(top_mona,180,’bicubic’);
complete_card = [top_mona; flipped_mona];
imshow(complete_card)Hi I am trying to overlap a picture of a red diamond ontop of another image that I created so that it looks like a playing card. Bleow is the script for the playing card is there a way to combine the red diamond image ontop of the mona lisa?
The mona.lisa.jpg was a just a random jpg i found of mona lisa and crop/coppied/and then flipped to give the effect of a playing card
Also the red diamond was just an image that i pulled off the internet
pic = imread(‘monalisa.jpg’);
top_mona = pic(1:550, 1:743, :);
flipped_mona = imrotate(top_mona,180,’bicubic’);
complete_card = [top_mona; flipped_mona];
imshow(complete_card) Hi I am trying to overlap a picture of a red diamond ontop of another image that I created so that it looks like a playing card. Bleow is the script for the playing card is there a way to combine the red diamond image ontop of the mona lisa?
The mona.lisa.jpg was a just a random jpg i found of mona lisa and crop/coppied/and then flipped to give the effect of a playing card
Also the red diamond was just an image that i pulled off the internet
pic = imread(‘monalisa.jpg’);
top_mona = pic(1:550, 1:743, :);
flipped_mona = imrotate(top_mona,180,’bicubic’);
complete_card = [top_mona; flipped_mona];
imshow(complete_card) overlaping images MATLAB Answers — New Questions
Colour Code missing data
Hi,
My level of experience with Excel would be that of “I know what question to ask google / Chat GPT / Gemini to get an answer” and then implement that answer. Some basic VBA and formula knowledge.
My current challenge is this….. I have 3 columns of data in columns A, B, C.
Column A is a name, Column B is a list of training they have completed and Column C is the list of training that they SHOULD have completed. I have the ‘filter’ on the headers so I can select a name that shows me their completed training.
What I would like is a way to, when I filter by a name (Column A) and it shows me the persons completed training (Column B), it highlights in RED in Column C what training is missing from Column B as matched against Column C and what training is NOT missing in green as matched against Column C.
Not sure if creating rules or a VBA or some formulas would achieve this result. Your assistance would be greatly appreciated.
Thankyou.
Sebastian
Hi, My level of experience with Excel would be that of “I know what question to ask google / Chat GPT / Gemini to get an answer” and then implement that answer. Some basic VBA and formula knowledge. My current challenge is this….. I have 3 columns of data in columns A, B, C. Column A is a name, Column B is a list of training they have completed and Column C is the list of training that they SHOULD have completed. I have the ‘filter’ on the headers so I can select a name that shows me their completed training. What I would like is a way to, when I filter by a name (Column A) and it shows me the persons completed training (Column B), it highlights in RED in Column C what training is missing from Column B as matched against Column C and what training is NOT missing in green as matched against Column C. Not sure if creating rules or a VBA or some formulas would achieve this result. Your assistance would be greatly appreciated. Thankyou. Sebastian Read More
Cannot create a new azure account because it think’s I’m canadian (Support says I cannot fix this)?!
Really frustrating. I’ve never used Azure before, but I was curious about giving it a shot and comparing to AWS and GCP. All azure signup forms are stuck with Canada as the country, and country dropdowns are disabled.
I’ve never even been to Canada!
After a month long back and forth with customer support, they let me know that at some point, I must have accidentally selected Canada when starting the form, and that information got stuck in my account somehow. They said this is permanent, and there’s nothing I can do to change my account’s country (despite never having successfully started using azure!).
This is clearly a bug and shouldn’t be possible – but my email address is permanently associated with Canada, and I can never create a new azure account using this email again unless I decide to move to Canada!
Customer support feels like a dystopian ChatGPT nightmare, continually telling me to use a Canadian address if I want to make an account, despite that being impossible.
Support did let me know that I could make a new email address if I wanted to use Azure, but that feels pretty ridiculous considering I’d like all billing alerts to go to my primary email so I don’t miss them.
Anyway, I just needed to vent. This feels ridiculous and puts an awful taste in my mouth compared to AWS and GCP.
Really frustrating. I’ve never used Azure before, but I was curious about giving it a shot and comparing to AWS and GCP. All azure signup forms are stuck with Canada as the country, and country dropdowns are disabled.I’ve never even been to Canada!After a month long back and forth with customer support, they let me know that at some point, I must have accidentally selected Canada when starting the form, and that information got stuck in my account somehow. They said this is permanent, and there’s nothing I can do to change my account’s country (despite never having successfully started using azure!).This is clearly a bug and shouldn’t be possible – but my email address is permanently associated with Canada, and I can never create a new azure account using this email again unless I decide to move to Canada!Customer support feels like a dystopian ChatGPT nightmare, continually telling me to use a Canadian address if I want to make an account, despite that being impossible. Support did let me know that I could make a new email address if I wanted to use Azure, but that feels pretty ridiculous considering I’d like all billing alerts to go to my primary email so I don’t miss them. Anyway, I just needed to vent. This feels ridiculous and puts an awful taste in my mouth compared to AWS and GCP. Read More
GammatoneFIlterBank produces different results inside/outside user function
This post may be difficult to answer because the data I’m using can’t be released to the public (yet)…
I’m running chirp sweep responses through Matlab’s built-in gammatonefilterbank structure. I have to process thousands of files in this way and so I pass the filter object and several waveform matrices to a function that I’ve written. As part of my function, I run the lines
signal_reference = sweeps_averaged(first_index:first_index+49999,3,i);
A = gammaFiltBank(signal_reference);
plot(A);
which, for the waveform in question, produces the graph below when I pause afterwards. Notice the large spikes at the beginning of the filtered outputs.
If I pause in the debugger and run those exact same lines again, I get the following graph of outputs below. Notice that the spikes are now gone.
Of the thousands of waveforms that I need to process, this error only occurs in roughly half a dozen of them. I can cut off the first 1000ish samples and get good results, but it’s forcing me to question the results overall – I’m not sure if the filter bank is producing other errors that I’m unaware of until I know the root cause.
Any thoughts on what might be causing this? Am I missing something simple? I’m using R2022A on a Windows 11 64-bit Dell desktop.This post may be difficult to answer because the data I’m using can’t be released to the public (yet)…
I’m running chirp sweep responses through Matlab’s built-in gammatonefilterbank structure. I have to process thousands of files in this way and so I pass the filter object and several waveform matrices to a function that I’ve written. As part of my function, I run the lines
signal_reference = sweeps_averaged(first_index:first_index+49999,3,i);
A = gammaFiltBank(signal_reference);
plot(A);
which, for the waveform in question, produces the graph below when I pause afterwards. Notice the large spikes at the beginning of the filtered outputs.
If I pause in the debugger and run those exact same lines again, I get the following graph of outputs below. Notice that the spikes are now gone.
Of the thousands of waveforms that I need to process, this error only occurs in roughly half a dozen of them. I can cut off the first 1000ish samples and get good results, but it’s forcing me to question the results overall – I’m not sure if the filter bank is producing other errors that I’m unaware of until I know the root cause.
Any thoughts on what might be causing this? Am I missing something simple? I’m using R2022A on a Windows 11 64-bit Dell desktop. This post may be difficult to answer because the data I’m using can’t be released to the public (yet)…
I’m running chirp sweep responses through Matlab’s built-in gammatonefilterbank structure. I have to process thousands of files in this way and so I pass the filter object and several waveform matrices to a function that I’ve written. As part of my function, I run the lines
signal_reference = sweeps_averaged(first_index:first_index+49999,3,i);
A = gammaFiltBank(signal_reference);
plot(A);
which, for the waveform in question, produces the graph below when I pause afterwards. Notice the large spikes at the beginning of the filtered outputs.
If I pause in the debugger and run those exact same lines again, I get the following graph of outputs below. Notice that the spikes are now gone.
Of the thousands of waveforms that I need to process, this error only occurs in roughly half a dozen of them. I can cut off the first 1000ish samples and get good results, but it’s forcing me to question the results overall – I’m not sure if the filter bank is producing other errors that I’m unaware of until I know the root cause.
Any thoughts on what might be causing this? Am I missing something simple? I’m using R2022A on a Windows 11 64-bit Dell desktop. gammatonefilterbank, filtering MATLAB Answers — New Questions