Category: News
Why am I getting different outputs between Matlab & SPSS?
I am running a 3-way mixed ANOVA (2*6*2).
The between variable is Consciousness with 2 levels (conscious/ subconscious)
The within variables are: Congruency with 6 levels (RH, RF, UH, UF, NH, NF) & Target with 2 levels (BodyPart, Object).
I have run this in Matlab and had assumed I had generated the correct output, Code:
%Within Design Table
WithinDesign=table(categorical({‘Related Hand’,’Related Foot’,’Unrelated Hand’,’Unrelated Foot’,’Neutral Hand’,’Neutral Foot’,’Related Hand’,’Related Foot’,’Unrelated Hand’,’Unrelated Foot’,’Neutral Hand’,’Neutral Foot’}’),categorical({‘BP’,’BP’,’BP’,’BP’,’BP’,’BP’,’O’,’O’,’O’,’O’,’O’,’O’}’),’VariableNames’,{‘Congruency’,’Target’});
%%
%3-Way Mixed Anova
OverallMixedANOVA=fitrm(OverallDataTable,’BP_RH_Con-O_NF_Sub~Consciousness’,WithinDesign=WithinDesign,WithinModel=’separatemeans’);
%Sphericity Calculation & Error Correction
OverallSphericity=mauchly(OverallMixedANOVA)
OverallErrorCorrect=epsilon(OverallMixedANOVA)
%Anova Table output
[OverallMixedANOVATable,A,C,D]=ranova(OverallMixedANOVA,"WithinModel",’Congruency*Target’)
%Corrections for significant sphericity
%CorrectedOverallMixedANOVATable=OverallMixedANOVATable;
%CorrectedOverallMixedANOVATable.DF=OverallMixedANOVATable.DF*OverallErrorCorrect.GreenhouseGeisser
Below is the Matlab Output:
The same data was used in SPSS to check my code. For all previous (2-way RM-) ANOVAs I have performed on Matlab the output has been the same, but in this case the output was different.
Here is the SPSS code pasted to the log:
GLM BP_RH O_RH BP_RF O_RF BP_UH O_UH BP_UF O_UF BP_NH O_NH BP_NF O_NF BY Consciousness
/WSFACTOR=Congruency 6 Polynomial Target 2 Polynomial
/MEASURE=Tradeoff
/METHOD=SSTYPE(3)
/PRINT=DESCRIPTIVE ETASQ OPOWER HOMOGENEITY
/CRITERIA=ALPHA(.05)
/WSDESIGN=Congruency Target Congruency*Target
/DESIGN=Consciousness.
Output from SPSS pasted below:
Different values are highlighted in blue.
I’d like to know why I am getting different values. I know that the p values are still signficant for both methods of analysis, but when looking for replicability this doesnt seem to be satisfactory.
My Questions are:
Have I input the factors correctly in the Matlab code?
Why are the values different between the two softwares?
Does it matter that Matlab and SPSS generate different statistics?
Do you have any reccomendations for what I can do to improve my code?
Thanks in advanceI am running a 3-way mixed ANOVA (2*6*2).
The between variable is Consciousness with 2 levels (conscious/ subconscious)
The within variables are: Congruency with 6 levels (RH, RF, UH, UF, NH, NF) & Target with 2 levels (BodyPart, Object).
I have run this in Matlab and had assumed I had generated the correct output, Code:
%Within Design Table
WithinDesign=table(categorical({‘Related Hand’,’Related Foot’,’Unrelated Hand’,’Unrelated Foot’,’Neutral Hand’,’Neutral Foot’,’Related Hand’,’Related Foot’,’Unrelated Hand’,’Unrelated Foot’,’Neutral Hand’,’Neutral Foot’}’),categorical({‘BP’,’BP’,’BP’,’BP’,’BP’,’BP’,’O’,’O’,’O’,’O’,’O’,’O’}’),’VariableNames’,{‘Congruency’,’Target’});
%%
%3-Way Mixed Anova
OverallMixedANOVA=fitrm(OverallDataTable,’BP_RH_Con-O_NF_Sub~Consciousness’,WithinDesign=WithinDesign,WithinModel=’separatemeans’);
%Sphericity Calculation & Error Correction
OverallSphericity=mauchly(OverallMixedANOVA)
OverallErrorCorrect=epsilon(OverallMixedANOVA)
%Anova Table output
[OverallMixedANOVATable,A,C,D]=ranova(OverallMixedANOVA,"WithinModel",’Congruency*Target’)
%Corrections for significant sphericity
%CorrectedOverallMixedANOVATable=OverallMixedANOVATable;
%CorrectedOverallMixedANOVATable.DF=OverallMixedANOVATable.DF*OverallErrorCorrect.GreenhouseGeisser
Below is the Matlab Output:
The same data was used in SPSS to check my code. For all previous (2-way RM-) ANOVAs I have performed on Matlab the output has been the same, but in this case the output was different.
Here is the SPSS code pasted to the log:
GLM BP_RH O_RH BP_RF O_RF BP_UH O_UH BP_UF O_UF BP_NH O_NH BP_NF O_NF BY Consciousness
/WSFACTOR=Congruency 6 Polynomial Target 2 Polynomial
/MEASURE=Tradeoff
/METHOD=SSTYPE(3)
/PRINT=DESCRIPTIVE ETASQ OPOWER HOMOGENEITY
/CRITERIA=ALPHA(.05)
/WSDESIGN=Congruency Target Congruency*Target
/DESIGN=Consciousness.
Output from SPSS pasted below:
Different values are highlighted in blue.
I’d like to know why I am getting different values. I know that the p values are still signficant for both methods of analysis, but when looking for replicability this doesnt seem to be satisfactory.
My Questions are:
Have I input the factors correctly in the Matlab code?
Why are the values different between the two softwares?
Does it matter that Matlab and SPSS generate different statistics?
Do you have any reccomendations for what I can do to improve my code?
Thanks in advance I am running a 3-way mixed ANOVA (2*6*2).
The between variable is Consciousness with 2 levels (conscious/ subconscious)
The within variables are: Congruency with 6 levels (RH, RF, UH, UF, NH, NF) & Target with 2 levels (BodyPart, Object).
I have run this in Matlab and had assumed I had generated the correct output, Code:
%Within Design Table
WithinDesign=table(categorical({‘Related Hand’,’Related Foot’,’Unrelated Hand’,’Unrelated Foot’,’Neutral Hand’,’Neutral Foot’,’Related Hand’,’Related Foot’,’Unrelated Hand’,’Unrelated Foot’,’Neutral Hand’,’Neutral Foot’}’),categorical({‘BP’,’BP’,’BP’,’BP’,’BP’,’BP’,’O’,’O’,’O’,’O’,’O’,’O’}’),’VariableNames’,{‘Congruency’,’Target’});
%%
%3-Way Mixed Anova
OverallMixedANOVA=fitrm(OverallDataTable,’BP_RH_Con-O_NF_Sub~Consciousness’,WithinDesign=WithinDesign,WithinModel=’separatemeans’);
%Sphericity Calculation & Error Correction
OverallSphericity=mauchly(OverallMixedANOVA)
OverallErrorCorrect=epsilon(OverallMixedANOVA)
%Anova Table output
[OverallMixedANOVATable,A,C,D]=ranova(OverallMixedANOVA,"WithinModel",’Congruency*Target’)
%Corrections for significant sphericity
%CorrectedOverallMixedANOVATable=OverallMixedANOVATable;
%CorrectedOverallMixedANOVATable.DF=OverallMixedANOVATable.DF*OverallErrorCorrect.GreenhouseGeisser
Below is the Matlab Output:
The same data was used in SPSS to check my code. For all previous (2-way RM-) ANOVAs I have performed on Matlab the output has been the same, but in this case the output was different.
Here is the SPSS code pasted to the log:
GLM BP_RH O_RH BP_RF O_RF BP_UH O_UH BP_UF O_UF BP_NH O_NH BP_NF O_NF BY Consciousness
/WSFACTOR=Congruency 6 Polynomial Target 2 Polynomial
/MEASURE=Tradeoff
/METHOD=SSTYPE(3)
/PRINT=DESCRIPTIVE ETASQ OPOWER HOMOGENEITY
/CRITERIA=ALPHA(.05)
/WSDESIGN=Congruency Target Congruency*Target
/DESIGN=Consciousness.
Output from SPSS pasted below:
Different values are highlighted in blue.
I’d like to know why I am getting different values. I know that the p values are still signficant for both methods of analysis, but when looking for replicability this doesnt seem to be satisfactory.
My Questions are:
Have I input the factors correctly in the Matlab code?
Why are the values different between the two softwares?
Does it matter that Matlab and SPSS generate different statistics?
Do you have any reccomendations for what I can do to improve my code?
Thanks in advance statistics, software differences MATLAB Answers — New Questions
Undocked Editor, ctrl+shift+0 doesn’t bring editor to front as active window
Hello,
I run a X11 forwarded instance of matlab 2017b (ran from a linux server) with a tabbed, undocked, editor on a windows machine. I love motion binds (vim user btw), and I often jump between the command window and editor with ctrl+0, ctrl+shift+0 respectfully.
I noticed that the undocked editor is not brought to the front as my active window despite my cursor being in that window and can still type. I then windows alt-tab to the editor to bring the window to the front and loose my cursor…. making me regrettably pick up my mouse.
Ex. I have a chat client open over my editor on my right monitor and I am working in the command window on my left monitor. I then open a script or ctrl+shift+0 over to the editor and the editor window is not brought to the front of the chat client.
Any Ideas on how I can tweak these settings to bring to front via matlab keybind? (Looking into X11 settings currently)Hello,
I run a X11 forwarded instance of matlab 2017b (ran from a linux server) with a tabbed, undocked, editor on a windows machine. I love motion binds (vim user btw), and I often jump between the command window and editor with ctrl+0, ctrl+shift+0 respectfully.
I noticed that the undocked editor is not brought to the front as my active window despite my cursor being in that window and can still type. I then windows alt-tab to the editor to bring the window to the front and loose my cursor…. making me regrettably pick up my mouse.
Ex. I have a chat client open over my editor on my right monitor and I am working in the command window on my left monitor. I then open a script or ctrl+shift+0 over to the editor and the editor window is not brought to the front of the chat client.
Any Ideas on how I can tweak these settings to bring to front via matlab keybind? (Looking into X11 settings currently) Hello,
I run a X11 forwarded instance of matlab 2017b (ran from a linux server) with a tabbed, undocked, editor on a windows machine. I love motion binds (vim user btw), and I often jump between the command window and editor with ctrl+0, ctrl+shift+0 respectfully.
I noticed that the undocked editor is not brought to the front as my active window despite my cursor being in that window and can still type. I then windows alt-tab to the editor to bring the window to the front and loose my cursor…. making me regrettably pick up my mouse.
Ex. I have a chat client open over my editor on my right monitor and I am working in the command window on my left monitor. I then open a script or ctrl+shift+0 over to the editor and the editor window is not brought to the front of the chat client.
Any Ideas on how I can tweak these settings to bring to front via matlab keybind? (Looking into X11 settings currently) editor, x11, ctrl+shift+0, keybind, window management MATLAB Answers — New Questions
Is it possible to have multiple releases of MATLAB and/or Polyspace on the same computer?
Is it possible to have multiple releases of MATLAB and/or Polyspace on the same computer?Is it possible to have multiple releases of MATLAB and/or Polyspace on the same computer? Is it possible to have multiple releases of MATLAB and/or Polyspace on the same computer? MATLAB Answers — New Questions
Guest users limitations
Hi!
Can guest users use the Updates and Approvals apps?
Hi!Can guest users use the Updates and Approvals apps? Read More
Management Profile Not Verified
I manage 600 iPads in Intune and today I realized that about 100 of them are showing the management profile as not verified. I believe the problem is they sat unconnected for over 90 days. They are still listed in my apple business account and in the enrollment token devices in Intune. They are not listed inside the groups that were created for them. When I look at my enrollment token the iPads with not verified management profiles display and they are in the correct profiles. When I view the devices under the profile they show an enrolled state and that they last contacted today.
On the device under the management profile that show not verified I have 1 cert, Microsoft Intune application enrollment CA, that is expired. And 2 signing certificates that are expired, IOSProfileSigning.manage.microsoft.com and Microsoft Azure TLS issuing CA 01. Is there any way to renew these certs without having to rebuild the ipads?
I manage 600 iPads in Intune and today I realized that about 100 of them are showing the management profile as not verified. I believe the problem is they sat unconnected for over 90 days. They are still listed in my apple business account and in the enrollment token devices in Intune. They are not listed inside the groups that were created for them. When I look at my enrollment token the iPads with not verified management profiles display and they are in the correct profiles. When I view the devices under the profile they show an enrolled state and that they last contacted today. On the device under the management profile that show not verified I have 1 cert, Microsoft Intune application enrollment CA, that is expired. And 2 signing certificates that are expired, IOSProfileSigning.manage.microsoft.com and Microsoft Azure TLS issuing CA 01. Is there any way to renew these certs without having to rebuild the ipads? Read More
Essential Steps to Kickstart Your Azure Journey
Starting a new cloud environment is a pivotal moment, and building a robust infrastructure from the outset is essential. Microsoft Azure offers a scalable and powerful platform, but establishing your environment correctly is crucial for long-term success. This guide outlines the key steps to set up a secure, cost-effective, and scalable Azure environment. Each step is accompanied by actionable insights, real-world examples, and reasons why it’s important.
1. Create Custom Virtual Networks (VNet)
Azure provides a default VNet, but creating a custom VNet allows you to tailor your network setup to your specific needs. This customization enhances both security and performance by allowing you to segment your network into subnets that separate different environments like development, staging, and production. This segregation helps you apply security policies more effectively and manage traffic flows efficiently.
Example: Imagine you’re developing a SaaS application for various clients. Creating a custom VNet with isolated subnets for each client ensures their data is separated, enhancing security and performance. This setup prevents unauthorized access between different clients’ data and optimizes network traffic.
Learn more about creating and configuring a VNet
2. Set Up Cost Management and Budgets
Effective cost management is crucial for startups, as it helps you stay within budget and make informed financial decisions. Azure Cost Management provides tools to monitor and analyze your spending, while budget alerts notify you when you’re nearing or exceeding your budget. This proactive approach helps prevent unexpected expenses and ensures you allocate resources efficiently.
Example: Suppose you’re rolling out a new feature and need to monitor its associated costs closely. Setting a budget alert for your development environment ensures you’re notified if you approach your budget limit, allowing you to adjust spending or optimize resource use to stay within financial constraints.
Start with Azure Cost Management
3. Enable Azure Activity Logs, Log Analytics, and Resource Health Alerts
Azure Activity Logs provide visibility into actions taken within your subscription, while Azure Log Analytics allows you to analyze these logs for insights. Resource Health Alerts help you monitor the health of your resources, ensuring that you’re promptly informed of any issues affecting performance or availability. This combination allows for proactive issue resolution and enhances operational efficiency.
Integrate Activity Logs with Log Analytics to track and analyze operations. Set up Resource Health Alerts to get notifications about service disruptions or performance issues. This setup helps you address problems quickly, minimizing their impact on your users and ensuring smoother operations.
Example: If your team frequently deploys updates, monitoring Activity Logs helps identify changes that might introduce issues. Resource Health Alerts notify you if a critical resource, like your database, encounters problems, allowing you to take corrective action before it affects your users.
Learn about Resource Health Alerts
4. Configure Password Policy and Conditional Access
A strong password policy and Conditional Access in Azure Active Directory (AD) are fundamental for securing your startup’s resources. Enforcing a robust password policy reduces the risk of unauthorized access due to weak passwords. Conditional Access helps control access based on user behavior and risk factors, adding an extra layer of security.
Example: For a fintech startup handling sensitive financial data, implementing Conditional Access to require Multi-Factor Authentication (MFA) for high-risk actions protects against unauthorized access. This ensures that even if passwords are compromised, additional verification steps are required to access sensitive information.
Explore Azure AD Conditional Access
5. Enforce Multi-Factor Authentication (MFA)
Multi-Factor Authentication (MFA) adds an additional verification step beyond just a password, enhancing security by requiring something you know (password) and something you have (a code sent to your phone, for instance). This added layer helps protect against unauthorized access, even if passwords are compromised.
Example: In a healthcare startup dealing with patient data, enforcing MFA ensures that only verified users can access sensitive medical records. Even if a password is stolen, the second authentication factor provides an additional barrier to unauthorized access.
Learn more about enabling MFA in Azure AD
6. Enable Microsoft Defender for Cloud
Microsoft Defender for Cloud provides ongoing security assessments and recommendations to help you maintain a strong security posture. It helps identify vulnerabilities, misconfigurations, and potential threats, allowing you to address them before they become serious issues.
Example: For a startup developing an AI-driven product that handles sensitive data, Defender for Cloud can alert you to security gaps or misconfigurations. By addressing these issues proactively, you protect your intellectual property and maintain user trust.
Get started with Microsoft Defender for Cloud
7. Set Up Azure Role-Based Access Control (RBAC)
Azure Role-Based Access Control (RBAC) allows you to assign specific roles with defined permissions to users. This principle of least privilege ensures that users have only the access necessary for their tasks, minimizing the risk of accidental or malicious changes to your resources.
Example: For a small development team, configuring RBAC to limit access to production environments ensures that only authorized team members can deploy updates. This reduces the risk of unintended disruptions or unauthorized changes.
8. Implement Azure Policy and Azure Blueprints
Azure Policy helps enforce organizational standards and compliance by applying rules to your Azure resources. Azure Blueprints allow you to deploy environments consistently according to predefined policies. These tools help maintain governance and compliance as your startup scales.
Example: As your startup expands into new markets with varying regulatory requirements, using Azure Blueprints ensures that new environments comply with local regulations efficiently. This approach saves time and ensures consistent compliance across your organization.
9. Develop and Apply a Tagging Strategy
Tags are essential for organizing and managing your Azure resources. By applying a consistent tagging strategy, you can track costs, enforce policies, and simplify resource management. Tags help you categorize resources by environment, owner, project, or other criteria.
Example: If you’re managing multiple projects, using tags like Environment, Owner, and Project helps you monitor and allocate costs accurately. This organization facilitates budget reporting and resource management, making it easier to track expenses and optimize usage.
Best practices for tagging in Azure
10. Enable Azure Management Groups
Azure Management Groups provide a way to organize multiple Azure subscriptions into a unified hierarchy. This organization simplifies the application of policies and management of compliance across different subscriptions, making governance more manageable as your startup grows.
Example: As your startup expands globally and opens new offices or departments, Management Groups allow you to enforce consistent policies and compliance across all your subscriptions. This unified approach streamlines governance and ensures that your organization adheres to regulatory requirements.
Understanding Azure Management Groups
Pro Tip: Automate Your Setup with Infrastructure as Code (IaC)
Automating your environment setup with Infrastructure as Code (IaC) tools reduces manual effort and minimizes the risk of errors. IaC ensures that your deployments are consistent, repeatable, and scalable, saving you time and effort as you grow.
Example: If you need to deploy identical environments for development, staging, and production, using IaC tools like Azure Resource Manager (ARM) templates or Terraform allows you to automate these deployments. This approach ensures that each environment is configured consistently and efficiently.
Introduction to Azure Resource Manager templates
Getting started with Terraform on Azure
Conclusion
Implementing these steps will provide a strong foundation for your Azure environment, helping you manage costs, maintain security, and scale efficiently. By following these actionable recommendations, you set your startup up for success and make the most of Azure’s capabilities. For a more detailed and structured approach to setting up your Azure environment, consider exploring the Azure Setup Guide, which offers a comprehensive framework to ensure a robust and scalable Azure setup.
Microsoft Tech Community – Latest Blogs –Read More
Maximum variable size allowed by the program is exceeded.
i have this problem
how can i resolve it plz !i have this problem
how can i resolve it plz ! i have this problem
how can i resolve it plz ! #variable, #size, matlab MATLAB Answers — New Questions
How does dlgradient handle two output layers?
I have a deep learning image analysis network with a custom training loop and loss function. In this loss function I take the output layer’s output and the second to last layer’s output from the net, perform mse (using the inbuilt function) on both, and sum the results. My output layer is a custom layer, so I have control over it’s backwards function, but I cannot see the automatic backwards in the other layers.
When I use dlgradient on this new loss, how does Matlab handle two simultaneous rounds of differentiation? Does it sum the gradients for each learnable, or does one gradient calculation override the other?
I have tried both adam and SGDM methods of updating gradients, but I am suspecting since my network is not learning as expected that I need to adjust my backwards function in my custom layer to ensure a proper gradient backpropagation.I have a deep learning image analysis network with a custom training loop and loss function. In this loss function I take the output layer’s output and the second to last layer’s output from the net, perform mse (using the inbuilt function) on both, and sum the results. My output layer is a custom layer, so I have control over it’s backwards function, but I cannot see the automatic backwards in the other layers.
When I use dlgradient on this new loss, how does Matlab handle two simultaneous rounds of differentiation? Does it sum the gradients for each learnable, or does one gradient calculation override the other?
I have tried both adam and SGDM methods of updating gradients, but I am suspecting since my network is not learning as expected that I need to adjust my backwards function in my custom layer to ensure a proper gradient backpropagation. I have a deep learning image analysis network with a custom training loop and loss function. In this loss function I take the output layer’s output and the second to last layer’s output from the net, perform mse (using the inbuilt function) on both, and sum the results. My output layer is a custom layer, so I have control over it’s backwards function, but I cannot see the automatic backwards in the other layers.
When I use dlgradient on this new loss, how does Matlab handle two simultaneous rounds of differentiation? Does it sum the gradients for each learnable, or does one gradient calculation override the other?
I have tried both adam and SGDM methods of updating gradients, but I am suspecting since my network is not learning as expected that I need to adjust my backwards function in my custom layer to ensure a proper gradient backpropagation. deep learning, neural network MATLAB Answers — New Questions
Replace NaN’s in table with zero
Hello, I have a 1501×7 table called ‘x’ and there appears to be NaN’s in the fourth and sixth column called "Age" and "height". I would like a way to replace NaN’s with zeros. Take note, that I have already tried:
k = find(isnan(x))’;
x(k) = 0;
% and
x(isnan(x)) = 0;
Yet, neither work because I am using a table, not a matrix. I have also tried converting my table into a cell array, and using these same functions, but they still do not work. They return:"Undefined function ‘isnan’ for input arguments of type ‘cell’"
ALSO, please note that the table has columns full of text. So, cell2mat does not work.Hello, I have a 1501×7 table called ‘x’ and there appears to be NaN’s in the fourth and sixth column called "Age" and "height". I would like a way to replace NaN’s with zeros. Take note, that I have already tried:
k = find(isnan(x))’;
x(k) = 0;
% and
x(isnan(x)) = 0;
Yet, neither work because I am using a table, not a matrix. I have also tried converting my table into a cell array, and using these same functions, but they still do not work. They return:"Undefined function ‘isnan’ for input arguments of type ‘cell’"
ALSO, please note that the table has columns full of text. So, cell2mat does not work. Hello, I have a 1501×7 table called ‘x’ and there appears to be NaN’s in the fourth and sixth column called "Age" and "height". I would like a way to replace NaN’s with zeros. Take note, that I have already tried:
k = find(isnan(x))’;
x(k) = 0;
% and
x(isnan(x)) = 0;
Yet, neither work because I am using a table, not a matrix. I have also tried converting my table into a cell array, and using these same functions, but they still do not work. They return:"Undefined function ‘isnan’ for input arguments of type ‘cell’"
ALSO, please note that the table has columns full of text. So, cell2mat does not work. nan, zeros, replace, matrix, cell, basic, beginner, replacement, remove, tables, format MATLAB Answers — New Questions
uigetfile MultiSelect does not work on Mac?
I use uigetfile with MultiSelect on in my code. It works fine on a PC but doesn’t allow selecting multiple files on a Mac. Is multiselect supported on Mac?
Here’s my code:
[file_list,PathName] = uigetfile(‘*.tif’,’Select the source images’,’MultiSelect’,’on’);I use uigetfile with MultiSelect on in my code. It works fine on a PC but doesn’t allow selecting multiple files on a Mac. Is multiselect supported on Mac?
Here’s my code:
[file_list,PathName] = uigetfile(‘*.tif’,’Select the source images’,’MultiSelect’,’on’); I use uigetfile with MultiSelect on in my code. It works fine on a PC but doesn’t allow selecting multiple files on a Mac. Is multiselect supported on Mac?
Here’s my code:
[file_list,PathName] = uigetfile(‘*.tif’,’Select the source images’,’MultiSelect’,’on’); uigetfile, multiselect, mac MATLAB Answers — New Questions
Adjusting table columns by a grouped value
When working with my dataset, I find that I need to adjust the data in ways that makes the plots more understandable. In this particular example, I’m trying to adjust the times in a table by finding the minimum value for every run, then subtracting the minimum value to every run so that each run in my dataset all start at t=0 on a plot.
I can find the mimium value, and have created a table with those values, however I am not sure how to apply these values to the main table, so that I can create an additional column with the adjusted time. I believe it has something to do with rowfun, but I can’t figure out how to get around the different sizes of the rows to get a proper calculation. I will be adding what I have so far in an attachment. Thank you.When working with my dataset, I find that I need to adjust the data in ways that makes the plots more understandable. In this particular example, I’m trying to adjust the times in a table by finding the minimum value for every run, then subtracting the minimum value to every run so that each run in my dataset all start at t=0 on a plot.
I can find the mimium value, and have created a table with those values, however I am not sure how to apply these values to the main table, so that I can create an additional column with the adjusted time. I believe it has something to do with rowfun, but I can’t figure out how to get around the different sizes of the rows to get a proper calculation. I will be adding what I have so far in an attachment. Thank you. When working with my dataset, I find that I need to adjust the data in ways that makes the plots more understandable. In this particular example, I’m trying to adjust the times in a table by finding the minimum value for every run, then subtracting the minimum value to every run so that each run in my dataset all start at t=0 on a plot.
I can find the mimium value, and have created a table with those values, however I am not sure how to apply these values to the main table, so that I can create an additional column with the adjusted time. I believe it has something to do with rowfun, but I can’t figure out how to get around the different sizes of the rows to get a proper calculation. I will be adding what I have so far in an attachment. Thank you. table, rowfun, groups, plot MATLAB Answers — New Questions
Level Up CSP | Dynamics 365 Business Central Digital Bootcamps
Explore New Growth Opportunity with Dynamics 365 Business Central!
Dynamics 365 Business Central represents an enormous opportunity for SMB partners and customers. It was built for small and mid-size organizations to address key financial and operational management needs.
Attend an upcoming digital bootcamp – we’ll take you step-by-step through how to identify an opportunity, drive effective conversations, and successfully transact Business Central. Show your customers your strategic value to them, help them expand into other Microsoft solutions to grow their business, make business more efficient, and more!
Unlock Your Business Central Opportunity | Digital event details
• Americas/EMEA region: September 19 | 8:00 AM – 10:00 AM, Pacific Time
• APAC region: September 19 | 5:00 PM – 7:00 PM, Pacific Time
Explore New Growth Opportunity with Dynamics 365 Business Central!
Dynamics 365 Business Central represents an enormous opportunity for SMB partners and customers. It was built for small and mid-size organizations to address key financial and operational management needs.
Attend an upcoming digital bootcamp – we’ll take you step-by-step through how to identify an opportunity, drive effective conversations, and successfully transact Business Central. Show your customers your strategic value to them, help them expand into other Microsoft solutions to grow their business, make business more efficient, and more!Unlock Your Business Central Opportunity | Digital event details• Americas/EMEA region: September 19 | 8:00 AM – 10:00 AM, Pacific Time • APAC region: September 19 | 5:00 PM – 7:00 PM, Pacific TimeRegister Today! Read More
Level Up CSP | Dynamics 365 Business Central Digital Bootcamp
Explore New Growth Opportunity with Dynamics 365 Business Central!
Dynamics 365 Business Central represents an enormous opportunity for SMB partners and customers. It was built for small and mid-size organizations to address key financial and operational management needs.
Attend an upcoming digital bootcamp – we’ll take you step-by-step through how to identify an opportunity, drive effective conversations, and successfully transact Business Central. Show your customers your strategic value to them, help them expand into other Microsoft solutions to grow their business, make business more efficient, and more!
Unlock Your Business Central Opportunity | Digital event details
• Americas/EMEA region: September 19 | 8:00 AM – 10:00 AM, Pacific Time
• APAC region: September 19 | 5:00 PM – 7:00 PM, Pacific Time
Explore New Growth Opportunity with Dynamics 365 Business Central!
Dynamics 365 Business Central represents an enormous opportunity for SMB partners and customers. It was built for small and mid-size organizations to address key financial and operational management needs.
Attend an upcoming digital bootcamp – we’ll take you step-by-step through how to identify an opportunity, drive effective conversations, and successfully transact Business Central. Show your customers your strategic value to them, help them expand into other Microsoft solutions to grow their business, make business more efficient, and more!Unlock Your Business Central Opportunity | Digital event details• Americas/EMEA region: September 19 | 8:00 AM – 10:00 AM, Pacific Time • APAC region: September 19 | 5:00 PM – 7:00 PM, Pacific TimeRegister Today! Read More
How to Post a Cumulative Rank for a Stock to Each Quarters Data
Hi, I have 2000 stocks with quarter profits data by row for 26 years. I have summed up each firm total profits for all years on a Pivot table and got a Rank for them, e.g. Walmart is No. 1, Exxon no. 2. How do I get the Rank posted next to each quarter of data on my detailed excel page?
Hi, I have 2000 stocks with quarter profits data by row for 26 years. I have summed up each firm total profits for all years on a Pivot table and got a Rank for them, e.g. Walmart is No. 1, Exxon no. 2. How do I get the Rank posted next to each quarter of data on my detailed excel page? Read More
microsoft 365 70-346 and 70-347
Hi All,
I did the subjected certifications back in 2016. I am now wanted to update my certification. Please advise which certifications I should take to update my current skills in Microsoft 365?
Thanking in anticipation.
Hi All, I did the subjected certifications back in 2016. I am now wanted to update my certification. Please advise which certifications I should take to update my current skills in Microsoft 365? Thanking in anticipation. Read More
Can you add multiple domains to a GCC/GCCH tenant?
For example if you wanted to assign two domains to a user, so that they could send/receive email from a primary domain and an alias domain at the same time?
For example if you wanted to assign two domains to a user, so that they could send/receive email from a primary domain and an alias domain at the same time? Read More
SMB security hardening in Windows Server 2025 & Windows 11
Heya folks, Ned here again. Last November, Microsoft launched the Secure Future Initiative (SFI) to prepare for the increasing scale and high stakes of cyberattacks. SFI brings together every part of Microsoft to advance cybersecurity protection across our company and products.
Windows has focused on security options with each major release, and Windows 11 24H2 and Windows Server 2025 are no exception: they include a dozen new SMB features that make your data, your users, and your organization safer – and most are on by default. Today I’ll explain their usefulness, share some demos, and point to further details.
The new OSes will soon be generally available and you can preview them right now: download Windows Server 2025 and Windows 11 24H2.
On to the security.
SMB signing required by default
What it is
We now require signing by default for all Windows 11 24H2 SMB outbound and inbound connections and for all outbound connections in Windows Server 2025. This changes legacy behavior, where we required SMB signing by default only when connecting to shares named SYSVOL and NETLOGON and where Active Directory domain controllers required SMB signing for their clients.
How it helps you
SMB signing has been available for decades and prevents data tampering and relay attacks that steal credentials. By requiring signing by default, we ensure that an admin or user must opt out of this safer configuration, instead of requiring them to be very knowledgeable about SMB network protocol security and turn signing on.
Learn more
Control SMB signing behavior (preview) | Microsoft Learn
SMB signing required by default in Windows Insider – Microsoft Community Hub
SMB NTLM blocking
What it is
The SMB client now supports blocking NTLM authentication for remote outbound connections. This changes the legacy behavior of always using negotiated authentication that could downgrade from Kerberos to NTLM.
How it helps you
Blocking NTLM authentication prevents tricking clients into sending NTLM requests to malicious servers, which counteracts brute force, cracking, relay, and pass-the-hash attacks. NTLM blocking is also required for forcing an organization’s authentication to Kerberos, which is more secure because it verifies identities with its ticket system and better cryptography. Admins can specify exceptions to allow NTLM authentication over SMB to certain servers.
Learn more
SMB NTLM blocking now supported in Windows Insider – Microsoft Community Hub
Block NTLM connections on SMB (preview) | Microsoft Learn
Demo:
SMB authentication rate limiter
What it is
The SMB server service now throttles failed authentication attempts by default. This applies to SMB sharing files on both Windows Server and Windows.
How it helps you
Brute force authentication attacks bombard the SMB server with multiple username and password-guesses and the frequency can range from dozens to thousands of attempts per second. The SMB authentication rate limiter is enabled by default with a 2 second delay between each failed NTLM or Local KDC Kerberos-based authentication attempt. An attack that sends 300 guesses per second for 5 minutes, for example – 90,000 attempts – would now take 50 hours to complete. An attacker is far more likely to simply give up than keep trying this method.
Learn more
SMB authentication rate limiter now on by default in Windows Insider – Microsoft Community Hub
Configure SMB authentication rate limiter for Windows (preview) | Microsoft Learn
Demo:
SMB insecure guest auth now off by default in Windows Pro editions
What it is
Windows 11 Pro no longer allows SMB client guest connections or guest fallback to an SMB server by default. This makes Windows 11 Pro operate like Windows 10 and Windows 11 Enterprise, Education, and Pro for Workstation editions have for years.
How it helps you
Guest logons don’t require passwords & don’t support standard security features like signing and encryption. Allowing a client to use guest logons makes the user vulnerable to attacker-in-the-middle scenarios or malicious server scenarios – for instance, a phishing attack that tricks a user into opening a file on a remote share or a spoofed server that makes a client think it’s legitimate. The attacker doesn’t need to know the user’s credentials and a bad password is ignored. Only third-party remote devices might require guest access by default. Microsoft-provided operating systems haven’t enabled guest in server scenarios since Windows 2000.
Learn more
SMB insecure guest auth now off by default in Windows Insider Pro editions – Microsoft Community Hub
Enable insecure guest logons in SMB2 and SMB3 for Windows client and Windows Server | Microsoft Learn
SMB dialect management
What it is
You can now mandate the SMB 2 and 3 protocol versions used.
How it helps you
Previously, the SMB server and client only supported automatically negotiating the highest matched dialect from SMB 2.0.2 to 3.1.1. This means you can intentionally block older protocol versions or devices from connecting. For example, you can specify connections to only use SMB 3.1.1, the most secure dialect of the protocol. The minimum and maximum can be set independently on both the SMB client and server, and you can set just a minimum if desired.
Learn more
SMB dialect management now supported in Windows Insider – Microsoft Community Hub
Manage SMB dialects in Windows (preview) | Microsoft Learn
Demo:
SMB client encryption mandate now supported
What it is
The SMB client now supports requiring encryption of all outbound SMB connections.
How it helps you
Encryption of all outbound SMB client connections enforces the highest level of network security and brings management parity to SMB signing. When enabled, the SMB client won’t connect to an SMB server that doesn’t support SMB 3.0 or later, or that doesn’t support SMB encryption. For example, a third-party SMB server might support SMB 3.0 but not SMB encryption. Unlike SMB signing, encryption is not required by default.
Learn more
SMB client encryption mandate now supported in Windows Insider – Microsoft Community Hub
Configure the SMB client to require encryption in Windows (preview) | Microsoft Learn
Remote Mailslots deprecated and disabled by default
What it is
Remote Mailslots are deprecated and disabled by default for SMB and for DC locator protocol usage with Active Directory.
How it helps you
The Remote Mailslot protocol is an obsolete, simple, unreliable, IPC method first introduced in MS DOS. It is completely unsafe and has no authentication or authorization mechanisms.
Learn more
The beginning of the end of Remote Mailslots as part of Windows Insider – Microsoft Community Hub
Deprecated features in the Windows client | Microsoft Learn
Features removed or no longer developed starting with Windows Server 2025 (preview) | Microsoft Learn
SMB over QUIC in Windows Server all editions
What it is
SMB over QUIC is now included in all Windows Server 2025 editions (Datacenter, Standard, Azure Edition), not just on Azure Edition like it was in Windows Server 2022.
How it helps you
SMB over QUIC is an alternative to the legacy TCP protocol and is designed for use on untrusted networks like the Internet. It uses TLS 1.3 and certificates to ensure that all SMB traffic is encrypted and usable through edge firewalls for mobile and remote users without the need for a VPN. The user experience does not change at all.
Learn more
SMB over QUIC now available in Windows Server Insider Datacenter and Standard editions – Microsoft Community Hub
Configure SMB over QUIC client access control in Windows Server | Microsoft Learn
SMB over QUIC in Windows | Microsoft Learn
Demo:
SMB over QUIC client access control
What it is
SMB over QUIC client access control lets you restrict which clients can access SMB over QUIC servers. The legacy behavior allowed connection attempts from any client that trusts the QUIC server’s certificate issuance chain.
How it helps you
Client access control creates allow and block lists for devices to connect to the file server. A client would now need its own certificate and be on an allow list to complete the QUIC connection before any SMB connection occurs. Client access control gives organizations more protection without changing the authentication used when making the SMB connection and the user experience does not change. You can also completely disable the SMB over QUIC client or only allow connection to specific servers.
Learn more
SMB over QUIC client access control now supported in Windows Insider – Microsoft Community Hub
Configure SMB over QUIC client access control in Windows Server | Microsoft Learn
Demo:
SMB alternative ports
What it is
You can use the SMB client to connect to alternative TCP, QUIC, and RDMA ports than their IANA/IETF defaults of 445, 5445, and 443.
How it helps you
With Windows Server, this allows you to host an SMB over QUIC connection on an allowed firewall port other than 443. You can only connect to alternative ports if the SMB server is configured to support listening on that port. You can also configure your deployment to block configuring alternative ports or specify that ports can only connect to certain servers.
Learn more
SMB alternative ports now supported in Windows Insider – Microsoft Community Hub
Configure alternative SMB ports for Windows Server (preview) | Microsoft Learn
SMB Firewall default port changes
What it is
The built-in firewall rules don’t contain the SMB NetBIOS ports anymore.
How it helps you
The NetBIOS ports were only necessary for SMB1 usage, and that protocol is deprecated and removed by default. This change brings SMB firewall rules more in line with the standard behavior for the Windows Server File Server role. Administrators can reconfigure the rules to restore the legacy ports.
Learn more
SMB firewall rule changes in Windows Insider – Microsoft Community Hub
Secure SMB Traffic in Windows Server | Microsoft Learn
SMB auditing improvements
What it is
SMB now supports auditing use of SMB over QUIC, missing third party support for encryption, and missing third party support for signing. These all operate at the SMB server and SMB client level.
How it helps you
It is much easier for you to determine if Windows and Windows Server devices are making SMB over QUIC connections. It is also much easier to determine if third parties support signing and encryption before mandating their usage.
Learn more
Windows Insider build 26090 brings small changes for SMB – Microsoft Community Hub
Summary
With the release of Windows Server 2025 and Windows 11 24H2, we have made the most changes to SMB security since the introduction of SMB 2 in Windows Vista. Deploying these operating systems fundamentally alters your security posture and reduces risk to this ubiquitous remote file and data fabric protocol used by organizations worldwide.
For more information on changes in Windows Server 2025, visit Windows Server Summit 2024 – March 26-28, 2024 | Microsoft Event. You will find dozens of presentations and demos on the latest features arriving this fall in our latest operating system.
And remember, you can try all of this right now: preview Windows Server 2025 and Windows 11 24H2.
Until next time,
– Ned Pyle
Microsoft Tech Community – Latest Blogs –Read More
Copilot in Forms: Generate quiz with answer explanations and rewrite questions with ease
In July, we launched quiz generation for Copilot, revolutionizing the way you create quizzes. And now, just a month later, we’ve taken things up a notch! Copilot can now not only generate quizzes with detailed answer explanations, but it also gives you the power to rewrite each question. No matter what quiz you are creating, Copilot is here to make the process smoother and more intuitive than ever before. Let’s dive in and check how it works!
Generate quiz with answer explanations
Starting now, when you generate a quiz using Copilot, if you select “Including answer explanations,” each question will come with detailed explanations to clarify the reasoning behind the correct answers. You can review the solutions for each question and keep the draft to use. In this case, let’s try generating a math quiz for grade 9 students. Copilot shows us the step-by-step solutions to calculate the correct answer.
Rewrite the questions and answer explanations
Once you keep the draft to use, if you need to do further modifications on questions, options or the answer explanation, you can easily rewrite it with Copilot’s assistance. Simply click the Copilot icon next to the question and specify how you’d like to modify it. For example, you can make the question easier or add more details to the answer explanation for better clarity. You can also manually customize the answer explanations as needed.
Generate answer explanation for newly created questions
After adjusting the generated questions, if you still need to add new ones, Copilot can help by generating answer explanations based on the correct answers you mark, saving you time on manual input.
Immediate results and answer explanation for responders
When respondents submit the quiz, they can view their results immediately. They can review the answer explanations to understand which areas they already mastered or where they could improve.
Please note that a Copilot for Microsoft 365 license is required to access the above-mentioned Copilot for quiz features. Discover more about Copilot for Microsoft 365 here.
Microsoft Tech Community – Latest Blogs –Read More
Mengenal Potensi AI di Indonesia
Post Content
Variable Window Not Updating Automatically when code is executed
When I run some code which changes the contents of a class in my workspace, that change isn’t showing in the variables window unless I close this property and re-open it in the variables window. As you can see, when I quirry what this value is in the command prompt, I see that it doesn’t match the varibles window.
How is the "variables window" getting updated? Are there some settings in Matlab to adjust if the variables window automatically updates itselft on a perioidic basis, like once every 500mS or something? I don’t recall ever experiencing this before.
Please note that this array that I am looking at in the screenshot below, is an array of an enumeration class, where ‘SK1’ in the command window corelates to 1.0000 in the variables window.When I run some code which changes the contents of a class in my workspace, that change isn’t showing in the variables window unless I close this property and re-open it in the variables window. As you can see, when I quirry what this value is in the command prompt, I see that it doesn’t match the varibles window.
How is the "variables window" getting updated? Are there some settings in Matlab to adjust if the variables window automatically updates itselft on a perioidic basis, like once every 500mS or something? I don’t recall ever experiencing this before.
Please note that this array that I am looking at in the screenshot below, is an array of an enumeration class, where ‘SK1’ in the command window corelates to 1.0000 in the variables window. When I run some code which changes the contents of a class in my workspace, that change isn’t showing in the variables window unless I close this property and re-open it in the variables window. As you can see, when I quirry what this value is in the command prompt, I see that it doesn’t match the varibles window.
How is the "variables window" getting updated? Are there some settings in Matlab to adjust if the variables window automatically updates itselft on a perioidic basis, like once every 500mS or something? I don’t recall ever experiencing this before.
Please note that this array that I am looking at in the screenshot below, is an array of an enumeration class, where ‘SK1’ in the command window corelates to 1.0000 in the variables window. matlab, new desktop, variables window, enumeration MATLAB Answers — New Questions