Category: News
regexextract function not installed
I just downloaded the latest 365 updates, but the new regexextract function is not working. I just get #NAME? Excel version 2406, build 17726.20078. June 17, 2024. I am on a Windows 10 machine, but I don’t believe that should matter.
I just downloaded the latest 365 updates, but the new regexextract function is not working. I just get #NAME? Excel version 2406, build 17726.20078. June 17, 2024. I am on a Windows 10 machine, but I don’t believe that should matter. Read More
How to Resolve Quick-Books Error 6010 100 after new update?
I’m experiencing “Quick-Books Error 6010 100” while trying to open my company file. How can I resolve this issue?
I’m experiencing “Quick-Books Error 6010 100” while trying to open my company file. How can I resolve this issue? Read More
Why is My Quick-Books sync manager not working after recent update?
Quick-Books Sync Manager not working – keeps freezing and failing to sync my data. How can I fix this issue?
Quick-Books Sync Manager not working – keeps freezing and failing to sync my data. How can I fix this issue? Read More
FIDO2 Key Audit Logs
Hi,
Does anyone have any KQL Queries that will give me a list of users that have used FIDO2 Keys as their method of authentication, or any audit logs that I can look up for all users to validate that these keys are being used as opposed to being available to be used.
We have FIDO2 Keys set as available to users in the estate and I know that they are being used where required, but in the users Sign-in logs, it isn’t very clear as to where it proves that the user used FIDO2 as the authentication method.
When looking at a user that is using FIDO2 Key for their authentication, it doesn’t show in the Basic Info tab in Entra Sign-in logs that FIDO Key use was used specifically?
I have a Conditional Access Policy set as Report Only to also help test this which enforces Authentication Strength for Phishing Resistant MFA, and the users I am looking at that I know use FIDO2 for authentication, would have successfully passed that CAP should it be enabled; so I know that it’s working fine. I just need to be able to prove this in the audit logs for multiple users.
Hi, Does anyone have any KQL Queries that will give me a list of users that have used FIDO2 Keys as their method of authentication, or any audit logs that I can look up for all users to validate that these keys are being used as opposed to being available to be used. We have FIDO2 Keys set as available to users in the estate and I know that they are being used where required, but in the users Sign-in logs, it isn’t very clear as to where it proves that the user used FIDO2 as the authentication method. When looking at a user that is using FIDO2 Key for their authentication, it doesn’t show in the Basic Info tab in Entra Sign-in logs that FIDO Key use was used specifically? I have a Conditional Access Policy set as Report Only to also help test this which enforces Authentication Strength for Phishing Resistant MFA, and the users I am looking at that I know use FIDO2 for authentication, would have successfully passed that CAP should it be enabled; so I know that it’s working fine. I just need to be able to prove this in the audit logs for multiple users. Read More
What To Do When Getting Quick-Books Error 193 after latest update?
I’m experiencing Quick-Books Error 193 when trying to access my company file. How can I resolve this issue and prevent it from happening again?
I’m experiencing Quick-Books Error 193 when trying to access my company file. How can I resolve this issue and prevent it from happening again? Read More
Optimal Cutoff Frequency for Static Noise Detection in ECG Signals?
Hello MATLAB Community,
I am currently working on optimizing the detection of static noise in ECG signals and would greatly appreciate your expertise. Specifically, I am looking to determine the best cutoff frequency for filtering this noise. Below, I have listed the SNR (Signal-to-Noise Ratio) values for different cutoff frequencies in two leads, Lead I and Lead aVL:
Cutoff Frequency = 0.5 Hz
SNR in Lead I: 7.98 dB
SNR in Lead aVL: 5.41 dB
Cutoff Frequency = 1.0 Hz
SNR in Lead I: 7.29 dB
SNR in Lead aVL: 5.11 dB
Cutoff Frequency = 5.0 Hz
SNR in Lead I: 4.03 dB
SNR in Lead aVL: 3.23 dB
Cutoff Frequency = 10.0 Hz
SNR in Lead I: 2.17 dB
SNR in Lead aVL: 1.96 dB
Quantification of Noise:
Cutoff Frequency = 0.5 Hz
Number of noise points in Lead I: 299
Number of noise points in Lead aVL: 341
Cutoff Frequency = 1.0 Hz
Number of noise points in Lead I: 278
Number of noise points in Lead aVL: 304
Cutoff Frequency = 5.0 Hz
Number of noise points in Lead I: 179
Number of noise points in Lead aVL: 213
Cutoff Frequency = 10.0 Hz
Number of noise points in Lead I: 127
Number of noise points in Lead aVL: 137
Additionally, I have attached an image showing the residuals ( lead I ) .
To determine the best threshold value, I used an approach based on minimizing the number of noise points detected in the filtered signal. Here is a detailed explanation of the process:
Process to determine the best threshold value
Calculation of the filtered signal:
For each cutoff frequency, I applied a high-pass filter to remove low-frequency components from the ECG signal.
Threshold definition:
I tested different threshold values, defined as multiples of the standard deviation (STD) of the filtered signal. The tested thresholds were 0.25 * STD, 0.5 * STD, 0.75 * STD, and 1 * STD.
Noise point detection:
For each threshold value, I detected points in the filtered signal where the amplitude exceeds the threshold.
The number of detected noise points is counted for each threshold value.
Selection of the best threshold:
The best threshold is the one that minimizes the number of detected noise points. The hypothesis is that the optimal threshold eliminates noise without affecting the useful components of the ECG signal.
Based on this data, I am seeking advice on the most suitable cutoff frequency for effectively reducing static noise while preserving the integrity of the ECG signal. Any suggestions or insights into methodologies for determining this would be highly valuable.
Thank you in advance for your help!
Best regards,Hello MATLAB Community,
I am currently working on optimizing the detection of static noise in ECG signals and would greatly appreciate your expertise. Specifically, I am looking to determine the best cutoff frequency for filtering this noise. Below, I have listed the SNR (Signal-to-Noise Ratio) values for different cutoff frequencies in two leads, Lead I and Lead aVL:
Cutoff Frequency = 0.5 Hz
SNR in Lead I: 7.98 dB
SNR in Lead aVL: 5.41 dB
Cutoff Frequency = 1.0 Hz
SNR in Lead I: 7.29 dB
SNR in Lead aVL: 5.11 dB
Cutoff Frequency = 5.0 Hz
SNR in Lead I: 4.03 dB
SNR in Lead aVL: 3.23 dB
Cutoff Frequency = 10.0 Hz
SNR in Lead I: 2.17 dB
SNR in Lead aVL: 1.96 dB
Quantification of Noise:
Cutoff Frequency = 0.5 Hz
Number of noise points in Lead I: 299
Number of noise points in Lead aVL: 341
Cutoff Frequency = 1.0 Hz
Number of noise points in Lead I: 278
Number of noise points in Lead aVL: 304
Cutoff Frequency = 5.0 Hz
Number of noise points in Lead I: 179
Number of noise points in Lead aVL: 213
Cutoff Frequency = 10.0 Hz
Number of noise points in Lead I: 127
Number of noise points in Lead aVL: 137
Additionally, I have attached an image showing the residuals ( lead I ) .
To determine the best threshold value, I used an approach based on minimizing the number of noise points detected in the filtered signal. Here is a detailed explanation of the process:
Process to determine the best threshold value
Calculation of the filtered signal:
For each cutoff frequency, I applied a high-pass filter to remove low-frequency components from the ECG signal.
Threshold definition:
I tested different threshold values, defined as multiples of the standard deviation (STD) of the filtered signal. The tested thresholds were 0.25 * STD, 0.5 * STD, 0.75 * STD, and 1 * STD.
Noise point detection:
For each threshold value, I detected points in the filtered signal where the amplitude exceeds the threshold.
The number of detected noise points is counted for each threshold value.
Selection of the best threshold:
The best threshold is the one that minimizes the number of detected noise points. The hypothesis is that the optimal threshold eliminates noise without affecting the useful components of the ECG signal.
Based on this data, I am seeking advice on the most suitable cutoff frequency for effectively reducing static noise while preserving the integrity of the ECG signal. Any suggestions or insights into methodologies for determining this would be highly valuable.
Thank you in advance for your help!
Best regards, Hello MATLAB Community,
I am currently working on optimizing the detection of static noise in ECG signals and would greatly appreciate your expertise. Specifically, I am looking to determine the best cutoff frequency for filtering this noise. Below, I have listed the SNR (Signal-to-Noise Ratio) values for different cutoff frequencies in two leads, Lead I and Lead aVL:
Cutoff Frequency = 0.5 Hz
SNR in Lead I: 7.98 dB
SNR in Lead aVL: 5.41 dB
Cutoff Frequency = 1.0 Hz
SNR in Lead I: 7.29 dB
SNR in Lead aVL: 5.11 dB
Cutoff Frequency = 5.0 Hz
SNR in Lead I: 4.03 dB
SNR in Lead aVL: 3.23 dB
Cutoff Frequency = 10.0 Hz
SNR in Lead I: 2.17 dB
SNR in Lead aVL: 1.96 dB
Quantification of Noise:
Cutoff Frequency = 0.5 Hz
Number of noise points in Lead I: 299
Number of noise points in Lead aVL: 341
Cutoff Frequency = 1.0 Hz
Number of noise points in Lead I: 278
Number of noise points in Lead aVL: 304
Cutoff Frequency = 5.0 Hz
Number of noise points in Lead I: 179
Number of noise points in Lead aVL: 213
Cutoff Frequency = 10.0 Hz
Number of noise points in Lead I: 127
Number of noise points in Lead aVL: 137
Additionally, I have attached an image showing the residuals ( lead I ) .
To determine the best threshold value, I used an approach based on minimizing the number of noise points detected in the filtered signal. Here is a detailed explanation of the process:
Process to determine the best threshold value
Calculation of the filtered signal:
For each cutoff frequency, I applied a high-pass filter to remove low-frequency components from the ECG signal.
Threshold definition:
I tested different threshold values, defined as multiples of the standard deviation (STD) of the filtered signal. The tested thresholds were 0.25 * STD, 0.5 * STD, 0.75 * STD, and 1 * STD.
Noise point detection:
For each threshold value, I detected points in the filtered signal where the amplitude exceeds the threshold.
The number of detected noise points is counted for each threshold value.
Selection of the best threshold:
The best threshold is the one that minimizes the number of detected noise points. The hypothesis is that the optimal threshold eliminates noise without affecting the useful components of the ECG signal.
Based on this data, I am seeking advice on the most suitable cutoff frequency for effectively reducing static noise while preserving the integrity of the ECG signal. Any suggestions or insights into methodologies for determining this would be highly valuable.
Thank you in advance for your help!
Best regards, ecg, signal processing, noises, static_noise, ptb_xl, snr MATLAB Answers — New Questions
RL PPO agent diverges with one-step training
Hi,
I am training my PPO agent based on a system with continuous action space, and I want to have my agent trains for only one step and one episode in each train() function, and see how it performs:
trainingOpts = rlTrainingOptions(…
MaxEpisodes=1, …
MaxStepsPerEpisode=1, …
Verbose=false, …
Plots="none",…
StopTrainingCriteria="AverageReward",…
StopTrainingValue=480);
This is the settings of the agent:
function [agents,obsInfo,actionInfo] = generate_PPOagents(Ts)
%observation and action spaces
obsInfo = rlNumericSpec([2 1],’LowerLimit’,-inf*ones(2,1),’UpperLimit’,inf*ones(2,1));
obsInfo.Name = ‘state’;
obsInfo.Description = ‘position, velocity’;
actionInfo = rlNumericSpec([1 1],’LowerLimit’,-inf,’UpperLimit’,inf);
actionInfo.Name = ‘continuousAction’;
agentOptions = rlPPOAgentOptions(…
‘DiscountFactor’, 0.99,…
‘EntropyLossWeight’, 0.01,…
‘ExperienceHorizon’, 20,…
‘MiniBatchSize’, 20,…
‘ClipFactor’, 0.2,…
‘NormalizedAdvantageMethod’,’none’,…
‘SampleTime’, -1);
agent1 = rlPPOAgent(obsInfo, actionInfo, agentOptions);
agent2 = rlPPOAgent(obsInfo, actionInfo, agentOptions);
agents = [agent1,agent2];
end
my reward is a conditional one based on whether the states satisfy some conditions:
function [nextObs, reward, isDone, loggedSignals] = myStepFunction1(action, loggedSignals,S)
nextObs = S.A1d*[loggedSignals.State(1);loggedSignals.State(2)] + S.B1d*action;
loggedSignals.State = nextObs;
if abs(nextObs(1))>10 || abs(nextObs(2))>10
reward = S.test-100;
else
reward = -1*(nextObs(1)^2 + nextObs(2)^2);
end
isDone = false;
end
in this case, every time the system finishes train(), the agent moves forward 1 step using getAction(), then I modify the reset function and then update the env so that each time the next train() simulates, the agent will start at the new state, then do trian() again to carry out the loop. But when I simulate the system, the states diverges to Inf after just around 20 train() iterations, I have checked my env, the agent settings, all seems fine. I tested if the issue is from the penalty in the reward function by changing S.test above, but the simulation fails as well.
I am not sure if the issue is caused by the one episode one step training method, in theory I am expecting bad performance at first but it should not be diverging so fast to Inf.
Thanks.Hi,
I am training my PPO agent based on a system with continuous action space, and I want to have my agent trains for only one step and one episode in each train() function, and see how it performs:
trainingOpts = rlTrainingOptions(…
MaxEpisodes=1, …
MaxStepsPerEpisode=1, …
Verbose=false, …
Plots="none",…
StopTrainingCriteria="AverageReward",…
StopTrainingValue=480);
This is the settings of the agent:
function [agents,obsInfo,actionInfo] = generate_PPOagents(Ts)
%observation and action spaces
obsInfo = rlNumericSpec([2 1],’LowerLimit’,-inf*ones(2,1),’UpperLimit’,inf*ones(2,1));
obsInfo.Name = ‘state’;
obsInfo.Description = ‘position, velocity’;
actionInfo = rlNumericSpec([1 1],’LowerLimit’,-inf,’UpperLimit’,inf);
actionInfo.Name = ‘continuousAction’;
agentOptions = rlPPOAgentOptions(…
‘DiscountFactor’, 0.99,…
‘EntropyLossWeight’, 0.01,…
‘ExperienceHorizon’, 20,…
‘MiniBatchSize’, 20,…
‘ClipFactor’, 0.2,…
‘NormalizedAdvantageMethod’,’none’,…
‘SampleTime’, -1);
agent1 = rlPPOAgent(obsInfo, actionInfo, agentOptions);
agent2 = rlPPOAgent(obsInfo, actionInfo, agentOptions);
agents = [agent1,agent2];
end
my reward is a conditional one based on whether the states satisfy some conditions:
function [nextObs, reward, isDone, loggedSignals] = myStepFunction1(action, loggedSignals,S)
nextObs = S.A1d*[loggedSignals.State(1);loggedSignals.State(2)] + S.B1d*action;
loggedSignals.State = nextObs;
if abs(nextObs(1))>10 || abs(nextObs(2))>10
reward = S.test-100;
else
reward = -1*(nextObs(1)^2 + nextObs(2)^2);
end
isDone = false;
end
in this case, every time the system finishes train(), the agent moves forward 1 step using getAction(), then I modify the reset function and then update the env so that each time the next train() simulates, the agent will start at the new state, then do trian() again to carry out the loop. But when I simulate the system, the states diverges to Inf after just around 20 train() iterations, I have checked my env, the agent settings, all seems fine. I tested if the issue is from the penalty in the reward function by changing S.test above, but the simulation fails as well.
I am not sure if the issue is caused by the one episode one step training method, in theory I am expecting bad performance at first but it should not be diverging so fast to Inf.
Thanks. Hi,
I am training my PPO agent based on a system with continuous action space, and I want to have my agent trains for only one step and one episode in each train() function, and see how it performs:
trainingOpts = rlTrainingOptions(…
MaxEpisodes=1, …
MaxStepsPerEpisode=1, …
Verbose=false, …
Plots="none",…
StopTrainingCriteria="AverageReward",…
StopTrainingValue=480);
This is the settings of the agent:
function [agents,obsInfo,actionInfo] = generate_PPOagents(Ts)
%observation and action spaces
obsInfo = rlNumericSpec([2 1],’LowerLimit’,-inf*ones(2,1),’UpperLimit’,inf*ones(2,1));
obsInfo.Name = ‘state’;
obsInfo.Description = ‘position, velocity’;
actionInfo = rlNumericSpec([1 1],’LowerLimit’,-inf,’UpperLimit’,inf);
actionInfo.Name = ‘continuousAction’;
agentOptions = rlPPOAgentOptions(…
‘DiscountFactor’, 0.99,…
‘EntropyLossWeight’, 0.01,…
‘ExperienceHorizon’, 20,…
‘MiniBatchSize’, 20,…
‘ClipFactor’, 0.2,…
‘NormalizedAdvantageMethod’,’none’,…
‘SampleTime’, -1);
agent1 = rlPPOAgent(obsInfo, actionInfo, agentOptions);
agent2 = rlPPOAgent(obsInfo, actionInfo, agentOptions);
agents = [agent1,agent2];
end
my reward is a conditional one based on whether the states satisfy some conditions:
function [nextObs, reward, isDone, loggedSignals] = myStepFunction1(action, loggedSignals,S)
nextObs = S.A1d*[loggedSignals.State(1);loggedSignals.State(2)] + S.B1d*action;
loggedSignals.State = nextObs;
if abs(nextObs(1))>10 || abs(nextObs(2))>10
reward = S.test-100;
else
reward = -1*(nextObs(1)^2 + nextObs(2)^2);
end
isDone = false;
end
in this case, every time the system finishes train(), the agent moves forward 1 step using getAction(), then I modify the reset function and then update the env so that each time the next train() simulates, the agent will start at the new state, then do trian() again to carry out the loop. But when I simulate the system, the states diverges to Inf after just around 20 train() iterations, I have checked my env, the agent settings, all seems fine. I tested if the issue is from the penalty in the reward function by changing S.test above, but the simulation fails as well.
I am not sure if the issue is caused by the one episode one step training method, in theory I am expecting bad performance at first but it should not be diverging so fast to Inf.
Thanks. ppo, reinforcement learning, training, converge MATLAB Answers — New Questions
Raytracing channel and showProfile
Hello everyone, i have one question about the showProfile command. I study an urban enviroment with raytracing propagation model, using the channel = comm.RayTracingChannel(rays, tx, rx) object. I obtain the channel, and with these i can found the channel impulse response if i dont use any input:
CIR = channel( )
After i use the showProfile(channel) and i plot the power delay profile. Can i obtain the same plot using the sample from the CIR? Because i want to save the magnitude of every tap from the power delay profile, but with the showProfile command is not possible so i have to recreate those from myself.Hello everyone, i have one question about the showProfile command. I study an urban enviroment with raytracing propagation model, using the channel = comm.RayTracingChannel(rays, tx, rx) object. I obtain the channel, and with these i can found the channel impulse response if i dont use any input:
CIR = channel( )
After i use the showProfile(channel) and i plot the power delay profile. Can i obtain the same plot using the sample from the CIR? Because i want to save the magnitude of every tap from the power delay profile, but with the showProfile command is not possible so i have to recreate those from myself. Hello everyone, i have one question about the showProfile command. I study an urban enviroment with raytracing propagation model, using the channel = comm.RayTracingChannel(rays, tx, rx) object. I obtain the channel, and with these i can found the channel impulse response if i dont use any input:
CIR = channel( )
After i use the showProfile(channel) and i plot the power delay profile. Can i obtain the same plot using the sample from the CIR? Because i want to save the magnitude of every tap from the power delay profile, but with the showProfile command is not possible so i have to recreate those from myself. raytracing, showprofile MATLAB Answers — New Questions
Troubleshooting and Resolving Sync Manager Not Working Issues in Quick-Books
I’m having trouble with the Sync Manager in Quick-Books; it’s not working properly. Every time I try to sync my data, it fails or gets stuck. I’ve tried restarting Q.B and my computer, but the issue persists. What steps can I take to resolve this problem? Are there any specific settings or troubleshooting methods that I should check?
I’m having trouble with the Sync Manager in Quick-Books; it’s not working properly. Every time I try to sync my data, it fails or gets stuck. I’ve tried restarting Q.B and my computer, but the issue persists. What steps can I take to resolve this problem? Are there any specific settings or troubleshooting methods that I should check? Read More
Locked out of work account
Hi folks,
I setup Microsoft Authenticator as the 2FA on my work account on a phone which was destroyed. I’m trying to setup the authenticator on my new phone, but whenever I try to sign into the account, the only MFA option I’m given is to verify using the authenticator which is no longer accessible (I’m the only user on the account as well).
I’ve tried resetting the password, sending email to my alternate email address, getting microsoft to call my office number, and just keep ending up at the same spot. Is there an option I’ve missed which says “I no longer have access to the authenticator app”? Is there ANY other way I can verify my identity and regain access to the account?
Thanks
Hi folks, I setup Microsoft Authenticator as the 2FA on my work account on a phone which was destroyed. I’m trying to setup the authenticator on my new phone, but whenever I try to sign into the account, the only MFA option I’m given is to verify using the authenticator which is no longer accessible (I’m the only user on the account as well). I’ve tried resetting the password, sending email to my alternate email address, getting microsoft to call my office number, and just keep ending up at the same spot. Is there an option I’ve missed which says “I no longer have access to the authenticator app”? Is there ANY other way I can verify my identity and regain access to the account? Thanks Read More
Purview eDiscovery: Exported email shown as forwarded – when no other evidence of being forwarded.
eDiscovery results include an email shown as forwarded (both a blue arrow in the message list against the email, and in the copy of the email “i You forwarded this message on 04/06/2024 18.36”) for which there is no other evidence of the message being forwarded.
eDiscovery searches have identified no email sent from the account at or around the reported time (18.36) of the reportedly forwarded email. A Purview Audit search of the user’s activity shows no matching activity around that time.
Why would the message be shown as forwarded when it apparently has not been?
eDiscovery results include an email shown as forwarded (both a blue arrow in the message list against the email, and in the copy of the email “i You forwarded this message on 04/06/2024 18.36”) for which there is no other evidence of the message being forwarded. eDiscovery searches have identified no email sent from the account at or around the reported time (18.36) of the reportedly forwarded email. A Purview Audit search of the user’s activity shows no matching activity around that time. Why would the message be shown as forwarded when it apparently has not been? Read More
Cannot solve algebraic loop involving ‘Mo_phong_xe/Equation1_ddgama1/MATLAB Function5’ because it consists of blocks that cannot be assigned algebraic variables, such as block
Cannot solve algebraic loop involving ‘Mo_phong_xe/Equation1_ddgama1/MATLAB Function5’ because it consists of blocks that cannot be assigned algebraic variables, such as blocks with discrete-valued outputs, blocks with non-double or complex outputs, Stateflow blocks, or nonvirtual subsystems. Consider breaking the algebraic loop. For example, add a delay or a memory block to the loop. To see more details about the loops use the command Simulink.BlockDiagram.getAlgebraicLoops(bdroot)
Component:Simulink | Category:Model error
Input ports (23) of ‘Mo_phong_xe/Equation1_ddgama1/MATLAB Function5’ are involved in the loop.Cannot solve algebraic loop involving ‘Mo_phong_xe/Equation1_ddgama1/MATLAB Function5’ because it consists of blocks that cannot be assigned algebraic variables, such as blocks with discrete-valued outputs, blocks with non-double or complex outputs, Stateflow blocks, or nonvirtual subsystems. Consider breaking the algebraic loop. For example, add a delay or a memory block to the loop. To see more details about the loops use the command Simulink.BlockDiagram.getAlgebraicLoops(bdroot)
Component:Simulink | Category:Model error
Input ports (23) of ‘Mo_phong_xe/Equation1_ddgama1/MATLAB Function5’ are involved in the loop. Cannot solve algebraic loop involving ‘Mo_phong_xe/Equation1_ddgama1/MATLAB Function5’ because it consists of blocks that cannot be assigned algebraic variables, such as blocks with discrete-valued outputs, blocks with non-double or complex outputs, Stateflow blocks, or nonvirtual subsystems. Consider breaking the algebraic loop. For example, add a delay or a memory block to the loop. To see more details about the loops use the command Simulink.BlockDiagram.getAlgebraicLoops(bdroot)
Component:Simulink | Category:Model error
Input ports (23) of ‘Mo_phong_xe/Equation1_ddgama1/MATLAB Function5’ are involved in the loop. error MATLAB Answers — New Questions
Find index of a nearest value
Hello there,
If I have a data: x = [1 2 3 4 5 6 11 15 21 51 52 54 100 101 151 201 251 301 401];
Anyone knows how to get the index of the value close to a certain values: 10, 20, 50, 100, 150, 200, 250, 300, 400?
In this case, the index should be related to the x = 11, 21, etc.
thanksHello there,
If I have a data: x = [1 2 3 4 5 6 11 15 21 51 52 54 100 101 151 201 251 301 401];
Anyone knows how to get the index of the value close to a certain values: 10, 20, 50, 100, 150, 200, 250, 300, 400?
In this case, the index should be related to the x = 11, 21, etc.
thanks Hello there,
If I have a data: x = [1 2 3 4 5 6 11 15 21 51 52 54 100 101 151 201 251 301 401];
Anyone knows how to get the index of the value close to a certain values: 10, 20, 50, 100, 150, 200, 250, 300, 400?
In this case, the index should be related to the x = 11, 21, etc.
thanks index MATLAB Answers — New Questions
Convert MATLAB .m Files to a .jar File for Use in a Java Project in MATLAB R2024a
I’m working with MATLAB R2024a and I have several .m files, each defining a different function. I need to convert all these .m files into a single .jar file so that I can use these functions in a Java project.
How can I achieve this?
Here’s an example of what one of my .m files looks like:
function [output] = myFunction(input)
…
endI’m working with MATLAB R2024a and I have several .m files, each defining a different function. I need to convert all these .m files into a single .jar file so that I can use these functions in a Java project.
How can I achieve this?
Here’s an example of what one of my .m files looks like:
function [output] = myFunction(input)
…
end I’m working with MATLAB R2024a and I have several .m files, each defining a different function. I need to convert all these .m files into a single .jar file so that I can use these functions in a Java project.
How can I achieve this?
Here’s an example of what one of my .m files looks like:
function [output] = myFunction(input)
…
end java, jar, compiler MATLAB Answers — New Questions
How to become solution partner ?
Hi,
We are an IT software development firm seeking to become a Microsoft Solution Partner. We are looking for guidance on the requirements and the necessary steps to start this process. Any assistance from experienced professionals in this area would be greatly appreciated.
Hi,We are an IT software development firm seeking to become a Microsoft Solution Partner. We are looking for guidance on the requirements and the necessary steps to start this process. Any assistance from experienced professionals in this area would be greatly appreciated. Read More
Sharepoint combined with Dynamics 365 – Throttling issues
Hi everyone,
I’m reaching out to get some insights on how others have tackled a challenge we’re facing:
Throttling-limit issues in SharePoint when accessed from Dynamics 365: How have you managed these problems? Are you using multiple default libraries and site libraries that can be selected from CRM, or is there another best practice you recommend?
Thanks in advance for your help!
Hi everyone,I’m reaching out to get some insights on how others have tackled a challenge we’re facing:Throttling-limit issues in SharePoint when accessed from Dynamics 365: How have you managed these problems? Are you using multiple default libraries and site libraries that can be selected from CRM, or is there another best practice you recommend?Thanks in advance for your help! Read More
How we can create a link to the Planner Task inside power apps
I have a canvas power apps application which show a list of planner tasks, as follow;-
Set(varInProgress,true);
ClearCollect(finalResult,{PlanTitle:””,TaskTitle:””,Status:””,AssignedToUserId:””,DueDate:””});
Clear(colRelatedGroupsIds);
Clear(colRelatedPlanners);
Clear(colRelatedPlannerTasks);
ClearCollect(colTeamSitesItem,Filter(‘Team Sites’,1=1));
ClearCollect(colAllGroups,Office365Groups.ListGroups().value);
ForAll(colAllGroups As group,
ForAll(colTeamSitesItem As i2,
If(Lower(group.displayName)=Lower(i2.’Team Site Name’),
Collect(colRelatedGroupsIds,group.id))));
ForAll(colRelatedGroupsIds As group,
Collect(colRelatedPlanners,
Planner.ListGroupPlans(group.Value).value);
ForAll(colRelatedPlanners As planner,
Collect(colRelatedPlannerTasks,
Planner.ListTasksV3(planner.id,group.Value).value);
ForAll(colRelatedPlannerTasks As task,
ForAll(task._assignments As taskAssignment,
Patch(finalResult,Defaults(finalResult),
{
PlanTitle:planner.title,
AssignedToUserId:taskAssignment.userId,
Status:task.percentComplete,
TaskTitle:task.title,
DueDate:task.dueDateTime
})
));RemoveIf(colRelatedPlannerTasks,true));RemoveIf(colRelatedPlanners,true));
Set(varInProgress,false);
then i am populating the finalResult collection inside gallery. my question is how i can build a url/link for the planner task? so when the user click on the link it will redirect the user to the Planner Task, seems all the available methods’ properties do not provide the task url:-
so can we get this or build it manually? any advice?
I have a canvas power apps application which show a list of planner tasks, as follow;- Set(varInProgress,true);
ClearCollect(finalResult,{PlanTitle:””,TaskTitle:””,Status:””,AssignedToUserId:””,DueDate:””});
Clear(colRelatedGroupsIds);
Clear(colRelatedPlanners);
Clear(colRelatedPlannerTasks);
ClearCollect(colTeamSitesItem,Filter(‘Team Sites’,1=1));
ClearCollect(colAllGroups,Office365Groups.ListGroups().value);
ForAll(colAllGroups As group,
ForAll(colTeamSitesItem As i2,
If(Lower(group.displayName)=Lower(i2.’Team Site Name’),
Collect(colRelatedGroupsIds,group.id))));
ForAll(colRelatedGroupsIds As group,
Collect(colRelatedPlanners,
Planner.ListGroupPlans(group.Value).value);
ForAll(colRelatedPlanners As planner,
Collect(colRelatedPlannerTasks,
Planner.ListTasksV3(planner.id,group.Value).value);
ForAll(colRelatedPlannerTasks As task,
ForAll(task._assignments As taskAssignment,
Patch(finalResult,Defaults(finalResult),
{
PlanTitle:planner.title,
AssignedToUserId:taskAssignment.userId,
Status:task.percentComplete,
TaskTitle:task.title,
DueDate:task.dueDateTime
})
));RemoveIf(colRelatedPlannerTasks,true));RemoveIf(colRelatedPlanners,true));
Set(varInProgress,false); then i am populating the finalResult collection inside gallery. my question is how i can build a url/link for the planner task? so when the user click on the link it will redirect the user to the Planner Task, seems all the available methods’ properties do not provide the task url:- so can we get this or build it manually? any advice? Read More
Need help with developer account registration form
Hello, everyone!
I want to publish my extension on Microsoft Edge Add-ons. I was following the guide Publish a Microsoft Edge extension and it linked me to this page to register as a developer.
I then filled the form, with all required fields filled out, and clicked submit. But it then tell me to “choose a state or province” under the “State/Province” input box, even though I’ve filled it out!
After playing with the form for a while, I discover that if I select “United States” or “Canada”, the “State/Province” input box turns into a drop-down list, and I can select one from the list. I haven’t tried submitting the form though, as that would set the country for my account to the US and it’s not possible to change it later.
I suspect this is a bug on Microsoft’s server. But in any case, I would greatly appreciate your help to get me through this registration form.
Hello, everyone! I want to publish my extension on Microsoft Edge Add-ons. I was following the guide Publish a Microsoft Edge extension and it linked me to this page to register as a developer. I then filled the form, with all required fields filled out, and clicked submit. But it then tell me to “choose a state or province” under the “State/Province” input box, even though I’ve filled it out! After playing with the form for a while, I discover that if I select “United States” or “Canada”, the “State/Province” input box turns into a drop-down list, and I can select one from the list. I haven’t tried submitting the form though, as that would set the country for my account to the US and it’s not possible to change it later. I suspect this is a bug on Microsoft’s server. But in any case, I would greatly appreciate your help to get me through this registration form. Read More
Assistance Needed: Appeal for Microsoft Certification Profile Ban Removal
Hello Microsoft Tech Community,
I am reaching out in hopes of connecting with someone from the Microsoft Learn Security Team. Unfortunately, there has been a misunderstanding during one of my exams, resulting in a ban on my Microsoft Certification Profile from scheduling or taking any further certification exams.
I have made several appeals for the removal of the ban but have not yet received a response from the Microsoft Learn Security Team. The certification I am pursuing is critical for my professional development and career advancement.
I kindly request assistance from the community or any team member who can guide me on how to resolve this issue. Your help in lifting this ban would be immensely appreciated.
Thank you for your attention to this matter.
Hello Microsoft Tech Community, I am reaching out in hopes of connecting with someone from the Microsoft Learn Security Team. Unfortunately, there has been a misunderstanding during one of my exams, resulting in a ban on my Microsoft Certification Profile from scheduling or taking any further certification exams. I have made several appeals for the removal of the ban but have not yet received a response from the Microsoft Learn Security Team. The certification I am pursuing is critical for my professional development and career advancement. I kindly request assistance from the community or any team member who can guide me on how to resolve this issue. Your help in lifting this ban would be immensely appreciated. Thank you for your attention to this matter. Read More
Num of max consective occurance of ‘T’
Hi,
I have a set of cyclone data that I am trying to analyse. in the sample timetable, each system is described by unique id, for each id i want to count the MAX CONSECTIIVE occuance of ‘T’ in the ‘thrsh’ column. I also want to know the closest location of the next or previous ‘T’ after of before the max conseitive occuance for each system. the final table should be [id, maxOcc, nextLoc]. Some selected ids are shown below:
id = 1990S001, maxOcc = 2, nextT = 0 (no occurance of next or previous T after or before F)
id = 1990S005, maxOcc = 2, nextT = 0
id = 1990S014, maxOcc = 5, nextT = -8 (8th occurance of T before F)
id = 1990S019, maxOcc = 3, nextT = -2 (2nd occurance of T before F)
High appreciate your help.
ThanksHi,
I have a set of cyclone data that I am trying to analyse. in the sample timetable, each system is described by unique id, for each id i want to count the MAX CONSECTIIVE occuance of ‘T’ in the ‘thrsh’ column. I also want to know the closest location of the next or previous ‘T’ after of before the max conseitive occuance for each system. the final table should be [id, maxOcc, nextLoc]. Some selected ids are shown below:
id = 1990S001, maxOcc = 2, nextT = 0 (no occurance of next or previous T after or before F)
id = 1990S005, maxOcc = 2, nextT = 0
id = 1990S014, maxOcc = 5, nextT = -8 (8th occurance of T before F)
id = 1990S019, maxOcc = 3, nextT = -2 (2nd occurance of T before F)
High appreciate your help.
Thanks Hi,
I have a set of cyclone data that I am trying to analyse. in the sample timetable, each system is described by unique id, for each id i want to count the MAX CONSECTIIVE occuance of ‘T’ in the ‘thrsh’ column. I also want to know the closest location of the next or previous ‘T’ after of before the max conseitive occuance for each system. the final table should be [id, maxOcc, nextLoc]. Some selected ids are shown below:
id = 1990S001, maxOcc = 2, nextT = 0 (no occurance of next or previous T after or before F)
id = 1990S005, maxOcc = 2, nextT = 0
id = 1990S014, maxOcc = 5, nextT = -8 (8th occurance of T before F)
id = 1990S019, maxOcc = 3, nextT = -2 (2nd occurance of T before F)
High appreciate your help.
Thanks time, timetable, consective occurance MATLAB Answers — New Questions