Month: September 2024
MATLAB Vehicle Network Toolbox cannot send CAN messages on physical channels with Vector’s hardware VN1610.
When using the vehicle network toolbox(Matlab 2024a update 6) with the vector’s hardware VN1610, if choosing to use the real physical channel instead of the virtual channel, I’m not able to turn off the canChannel.SilentMode even if the canChannel.InitializationAccess is 1, which caused the channel only able to receive messages but cannot send out any messages. I tried to turn the SilentMode off with commands below:
>> txCh_I
txCh_I =
Channel with properties:
Device Information
DeviceVendor: ‘Vector’
Device: ‘VN1610 1’
DeviceChannelIndex: 2
DeviceSerialNumber: 530636
ProtocolMode: ‘CAN’
Status Information
Running: 0
MessagesAvailable: 0
MessagesReceived: 0
MessagesTransmitted: 0
InitializationAccess: 1
InitialTimestamp: [0×0 datetime]
FilterHistory: ‘Standard ID Filter: Allow All | Extended ID Filter: Allow All’
Channel Information
BusStatus: ‘N/A’
SilentMode: 1
TransceiverName: ‘On board CAN 1051cap(Highspeed)’
TransceiverState: 0
ReceiveErrorCount: 0
TransmitErrorCount: 0
BusSpeed: 250000
SJW: 1
TSEG1: 10
TSEG2: 5
NumOfSamples: 1
Other Information
Database: []
UserData: []
>> txCh_I.SilentMode = false
txCh_I =
Channel with properties:
Device Information
DeviceVendor: ‘Vector’
Device: ‘VN1610 1’
DeviceChannelIndex: 2
DeviceSerialNumber: 530636
ProtocolMode: ‘CAN’
Status Information
Running: 0
MessagesAvailable: 0
MessagesReceived: 0
MessagesTransmitted: 0
InitializationAccess: 1
InitialTimestamp: [0×0 datetime]
FilterHistory: ‘Standard ID Filter: Allow All | Extended ID Filter: Allow All’
Channel Information
BusStatus: ‘N/A’
SilentMode: 1
TransceiverName: ‘On board CAN 1051cap(Highspeed)’
TransceiverState: 0
ReceiveErrorCount: 0
TransmitErrorCount: 0
BusSpeed: 250000
SJW: 1
TSEG1: 10
TSEG2: 5
NumOfSamples: 1
Other Information
Database: []
UserData: []
It’s wierd that the channel has opened successfully but SilentMode is set to 1 defaultly, and the initial access is true but cannot change the SilentMode without giving any error or indication. When I dig the issue further, I found that this issue only happens on the hardware VN1610 with the latest Vector driver(version 24.20.10).
After rolling-back the driver to a previous version, the issue just disappeared:
Vehicle Network Toolbox has detected a supported Vector device. To connect to this device:
1. Download and install the latest device driver from the Vector website.
2. Verify device readiness with canChannelList.
>> txCh_I
txCh_I =
Channel with properties:
Device Information
DeviceVendor: ‘Vector’
Device: ‘VN1610 1’
DeviceChannelIndex: 1
DeviceSerialNumber: 530636
ProtocolMode: ‘CAN’
Status Information
Running: 0
MessagesAvailable: 150
MessagesReceived: 0
MessagesTransmitted: 0
InitializationAccess: 1
InitialTimestamp: 28-Sep-2024 06:28:43
FilterHistory: ‘Standard ID Filter: Allow All | Extended ID Filter: Allow All’
Channel Information
BusStatus: ‘N/A’
SilentMode: 0
TransceiverName: ‘On board CAN 1051cap(Highspeed)’
TransceiverState: 0
ReceiveErrorCount: 0
TransmitErrorCount: 0
BusSpeed: 500000
SJW: 1
TSEG1: 4
TSEG2: 3
NumOfSamples: 1
Other Information
Database: []
UserData: []
Please take a look and help check this. Thanks!When using the vehicle network toolbox(Matlab 2024a update 6) with the vector’s hardware VN1610, if choosing to use the real physical channel instead of the virtual channel, I’m not able to turn off the canChannel.SilentMode even if the canChannel.InitializationAccess is 1, which caused the channel only able to receive messages but cannot send out any messages. I tried to turn the SilentMode off with commands below:
>> txCh_I
txCh_I =
Channel with properties:
Device Information
DeviceVendor: ‘Vector’
Device: ‘VN1610 1’
DeviceChannelIndex: 2
DeviceSerialNumber: 530636
ProtocolMode: ‘CAN’
Status Information
Running: 0
MessagesAvailable: 0
MessagesReceived: 0
MessagesTransmitted: 0
InitializationAccess: 1
InitialTimestamp: [0×0 datetime]
FilterHistory: ‘Standard ID Filter: Allow All | Extended ID Filter: Allow All’
Channel Information
BusStatus: ‘N/A’
SilentMode: 1
TransceiverName: ‘On board CAN 1051cap(Highspeed)’
TransceiverState: 0
ReceiveErrorCount: 0
TransmitErrorCount: 0
BusSpeed: 250000
SJW: 1
TSEG1: 10
TSEG2: 5
NumOfSamples: 1
Other Information
Database: []
UserData: []
>> txCh_I.SilentMode = false
txCh_I =
Channel with properties:
Device Information
DeviceVendor: ‘Vector’
Device: ‘VN1610 1’
DeviceChannelIndex: 2
DeviceSerialNumber: 530636
ProtocolMode: ‘CAN’
Status Information
Running: 0
MessagesAvailable: 0
MessagesReceived: 0
MessagesTransmitted: 0
InitializationAccess: 1
InitialTimestamp: [0×0 datetime]
FilterHistory: ‘Standard ID Filter: Allow All | Extended ID Filter: Allow All’
Channel Information
BusStatus: ‘N/A’
SilentMode: 1
TransceiverName: ‘On board CAN 1051cap(Highspeed)’
TransceiverState: 0
ReceiveErrorCount: 0
TransmitErrorCount: 0
BusSpeed: 250000
SJW: 1
TSEG1: 10
TSEG2: 5
NumOfSamples: 1
Other Information
Database: []
UserData: []
It’s wierd that the channel has opened successfully but SilentMode is set to 1 defaultly, and the initial access is true but cannot change the SilentMode without giving any error or indication. When I dig the issue further, I found that this issue only happens on the hardware VN1610 with the latest Vector driver(version 24.20.10).
After rolling-back the driver to a previous version, the issue just disappeared:
Vehicle Network Toolbox has detected a supported Vector device. To connect to this device:
1. Download and install the latest device driver from the Vector website.
2. Verify device readiness with canChannelList.
>> txCh_I
txCh_I =
Channel with properties:
Device Information
DeviceVendor: ‘Vector’
Device: ‘VN1610 1’
DeviceChannelIndex: 1
DeviceSerialNumber: 530636
ProtocolMode: ‘CAN’
Status Information
Running: 0
MessagesAvailable: 150
MessagesReceived: 0
MessagesTransmitted: 0
InitializationAccess: 1
InitialTimestamp: 28-Sep-2024 06:28:43
FilterHistory: ‘Standard ID Filter: Allow All | Extended ID Filter: Allow All’
Channel Information
BusStatus: ‘N/A’
SilentMode: 0
TransceiverName: ‘On board CAN 1051cap(Highspeed)’
TransceiverState: 0
ReceiveErrorCount: 0
TransmitErrorCount: 0
BusSpeed: 500000
SJW: 1
TSEG1: 4
TSEG2: 3
NumOfSamples: 1
Other Information
Database: []
UserData: []
Please take a look and help check this. Thanks! When using the vehicle network toolbox(Matlab 2024a update 6) with the vector’s hardware VN1610, if choosing to use the real physical channel instead of the virtual channel, I’m not able to turn off the canChannel.SilentMode even if the canChannel.InitializationAccess is 1, which caused the channel only able to receive messages but cannot send out any messages. I tried to turn the SilentMode off with commands below:
>> txCh_I
txCh_I =
Channel with properties:
Device Information
DeviceVendor: ‘Vector’
Device: ‘VN1610 1’
DeviceChannelIndex: 2
DeviceSerialNumber: 530636
ProtocolMode: ‘CAN’
Status Information
Running: 0
MessagesAvailable: 0
MessagesReceived: 0
MessagesTransmitted: 0
InitializationAccess: 1
InitialTimestamp: [0×0 datetime]
FilterHistory: ‘Standard ID Filter: Allow All | Extended ID Filter: Allow All’
Channel Information
BusStatus: ‘N/A’
SilentMode: 1
TransceiverName: ‘On board CAN 1051cap(Highspeed)’
TransceiverState: 0
ReceiveErrorCount: 0
TransmitErrorCount: 0
BusSpeed: 250000
SJW: 1
TSEG1: 10
TSEG2: 5
NumOfSamples: 1
Other Information
Database: []
UserData: []
>> txCh_I.SilentMode = false
txCh_I =
Channel with properties:
Device Information
DeviceVendor: ‘Vector’
Device: ‘VN1610 1’
DeviceChannelIndex: 2
DeviceSerialNumber: 530636
ProtocolMode: ‘CAN’
Status Information
Running: 0
MessagesAvailable: 0
MessagesReceived: 0
MessagesTransmitted: 0
InitializationAccess: 1
InitialTimestamp: [0×0 datetime]
FilterHistory: ‘Standard ID Filter: Allow All | Extended ID Filter: Allow All’
Channel Information
BusStatus: ‘N/A’
SilentMode: 1
TransceiverName: ‘On board CAN 1051cap(Highspeed)’
TransceiverState: 0
ReceiveErrorCount: 0
TransmitErrorCount: 0
BusSpeed: 250000
SJW: 1
TSEG1: 10
TSEG2: 5
NumOfSamples: 1
Other Information
Database: []
UserData: []
It’s wierd that the channel has opened successfully but SilentMode is set to 1 defaultly, and the initial access is true but cannot change the SilentMode without giving any error or indication. When I dig the issue further, I found that this issue only happens on the hardware VN1610 with the latest Vector driver(version 24.20.10).
After rolling-back the driver to a previous version, the issue just disappeared:
Vehicle Network Toolbox has detected a supported Vector device. To connect to this device:
1. Download and install the latest device driver from the Vector website.
2. Verify device readiness with canChannelList.
>> txCh_I
txCh_I =
Channel with properties:
Device Information
DeviceVendor: ‘Vector’
Device: ‘VN1610 1’
DeviceChannelIndex: 1
DeviceSerialNumber: 530636
ProtocolMode: ‘CAN’
Status Information
Running: 0
MessagesAvailable: 150
MessagesReceived: 0
MessagesTransmitted: 0
InitializationAccess: 1
InitialTimestamp: 28-Sep-2024 06:28:43
FilterHistory: ‘Standard ID Filter: Allow All | Extended ID Filter: Allow All’
Channel Information
BusStatus: ‘N/A’
SilentMode: 0
TransceiverName: ‘On board CAN 1051cap(Highspeed)’
TransceiverState: 0
ReceiveErrorCount: 0
TransmitErrorCount: 0
BusSpeed: 500000
SJW: 1
TSEG1: 4
TSEG2: 3
NumOfSamples: 1
Other Information
Database: []
UserData: []
Please take a look and help check this. Thanks! vehicle network toolbox, vector hardware, vn1610, can channel MATLAB Answers — New Questions
Basic subscription 100 TB?
Hello, I was looking at the Onedrive subscriptions on the website and noticed that when clicking on the ‘get more storage space’ button, located at the top right and bottom left of the page, the Basic subscription says to offer 100 TB, whereas when clicking on the ‘manage storage’ button, then clicking on ‘subscriptions and upgrades’ at the left, the Basic subscription says to offer 100 GB. I assume the last one is correct as 100 TB seems too good to be true for 2 euros per month 😅. I wanted to report this as a problem with the ‘Report a problem’ button, but I get to a blank page.
Hello, I was looking at the Onedrive subscriptions on the website and noticed that when clicking on the ‘get more storage space’ button, located at the top right and bottom left of the page, the Basic subscription says to offer 100 TB, whereas when clicking on the ‘manage storage’ button, then clicking on ‘subscriptions and upgrades’ at the left, the Basic subscription says to offer 100 GB. I assume the last one is correct as 100 TB seems too good to be true for 2 euros per month 😅. I wanted to report this as a problem with the ‘Report a problem’ button, but I get to a blank page. Read More
Choose role of NaN when summing two matrices
Dear all
Some time ago, I posted this question: Choosing the role of NaN elements in the sum environment of matrices. That worked great when doing the mean value, but now imagine that I just want to sum the two matrices, given by:
aa=[1 2; 3 NaN];
bb=[NaN 1; 2 NaN];
so that I obtain:
cc=[1 3; 5 NaN];
If I do something like:
cc=sum(cat(3,aa,bb),3,’omitnan’)
that gives:
cc=[1 3; 5 0];
Which way would be the best in this case?Dear all
Some time ago, I posted this question: Choosing the role of NaN elements in the sum environment of matrices. That worked great when doing the mean value, but now imagine that I just want to sum the two matrices, given by:
aa=[1 2; 3 NaN];
bb=[NaN 1; 2 NaN];
so that I obtain:
cc=[1 3; 5 NaN];
If I do something like:
cc=sum(cat(3,aa,bb),3,’omitnan’)
that gives:
cc=[1 3; 5 0];
Which way would be the best in this case? Dear all
Some time ago, I posted this question: Choosing the role of NaN elements in the sum environment of matrices. That worked great when doing the mean value, but now imagine that I just want to sum the two matrices, given by:
aa=[1 2; 3 NaN];
bb=[NaN 1; 2 NaN];
so that I obtain:
cc=[1 3; 5 NaN];
If I do something like:
cc=sum(cat(3,aa,bb),3,’omitnan’)
that gives:
cc=[1 3; 5 0];
Which way would be the best in this case? summing matrices, role of nan MATLAB Answers — New Questions
Error code line 19 with my Y=f(x), equation used is x^3+x^2-4x-4
function [x,y,err]=muller(f,x0,x1,x2,delta,epsilon,max1)
%Input – f is the object function
% – x0, x1, and x2 are the initial approximations
% – delta is the tolerance for x0, x1, and x2
% – epsilon the the tolerance for the function values y
% – max1 is the maximum number of iterations
%Output- x is the Muller approximation to the zero of f
% – y is the function value y = f(x)
% – err is the error in the approximation of x.
%Initalize the matrices X and Y
X=[x0 x1 x2];
Y=f(X);
%Calculate a and b in formula (15)
for k=1:max1
h0=X(1)-X(3);h1=X(2)-X(3);e0=Y(1)-Y(3);e1=Y(2)-Y(3);c=Y(3);
denom=h1*h0^2-h0*h1^2;
a=(e0*h1-e1*h0)/denom;
b=(e1*h0^2-e0*h1^2)/denom;
%Find the smallest root of (17)
if b < 0
disc=-disc;
end
z=-2*c/(b+disc);
x=X(3)+z;
%Sort the entries of X to find the two closest to x
if abs(x-X(2))<abs(x-X(1))
Q=[X(2) X(1) X(3)];
X=Q;
Y=f(X);
end
if abs(x-X(3))<abs(x-X(2))
R=[X(1) X(3) X(2)];
X=R;
Y=f(X);
end
%Replace the entry of X that was farthest from x with x
X(3)=x;
Y(3) = f(X(3));
y=Y(3);
%Determine stopping criteria
err=abs(z);
relerr=err/(abs(x)+delta);
if (err<delta)||(relerr<delta)||(abs(y)<epsilon)
break
end
endfunction [x,y,err]=muller(f,x0,x1,x2,delta,epsilon,max1)
%Input – f is the object function
% – x0, x1, and x2 are the initial approximations
% – delta is the tolerance for x0, x1, and x2
% – epsilon the the tolerance for the function values y
% – max1 is the maximum number of iterations
%Output- x is the Muller approximation to the zero of f
% – y is the function value y = f(x)
% – err is the error in the approximation of x.
%Initalize the matrices X and Y
X=[x0 x1 x2];
Y=f(X);
%Calculate a and b in formula (15)
for k=1:max1
h0=X(1)-X(3);h1=X(2)-X(3);e0=Y(1)-Y(3);e1=Y(2)-Y(3);c=Y(3);
denom=h1*h0^2-h0*h1^2;
a=(e0*h1-e1*h0)/denom;
b=(e1*h0^2-e0*h1^2)/denom;
%Find the smallest root of (17)
if b < 0
disc=-disc;
end
z=-2*c/(b+disc);
x=X(3)+z;
%Sort the entries of X to find the two closest to x
if abs(x-X(2))<abs(x-X(1))
Q=[X(2) X(1) X(3)];
X=Q;
Y=f(X);
end
if abs(x-X(3))<abs(x-X(2))
R=[X(1) X(3) X(2)];
X=R;
Y=f(X);
end
%Replace the entry of X that was farthest from x with x
X(3)=x;
Y(3) = f(X(3));
y=Y(3);
%Determine stopping criteria
err=abs(z);
relerr=err/(abs(x)+delta);
if (err<delta)||(relerr<delta)||(abs(y)<epsilon)
break
end
end function [x,y,err]=muller(f,x0,x1,x2,delta,epsilon,max1)
%Input – f is the object function
% – x0, x1, and x2 are the initial approximations
% – delta is the tolerance for x0, x1, and x2
% – epsilon the the tolerance for the function values y
% – max1 is the maximum number of iterations
%Output- x is the Muller approximation to the zero of f
% – y is the function value y = f(x)
% – err is the error in the approximation of x.
%Initalize the matrices X and Y
X=[x0 x1 x2];
Y=f(X);
%Calculate a and b in formula (15)
for k=1:max1
h0=X(1)-X(3);h1=X(2)-X(3);e0=Y(1)-Y(3);e1=Y(2)-Y(3);c=Y(3);
denom=h1*h0^2-h0*h1^2;
a=(e0*h1-e1*h0)/denom;
b=(e1*h0^2-e0*h1^2)/denom;
%Find the smallest root of (17)
if b < 0
disc=-disc;
end
z=-2*c/(b+disc);
x=X(3)+z;
%Sort the entries of X to find the two closest to x
if abs(x-X(2))<abs(x-X(1))
Q=[X(2) X(1) X(3)];
X=Q;
Y=f(X);
end
if abs(x-X(3))<abs(x-X(2))
R=[X(1) X(3) X(2)];
X=R;
Y=f(X);
end
%Replace the entry of X that was farthest from x with x
X(3)=x;
Y(3) = f(X(3));
y=Y(3);
%Determine stopping criteria
err=abs(z);
relerr=err/(abs(x)+delta);
if (err<delta)||(relerr<delta)||(abs(y)<epsilon)
break
end
end muller method MATLAB Answers — New Questions
Clash between Outlook.com email program for PC and the Outlook.com app for Android.
I can check mail on my phone app anytime and move or delete email as I see fit. I can go to empty deleted email and delete them.
When I go to Outlook on my PC I find the deleted files still sitting in the deleted folder.
Why aren’t they operating in sync with each other?
I can check mail on my phone app anytime and move or delete email as I see fit. I can go to empty deleted email and delete them.When I go to Outlook on my PC I find the deleted files still sitting in the deleted folder. Why aren’t they operating in sync with each other? Read More
Announcing Windows Server 2025 Security Baseline Preview
Announcing Windows Server 2025 Security Baseline Preview
Hello Windows Server Insiders!
Today we are pleased to announce the Windows Server 2025 Security Baseline Preview. You can enable security right from the start by applying the recommended security posture for your device or VM role through application of a tailored security baseline, with over 350 preconfigured Windows security settings that help you apply and enforce granular security settings that support best practices recommended by Microsoft and Industry standards. We have organized the Windows Server 2025 Security Baseline content into three categories based on your server role:
Domain Controller (DC)
Member Server
Workgroup Member
In addition, you can apply baselines with dedicated security settings specific to:
Windows Defender Antivirus (48)
Secured-Core (6)
Main Highlights of the security baseline are the following enforcements:
Secured-Core – UEFI MAT, Secure Boot, Signed Boot Chain
Account and password policies
Security Policies and Security Options
Protocols: TLS Enforced >1.2+, SMB 3.0+, Kerberos AES, etc.
Credentials Protections (LSASS/PPL)
And many more.
Please review the GitHub repository for what settings comprise of each definition:
Customer Experience:
The customer experience to apply baselines for individual machines, including image customizations are:
PowerShell cmdlets
Windows Admin Center (WAC)
For at-scale operations, you can apply baseline and monitor using Azure Policy and Azure Automanage Machine Configuration and see your compliance score.
The baseline experience is powered by ‘OSConfig – our newly introduced security configuration platform’. Once applied, your baseline settings are protected from any drift automatically, which is one of the key features of the security platform.
The WAC, Azure Policy and Azure Automanage Machine Configuration experiences will be released soon to the Windows Insider Program. This mechanism will not work for any earlier version of Windows Server.
1. Download prerelease modules from the PowerShell Gallery
If you have not previously configured your system to pull modules from the PowerShell Gallery, please do so using the following steps:
a. Open an elevated PowerShell window (not the x86 version)
b. Run Install-PackageProvider NuGet, PowerShellGet -Force
c. Open a new elevated PowerShell window
d. Run Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
2. Install the OSConfig PowerShell module
Run Install-Module -Name Microsoft.OSConfig -AllowPrerelease -Scope AllUsers -Repository PSGallery -Force
To verify if the OSConfig module is installed, run Get-Module -ListAvailable -Name Microsoft.OSConfig
3. Apply the Security Baseline via PowerShell cmdlets
For domain-joined device, run Set-OSConfigDesiredConfiguration -Scenario SecurityBaselineWS2025MemberServer -Default
For workgroup device, run Set-OSConfigDesiredConfiguration -Scenario SecurityBaselineWS2025WorkgroupMember -Default
For domain controller device, run Set-OSConfigDesiredConfiguration -Scenario SecurityBaseline/WS2025/DomainController -Default
For Secured-core, Run Set-OSConfigDesiredConfiguration -Scenario SecuredCore -Default
For Defender Antivirus, Run Set-OSConfigDesiredConfiguration -Scenario DefenderAntivirus -Default
Restart machine
4. Customize the Security Baseline via PowerShell cmdlets
Example using AuditDetailedFileShare for Member Server device (where the default value is 2)
Run Set-OSConfigDesiredConfiguration -Scenario SecurityBaselineWS2025MemberServer -Name AuditDetailedFileShare -Value 3
Run Get-OSConfigDesiredConfiguration -Scenario SecurityBaselineWS2025MemberServer -Name AuditDetailedFileShar
Check that the value is now 3.
5. View compliance of the Security Baseline via PowerShell cmdlets
Run Get-OSConfigDesiredConfiguration -Scenario SecuredCoreState
Run Get-OSConfigDesiredConfiguration -Scenario SecurityBaselineWS2025MemberServer | ft Name, @{ Name = “Status”; Expression={$_.Compliance.Status} }, @{ Name = “Reason”; Expression={$_.Compliance.Reason} } -AutoSize -Wrap
6. Most Common tasks impacted/Known Issues after applying baseline
Note: (Please read before exercising the scenario! Also, these scripts are for preview only and should not be used in production.)
Password requirements are Complexity and Minimum of 14-character length. This only applies to local user accounts; when signing in with a domain account, domain requirements prevail for domain accounts.
TLS connections are subject to a minimum of TLS/DTLS 1.2 or higher. May prevent connections to older systems.
Copy/Paste from RDP sessions is disabled. If you need to use this function, run: Set-OSConfigDesiredConfiguration -Scenario SecurityBaselineWS2025[role being applied] -Name RemoteDesktopServicesDoNotAllowDriveRedirection -Value 0 and then reboot.
SMB connections are subject to a minimum of 3.0 or higher (available as of WS2012). Connecting to non-windows systems (like Linux SAMBA) must support SMB 3.0, or adjustments to the baseline are needed.
You may run into a few user rights errors depending on your domain configuration. It does not impact the rest of the security baseline and can be ignored. We are working on fixing it. See MSLearn doc for details.
If you are configuring the same settings with two different tools (one being OSConfig in this case), there will be conflicts, especially with drift control involved. See MSLearn doc for details.
In case you are blocked or experiencing a work disruption after applying the security baseline:
File a bug in feedback hub under Category Windows Server-> Security Configuration Management
You should preview the security baseline only on test systems. While there is a ‘Remove’ command, not all configurations can be reversed.
Open an elevated PowerShell window, run Remove-OSConfigDesiredConfiguration -Scenario SecurityBaselineWS2025MemberServer and then reboot.
We value your feedback!
Please provide feedback as to what is working and what needs to be improved as your feedback is extremely valued to make the product experience better. Please use Feedback Hub app for Windows Server 2025. Category: Windows Server->Security Configuration Management
What’s coming?
We will also share a Windows Admin Center, Azure Policy and Azure Automanage Machine Configuration experience, to try out for getting full E2E experience & Application control for Windows Insider Program!!
Announcing Windows Server 2025 Security Baseline Preview
Hello Windows Server Insiders!
Today we are pleased to announce the Windows Server 2025 Security Baseline Preview. You can enable security right from the start by applying the recommended security posture for your device or VM role through application of a tailored security baseline, with over 350 preconfigured Windows security settings that help you apply and enforce granular security settings that support best practices recommended by Microsoft and Industry standards. We have organized the Windows Server 2025 Security Baseline content into three categories based on your server role:
Domain Controller (DC)
Member Server
Workgroup Member
In addition, you can apply baselines with dedicated security settings specific to:
Windows Defender Antivirus (48)
Secured-Core (6)
Main Highlights of the security baseline are the following enforcements:
Secured-Core – UEFI MAT, Secure Boot, Signed Boot Chain
Account and password policies
Security Policies and Security Options
Protocols: TLS Enforced >1.2+, SMB 3.0+, Kerberos AES, etc.
Credentials Protections (LSASS/PPL)
And many more.
Please review the GitHub repository for what settings comprise of each definition:
https://github.com/microsoft/osconfig/blob/main/security/SecurityBaseline_WindowsServer_2025-2409.csv
Customer Experience:
The customer experience to apply baselines for individual machines, including image customizations are:
PowerShell cmdlets
Windows Admin Center (WAC)
For at-scale operations, you can apply baseline and monitor using Azure Policy and Azure Automanage Machine Configuration and see your compliance score.
The baseline experience is powered by ‘OSConfig – our newly introduced security configuration platform’. Once applied, your baseline settings are protected from any drift automatically, which is one of the key features of the security platform.
The WAC, Azure Policy and Azure Automanage Machine Configuration experiences will be released soon to the Windows Insider Program. This mechanism will not work for any earlier version of Windows Server.
1. Download prerelease modules from the PowerShell Gallery
If you have not previously configured your system to pull modules from the PowerShell Gallery, please do so using the following steps:
a. Open an elevated PowerShell window (not the x86 version)
b. Run Install-PackageProvider NuGet, PowerShellGet -Force
c. Open a new elevated PowerShell window
d. Run Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
2. Install the OSConfig PowerShell module
Run Install-Module -Name Microsoft.OSConfig -AllowPrerelease -Scope AllUsers -Repository PSGallery -Force
To verify if the OSConfig module is installed, run Get-Module -ListAvailable -Name Microsoft.OSConfig
3. Apply the Security Baseline via PowerShell cmdlets
For domain-joined device, run Set-OSConfigDesiredConfiguration -Scenario SecurityBaselineWS2025MemberServer -Default
For workgroup device, run Set-OSConfigDesiredConfiguration -Scenario SecurityBaselineWS2025WorkgroupMember -Default
For domain controller device, run Set-OSConfigDesiredConfiguration -Scenario SecurityBaseline/WS2025/DomainController -Default
For Secured-core, Run Set-OSConfigDesiredConfiguration -Scenario SecuredCore -Default
For Defender Antivirus, Run Set-OSConfigDesiredConfiguration -Scenario DefenderAntivirus -Default
Restart machine
4. Customize the Security Baseline via PowerShell cmdlets
Example using AuditDetailedFileShare for Member Server device (where the default value is 2)
Run Set-OSConfigDesiredConfiguration -Scenario SecurityBaselineWS2025MemberServer -Name AuditDetailedFileShare -Value 3
Run Get-OSConfigDesiredConfiguration -Scenario SecurityBaselineWS2025MemberServer -Name AuditDetailedFileShar
Check that the value is now 3.
5. View compliance of the Security Baseline via PowerShell cmdlets
Run Get-OSConfigDesiredConfiguration -Scenario SecuredCoreState
Run Get-OSConfigDesiredConfiguration -Scenario SecurityBaselineWS2025MemberServer | ft Name, @{ Name = “Status”; Expression={$_.Compliance.Status} }, @{ Name = “Reason”; Expression={$_.Compliance.Reason} } -AutoSize -Wrap
6. Most Common tasks impacted/Known Issues after applying baseline
Note: (Please read before exercising the scenario! Also, these scripts are for preview only and should not be used in production.)
Password requirements are Complexity and Minimum of 14-character length. This only applies to local user accounts; when signing in with a domain account, domain requirements prevail for domain accounts.
TLS connections are subject to a minimum of TLS/DTLS 1.2 or higher. May prevent connections to older systems.
Copy/Paste from RDP sessions is disabled. If you need to use this function, run: Set-OSConfigDesiredConfiguration -Scenario SecurityBaselineWS2025[role being applied] -Name RemoteDesktopServicesDoNotAllowDriveRedirection -Value 0 and then reboot.
SMB connections are subject to a minimum of 3.0 or higher (available as of WS2012). Connecting to non-windows systems (like Linux SAMBA) must support SMB 3.0, or adjustments to the baseline are needed.
You may run into a few user rights errors depending on your domain configuration. It does not impact the rest of the security baseline and can be ignored. We are working on fixing it. See MSLearn doc for details.
If you are configuring the same settings with two different tools (one being OSConfig in this case), there will be conflicts, especially with drift control involved. See MSLearn doc for details.
In case you are blocked or experiencing a work disruption after applying the security baseline:
File a bug in feedback hub under Category Windows Server-> Security Configuration Management
You should preview the security baseline only on test systems. While there is a ‘Remove’ command, not all configurations can be reversed.
Open an elevated PowerShell window, run Remove-OSConfigDesiredConfiguration -Scenario SecurityBaselineWS2025MemberServer and then reboot.
We value your feedback!
Please provide feedback as to what is working and what needs to be improved as your feedback is extremely valued to make the product experience better. Please use Feedback Hub app for Windows Server 2025. Category: Windows Server->Security Configuration Management
What’s coming?
We will also share a Windows Admin Center, Azure Policy and Azure Automanage Machine Configuration experience, to try out for getting full E2E experience & Application control for Windows Insider Program!! Read More
Avatar has no lighting
I have several environments and in one of them the avatar is totally black. It is as if it isn’t “lit”. Everything else in the scene looks fine. I have compared the Unity project with one that works correctly but can not find a reason. When running inside Unity in play mode I do see the “Stickman” avatar ok. Any ideas on where I should look would be appreciated.
Robert
I have several environments and in one of them the avatar is totally black. It is as if it isn’t “lit”. Everything else in the scene looks fine. I have compared the Unity project with one that works correctly but can not find a reason. When running inside Unity in play mode I do see the “Stickman” avatar ok. Any ideas on where I should look would be appreciated. Robert Read More
Accessing Microsoft 365 E5 Sandbox in the Developer Program (Constco)
Hello Microsoft Tech Community,
I’m encountering difficulties accessing the E5 sandbox in the Microsoft 365 Developer Program using my personal account. Although I’ve successfully accessed Azure Free Tier and other free services which have expired (not sure if related but included relevant information?), I can’t seem to activate or access the E5 sandbox that I’ve seen other developers use to access the Constco Tenant.
Steps I’ve Taken:
Completed the initial setup for the Developer Program.Searched for specific guidance on accessing the E5 sandbox with a personal account in official documentation, community posts, and YouTube.Tried signing up with different Microsoft accounts, each with a separate phone number, but faced the same access issues.
Questions:
What are the exact steps needed to access the E5 sandbox in the Developer Program?Are there any specific requirements or limitations for personal accounts that might affect access?Whom can I contact within Microsoft for direct assistance with this issue?
I appreciate any advice or resources you can provide to help clarify these issues. Thank you in advance for your support!
Hello Microsoft Tech Community,I’m encountering difficulties accessing the E5 sandbox in the Microsoft 365 Developer Program using my personal account. Although I’ve successfully accessed Azure Free Tier and other free services which have expired (not sure if related but included relevant information?), I can’t seem to activate or access the E5 sandbox that I’ve seen other developers use to access the Constco Tenant. Steps I’ve Taken:Completed the initial setup for the Developer Program.Searched for specific guidance on accessing the E5 sandbox with a personal account in official documentation, community posts, and YouTube.Tried signing up with different Microsoft accounts, each with a separate phone number, but faced the same access issues.Questions:What are the exact steps needed to access the E5 sandbox in the Developer Program?Are there any specific requirements or limitations for personal accounts that might affect access?Whom can I contact within Microsoft for direct assistance with this issue?I appreciate any advice or resources you can provide to help clarify these issues. Thank you in advance for your support! Read More
Copilot has no memory.
I’ve been experiencing this issue for bout the last week, with the beta preview built into Windows. Then in the last 24 hours the same issue is happening in the browser version.
I will create a prompt and get a perfectly good response. I then ask a follow-up question, and Copilot has no idea what I’m talking about.
I have to contextually ground every single prompt, which is incredibly tiresome.
I’ve notified MS on the feedback hub at least 4 times. I’ve tried shouting out them on LinkedIn, numerous times with images like the ones here.
Copilot is completely broken on my machine, in all forms. On the first one you can see we’re only a little way into the session. It’s gotten to the point now where I’m keeping my browser open and using ChatGPT. I’ve asked Copilot how do I reset it, but it tells me to use options that simply don’t exist. I deleted all of my previous conversations locally, and all of the ones in the privacy section of my online profile, but no luck. I asked Copilot if it stored local copies of our conversations, thinking maybe they were causing a problem. It said that yes it does. I asked where they were, and it said it couldn’t tell me. After a number of times asking the same question it told me a location, which didn’t exist.
So, it can clearly be broken, and there is no way to reset it as a user. Or at least none I have found through online searching. I looked in the registry for an hour but no luck there either. Obviously buried very deep.
Please for the love of God, how do I restore Copilot?!!
Interesting side not, I was spending a month with Copilot as a programming aid to see if it was ready for daily use…that’s going to be an interesting article!
Examples:
I’ve been experiencing this issue for bout the last week, with the beta preview built into Windows. Then in the last 24 hours the same issue is happening in the browser version.I will create a prompt and get a perfectly good response. I then ask a follow-up question, and Copilot has no idea what I’m talking about.I have to contextually ground every single prompt, which is incredibly tiresome.I’ve notified MS on the feedback hub at least 4 times. I’ve tried shouting out them on LinkedIn, numerous times with images like the ones here. Copilot is completely broken on my machine, in all forms. On the first one you can see we’re only a little way into the session. It’s gotten to the point now where I’m keeping my browser open and using ChatGPT. I’ve asked Copilot how do I reset it, but it tells me to use options that simply don’t exist. I deleted all of my previous conversations locally, and all of the ones in the privacy section of my online profile, but no luck. I asked Copilot if it stored local copies of our conversations, thinking maybe they were causing a problem. It said that yes it does. I asked where they were, and it said it couldn’t tell me. After a number of times asking the same question it told me a location, which didn’t exist. So, it can clearly be broken, and there is no way to reset it as a user. Or at least none I have found through online searching. I looked in the registry for an hour but no luck there either. Obviously buried very deep. Please for the love of God, how do I restore Copilot?!!Interesting side not, I was spending a month with Copilot as a programming aid to see if it was ready for daily use…that’s going to be an interesting article! Examples: Read More
Sorting by birthday in a membership data list
What want to move all data to put in chromological order of the birthdays in one column.
What want to move all data to put in chromological order of the birthdays in one column. Read More
Windows mixed reality controllers lag and disappear
Hi,
I bought a hp reverb g2 headset and controllers about two years ago. They were working fine at that time. I tried them again recently and now the controllers lag and frequently disappear.
I have tried buying a usb bluetooth adapter. I have removed and re-paired the controllers. I have reinstalled the mixed reality driver.
If there is anything you need to know about the PC spec please ask and I will find out.
Is there anything else I could try please?
Hi,I bought a hp reverb g2 headset and controllers about two years ago. They were working fine at that time. I tried them again recently and now the controllers lag and frequently disappear. I have tried buying a usb bluetooth adapter. I have removed and re-paired the controllers. I have reinstalled the mixed reality driver. If there is anything you need to know about the PC spec please ask and I will find out. Is there anything else I could try please? Read More
BLDC motor driver usinf FOC simulation problem
Hi, i tried to create the simulink model of bldc motor driver using IFOC, but i just can not figure why the speed plot was not right? i tried to tune the pi controller, but seems that there might be problem with system.Hi, i tried to create the simulink model of bldc motor driver using IFOC, but i just can not figure why the speed plot was not right? i tried to tune the pi controller, but seems that there might be problem with system. Hi, i tried to create the simulink model of bldc motor driver using IFOC, but i just can not figure why the speed plot was not right? i tried to tune the pi controller, but seems that there might be problem with system. bldc foc, foc MATLAB Answers — New Questions
Hello, i need help on least square fitting for an infectious disease
An SIR model for COVID-19, Flu, and RSV
We utilize mathematical modeling based on differential equations to investigate the trans-
mission dynamics of the three respiratory infections: COVID-19, Flu, and RSV. To start, let
us consider a simple SIR model, which involves three compartments: the susceptible individ-
uals (denoted by S), the infected individuals (denoted by I), and the recovered individuals
(denoted by R).
The model is described as follows:
dS
dt = Lambda − beta SI − mu S,
dI
dt = beta SI − (gamma + w + mu )I,
dR
dt = gamma I − mu R.
The parameter Lambda is the population influx rate, beta is the transmission rates, mu is the natural
death rate for the human hosts, gamma is the rate of recovery from the infection, and w is the
disease induced death rate. For simplicity, we set Lambda = mu N, where N is the total population.
For the US, mu = 1/76.33 year−1 = 1/(76.33 ∗ 365) day−1
, and N = 345, 426, 571 people.
Other parameter values are:
COVID-19: gamma = 1/14 day−1
, w = 0.01/7 day−1
;
Flu: gamma = 1/3.5 day−1
, w = 0.006/7 day−1
;
RSV: gamma = 1/10.5 day−1
, w = 0.002/7 day−1
.
Apply this model separately to the US data on COVID-19, Flu, and RSV, and estimate the
value of the transmission rate beta in each case. The data fitting is typically done by using the
least squares method. Based on the fitted beta , calculate the basic reproduction number R0
for each.
I am supposed to consider the above instruction to write matlab codes to find the transmission rate for the flu, covid and the RSV data. Each of these diseases has six seasons starting from 2018-2019 seaons to 2023-2024 seasons.
if the matlab data for 2018-2019 flu season is this:
% Filter for the 2018-19 flu season
Flu_data_2018_2019 = Flu_data(strcmp(Flu_data.Season, ‘2018-19’), :);
% Display the filtered data for the 2018-19 season
disp(Flu_data_2018_2019);
% Display the ‘Weekly_Rate’ column (replace with the correct column name if needed)
Weekly_Rate_2018_2019 = Flu_data_2018_2019.WeeklyRate;
disp(Weekly_Rate_2018_2019);
help write a matlab code to find the transmission rate for the 2018-2019 flu season and the reproduction numberAn SIR model for COVID-19, Flu, and RSV
We utilize mathematical modeling based on differential equations to investigate the trans-
mission dynamics of the three respiratory infections: COVID-19, Flu, and RSV. To start, let
us consider a simple SIR model, which involves three compartments: the susceptible individ-
uals (denoted by S), the infected individuals (denoted by I), and the recovered individuals
(denoted by R).
The model is described as follows:
dS
dt = Lambda − beta SI − mu S,
dI
dt = beta SI − (gamma + w + mu )I,
dR
dt = gamma I − mu R.
The parameter Lambda is the population influx rate, beta is the transmission rates, mu is the natural
death rate for the human hosts, gamma is the rate of recovery from the infection, and w is the
disease induced death rate. For simplicity, we set Lambda = mu N, where N is the total population.
For the US, mu = 1/76.33 year−1 = 1/(76.33 ∗ 365) day−1
, and N = 345, 426, 571 people.
Other parameter values are:
COVID-19: gamma = 1/14 day−1
, w = 0.01/7 day−1
;
Flu: gamma = 1/3.5 day−1
, w = 0.006/7 day−1
;
RSV: gamma = 1/10.5 day−1
, w = 0.002/7 day−1
.
Apply this model separately to the US data on COVID-19, Flu, and RSV, and estimate the
value of the transmission rate beta in each case. The data fitting is typically done by using the
least squares method. Based on the fitted beta , calculate the basic reproduction number R0
for each.
I am supposed to consider the above instruction to write matlab codes to find the transmission rate for the flu, covid and the RSV data. Each of these diseases has six seasons starting from 2018-2019 seaons to 2023-2024 seasons.
if the matlab data for 2018-2019 flu season is this:
% Filter for the 2018-19 flu season
Flu_data_2018_2019 = Flu_data(strcmp(Flu_data.Season, ‘2018-19’), :);
% Display the filtered data for the 2018-19 season
disp(Flu_data_2018_2019);
% Display the ‘Weekly_Rate’ column (replace with the correct column name if needed)
Weekly_Rate_2018_2019 = Flu_data_2018_2019.WeeklyRate;
disp(Weekly_Rate_2018_2019);
help write a matlab code to find the transmission rate for the 2018-2019 flu season and the reproduction number An SIR model for COVID-19, Flu, and RSV
We utilize mathematical modeling based on differential equations to investigate the trans-
mission dynamics of the three respiratory infections: COVID-19, Flu, and RSV. To start, let
us consider a simple SIR model, which involves three compartments: the susceptible individ-
uals (denoted by S), the infected individuals (denoted by I), and the recovered individuals
(denoted by R).
The model is described as follows:
dS
dt = Lambda − beta SI − mu S,
dI
dt = beta SI − (gamma + w + mu )I,
dR
dt = gamma I − mu R.
The parameter Lambda is the population influx rate, beta is the transmission rates, mu is the natural
death rate for the human hosts, gamma is the rate of recovery from the infection, and w is the
disease induced death rate. For simplicity, we set Lambda = mu N, where N is the total population.
For the US, mu = 1/76.33 year−1 = 1/(76.33 ∗ 365) day−1
, and N = 345, 426, 571 people.
Other parameter values are:
COVID-19: gamma = 1/14 day−1
, w = 0.01/7 day−1
;
Flu: gamma = 1/3.5 day−1
, w = 0.006/7 day−1
;
RSV: gamma = 1/10.5 day−1
, w = 0.002/7 day−1
.
Apply this model separately to the US data on COVID-19, Flu, and RSV, and estimate the
value of the transmission rate beta in each case. The data fitting is typically done by using the
least squares method. Based on the fitted beta , calculate the basic reproduction number R0
for each.
I am supposed to consider the above instruction to write matlab codes to find the transmission rate for the flu, covid and the RSV data. Each of these diseases has six seasons starting from 2018-2019 seaons to 2023-2024 seasons.
if the matlab data for 2018-2019 flu season is this:
% Filter for the 2018-19 flu season
Flu_data_2018_2019 = Flu_data(strcmp(Flu_data.Season, ‘2018-19’), :);
% Display the filtered data for the 2018-19 season
disp(Flu_data_2018_2019);
% Display the ‘Weekly_Rate’ column (replace with the correct column name if needed)
Weekly_Rate_2018_2019 = Flu_data_2018_2019.WeeklyRate;
disp(Weekly_Rate_2018_2019);
help write a matlab code to find the transmission rate for the 2018-2019 flu season and the reproduction number matlab, least square fitting MATLAB Answers — New Questions
Real-Time error after the last update windows 10
Hi,
My Matlab / Simulink after the latest Windows 10 update (19041.329) can’t simulate in real time, the error message is:
An error occurred while running the simulation and the simulation was terminated
Caused by:
Error reported by S-function ‘sldrtsync’ in ‘ForcesCompensation_vRo_Ce_Be_Ga_v3/Real-Time Synchronization’: Hardware timer cannot be allocated. Real-time kernel cannot run.
Yesterday before the update everything works fine.
I tried to reinstall the following packages:
– Simulink in real time.
– Real-time desktop simulation.
– MATLAB support for the MinGW-w64 C / C ++ compiler.
And reinstall the real-time kernel with "sldrtkernel -install" command.
But the problem was not resolved.
I have the Matlab 2018b and Matlab 2019b and both have the same problem.
Can anyone help me?
Thanks.Hi,
My Matlab / Simulink after the latest Windows 10 update (19041.329) can’t simulate in real time, the error message is:
An error occurred while running the simulation and the simulation was terminated
Caused by:
Error reported by S-function ‘sldrtsync’ in ‘ForcesCompensation_vRo_Ce_Be_Ga_v3/Real-Time Synchronization’: Hardware timer cannot be allocated. Real-time kernel cannot run.
Yesterday before the update everything works fine.
I tried to reinstall the following packages:
– Simulink in real time.
– Real-time desktop simulation.
– MATLAB support for the MinGW-w64 C / C ++ compiler.
And reinstall the real-time kernel with "sldrtkernel -install" command.
But the problem was not resolved.
I have the Matlab 2018b and Matlab 2019b and both have the same problem.
Can anyone help me?
Thanks. Hi,
My Matlab / Simulink after the latest Windows 10 update (19041.329) can’t simulate in real time, the error message is:
An error occurred while running the simulation and the simulation was terminated
Caused by:
Error reported by S-function ‘sldrtsync’ in ‘ForcesCompensation_vRo_Ce_Be_Ga_v3/Real-Time Synchronization’: Hardware timer cannot be allocated. Real-time kernel cannot run.
Yesterday before the update everything works fine.
I tried to reinstall the following packages:
– Simulink in real time.
– Real-time desktop simulation.
– MATLAB support for the MinGW-w64 C / C ++ compiler.
And reinstall the real-time kernel with "sldrtkernel -install" command.
But the problem was not resolved.
I have the Matlab 2018b and Matlab 2019b and both have the same problem.
Can anyone help me?
Thanks. real-time, windows 10 update, simulink, matlab2018b, matlab2019b MATLAB Answers — New Questions
Dynamically Tracker List Editors
Is there a way to track in real-time people editing an SP list at the same time.
The ‘Append’ function is not desired.
Case: There is an SP List available to several users. The users can edit the list several times a day.
Autocome: A column in the list the dynamically adds or removes the name of all who are currently viewing/editing the list.
When an individual opens the list their name appears in the column, along with all other names of those currently viewing/editing the list.
When a user closes their session their name is removed from the column with the names of all others still viewing/editing the list remaining.
Is there a way to track in real-time people editing an SP list at the same time.The ‘Append’ function is not desired.Case: There is an SP List available to several users. The users can edit the list several times a day.Autocome: A column in the list the dynamically adds or removes the name of all who are currently viewing/editing the list.When an individual opens the list their name appears in the column, along with all other names of those currently viewing/editing the list.When a user closes their session their name is removed from the column with the names of all others still viewing/editing the list remaining. Read More
the neuro fuzzy sistem modify the membership function in input or in output?
Hello,
I wanted to understand what happens to the membership function (in input/output) or rules when I insert in the anfis editor: Sugeno file and a training set.Hello,
I wanted to understand what happens to the membership function (in input/output) or rules when I insert in the anfis editor: Sugeno file and a training set. Hello,
I wanted to understand what happens to the membership function (in input/output) or rules when I insert in the anfis editor: Sugeno file and a training set. sugeno, anfis editor, neuro fuzzy MATLAB Answers — New Questions
Thingspeak – Expired License message & upload stopped working
After login I got sweet message:
Expired License
Your trial license has expired as of September 4, 2019.
In account settings:
License Type: Free
Expiration Date: 04 Dec 2019
Available Remaining
Messages 3 000 000 2 851 627
Channels 4 2
Upload to channels stopped working on september 4th…After login I got sweet message:
Expired License
Your trial license has expired as of September 4, 2019.
In account settings:
License Type: Free
Expiration Date: 04 Dec 2019
Available Remaining
Messages 3 000 000 2 851 627
Channels 4 2
Upload to channels stopped working on september 4th… After login I got sweet message:
Expired License
Your trial license has expired as of September 4, 2019.
In account settings:
License Type: Free
Expiration Date: 04 Dec 2019
Available Remaining
Messages 3 000 000 2 851 627
Channels 4 2
Upload to channels stopped working on september 4th… thingspeak licence expired, thingspeak MATLAB Answers — New Questions
extracting table data from a plot picture question
Hello,I have many plots like this in the data sheet.
there is a java tools which manually allow to extract the data of each plot.
Is the a way in matlab to do it?
Thanks.Hello,I have many plots like this in the data sheet.
there is a java tools which manually allow to extract the data of each plot.
Is the a way in matlab to do it?
Thanks. Hello,I have many plots like this in the data sheet.
there is a java tools which manually allow to extract the data of each plot.
Is the a way in matlab to do it?
Thanks. plot, photo MATLAB Answers — New Questions
Matlab plots step response vs timestep number instead of time in seconds
s = tf(‘s’); %Laplace variable
t = 0:0.01:10; %time vector start, dt , end
K = 1;
KI = 0;
sysT = (K * s + KI) / ( ( s^3 + 3*s^2 + (2+K)*s + KI) );
[y,t] = step(sysT,t);
plot(y);
Above snippet shows issue. The issue is that plot(y); plots the step response vs the number of timesteps instead of vs time in secs. For instance if dt = 0.01, the abcissa is in the 100’s. If dt = 0.001, the abcissa is in the 1000’s. If dt = 0.0001, the abcissa is in the 10000’s. How can I just plot vs time in seconds??s = tf(‘s’); %Laplace variable
t = 0:0.01:10; %time vector start, dt , end
K = 1;
KI = 0;
sysT = (K * s + KI) / ( ( s^3 + 3*s^2 + (2+K)*s + KI) );
[y,t] = step(sysT,t);
plot(y);
Above snippet shows issue. The issue is that plot(y); plots the step response vs the number of timesteps instead of vs time in secs. For instance if dt = 0.01, the abcissa is in the 100’s. If dt = 0.001, the abcissa is in the 1000’s. If dt = 0.0001, the abcissa is in the 10000’s. How can I just plot vs time in seconds?? s = tf(‘s’); %Laplace variable
t = 0:0.01:10; %time vector start, dt , end
K = 1;
KI = 0;
sysT = (K * s + KI) / ( ( s^3 + 3*s^2 + (2+K)*s + KI) );
[y,t] = step(sysT,t);
plot(y);
Above snippet shows issue. The issue is that plot(y); plots the step response vs the number of timesteps instead of vs time in secs. For instance if dt = 0.01, the abcissa is in the 100’s. If dt = 0.001, the abcissa is in the 1000’s. If dt = 0.0001, the abcissa is in the 10000’s. How can I just plot vs time in seconds?? plot vs timestep number MATLAB Answers — New Questions