Month: June 2024
Announcing GA of Advance Notifications for Azure SQL Managed Instance
What are advance notifications?
Why should I configure advance notifications?
Affected region
Affected service
List of impacted resources
Status of maintenance event
How do advance notifications work?
How do you set up advance notifications?
Conclusion
Microsoft Tech Community – Latest Blogs –Read More
Is enabled subsystem confusing?
Hello,
It is confusing for me to have this title as "States When Enabling" as the descirption is different, so should this be "When Disabling" instead?
<</matlabcentral/answers/uploaded_files/1718646/Screenshot_20240619_160214_Chrome.jpg>>Hello,
It is confusing for me to have this title as "States When Enabling" as the descirption is different, so should this be "When Disabling" instead?
<</matlabcentral/answers/uploaded_files/1718646/Screenshot_20240619_160214_Chrome.jpg>> Hello,
It is confusing for me to have this title as "States When Enabling" as the descirption is different, so should this be "When Disabling" instead?
<</matlabcentral/answers/uploaded_files/1718646/Screenshot_20240619_160214_Chrome.jpg>> simulink MATLAB Answers — New Questions
Shooting Method with Secant Method
Hi all,
I am working on a problem to solve a second order differential equation. I am using the numerical method ‘the shooting method’ and I need to perform iterations to find the initial value of the slope. To do this I am using the secant method. My intial values to start the shooting method for z are -4 and 4. From this is get the corresponding y values of -65.025 (3dp) and 106.062 (3dp) respectively. I am aiming to find the value of z when y = 0. Thus, I proceed to the secant method to find the value of ‘z’ when y = 0;
The formula for secant method is:
z2 = z1 – (y(z1) – 0)*(z1 – z2)/(y(z1 – y(z0))
I want to make a loop where this updates: Hence:
z0 = z1
z1 = z2
y(z0) = y(z1)
y(z1) = y(z2)
So, the next iteration is:
z3 = z2 – (y(z2) – 0)*(z2 – z21/(y(z2 – y(z2))
The thing is I now need to compute y(z2). I can do this, but it would meaning copying and pasting another block of code. Thus, my question is how to make the algorithm in MATLAB so that I can perform the desired number of iterations I want within the for loop? Rather than copying and pasting the code below over and over again until I reach a satisfactory point of convergence?
Here is my code:
clear, clc, close all
format longG
% Structural Properties
E = 2.1E+08;
Ic = 22530/100^4;
Ib = 19460/100^4;
Ac = 168/100^2;
h = 0.5;
r = 1;
Gi = (1*E*Ib/10);
Ci = 1/2*(E*Ic/h);
g = Gi/Ci;
K = (6*g + 1 + r);
V = [0 0 0 0 0 35 0 0 0 0 0 25 0 0 0 0 0 15 0 0 0 0 0 5 0];
%Initial Conditions 1
y = 0
z = -4
for i = 1:24
if i == 6 || i == 12 || i == 18
F(i) = h*(V(i) + V(i+6))/(4*Ci);
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h;
else F(i) = 0;
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h;
end
if i == 24
F(i) = h*(V(i))/(4*Ci);
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h
end
q0 = y(end)
p0 = z(1)
end
q0 = y(end)
p0 = z(1)
%Initial Conditions 2
y = 0
z = 4
for i = 1:24
if i == 6 || i == 12 || i == 18
F(i) = h*(V(i) + V(i+6))/(4*Ci);
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h;
else F(i) = 0;
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h;
end
if i == 24
F(i) = h*(V(i))/(4*Ci);
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h
end
end
q1 = y(end)
p1 = z(1)
% Secant Method
p2 = p1 – (q1 – 0)*(p1 – p0)/(q1 -q0)
I have left the secant method formula outside the loop, because I am unsure how to include it in the loop to perform the iterations I previously explained.
I understand that this is quite a long question. So thank you in advance for any help. However, you guys on here are great, so I hoping its not too tedious for you.
Many thanks,
ScottHi all,
I am working on a problem to solve a second order differential equation. I am using the numerical method ‘the shooting method’ and I need to perform iterations to find the initial value of the slope. To do this I am using the secant method. My intial values to start the shooting method for z are -4 and 4. From this is get the corresponding y values of -65.025 (3dp) and 106.062 (3dp) respectively. I am aiming to find the value of z when y = 0. Thus, I proceed to the secant method to find the value of ‘z’ when y = 0;
The formula for secant method is:
z2 = z1 – (y(z1) – 0)*(z1 – z2)/(y(z1 – y(z0))
I want to make a loop where this updates: Hence:
z0 = z1
z1 = z2
y(z0) = y(z1)
y(z1) = y(z2)
So, the next iteration is:
z3 = z2 – (y(z2) – 0)*(z2 – z21/(y(z2 – y(z2))
The thing is I now need to compute y(z2). I can do this, but it would meaning copying and pasting another block of code. Thus, my question is how to make the algorithm in MATLAB so that I can perform the desired number of iterations I want within the for loop? Rather than copying and pasting the code below over and over again until I reach a satisfactory point of convergence?
Here is my code:
clear, clc, close all
format longG
% Structural Properties
E = 2.1E+08;
Ic = 22530/100^4;
Ib = 19460/100^4;
Ac = 168/100^2;
h = 0.5;
r = 1;
Gi = (1*E*Ib/10);
Ci = 1/2*(E*Ic/h);
g = Gi/Ci;
K = (6*g + 1 + r);
V = [0 0 0 0 0 35 0 0 0 0 0 25 0 0 0 0 0 15 0 0 0 0 0 5 0];
%Initial Conditions 1
y = 0
z = -4
for i = 1:24
if i == 6 || i == 12 || i == 18
F(i) = h*(V(i) + V(i+6))/(4*Ci);
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h;
else F(i) = 0;
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h;
end
if i == 24
F(i) = h*(V(i))/(4*Ci);
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h
end
q0 = y(end)
p0 = z(1)
end
q0 = y(end)
p0 = z(1)
%Initial Conditions 2
y = 0
z = 4
for i = 1:24
if i == 6 || i == 12 || i == 18
F(i) = h*(V(i) + V(i+6))/(4*Ci);
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h;
else F(i) = 0;
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h;
end
if i == 24
F(i) = h*(V(i))/(4*Ci);
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h
end
end
q1 = y(end)
p1 = z(1)
% Secant Method
p2 = p1 – (q1 – 0)*(p1 – p0)/(q1 -q0)
I have left the secant method formula outside the loop, because I am unsure how to include it in the loop to perform the iterations I previously explained.
I understand that this is quite a long question. So thank you in advance for any help. However, you guys on here are great, so I hoping its not too tedious for you.
Many thanks,
Scott Hi all,
I am working on a problem to solve a second order differential equation. I am using the numerical method ‘the shooting method’ and I need to perform iterations to find the initial value of the slope. To do this I am using the secant method. My intial values to start the shooting method for z are -4 and 4. From this is get the corresponding y values of -65.025 (3dp) and 106.062 (3dp) respectively. I am aiming to find the value of z when y = 0. Thus, I proceed to the secant method to find the value of ‘z’ when y = 0;
The formula for secant method is:
z2 = z1 – (y(z1) – 0)*(z1 – z2)/(y(z1 – y(z0))
I want to make a loop where this updates: Hence:
z0 = z1
z1 = z2
y(z0) = y(z1)
y(z1) = y(z2)
So, the next iteration is:
z3 = z2 – (y(z2) – 0)*(z2 – z21/(y(z2 – y(z2))
The thing is I now need to compute y(z2). I can do this, but it would meaning copying and pasting another block of code. Thus, my question is how to make the algorithm in MATLAB so that I can perform the desired number of iterations I want within the for loop? Rather than copying and pasting the code below over and over again until I reach a satisfactory point of convergence?
Here is my code:
clear, clc, close all
format longG
% Structural Properties
E = 2.1E+08;
Ic = 22530/100^4;
Ib = 19460/100^4;
Ac = 168/100^2;
h = 0.5;
r = 1;
Gi = (1*E*Ib/10);
Ci = 1/2*(E*Ic/h);
g = Gi/Ci;
K = (6*g + 1 + r);
V = [0 0 0 0 0 35 0 0 0 0 0 25 0 0 0 0 0 15 0 0 0 0 0 5 0];
%Initial Conditions 1
y = 0
z = -4
for i = 1:24
if i == 6 || i == 12 || i == 18
F(i) = h*(V(i) + V(i+6))/(4*Ci);
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h;
else F(i) = 0;
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h;
end
if i == 24
F(i) = h*(V(i))/(4*Ci);
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h
end
q0 = y(end)
p0 = z(1)
end
q0 = y(end)
p0 = z(1)
%Initial Conditions 2
y = 0
z = 4
for i = 1:24
if i == 6 || i == 12 || i == 18
F(i) = h*(V(i) + V(i+6))/(4*Ci);
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h;
else F(i) = 0;
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h;
end
if i == 24
F(i) = h*(V(i))/(4*Ci);
z(i+1) = z(i) + ((F(i) – K*z(i) + y(i))/(-z(i)))*h;
y(i+1) = y(i) + z(i)*h
end
end
q1 = y(end)
p1 = z(1)
% Secant Method
p2 = p1 – (q1 – 0)*(p1 – p0)/(q1 -q0)
I have left the secant method formula outside the loop, because I am unsure how to include it in the loop to perform the iterations I previously explained.
I understand that this is quite a long question. So thank you in advance for any help. However, you guys on here are great, so I hoping its not too tedious for you.
Many thanks,
Scott for loop MATLAB Answers — New Questions
Is there some way to resolve a DLP false positive on a Sharepoint file?
We received an email from SharePoint indicating a file that’s shared outside our organization has a credit card number on it. The CAD drawing has been fully inspected and confirmed to not have a credit card number in it.
Our DLP policy is otherwise sound. Is there some way to just update this one file to confirm it’s ok?
When selecting REPORT AN ISSUE, this doesn’t go to anyone in our organization.
We received an email from SharePoint indicating a file that’s shared outside our organization has a credit card number on it. The CAD drawing has been fully inspected and confirmed to not have a credit card number in it. Our DLP policy is otherwise sound. Is there some way to just update this one file to confirm it’s ok? When selecting REPORT AN ISSUE, this doesn’t go to anyone in our organization. Read More
Clicking on Manage on a group Member’s Properties page sends me to a completely different device
Recently I sent a wipe to a computer (Device A). Groups – Group A – Members – Device A – Properties – Manage – Wipe. But, when I navigated to the Manage tab, it sent me to a completely different device (Device X). Device X is not in Group A, or any other group. When I sent a wipe, it sent it to Device X, not Device A, and it is currently still pending.
We found out after that this glitch starting happening with every member of every group in our system. Clicking Manage on any device in any group sent us to the Manage page of Device X. If we search for devices in Devices instead of Groups, this glitch does not happen.
What is going on? Is there a possibility that all of our devices could be wiped because of this glitch?
Recently I sent a wipe to a computer (Device A). Groups – Group A – Members – Device A – Properties – Manage – Wipe. But, when I navigated to the Manage tab, it sent me to a completely different device (Device X). Device X is not in Group A, or any other group. When I sent a wipe, it sent it to Device X, not Device A, and it is currently still pending.We found out after that this glitch starting happening with every member of every group in our system. Clicking Manage on any device in any group sent us to the Manage page of Device X. If we search for devices in Devices instead of Groups, this glitch does not happen.What is going on? Is there a possibility that all of our devices could be wiped because of this glitch? Read More
Parameterized function in cross workspace queries
Hi,
I’m looking to get some input on a query I’m working on.
The thought is to create a query for each customer in our Lighthouse tenant, then be able to query a function named for the customer, so for example,
CustomerA(“SigninLogs”)
| where Identity contains “someperson”
However, when calling the function above, I’m getting the following error.
Is there some limitation with the workspace command or where am I doing wrong?
Hi, I’m looking to get some input on a query I’m working on. The thought is to create a query for each customer in our Lighthouse tenant, then be able to query a function named for the customer, so for example,CustomerA(“SigninLogs”)| where Identity contains “someperson” However, when calling the function above, I’m getting the following error. Is there some limitation with the workspace command or where am I doing wrong? Read More
Attendance tab not showing for co-organisers for Webinars
When setting up some recent webinars that are open to the public, we have added a number of co-organisers across our organisation to allow them to check who’s registered and keep tabs on registration numbers for each webinar.
This used to be visible in Teams on the webinar menu bar for easy access to everyone. But despite checking the settings in meeting options and ensuring that ‘Allow attendance report’ is selected as ‘Yes,’ only the main webinar organiser can see this attendance report tab?
Any suggestions?
When setting up some recent webinars that are open to the public, we have added a number of co-organisers across our organisation to allow them to check who’s registered and keep tabs on registration numbers for each webinar. This used to be visible in Teams on the webinar menu bar for easy access to everyone. But despite checking the settings in meeting options and ensuring that ‘Allow attendance report’ is selected as ‘Yes,’ only the main webinar organiser can see this attendance report tab? Any suggestions? Read More
Problems with Group Header Formatting in Sharepoint List
I’m having an couple of issues with formatting the grouped headers of a sharepoint list where the JSON formatting seems to be having an odd effect. The first thing, is when I apply any JSON formatting at all, I lose the ability to click on the headers to filter by that group. This is despite having the default click custom row action included. The second issue is when I change the “hideSelection” field to true, the group heading jumps from it’s normal position to half way down the width of the list. If tried setting different padding and position fields, but it always applies from this new position in the middle of the screen. Any advise would be appreciated!
{
“$schema”: “https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json”,
“hideSelection”: true,
“groupProps”: {
“headerFormatter”: {
“elmType”: “div”,
“style”: {
“padding-left”: “12px”,
“font-size”: “16px”,
“font-weight”: “400”,
“cursor”: “pointer”,
“outline”: “0px”,
“white-space”: “nowrap”,
“text-overflow”: “ellipsis”
},
“customRowAction”: {
“action”: “defaultClick”
},
“children”: [
{
“elmType”: “div”,
“children”: [
{
“elmType”: “span”,
“style”: {
“padding”: “5px 5px 5px 5px”
},
“txtContent”: “@group.fieldData.displayValue”
}
]
},
{
“elmType”: “div”,
“children”: [
{
“elmType”: “div”,
“style”: {
“display”: “flex”,
“flex-direction”: “row”,
“justify-content”: “center”
},
“children”: [
{
“elmType”: “div”,
“txtContent”: “=’ (‘ + @group.count + ‘)'”
}
]
}
]
}
]
}
}
}
I’m having an couple of issues with formatting the grouped headers of a sharepoint list where the JSON formatting seems to be having an odd effect. The first thing, is when I apply any JSON formatting at all, I lose the ability to click on the headers to filter by that group. This is despite having the default click custom row action included. The second issue is when I change the “hideSelection” field to true, the group heading jumps from it’s normal position to half way down the width of the list. If tried setting different padding and position fields, but it always applies from this new position in the middle of the screen. Any advise would be appreciated! {
“$schema”: “https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json”,
“hideSelection”: true,
“groupProps”: {
“headerFormatter”: {
“elmType”: “div”,
“style”: {
“padding-left”: “12px”,
“font-size”: “16px”,
“font-weight”: “400”,
“cursor”: “pointer”,
“outline”: “0px”,
“white-space”: “nowrap”,
“text-overflow”: “ellipsis”
},
“customRowAction”: {
“action”: “defaultClick”
},
“children”: [
{
“elmType”: “div”,
“children”: [
{
“elmType”: “span”,
“style”: {
“padding”: “5px 5px 5px 5px”
},
“txtContent”: “@group.fieldData.displayValue”
}
]
},
{
“elmType”: “div”,
“children”: [
{
“elmType”: “div”,
“style”: {
“display”: “flex”,
“flex-direction”: “row”,
“justify-content”: “center”
},
“children”: [
{
“elmType”: “div”,
“txtContent”: “=’ (‘ + @group.count + ‘)'”
}
]
}
]
}
]
}
}
} Read More
Intune Management Extension not installed on 200+ PC’s
Hi all
We recently moved from LOB apps to W32 to prepare for our upcoming autopilot rollout
While pushing apps out via W32, we noticed that the apps would install on about half of our PC’s but not even report on the other half.
Via some digging, we found that the IME failed to install on these PC’s
Does anyone have a way to install this on 200+ PC’s correctly? The majority of PC’s are hybrid joined and there is no rhyme or reason as to why this is happening
On the PC’s there is no IME records in registry or in file explorer, its as if the PC never had the extension in the first place
Any help is greatly appreciated
Thanks!
Hi all We recently moved from LOB apps to W32 to prepare for our upcoming autopilot rollout While pushing apps out via W32, we noticed that the apps would install on about half of our PC’s but not even report on the other half. Via some digging, we found that the IME failed to install on these PC’s Does anyone have a way to install this on 200+ PC’s correctly? The majority of PC’s are hybrid joined and there is no rhyme or reason as to why this is happening On the PC’s there is no IME records in registry or in file explorer, its as if the PC never had the extension in the first place Any help is greatly appreciated Thanks! Read More
i try to do quadratic interpolation with 3 initial guesses. when i run the code it do nothing
d=input(‘Please enter a function f(x): ‘);
x0=input(‘Please give a initial guess of x0: ‘);
x1=input(‘Please give a initial guess of x1: ‘);
x2=input(‘Please give a initial guess of x2: ‘);
signum=input(‘Please enter the prespecified error: ‘);
f=inline(d);
i=1;
x3=(f(x0)*(x1^2-x2^2)+f(x1)*(x2^2-x0^2)+f(x2)*(x0^2-x1^2))/(2*f(x0)*(x1-x2)+2*f(x1)*(x2-x0)+2*f(x2)*(x0-x1));
x(i)=x3;
error(i)=9999;
es=(0.5*10^(2-signum));
while error(i)>=es
x(i+1)=(f(x0)*(x1^2-x2^2)+f(x1)*(x2^2-x0^2)+f(x2)*(x0^2-x1^2))/(2*f(x0)*(x1-x2)+2*f(x1)*(x2-x0)+2*f(x2)*(x0-x1));
a=x(i+1);
if f(a)>f(x0)
if f(a)>f(x2)
x0=x1;
x1=x(i+1);
x(i+1)=(f(x0)*(x1^2-x2^2)+f(x1)*(x2^2-x0^2)+f(x2)*(x0^2-x1^2))/(2*f(x0)*(x1-x2)+2*f(x1)*(x2-x0)+2*f(x2)*(x0-x1));
elseif f(a)<f(x2)
x2=x1;
x1=x(i+1);
end
end
error(i+1)=abs((((x(i+1)-x(i))/(x(i+1)))*100));
i=i+1;
endd=input(‘Please enter a function f(x): ‘);
x0=input(‘Please give a initial guess of x0: ‘);
x1=input(‘Please give a initial guess of x1: ‘);
x2=input(‘Please give a initial guess of x2: ‘);
signum=input(‘Please enter the prespecified error: ‘);
f=inline(d);
i=1;
x3=(f(x0)*(x1^2-x2^2)+f(x1)*(x2^2-x0^2)+f(x2)*(x0^2-x1^2))/(2*f(x0)*(x1-x2)+2*f(x1)*(x2-x0)+2*f(x2)*(x0-x1));
x(i)=x3;
error(i)=9999;
es=(0.5*10^(2-signum));
while error(i)>=es
x(i+1)=(f(x0)*(x1^2-x2^2)+f(x1)*(x2^2-x0^2)+f(x2)*(x0^2-x1^2))/(2*f(x0)*(x1-x2)+2*f(x1)*(x2-x0)+2*f(x2)*(x0-x1));
a=x(i+1);
if f(a)>f(x0)
if f(a)>f(x2)
x0=x1;
x1=x(i+1);
x(i+1)=(f(x0)*(x1^2-x2^2)+f(x1)*(x2^2-x0^2)+f(x2)*(x0^2-x1^2))/(2*f(x0)*(x1-x2)+2*f(x1)*(x2-x0)+2*f(x2)*(x0-x1));
elseif f(a)<f(x2)
x2=x1;
x1=x(i+1);
end
end
error(i+1)=abs((((x(i+1)-x(i))/(x(i+1)))*100));
i=i+1;
end d=input(‘Please enter a function f(x): ‘);
x0=input(‘Please give a initial guess of x0: ‘);
x1=input(‘Please give a initial guess of x1: ‘);
x2=input(‘Please give a initial guess of x2: ‘);
signum=input(‘Please enter the prespecified error: ‘);
f=inline(d);
i=1;
x3=(f(x0)*(x1^2-x2^2)+f(x1)*(x2^2-x0^2)+f(x2)*(x0^2-x1^2))/(2*f(x0)*(x1-x2)+2*f(x1)*(x2-x0)+2*f(x2)*(x0-x1));
x(i)=x3;
error(i)=9999;
es=(0.5*10^(2-signum));
while error(i)>=es
x(i+1)=(f(x0)*(x1^2-x2^2)+f(x1)*(x2^2-x0^2)+f(x2)*(x0^2-x1^2))/(2*f(x0)*(x1-x2)+2*f(x1)*(x2-x0)+2*f(x2)*(x0-x1));
a=x(i+1);
if f(a)>f(x0)
if f(a)>f(x2)
x0=x1;
x1=x(i+1);
x(i+1)=(f(x0)*(x1^2-x2^2)+f(x1)*(x2^2-x0^2)+f(x2)*(x0^2-x1^2))/(2*f(x0)*(x1-x2)+2*f(x1)*(x2-x0)+2*f(x2)*(x0-x1));
elseif f(a)<f(x2)
x2=x1;
x1=x(i+1);
end
end
error(i+1)=abs((((x(i+1)-x(i))/(x(i+1)))*100));
i=i+1;
end quadratic polynomial interpolation curve fitting MATLAB Answers — New Questions
MATLAB FFT bin size
I am attemping to create an FFT function that allows me to set the frequency range of the FFT, the number of bins, and windowing type. For the frequnecy range, my logic is to use a low-pass filter. If I add a filter, does it make sense to have windowing? How am I able to set a distinct number of bins in the FFT, it seems that automaticcaly the number of bins is incredibly high (I am collecting data at 48 kHz for about 90 seconds). I would like the bin width to be around 1 Hz instead of ~.01 which it currently is. How can I change this? We have another program that is able to achieve this, so I know that it is possible, but is this program cutting out data to achieve this?I am attemping to create an FFT function that allows me to set the frequency range of the FFT, the number of bins, and windowing type. For the frequnecy range, my logic is to use a low-pass filter. If I add a filter, does it make sense to have windowing? How am I able to set a distinct number of bins in the FFT, it seems that automaticcaly the number of bins is incredibly high (I am collecting data at 48 kHz for about 90 seconds). I would like the bin width to be around 1 Hz instead of ~.01 which it currently is. How can I change this? We have another program that is able to achieve this, so I know that it is possible, but is this program cutting out data to achieve this? I am attemping to create an FFT function that allows me to set the frequency range of the FFT, the number of bins, and windowing type. For the frequnecy range, my logic is to use a low-pass filter. If I add a filter, does it make sense to have windowing? How am I able to set a distinct number of bins in the FFT, it seems that automaticcaly the number of bins is incredibly high (I am collecting data at 48 kHz for about 90 seconds). I would like the bin width to be around 1 Hz instead of ~.01 which it currently is. How can I change this? We have another program that is able to achieve this, so I know that it is possible, but is this program cutting out data to achieve this? fft, signal processing, digital signal processing, filter MATLAB Answers — New Questions
Passing Command Like Arguments to a compiled Simulink Model
Hello,
I’d like to pass command line arguments to a compiled GRT Simulink model. The idea is to overwrite pre defined variables used in the model, e.g. in a Constant block. So far I could not find any information on this.
Thank you in advance for your help!
Best,
LeonHello,
I’d like to pass command line arguments to a compiled GRT Simulink model. The idea is to overwrite pre defined variables used in the model, e.g. in a Constant block. So far I could not find any information on this.
Thank you in advance for your help!
Best,
Leon Hello,
I’d like to pass command line arguments to a compiled GRT Simulink model. The idea is to overwrite pre defined variables used in the model, e.g. in a Constant block. So far I could not find any information on this.
Thank you in advance for your help!
Best,
Leon simulink, binary, compilation, command line, arguments MATLAB Answers — New Questions
Can’t update Matlab from 2019b to 2023b under Win10
I’ve downloaded the 2023 update package for updating my off line Matlab system. I follow the instructions. When I start Mathworksupdateinstaller, I get a blue screen with a window schetch in the right lower corner. Nothing more. When I brake out after a while, I get told ‘No permissions’. I have succesfully logged in both as admin and with my userThe cv-log contains more than 800 lines of this:
{"logTime": "0607/084838", "correlationVector":"sFXPYkuspD/7W0NNS8WKSp","action":"EXTENSION_UPDATER", "result":""}
{"logTime": "0607/084840", "correlationVector":"JS5fPs9bfqSIcuFCgEp0BV","action":"EXTENSION_UPDATER", "result":""}
{"logTime": "0607/084844", "correlationVector":"wzHgPJW0SFOni4bfI4cC+U","action":"EXTENSION_UPDATER", "result":""}
{"logTime": "0607/094838", "correlationVector":"kTx5PeWO2xUCkmNlTAJoZG","action":"EXTENSION_UPDATER", "result":""}
{"logTime": "0607/094840", "correlationVector":"1cwc0BKbLtDQokkVOAAh2o","action":"EXTENSION_UPDATER", "result":""}
{"logTime": "0607/094844", "correlationVector":"33kSEtVRqwHhtCgacLyn8J","action":"EXTENSION_UPDATER", "result":""}
What is the issue?I’ve downloaded the 2023 update package for updating my off line Matlab system. I follow the instructions. When I start Mathworksupdateinstaller, I get a blue screen with a window schetch in the right lower corner. Nothing more. When I brake out after a while, I get told ‘No permissions’. I have succesfully logged in both as admin and with my userThe cv-log contains more than 800 lines of this:
{"logTime": "0607/084838", "correlationVector":"sFXPYkuspD/7W0NNS8WKSp","action":"EXTENSION_UPDATER", "result":""}
{"logTime": "0607/084840", "correlationVector":"JS5fPs9bfqSIcuFCgEp0BV","action":"EXTENSION_UPDATER", "result":""}
{"logTime": "0607/084844", "correlationVector":"wzHgPJW0SFOni4bfI4cC+U","action":"EXTENSION_UPDATER", "result":""}
{"logTime": "0607/094838", "correlationVector":"kTx5PeWO2xUCkmNlTAJoZG","action":"EXTENSION_UPDATER", "result":""}
{"logTime": "0607/094840", "correlationVector":"1cwc0BKbLtDQokkVOAAh2o","action":"EXTENSION_UPDATER", "result":""}
{"logTime": "0607/094844", "correlationVector":"33kSEtVRqwHhtCgacLyn8J","action":"EXTENSION_UPDATER", "result":""}
What is the issue? I’ve downloaded the 2023 update package for updating my off line Matlab system. I follow the instructions. When I start Mathworksupdateinstaller, I get a blue screen with a window schetch in the right lower corner. Nothing more. When I brake out after a while, I get told ‘No permissions’. I have succesfully logged in both as admin and with my userThe cv-log contains more than 800 lines of this:
{"logTime": "0607/084838", "correlationVector":"sFXPYkuspD/7W0NNS8WKSp","action":"EXTENSION_UPDATER", "result":""}
{"logTime": "0607/084840", "correlationVector":"JS5fPs9bfqSIcuFCgEp0BV","action":"EXTENSION_UPDATER", "result":""}
{"logTime": "0607/084844", "correlationVector":"wzHgPJW0SFOni4bfI4cC+U","action":"EXTENSION_UPDATER", "result":""}
{"logTime": "0607/094838", "correlationVector":"kTx5PeWO2xUCkmNlTAJoZG","action":"EXTENSION_UPDATER", "result":""}
{"logTime": "0607/094840", "correlationVector":"1cwc0BKbLtDQokkVOAAh2o","action":"EXTENSION_UPDATER", "result":""}
{"logTime": "0607/094844", "correlationVector":"33kSEtVRqwHhtCgacLyn8J","action":"EXTENSION_UPDATER", "result":""}
What is the issue? upgrade, offline, r2019b r2023b, win10 MATLAB Answers — New Questions
New to excel if formula question
It’s been a few years since I last used formulas in excel and I have a spreadsheet that I want it to automatically output a name if it reads a certain data set. Like for my spreadsheet, I want to automatically assign an employees name based off of what state the property is located in. Any help would be appreciated Thank you.
It’s been a few years since I last used formulas in excel and I have a spreadsheet that I want it to automatically output a name if it reads a certain data set. Like for my spreadsheet, I want to automatically assign an employees name based off of what state the property is located in. Any help would be appreciated Thank you. Read More
Facility Check Time, Shift Time Check Calculated Column
I have a facility check SP List that users, through Power apps log safety checks. They are to complete these checks on each shift and within 1 hour of the shift starting.
I need a calculated column that can look at the the Shift Value and the Time it was logged and change a value in the Calculated column to Say Pass / Fail.
So as an example if the AM shift starts at 06:55:00 then the target time for the check is 07:55:00.
IF (AM – Shift Time>07:55:00,”Fail”, “Pass)
Can this be converted to a calculated column, as well as looking up the multiple shift values?
The last column in my excel example is the time over the target time.
I have a facility check SP List that users, through Power apps log safety checks. They are to complete these checks on each shift and within 1 hour of the shift starting. I need a calculated column that can look at the the Shift Value and the Time it was logged and change a value in the Calculated column to Say Pass / Fail. So as an example if the AM shift starts at 06:55:00 then the target time for the check is 07:55:00. IF (AM – Shift Time>07:55:00,”Fail”, “Pass) Can this be converted to a calculated column, as well as looking up the multiple shift values? The last column in my excel example is the time over the target time. Read More
Is it possible for the dotnet command to not publish some files?
I’ve received an unusual request from some users of an ASP.NET Core app. I’m using the dotnet command to clean and publish the solution, to a server in our network, using a GitHub self-hosted runner on another server. They don’t want the dotnet command to publish the “appsettings.json” and “appsettings.Developer.json” files. Is there a way of preventing dotnet from publishing some files?
Here’s the code snippet I’m using from the YAML file:
– name: Clean build
run: dotnet clean $env:Solution_Name
– name: Publish app
run: dotnet publish -c Release $env:Solution_Name /p:PublishProfile=VaccineRegDevProfile
I’ve received an unusual request from some users of an ASP.NET Core app. I’m using the dotnet command to clean and publish the solution, to a server in our network, using a GitHub self-hosted runner on another server. They don’t want the dotnet command to publish the “appsettings.json” and “appsettings.Developer.json” files. Is there a way of preventing dotnet from publishing some files? Here’s the code snippet I’m using from the YAML file: – name: Clean build
run: dotnet clean $env:Solution_Name
– name: Publish app
run: dotnet publish -c Release $env:Solution_Name /p:PublishProfile=VaccineRegDevProfile Read More
How to verify column contains only digits and space
Hello Folks,
is there an easy way to verify a SP column contains only digits and spaces ?
I want to use “Replace” function to change ” ” (spaces) into “” (empty string) and then verify with “isnumber” but find/replace works only on the first founded space.
Any suggestions will be welcome
Hello Folks, is there an easy way to verify a SP column contains only digits and spaces ?I want to use “Replace” function to change ” ” (spaces) into “” (empty string) and then verify with “isnumber” but find/replace works only on the first founded space.Any suggestions will be welcome Read More
écrire avec le mail d’un groupe
Je veux envoyer un mail avec le mail d’un groupe. Comment faire ?
Je veux envoyer un mail avec le mail d’un groupe. Comment faire ? Read More
Request for Email Activity Report with Internal/External Breakdown
Hi everyone,
Is it possible to generate a report that shows the number of emails sent and received by each user, with a breakdown of internal and external emails?
I understand that we can find some basic metrics in the admin center under Reports > Usage > Exchange > Email activity. However, this does not separate the count of internal and external emails.
Does anyone have any suggestions or know of a way to achieve this?
Thank you!
Hi everyone, Is it possible to generate a report that shows the number of emails sent and received by each user, with a breakdown of internal and external emails? I understand that we can find some basic metrics in the admin center under Reports > Usage > Exchange > Email activity. However, this does not separate the count of internal and external emails.Does anyone have any suggestions or know of a way to achieve this?Thank you! Read More
Sum of calculated Currency column without Power Automate
I have a Microsoft List for our projects with a calculated currency column calculating estimated fee income based on a percentage (from a separate column) of the project value column.
I want to have the Estimated fees column display a sum at the bottom, just like a numeric column can.
I understand that this can’t currently be done with the currency column, but there are apparently workarounds with Power Automate.
I don’t want to disappear down this rabbit hole/time vacuum at least for now, so I’m wondering if there is a simple workaround using a numeric column, with JSON custom formatting to display currency symbols and comma separation to turn number like this 11000 into this £11,000.00.
Is this too simplistic?
I have a Microsoft List for our projects with a calculated currency column calculating estimated fee income based on a percentage (from a separate column) of the project value column. I want to have the Estimated fees column display a sum at the bottom, just like a numeric column can. I understand that this can’t currently be done with the currency column, but there are apparently workarounds with Power Automate. I don’t want to disappear down this rabbit hole/time vacuum at least for now, so I’m wondering if there is a simple workaround using a numeric column, with JSON custom formatting to display currency symbols and comma separation to turn number like this 11000 into this £11,000.00. Is this too simplistic? Read More