Category: News
Not able to download nor to open attachments in todo
Hi,
Today i’ve run on issue that don’t allow me or the people I share lists with to download nor open attachments in tasks. On android it crushes the app with no notification and on windows we get error: “We are sorry. An error occurred while downloading this file. Please try again later”.
I’ve tried clearing cache, reparing app etc. and still have no clue what happend that we can’t see the attachments, storage has plenty of space.
It is some sort of bug, problem with todo or somthing else?
We use todo on daily basis so it’s crucial for us and it’s very important to be able to see attachments.
Please let me know what I can do to fix this issue or what is the problem.
Hi, Today i’ve run on issue that don’t allow me or the people I share lists with to download nor open attachments in tasks. On android it crushes the app with no notification and on windows we get error: “We are sorry. An error occurred while downloading this file. Please try again later”.I’ve tried clearing cache, reparing app etc. and still have no clue what happend that we can’t see the attachments, storage has plenty of space.It is some sort of bug, problem with todo or somthing else? We use todo on daily basis so it’s crucial for us and it’s very important to be able to see attachments.Please let me know what I can do to fix this issue or what is the problem. Read More
Creating a new excel table in Copilot Pro for Office 365. “Edit in Excel” missing.
It seems that the (free) web version of Copilot provides me with a function that I’d like to see in the (paid) Copilot for Office 365 as well. Perhaps someone would know how to enable this?
Let’s say I am entering the following in https://copilot.microsoft.com:
‘create a table with a side-by-side comparison of the technical specifications for the “HP LaserJet Pro 500 Color MFP M570dw”, “HP Color LaserJet Pro MFP M479fdw”, and “HP LaserJet Enterprise MFP M577dn”‘
What I get is a nice short table that offers me at the top right corner to edit that table in excel:
If I enter the same in the Office 365 App, which is connected to my Office 365 account which has a Copilot for Office 365 subscription, I get this here (web content is enabled):
There is no possibility to edit the table directly in excel. Using “Kopieren” (copy) in the lower left corner, I can get the content into an excel sheet, but the copied text also includes the paragraps before and after the table.
I’d prefer the “Excel” button.
Is there a way to enable this functionality in Copilot for Offcie 365?
Thanks
Dan
It seems that the (free) web version of Copilot provides me with a function that I’d like to see in the (paid) Copilot for Office 365 as well. Perhaps someone would know how to enable this? Let’s say I am entering the following in https://copilot.microsoft.com: ‘create a table with a side-by-side comparison of the technical specifications for the “HP LaserJet Pro 500 Color MFP M570dw”, “HP Color LaserJet Pro MFP M479fdw”, and “HP LaserJet Enterprise MFP M577dn”‘ What I get is a nice short table that offers me at the top right corner to edit that table in excel: If I enter the same in the Office 365 App, which is connected to my Office 365 account which has a Copilot for Office 365 subscription, I get this here (web content is enabled): There is no possibility to edit the table directly in excel. Using “Kopieren” (copy) in the lower left corner, I can get the content into an excel sheet, but the copied text also includes the paragraps before and after the table. I’d prefer the “Excel” button.Is there a way to enable this functionality in Copilot for Offcie 365? Thanks Dan Read More
Phissing repport shared Mailbox
I have full rights in the companies one of the shared mailboxes and I am also the only user of it, I use Outlook classic and I am not able to repport an email as phissing. The system tells me that I have no permission to do such action. I did almost everything what is possible even the administrators in the company could not find anything. The rights where ok, we also enabled some extensions, deleted the shared box from outlook and re-added again but nothing helped. I even tried to work from the new outlook but still no progress.
What am I doing wrong or what is going not well. What needs to be done ?
I have full rights in the companies one of the shared mailboxes and I am also the only user of it, I use Outlook classic and I am not able to repport an email as phissing. The system tells me that I have no permission to do such action. I did almost everything what is possible even the administrators in the company could not find anything. The rights where ok, we also enabled some extensions, deleted the shared box from outlook and re-added again but nothing helped. I even tried to work from the new outlook but still no progress.What am I doing wrong or what is going not well. What needs to be done ? Read More
Outlooks(Classic) stops updating inbox or mails
I have been faced with an issue on my colleagues outlook. The inbox or other labels stops updating. I have to archive a lot of messages and then it starts updating again. After a while, it stops updating until I archive more. How do I resolve this issue?
I have been faced with an issue on my colleagues outlook. The inbox or other labels stops updating. I have to archive a lot of messages and then it starts updating again. After a while, it stops updating until I archive more. How do I resolve this issue? Read More
Custom URL redirect to sharepoint online.
Hi all,
I am trying to create a publicly available redirect using my custom domain to sharepoint online “intranet.mydomain.com” to “mydomain.sharepoint.com”
I have create a CNAME in my external DNS to point to sharepoint but I get the following error.:
<h2>Our services aren’t available right now</h2><p>We’re working to restore all services as soon as possible. Please check back soon.</p>09+reZgAAAADI2oKRlEDuSpVHIaMJyiW8WlJIRURHRTE1MTQARWRnZQ==
Is there a simple way to create this redirect.
Hi all, I am trying to create a publicly available redirect using my custom domain to sharepoint online “intranet.mydomain.com” to “mydomain.sharepoint.com” I have create a CNAME in my external DNS to point to sharepoint but I get the following error.: <h2>Our services aren’t available right now</h2><p>We’re working to restore all services as soon as possible. Please check back soon.</p>09+reZgAAAADI2oKRlEDuSpVHIaMJyiW8WlJIRURHRTE1MTQARWRnZQ== Is there a simple way to create this redirect. Read More
Power Bi Dashboard
I want to set up a small Dashboard using POWER BI. Sheet attached below along with the requirement.
I want to set up a small Dashboard using POWER BI. Sheet attached below along with the requirement. Read More
To-Do App in Teams requires admin approval but does not show up in Teams Admin Center
Users (at least in some rings) are able to see the To-Do app in Teams client, but it tells them that they have to request admin approval for the app. They submit the request for admin approval, but those requests do not show up anywhere in the Teams Admin Center. (Other app requests do show, but not those for To-Do.)
Also, the To-Do app does not show up in Teams Admin Center list of apps to manage.
Users (at least in some rings) are able to see the To-Do app in Teams client, but it tells them that they have to request admin approval for the app. They submit the request for admin approval, but those requests do not show up anywhere in the Teams Admin Center. (Other app requests do show, but not those for To-Do.)Also, the To-Do app does not show up in Teams Admin Center list of apps to manage. Read More
Encrypted Email Not Viewable in Sent Items
I have a user that is seeing a strange issue that just started appearing in the past 2 weeks.
We have a sensitivity label that is setup to Encrypt Only when applied to an email.
Once the email is available in her sent items folder, it is accessible for a few minutes.
After that, the encrypted email can no longer be opened.
Has anyone else experienced something similar or found a workaround/resolution?
I have a user that is seeing a strange issue that just started appearing in the past 2 weeks.We have a sensitivity label that is setup to Encrypt Only when applied to an email.Once the email is available in her sent items folder, it is accessible for a few minutes.After that, the encrypted email can no longer be opened.Has anyone else experienced something similar or found a workaround/resolution? Read More
Can’t send email with Thunderbird thru outlook.office365.com
Hi there,
Here my configuration :
PC with window 11
Outlook new version (works well)
Office365 account (professional one)
Thunderbird : version 128.2.0esr (64-bit)
Plus the add-on OWL
Everything works well except the possibility to send email thru thunderbird.
If I try to send an e-mail, here what I get :
” Login to server outlook.office365.com with username email address removed for privacy reasons failed.”
Weird !!!!!
SMTP configuration :
Server name : outlook.office365.com
Port : 587
User Name : email address removed for privacy reasons
Authentication method : OAuth2
Connection Security : STARTTLS
Thank you for your assistance on that matter.
Alex
Hi there, Here my configuration :PC with window 11Outlook new version (works well)Office365 account (professional one)Thunderbird : version 128.2.0esr (64-bit)Plus the add-on OWL Everything works well except the possibility to send email thru thunderbird. If I try to send an e-mail, here what I get :” Login to server outlook.office365.com with username email address removed for privacy reasons failed.” Weird !!!!! SMTP configuration :Server name : outlook.office365.comPort : 587User Name : email address removed for privacy reasonsAuthentication method : OAuth2Connection Security : STARTTLS Thank you for your assistance on that matter.Alex Read More
Learn about ThinPrint’s transactable partner solution in Azure Marketplace
Microsoft partners like ThinPrint deliver transact-capable offers, which allow you to purchase directly from Azure Marketplace. Learn about these offers below:
ezeep Blue: Deliver seamless, native printing from any device with ezeep Blue, the complete enterprise print management solution for Microsoft Azure Virtual Desktop, Windows 365, and beyond. ezeep Blue significantly reduces print-related support tickets, security risks, and driver deployment while ensuring compliance with data protection regulations.
Microsoft Tech Community – Latest Blogs –Read More
how to reduce ripple
these are the current and voltage values of sepic converter( standalone).
these are the same current and voltages of sepic when connected to the input of grid connected inverter. how can reduce these ripples?these are the current and voltage values of sepic converter( standalone).
these are the same current and voltages of sepic when connected to the input of grid connected inverter. how can reduce these ripples? these are the current and voltage values of sepic converter( standalone).
these are the same current and voltages of sepic when connected to the input of grid connected inverter. how can reduce these ripples? how to reduc ripple in waveform MATLAB Answers — New Questions
How to perform Bonferroni correction on ttest2 comparison of two independent samples?
Hi all!
My question may be simple but I don’t get to perform Bonferroni correction on ttest2 comparison of two random independent samples with equal column number but different row number.
I want to perform ttest2 comparison between each column of my two samples, therefore getting 10 p-values (see example below). But i get the following error "Index in position 1 is invalid. Array indices must be positive integers or logical values".
Once I overcome this error, I would like to perform Bonferroni correction on ttest2 comparison.
So many thanks!!! I’m using Matlab R2022b
% Note that r1 and r2 differ in row number, not column number
r1 = randi(125,200,10); % Random sample 1
r2 = randi(155,100,10); % Random sample 2
% Perform ttest2 comparison, getting 10-pvalues by comparing the 10 columns of r1 and r2
[h,p,ci,stats] = ttest2(r1(i,:),r2(i,:)); % ttest2 comparison of two random, independent samples
results = multcompare(stats,"CriticalValueType","bonferroni") % Bonferroni correction on ttest2Hi all!
My question may be simple but I don’t get to perform Bonferroni correction on ttest2 comparison of two random independent samples with equal column number but different row number.
I want to perform ttest2 comparison between each column of my two samples, therefore getting 10 p-values (see example below). But i get the following error "Index in position 1 is invalid. Array indices must be positive integers or logical values".
Once I overcome this error, I would like to perform Bonferroni correction on ttest2 comparison.
So many thanks!!! I’m using Matlab R2022b
% Note that r1 and r2 differ in row number, not column number
r1 = randi(125,200,10); % Random sample 1
r2 = randi(155,100,10); % Random sample 2
% Perform ttest2 comparison, getting 10-pvalues by comparing the 10 columns of r1 and r2
[h,p,ci,stats] = ttest2(r1(i,:),r2(i,:)); % ttest2 comparison of two random, independent samples
results = multcompare(stats,"CriticalValueType","bonferroni") % Bonferroni correction on ttest2 Hi all!
My question may be simple but I don’t get to perform Bonferroni correction on ttest2 comparison of two random independent samples with equal column number but different row number.
I want to perform ttest2 comparison between each column of my two samples, therefore getting 10 p-values (see example below). But i get the following error "Index in position 1 is invalid. Array indices must be positive integers or logical values".
Once I overcome this error, I would like to perform Bonferroni correction on ttest2 comparison.
So many thanks!!! I’m using Matlab R2022b
% Note that r1 and r2 differ in row number, not column number
r1 = randi(125,200,10); % Random sample 1
r2 = randi(155,100,10); % Random sample 2
% Perform ttest2 comparison, getting 10-pvalues by comparing the 10 columns of r1 and r2
[h,p,ci,stats] = ttest2(r1(i,:),r2(i,:)); % ttest2 comparison of two random, independent samples
results = multcompare(stats,"CriticalValueType","bonferroni") % Bonferroni correction on ttest2 multcompare, bonferroni, ttest2, two independent samples MATLAB Answers — New Questions
When I close the figure or eeglab, the program becomes unresponsive
After updating MacOS to Sonoma 14.1, I noticed that the program becomes unresponsive when I close a figure or eeglab.
I tried reinstalling Matlab, but I still encountered the same issue. I suspect it might be related to the recent update.
Has anyone else experienced this situation?
More information:
Macbook Air M1, 512GB, 8G RAM
Matlab R2023b (Apple silicon)After updating MacOS to Sonoma 14.1, I noticed that the program becomes unresponsive when I close a figure or eeglab.
I tried reinstalling Matlab, but I still encountered the same issue. I suspect it might be related to the recent update.
Has anyone else experienced this situation?
More information:
Macbook Air M1, 512GB, 8G RAM
Matlab R2023b (Apple silicon) After updating MacOS to Sonoma 14.1, I noticed that the program becomes unresponsive when I close a figure or eeglab.
I tried reinstalling Matlab, but I still encountered the same issue. I suspect it might be related to the recent update.
Has anyone else experienced this situation?
More information:
Macbook Air M1, 512GB, 8G RAM
Matlab R2023b (Apple silicon) macos, sonoma, eeglab, figure MATLAB Answers — New Questions
How to solve for 1D non homogenous ODE by Finite element method
I am unable to input the dirichlet condition into this non homogenous ode. Please point out my mistake.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% -u" + u = – 5x + 4 0 < x <= 1 %%%%
%%%% u(0) = 0, u(1) = 2 %%%%
%%%% Exact solution u = (exp(x)*(3*exp(1) + 4))/(exp(2) – 1) – 5*x – (exp(-x)*(3*exp(1) + 4*exp(2)))/(exp(2) – 1) + 4 %%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear all;
close all;
format long;
N = 20;
x0 = 0;
xN = 1;
h = 1/N;
for j = 1:N+1
X(j) = x0 + (j-1)*h;
end
f = @(x)(- 5*x +4);
A = zeros(N+1,N+1);
F = zeros(N+1,1);
%%%% Local stiffness matrix %%%%
a = [1/h -1/h ; -1/h 1/h] ;
for i=1:N
phi1 = @(x)(X(i+1)-x)/h; %%%% linear basis function %%%%
phi2 = @(x)(x-X(i))/h; %%%% linear basis function %%%%
f1 = @(x)f(x)*phi1(x); %%%% integrand for load vector %%%%
f2 = @(x)f(x)*phi2(x); %%%% integrand for load vector %%%%
v(1,i) = gauss(f1,X(i),X(i+1),1); %%%% element wise values of
v(2,i) = gauss(f2,X(i),X(i+1),1); %%%% load vector
end
%%%% Assembling %%%%
for i=1:N
A([i i+1],[i i+1]) = A([i i+1],[i i+1]) + a;
F([i i+1],1) = F([i i+1],1) + v([1 2],i);
end
%%%% Dirichlet Boundary condition %%%%
% F(N+1,1) = F(N+1,1)+2;
fullnodes = [1:N+1];
%%%%% Dirichlet boundary condition %%%%%
freenodes=setdiff(fullnodes,[1]);
Uh = zeros(N+1,1);
Uh(N+1,1) = 2;
%%%% Approximate solution %%%%
Uh(freenodes)=A(freenodes,freenodes)F(freenodes,1);
%%%% Exact solution %%%%
U = zeros(N+1,1);
for i =1:N+1
U(i) = (exp(X(i))*(3*exp(1) + 4))/(exp(2) – 1) – 5*X(i) – (exp(-X(i))*(3*exp(1) + 4*exp(2)))/(exp(2) – 1) + 4;
end
error = max(abs(U-Uh));
[U Uh]
plot(X,U,X,Uh,’o’)I am unable to input the dirichlet condition into this non homogenous ode. Please point out my mistake.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% -u" + u = – 5x + 4 0 < x <= 1 %%%%
%%%% u(0) = 0, u(1) = 2 %%%%
%%%% Exact solution u = (exp(x)*(3*exp(1) + 4))/(exp(2) – 1) – 5*x – (exp(-x)*(3*exp(1) + 4*exp(2)))/(exp(2) – 1) + 4 %%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear all;
close all;
format long;
N = 20;
x0 = 0;
xN = 1;
h = 1/N;
for j = 1:N+1
X(j) = x0 + (j-1)*h;
end
f = @(x)(- 5*x +4);
A = zeros(N+1,N+1);
F = zeros(N+1,1);
%%%% Local stiffness matrix %%%%
a = [1/h -1/h ; -1/h 1/h] ;
for i=1:N
phi1 = @(x)(X(i+1)-x)/h; %%%% linear basis function %%%%
phi2 = @(x)(x-X(i))/h; %%%% linear basis function %%%%
f1 = @(x)f(x)*phi1(x); %%%% integrand for load vector %%%%
f2 = @(x)f(x)*phi2(x); %%%% integrand for load vector %%%%
v(1,i) = gauss(f1,X(i),X(i+1),1); %%%% element wise values of
v(2,i) = gauss(f2,X(i),X(i+1),1); %%%% load vector
end
%%%% Assembling %%%%
for i=1:N
A([i i+1],[i i+1]) = A([i i+1],[i i+1]) + a;
F([i i+1],1) = F([i i+1],1) + v([1 2],i);
end
%%%% Dirichlet Boundary condition %%%%
% F(N+1,1) = F(N+1,1)+2;
fullnodes = [1:N+1];
%%%%% Dirichlet boundary condition %%%%%
freenodes=setdiff(fullnodes,[1]);
Uh = zeros(N+1,1);
Uh(N+1,1) = 2;
%%%% Approximate solution %%%%
Uh(freenodes)=A(freenodes,freenodes)F(freenodes,1);
%%%% Exact solution %%%%
U = zeros(N+1,1);
for i =1:N+1
U(i) = (exp(X(i))*(3*exp(1) + 4))/(exp(2) – 1) – 5*X(i) – (exp(-X(i))*(3*exp(1) + 4*exp(2)))/(exp(2) – 1) + 4;
end
error = max(abs(U-Uh));
[U Uh]
plot(X,U,X,Uh,’o’) I am unable to input the dirichlet condition into this non homogenous ode. Please point out my mistake.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% -u" + u = – 5x + 4 0 < x <= 1 %%%%
%%%% u(0) = 0, u(1) = 2 %%%%
%%%% Exact solution u = (exp(x)*(3*exp(1) + 4))/(exp(2) – 1) – 5*x – (exp(-x)*(3*exp(1) + 4*exp(2)))/(exp(2) – 1) + 4 %%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear all;
close all;
format long;
N = 20;
x0 = 0;
xN = 1;
h = 1/N;
for j = 1:N+1
X(j) = x0 + (j-1)*h;
end
f = @(x)(- 5*x +4);
A = zeros(N+1,N+1);
F = zeros(N+1,1);
%%%% Local stiffness matrix %%%%
a = [1/h -1/h ; -1/h 1/h] ;
for i=1:N
phi1 = @(x)(X(i+1)-x)/h; %%%% linear basis function %%%%
phi2 = @(x)(x-X(i))/h; %%%% linear basis function %%%%
f1 = @(x)f(x)*phi1(x); %%%% integrand for load vector %%%%
f2 = @(x)f(x)*phi2(x); %%%% integrand for load vector %%%%
v(1,i) = gauss(f1,X(i),X(i+1),1); %%%% element wise values of
v(2,i) = gauss(f2,X(i),X(i+1),1); %%%% load vector
end
%%%% Assembling %%%%
for i=1:N
A([i i+1],[i i+1]) = A([i i+1],[i i+1]) + a;
F([i i+1],1) = F([i i+1],1) + v([1 2],i);
end
%%%% Dirichlet Boundary condition %%%%
% F(N+1,1) = F(N+1,1)+2;
fullnodes = [1:N+1];
%%%%% Dirichlet boundary condition %%%%%
freenodes=setdiff(fullnodes,[1]);
Uh = zeros(N+1,1);
Uh(N+1,1) = 2;
%%%% Approximate solution %%%%
Uh(freenodes)=A(freenodes,freenodes)F(freenodes,1);
%%%% Exact solution %%%%
U = zeros(N+1,1);
for i =1:N+1
U(i) = (exp(X(i))*(3*exp(1) + 4))/(exp(2) – 1) – 5*X(i) – (exp(-X(i))*(3*exp(1) + 4*exp(2)))/(exp(2) – 1) + 4;
end
error = max(abs(U-Uh));
[U Uh]
plot(X,U,X,Uh,’o’) finite element method MATLAB Answers — New Questions
Why the Kf_LMax value is increased beyond its limits. Is their is any logical error Kindly help me out .
Why the Kf_LMax value is increased beyond its limits. Is their is any logical error Kindly help me out .
% Define parameters
Kf_Max = 100; % maximum forward rate
RLC = [0.1, 0.5, 10, 5, 10, 1]; % RLC values
TauKf_ON = -0.01; % TauKf_ON
TauKf_OFF = -0.01; % TauKf_OFF
PhaseTimes = [0, 500, 1000, 2000, 3000, 4000, 5000]; % phase times (each row defines a phase)
% Generate time vector
t = 0:0.01:5000;
% Call the function to compute receptor concentrations and Kf
[ Kf_LMax] = Kf_Cal(Kf_Max, RLC, TauKf_ON, TauKf_OFF, PhaseTimes, t);
% Plotting
figure;
% Plot Kf_LMax
plot(t, Kf_LMax, ‘b’, ‘LineWidth’, 1.5);
title(‘Kf_LMax over Time’);
xlabel(‘Time’);
ylabel(‘Kf_LMax’);
grid on;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [ Kf_LMax] = Kf_Cal(Kf_Max, RLC, TauKf_ON, TauKf_OFF, PhaseTimes, t)
% Initialize output variables
Kf_LMax = zeros(size(t));
% Calculate Kf_L for each time step
for i = 1:length(t)
Kf_LMax(i) = calculate_kf(t(i), PhaseTimes, Kf_Max, RLC, TauKf_ON, TauKf_OFF);
end
% Nested function for calculating Kf_L based on time
function Kf_L = calculate_kf(t_current, PhaseTimes, Kf_Max, RLC, TauKf_ON, TauKf_OFF)
% Calculate maximum Kf_L based on RLC values using Element wise
% division
Kf_LMax_values = Kf_Max * (RLC ./ (1 + RLC));
% Default Kf_L to the maximum value of the first phase
Kf_L = Kf_LMax_values(1);
% Number of phases
num_phases = numel(RLC);
% Iterate through each phase to determine the current phase based on time
for j = 1:num_phases
T_start = PhaseTimes(j); % Start time of the current phase
if j < num_phases
T_end = PhaseTimes(j + 1); % End time of the current phase
else
T_end = inf; % Handle last phase separately
end
% Check if the current time t_current is within the current phase
if t_current >= T_start && t_current < T_end
if j == 1
% For the first phase, use the maximum value directly
Kf_L = Kf_LMax_values(j);
else
% Time at the end of the previous phase
% prev_end = PhaseTimes(j – 1);
if j < num_phases
% Check RLC conditions and compute Kf_L
if RLC(j – 1) < RLC(j) && RLC(j) > RLC(j + 1)
% Peak condition
Kf_endA = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start));
Kf_L = Kf_LMax_values(j) + (Kf_endA – Kf_LMax_values(j – 1)) *exp(TauKf_OFF * ( t_current – T_start));
elseif RLC(j – 1) < RLC(j) && RLC(j) < RLC(j + 1)
% Increasing RLC condition
Kf_endB = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start));
Kf_L = Kf_LMax_values(j) + (Kf_endB – Kf_LMax_values(j – 1)) *exp(TauKf_OFF * (t_current – T_start));
elseif RLC(j – 1) > RLC(j) && RLC(j) < RLC(j + 1)
% Decreasing RLC condition
Kf_endC = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start));
Kf_L = Kf_LMax_values(j) + (Kf_endC – Kf_LMax_values(j – 1)) * exp(TauKf_OFF * (t_current – T_start ));
elseif RLC(j – 1) > RLC(j) && RLC(j) >= RLC(j + 1)
% Flat or decreasing RLC condition
Kf_endD = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start));
Kf_L = Kf_LMax_values(j) + (Kf_endD – Kf_LMax_values(j – 1)) * exp(TauKf_OFF * (t_current – T_start ));
end
else
% % % Handling for the last phase
if RLC(j – 1) < RLC(j)
Kf_end1 = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start) Kf_L = Kf_LMax_values(j) + (Kf_end1 – Kf_LMax_values(j – 1)) * exp(TauKf_OFF * (t_current – T_start));
elseif RLC(j – 1) > RLC(j)
Kf_end2 = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start));
Kf_L = Kf_LMax_values(j) + (Kf_end2 – Kf_LMax_values(j – 1)) * exp(TauKf_OFF * (t_current – T_start));
end
end
end
return; % Exit the function after finding the correct phase
end
end
end
endWhy the Kf_LMax value is increased beyond its limits. Is their is any logical error Kindly help me out .
% Define parameters
Kf_Max = 100; % maximum forward rate
RLC = [0.1, 0.5, 10, 5, 10, 1]; % RLC values
TauKf_ON = -0.01; % TauKf_ON
TauKf_OFF = -0.01; % TauKf_OFF
PhaseTimes = [0, 500, 1000, 2000, 3000, 4000, 5000]; % phase times (each row defines a phase)
% Generate time vector
t = 0:0.01:5000;
% Call the function to compute receptor concentrations and Kf
[ Kf_LMax] = Kf_Cal(Kf_Max, RLC, TauKf_ON, TauKf_OFF, PhaseTimes, t);
% Plotting
figure;
% Plot Kf_LMax
plot(t, Kf_LMax, ‘b’, ‘LineWidth’, 1.5);
title(‘Kf_LMax over Time’);
xlabel(‘Time’);
ylabel(‘Kf_LMax’);
grid on;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [ Kf_LMax] = Kf_Cal(Kf_Max, RLC, TauKf_ON, TauKf_OFF, PhaseTimes, t)
% Initialize output variables
Kf_LMax = zeros(size(t));
% Calculate Kf_L for each time step
for i = 1:length(t)
Kf_LMax(i) = calculate_kf(t(i), PhaseTimes, Kf_Max, RLC, TauKf_ON, TauKf_OFF);
end
% Nested function for calculating Kf_L based on time
function Kf_L = calculate_kf(t_current, PhaseTimes, Kf_Max, RLC, TauKf_ON, TauKf_OFF)
% Calculate maximum Kf_L based on RLC values using Element wise
% division
Kf_LMax_values = Kf_Max * (RLC ./ (1 + RLC));
% Default Kf_L to the maximum value of the first phase
Kf_L = Kf_LMax_values(1);
% Number of phases
num_phases = numel(RLC);
% Iterate through each phase to determine the current phase based on time
for j = 1:num_phases
T_start = PhaseTimes(j); % Start time of the current phase
if j < num_phases
T_end = PhaseTimes(j + 1); % End time of the current phase
else
T_end = inf; % Handle last phase separately
end
% Check if the current time t_current is within the current phase
if t_current >= T_start && t_current < T_end
if j == 1
% For the first phase, use the maximum value directly
Kf_L = Kf_LMax_values(j);
else
% Time at the end of the previous phase
% prev_end = PhaseTimes(j – 1);
if j < num_phases
% Check RLC conditions and compute Kf_L
if RLC(j – 1) < RLC(j) && RLC(j) > RLC(j + 1)
% Peak condition
Kf_endA = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start));
Kf_L = Kf_LMax_values(j) + (Kf_endA – Kf_LMax_values(j – 1)) *exp(TauKf_OFF * ( t_current – T_start));
elseif RLC(j – 1) < RLC(j) && RLC(j) < RLC(j + 1)
% Increasing RLC condition
Kf_endB = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start));
Kf_L = Kf_LMax_values(j) + (Kf_endB – Kf_LMax_values(j – 1)) *exp(TauKf_OFF * (t_current – T_start));
elseif RLC(j – 1) > RLC(j) && RLC(j) < RLC(j + 1)
% Decreasing RLC condition
Kf_endC = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start));
Kf_L = Kf_LMax_values(j) + (Kf_endC – Kf_LMax_values(j – 1)) * exp(TauKf_OFF * (t_current – T_start ));
elseif RLC(j – 1) > RLC(j) && RLC(j) >= RLC(j + 1)
% Flat or decreasing RLC condition
Kf_endD = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start));
Kf_L = Kf_LMax_values(j) + (Kf_endD – Kf_LMax_values(j – 1)) * exp(TauKf_OFF * (t_current – T_start ));
end
else
% % % Handling for the last phase
if RLC(j – 1) < RLC(j)
Kf_end1 = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start) Kf_L = Kf_LMax_values(j) + (Kf_end1 – Kf_LMax_values(j – 1)) * exp(TauKf_OFF * (t_current – T_start));
elseif RLC(j – 1) > RLC(j)
Kf_end2 = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start));
Kf_L = Kf_LMax_values(j) + (Kf_end2 – Kf_LMax_values(j – 1)) * exp(TauKf_OFF * (t_current – T_start));
end
end
end
return; % Exit the function after finding the correct phase
end
end
end
end Why the Kf_LMax value is increased beyond its limits. Is their is any logical error Kindly help me out .
% Define parameters
Kf_Max = 100; % maximum forward rate
RLC = [0.1, 0.5, 10, 5, 10, 1]; % RLC values
TauKf_ON = -0.01; % TauKf_ON
TauKf_OFF = -0.01; % TauKf_OFF
PhaseTimes = [0, 500, 1000, 2000, 3000, 4000, 5000]; % phase times (each row defines a phase)
% Generate time vector
t = 0:0.01:5000;
% Call the function to compute receptor concentrations and Kf
[ Kf_LMax] = Kf_Cal(Kf_Max, RLC, TauKf_ON, TauKf_OFF, PhaseTimes, t);
% Plotting
figure;
% Plot Kf_LMax
plot(t, Kf_LMax, ‘b’, ‘LineWidth’, 1.5);
title(‘Kf_LMax over Time’);
xlabel(‘Time’);
ylabel(‘Kf_LMax’);
grid on;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [ Kf_LMax] = Kf_Cal(Kf_Max, RLC, TauKf_ON, TauKf_OFF, PhaseTimes, t)
% Initialize output variables
Kf_LMax = zeros(size(t));
% Calculate Kf_L for each time step
for i = 1:length(t)
Kf_LMax(i) = calculate_kf(t(i), PhaseTimes, Kf_Max, RLC, TauKf_ON, TauKf_OFF);
end
% Nested function for calculating Kf_L based on time
function Kf_L = calculate_kf(t_current, PhaseTimes, Kf_Max, RLC, TauKf_ON, TauKf_OFF)
% Calculate maximum Kf_L based on RLC values using Element wise
% division
Kf_LMax_values = Kf_Max * (RLC ./ (1 + RLC));
% Default Kf_L to the maximum value of the first phase
Kf_L = Kf_LMax_values(1);
% Number of phases
num_phases = numel(RLC);
% Iterate through each phase to determine the current phase based on time
for j = 1:num_phases
T_start = PhaseTimes(j); % Start time of the current phase
if j < num_phases
T_end = PhaseTimes(j + 1); % End time of the current phase
else
T_end = inf; % Handle last phase separately
end
% Check if the current time t_current is within the current phase
if t_current >= T_start && t_current < T_end
if j == 1
% For the first phase, use the maximum value directly
Kf_L = Kf_LMax_values(j);
else
% Time at the end of the previous phase
% prev_end = PhaseTimes(j – 1);
if j < num_phases
% Check RLC conditions and compute Kf_L
if RLC(j – 1) < RLC(j) && RLC(j) > RLC(j + 1)
% Peak condition
Kf_endA = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start));
Kf_L = Kf_LMax_values(j) + (Kf_endA – Kf_LMax_values(j – 1)) *exp(TauKf_OFF * ( t_current – T_start));
elseif RLC(j – 1) < RLC(j) && RLC(j) < RLC(j + 1)
% Increasing RLC condition
Kf_endB = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start));
Kf_L = Kf_LMax_values(j) + (Kf_endB – Kf_LMax_values(j – 1)) *exp(TauKf_OFF * (t_current – T_start));
elseif RLC(j – 1) > RLC(j) && RLC(j) < RLC(j + 1)
% Decreasing RLC condition
Kf_endC = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start));
Kf_L = Kf_LMax_values(j) + (Kf_endC – Kf_LMax_values(j – 1)) * exp(TauKf_OFF * (t_current – T_start ));
elseif RLC(j – 1) > RLC(j) && RLC(j) >= RLC(j + 1)
% Flat or decreasing RLC condition
Kf_endD = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start));
Kf_L = Kf_LMax_values(j) + (Kf_endD – Kf_LMax_values(j – 1)) * exp(TauKf_OFF * (t_current – T_start ));
end
else
% % % Handling for the last phase
if RLC(j – 1) < RLC(j)
Kf_end1 = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start) Kf_L = Kf_LMax_values(j) + (Kf_end1 – Kf_LMax_values(j – 1)) * exp(TauKf_OFF * (t_current – T_start));
elseif RLC(j – 1) > RLC(j)
Kf_end2 = Kf_LMax_values(j) – (Kf_LMax_values(j) – Kf_LMax_values(j – 1)) * exp(TauKf_ON * (t_current – T_start));
Kf_L = Kf_LMax_values(j) + (Kf_end2 – Kf_LMax_values(j – 1)) * exp(TauKf_OFF * (t_current – T_start));
end
end
end
return; % Exit the function after finding the correct phase
end
end
end
end graph MATLAB Answers — New Questions
Custom Forms do not sync in Outlook with O365
Hello,
In my company, we use the Developer Tool to create custom forms for Contacts and Tasks, which generate new pages in the contact items within Outlook. We use these custom fields to keep our contacts updated, filter them, and perform various other tasks. These items are saved in Outlook as IPM.Contact.[custom_name] in the “Custom Forms Library” folder.
The issue we’re encountering is that, although our contacts are stored in our contact list, when they call us through Teams, the contacts do not synchronize, so we are unable to identify the caller. Additionally, when we use Outlook Web, we cannot see any contacts that were not created using the default Contact or Task items in Outlook. Any items created with the Developer Tool do not synchronize.
We suspect that the problem might be related to one of the Exchange connectors, which could be configured to only synchronize contacts that use the default M365 form. However, we are unsure how to modify this setting.
Thank you!
Hello,In my company, we use the Developer Tool to create custom forms for Contacts and Tasks, which generate new pages in the contact items within Outlook. We use these custom fields to keep our contacts updated, filter them, and perform various other tasks. These items are saved in Outlook as IPM.Contact.[custom_name] in the “Custom Forms Library” folder.The issue we’re encountering is that, although our contacts are stored in our contact list, when they call us through Teams, the contacts do not synchronize, so we are unable to identify the caller. Additionally, when we use Outlook Web, we cannot see any contacts that were not created using the default Contact or Task items in Outlook. Any items created with the Developer Tool do not synchronize.We suspect that the problem might be related to one of the Exchange connectors, which could be configured to only synchronize contacts that use the default M365 form. However, we are unsure how to modify this setting. Thank you! Read More
How can I accommodate payment plans where the amounts differ per term?
When selling our SaaS solution we typically have a 3 year contract with annual payments. We always use private offers. Generally the contracts have 3 equal payments. But in some cases the payment amount differ per term.
At this moment I need to create multiple private offers to accommodate this. In some cases I have to wait two years to have the customer activate their last subscription.
For example, a payment schedule
Year 1 = 100.000 Year / Year 2 = 150.000 / Year 3 = 250.000
This would result into 3 Private Offers with different starting dates which shows to be confusing for our customers.
How can I make a Private Offer with 1 plan where the amounts differ per term(year)?
When selling our SaaS solution we typically have a 3 year contract with annual payments. We always use private offers. Generally the contracts have 3 equal payments. But in some cases the payment amount differ per term. At this moment I need to create multiple private offers to accommodate this. In some cases I have to wait two years to have the customer activate their last subscription. For example, a payment schedule Year 1 = 100.000 Year / Year 2 = 150.000 / Year 3 = 250.000 This would result into 3 Private Offers with different starting dates which shows to be confusing for our customers. How can I make a Private Offer with 1 plan where the amounts differ per term(year)? Read More
Unable to Access Windows server remotely
Hello, we are hosting a VM on a local computer using Hyper-V. we normally access the VM and work on it using windows remote desktop. This morning, we are tried connecting to the VM and it is not recognizing any of our passwords. I have logged on to the VM through the Host computer, restarted the VM, checked to see that the remote desktop services is running and they are. but yet I can’t seem to resolve the issue. What could be the reason or what can I check to resolve this issue.
Hello, we are hosting a VM on a local computer using Hyper-V. we normally access the VM and work on it using windows remote desktop. This morning, we are tried connecting to the VM and it is not recognizing any of our passwords. I have logged on to the VM through the Host computer, restarted the VM, checked to see that the remote desktop services is running and they are. but yet I can’t seem to resolve the issue. What could be the reason or what can I check to resolve this issue. Read More
Help needed to create a VBA macro for moving data to and from other worksheets
Hi all,
I’m trying to create a project workload workbook which has a list of ongoing projects in one worksheet and a separate worksheet for completed projects. I’d like to automatically move a project from the ‘ongoing’ sheet to the ‘completed’ sheet by simply selecting ‘completed’ in the status column. I’d like for this project to move onto the next available row in the ‘completed’ worksheet. I’d also like to be able to move the project back into ‘ongoing’ sheet should the status “completed” have been selected in error.
Please can anyone help me write the correct VBA code to do this? Please find below code which I’ve recently attempted but found it isn’t triggered when selecting the project status (I have to run the macro manually) and when I do, it either moves the project data onto a random row (albeit on the correct sheet), or throws up the VBA window highlighting a section of the code with no explanation as to why it’s an issue!
Any help will be very much appreciated.
Many thanks in advance, Abi.
‘Module Code attempted (but does not work!):’
Sub MoveBasedOnValue()
Dim xRg As Range
Dim xCell As Range
Dim A As Long
Dim B As Long
Dim C As Long
A = Worksheets(“Ongoing Mechanical Projects”).UsedRange.Rows.Count
B = Worksheets(“Completed Schemes 2024-2025”).UsedRange.Rows.Count
If B = 1 Then
If Application.WorksheetFunction.CountA(Worksheets(“Completed Schemes 2024-2025”).UsedRange) = 0 Then B = 0
End If
Set xRg = Worksheets(“Ongoing Mechanical Projects”).Range(“L:L” & A)
On Error Resume Next
Application.ScreenUpdating = False
For C = 1 To xRg.Count
If CStr(xRg(C).Value) = “Completed” Then
xRg(C).EntireRow.Copy Destination:=Worksheets(“Completed Schemes 2024-2025”).Range(“A” & B + 1)
xRg(C).EntireRow.Delete
If CStr(xRg(C).Value) = “Completed” Then
C = C – 1
End If
B = B + 1
End If
Next
Application.ScreenUpdating = True
End Sub
‘Sheet Code attempted (but does not work!):’
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Z As Long
Dim xVal As String
On Error Resume Next
If Intersect(Target, Range(“L:L”)) Is Nothing Then
Application.EnableEvents = False
For Z = 1 To Target.Count
If Target(Z).Value > 0 Then
Call MoveBasedOnValue
End If
Next
Application.EnableEvents = True
End If
End Sub
Hi all, I’m trying to create a project workload workbook which has a list of ongoing projects in one worksheet and a separate worksheet for completed projects. I’d like to automatically move a project from the ‘ongoing’ sheet to the ‘completed’ sheet by simply selecting ‘completed’ in the status column. I’d like for this project to move onto the next available row in the ‘completed’ worksheet. I’d also like to be able to move the project back into ‘ongoing’ sheet should the status “completed” have been selected in error. Please can anyone help me write the correct VBA code to do this? Please find below code which I’ve recently attempted but found it isn’t triggered when selecting the project status (I have to run the macro manually) and when I do, it either moves the project data onto a random row (albeit on the correct sheet), or throws up the VBA window highlighting a section of the code with no explanation as to why it’s an issue! Any help will be very much appreciated. Many thanks in advance, Abi.’Module Code attempted (but does not work!):’
Sub MoveBasedOnValue()
Dim xRg As Range
Dim xCell As Range
Dim A As Long
Dim B As Long
Dim C As Long
A = Worksheets(“Ongoing Mechanical Projects”).UsedRange.Rows.Count
B = Worksheets(“Completed Schemes 2024-2025”).UsedRange.Rows.Count
If B = 1 Then
If Application.WorksheetFunction.CountA(Worksheets(“Completed Schemes 2024-2025”).UsedRange) = 0 Then B = 0
End If
Set xRg = Worksheets(“Ongoing Mechanical Projects”).Range(“L:L” & A)
On Error Resume Next
Application.ScreenUpdating = False
For C = 1 To xRg.Count
If CStr(xRg(C).Value) = “Completed” Then
xRg(C).EntireRow.Copy Destination:=Worksheets(“Completed Schemes 2024-2025”).Range(“A” & B + 1)
xRg(C).EntireRow.Delete
If CStr(xRg(C).Value) = “Completed” Then
C = C – 1
End If
B = B + 1
End If
Next
Application.ScreenUpdating = True
End Sub
‘Sheet Code attempted (but does not work!):’
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Z As Long
Dim xVal As String
On Error Resume Next
If Intersect(Target, Range(“L:L”)) Is Nothing Then
Application.EnableEvents = False
For Z = 1 To Target.Count
If Target(Z).Value > 0 Then
Call MoveBasedOnValue
End If
Next
Application.EnableEvents = True
End If
End Sub Read More