Category: News
SharePoint ServerUnauthorizedAccessException: ‘Attempted to perform an unauthorized operation.’
i cannot load Web from SPO using Context.ExecuteQueryAsync, i receive alayws the same error Microsoft.SharePoint.Client.ServerUnauthorizedAccessException: ‘Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))’
Property DisableCustomAppAuthentication is False I used all type of connection like token…. and with ClientId+ClientSecret. I use this Application Permission in APP: Sites.FullControl.All
using (var clientContext = new PnP.Framework.AuthenticationManager().GetACSAppOnlyContext(siteUrl, clientId, clientSecret))
{
clientContext.Load(clientContext.Web, p => p.Title);
await clientContext.ExecuteQueryAsync();
Console.WriteLine(clientContext.Web.Title);
}
i cannot load Web from SPO using Context.ExecuteQueryAsync, i receive alayws the same error Microsoft.SharePoint.Client.ServerUnauthorizedAccessException: ‘Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))’Property DisableCustomAppAuthentication is False I used all type of connection like token…. and with ClientId+ClientSecret. I use this Application Permission in APP: Sites.FullControl.Allusing (var clientContext = new PnP.Framework.AuthenticationManager().GetACSAppOnlyContext(siteUrl, clientId, clientSecret)){clientContext.Load(clientContext.Web, p => p.Title);await clientContext.ExecuteQueryAsync();Console.WriteLine(clientContext.Web.Title);} Read More
How can I use the SUMIF tools if I get an error in the final result
Hi, i need help with this… i think had a mistake cause finally result is $0, someone can explain me what is the error? … I want to collect the data discriminating according to the selection of the month and type column. I used the tools as follows: =SUMAR.SI.CONJUNTO(Registro[MONTO];Registro[MES];$A$2;Registro[TIPO];”ingreso”)
description formula
Record[AMOUNT]: blue
Record[MONTH]: red
Register[TYPE] green
thanks for your help and support
Hi, i need help with this… i think had a mistake cause finally result is $0, someone can explain me what is the error? … I want to collect the data discriminating according to the selection of the month and type column. I used the tools as follows: =SUMAR.SI.CONJUNTO(Registro[MONTO];Registro[MES];$A$2;Registro[TIPO];”ingreso”)description formulaRecord[AMOUNT]: blueRecord[MONTH]: redRegister[TYPE] green thanks for your help and support Read More
SharePoint – Automatically Sync SharePoint Sites users previously had
We want to have Sharepoint sites automatically resynced to the file explorer when a user’s PC is reset or they have a new PC.
There is an administrative template, but the URL has to be pre-noted but we have a lot of sharepoint sites that certain users only have access to.
Is there a way for Sharepoint sites to resync on their own when a PC is enrolled based on what the user used to have? We do have OneDrive sync enabled on the PCs but we just need the folders to automatically appear in file explorer.
We want to have Sharepoint sites automatically resynced to the file explorer when a user’s PC is reset or they have a new PC.There is an administrative template, but the URL has to be pre-noted but we have a lot of sharepoint sites that certain users only have access to.Is there a way for Sharepoint sites to resync on their own when a PC is enrolled based on what the user used to have? We do have OneDrive sync enabled on the PCs but we just need the folders to automatically appear in file explorer. Read More
Table of contents, strange intendation
When adding a Table of contents in Word, I get a strange indentation of both the headings and the page numbers, why can this be?
See here:
When adding a Table of contents in Word, I get a strange indentation of both the headings and the page numbers, why can this be? See here: Read More
User Role Hierarchy
Looking for a tutorial that can walk me through creating a identity user role Hierarchy for a .Net Core MVC project. I’m trying to replicate something similar to the Salesforce Role Hierarchy. Your assistant is greatly appreciated.
Thanks.
Looking for a tutorial that can walk me through creating a identity user role Hierarchy for a .Net Core MVC project. I’m trying to replicate something similar to the Salesforce Role Hierarchy. Your assistant is greatly appreciated. Thanks. Read More
Why do I get an error in bateman_Radon220 example file?
I am trying to understend the following examplefile (bateman_Radon220.m). But when I run run code I get an error:
Warning: Error updating FunctionLine.
DataSpace or ColorSpace transform method failed.
The problem is that the A_sum does not plot entirely right, so I guess it has something to do with that?!
Kind regard Brian
% Rn-220 (Thoron) decay chain
%
% For the basics have a look at bateman.m.
%
%
% (r41=64%)-l4-> Po-212
% / l5
% Rn-220 -l1-> Po-216 -l2-> Pb-212 -l3-> Bi-212 —-> Pb-208 (stable)
% /l6
% (r42=36%)-l4-> Tl-208
% 1: Rn-220 t(1/2) = 55.6 s
% 2: Po-216 t(1/2) = 0.15 s
% 3: Pb-212 t(1/2) = 10.6 h
% 4: Bi-212 t(1/2) = 60.6 min
% 5: Po-212 t(1/2) = 299 ns
% 6: Tl-208 t(1/2) = 3.05 min
%
% l = lamda = decay constant
% t(1/2) = half-life
% N0 is the initial quantity of substance that will decay.
% N(t) is the quantity that still remains and has not yet decayed after a time t.
% dN/dt = -l*N
% N(t) = N0*exp(-l*t)
% l = log(2)/t(1/2) (log means the natural logarithm)
% A = activity; is the number of decays per unit time of a radioactive sample
% A = l*N
% A0 = l1*N0
% rxy = branching ratio
% et = elution time
clear all;
syms N1(t) N2(t) N3(t) N4(t) N5(t) N6(t) l1 l2 l3 l4 l5 l6 r41 r42 N0 A0;
eq_1 = diff(N1(t),t) == -l1*N1(t); % decay of Rn-220
eq_2 = diff(N2(t),t) == -l2*N2(t)+l1*N1(t); % decay of Po-216 and formation from Rn-220
eq_3 = diff(N3(t),t) == -l3*N3(t)+l2*N2(t); % decay of Pb-212 and formation from Po-216
eq_4 = diff(N4(t),t) == -l4*N4(t)+l3*N3(t); % decay of Bi-212 and formation from Pb-212
eq_5 = diff(N5(t),t) == -l5*N5(t)+r41*l4*N4(t); % decay of Po-212 and formation from Bi-212
eq_6 = diff(N6(t),t) == -l6*N6(t)+r42*l4*N4(t); % decay of Tl-208 and formation from Bi-212
% solve the system of diff. equations
% conditions N1(t=0) = N0; N2 to N5(t=0) = 0
sol = dsolve ([eq_1 eq_2 eq_3 eq_4 eq_5 eq_6, N1(0)==N0 N2(0)==0 N3(0)==0 N4(0)==0 N5(0)==0 N6(0)==0]);
A1 = sol.N1*l1; % transform N to A
A2 = sol.N2*l2; % transform N to A
A3 = sol.N3*l3; % transform N to A
A4 = sol.N4*l4; % transform N to A
A5 = sol.N5*l5; % transform N to A
A6 = sol.N6*l6; % transform N to A
A1 = subs(A1,N0*l1,A0); % substitute N0*l1 with A0
A2 = subs(A2,N0*l1,A0); % substitute N0*l1 with A0
A3 = subs(A3,N0*l1,A0); % substitute N0*l1 with A0
A4 = subs(A4,N0*l1,A0); % substitute N0*l1 with A0
A5 = subs(A5,N0*l1,A0); % substitute N0*l1 with A0
A6 = subs(A6,N0*l1,A0); % substitute N0*l1 with A0
A1 = A1 / A0; % divide by A0 to get relative activities
A2 = A2 / A0; % divide by A0 to get relative activities
A3 = A3 / A0; % divide by A0 to get relative activities
A4 = A4 / A0; % divide by A0 to get relative activities
A5 = A5 / A0; % divide by A0 to get relative activities
A6 = A6 / A0; % divide by A0 to get relative activities
A2 = simplify(A2,’Steps’,40); % simplify
A3 = simplify(A3,’Steps’,40); % simplify
A4 = simplify(A4,’Steps’,40); % simplify
A5 = simplify(A5,’Steps’,40); % simplify
A6 = simplify(A6,’Steps’,40); % simplify
% ———————————————————————–
% values to change
l1_v = log(2)/55.6; % l for Rn-220 /s; l=log(2)/t(1/2)
l2_v = log(2)/0.15; % l for Po-216 /s; l=log(2)/t(1/2)
l3_v = log(2)/(10.6*60*60); % l for Pb-212 /s; l=log(2)/t(1/2)
l4_v = log(2)/(60.6*60); % l for Bi-212 /s; l=log(2)/t(1/2)
l5_v = log(2)/2.99e-7; % l for Po-212 /s; l=log(2)/t(1/2)
l6_v = log(2)/(3.05*60); % l for Tl-208 /s; l=log(2)/t(1/2)
r41_v = 0.64; % Bi-212 branching to Po-212
r42_v = 0.36; % Bi-212 branching to Tl-208
% ———————————————————————–
% symbolic substitution of constants with "real" values
A1s = subs(A1, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A2s = subs(A2, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A3s = subs(A3, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A4s = subs(A4, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A5s = subs(A5, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A6s = subs(A6, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A_sum = A1s + A2s + A3s + A4s + A5s + A6s; % sum of all activities
% plot section
hold on;
fplot(A1s,’Color’,’blue’);
fplot(A2s,’Color’,’red’);
fplot(A3s,’Color’,’green’);
fplot(A4s,’Color’,’yellow’);
fplot(A5s,’Color’,’magenta’);
fplot(A6s,’Color’,’black’);
fplot(A_sum,’Color’,’black’,’LineStyle’,’–‘);
hold off
% plot options
ax=gca;
ax.Title.String = {‘Decay of Rn-220’};
ax.YLim=[1e-15 3];
ax.XLim=[1e-4 5e6];
ax.YScale=’log’;
ax.XScale=’log’;
ax.XLabel.String=’t /s’;
ax.YLabel.String=’rel. activity A/A_0′;
grid on;
grid minor;
legend(‘Rn-220′,’Po-216′,’Pb-212′,’Bi-212′,’Po-212′,’Tl-208′,’A_{sum}’,’Location’,’best’);I am trying to understend the following examplefile (bateman_Radon220.m). But when I run run code I get an error:
Warning: Error updating FunctionLine.
DataSpace or ColorSpace transform method failed.
The problem is that the A_sum does not plot entirely right, so I guess it has something to do with that?!
Kind regard Brian
% Rn-220 (Thoron) decay chain
%
% For the basics have a look at bateman.m.
%
%
% (r41=64%)-l4-> Po-212
% / l5
% Rn-220 -l1-> Po-216 -l2-> Pb-212 -l3-> Bi-212 —-> Pb-208 (stable)
% /l6
% (r42=36%)-l4-> Tl-208
% 1: Rn-220 t(1/2) = 55.6 s
% 2: Po-216 t(1/2) = 0.15 s
% 3: Pb-212 t(1/2) = 10.6 h
% 4: Bi-212 t(1/2) = 60.6 min
% 5: Po-212 t(1/2) = 299 ns
% 6: Tl-208 t(1/2) = 3.05 min
%
% l = lamda = decay constant
% t(1/2) = half-life
% N0 is the initial quantity of substance that will decay.
% N(t) is the quantity that still remains and has not yet decayed after a time t.
% dN/dt = -l*N
% N(t) = N0*exp(-l*t)
% l = log(2)/t(1/2) (log means the natural logarithm)
% A = activity; is the number of decays per unit time of a radioactive sample
% A = l*N
% A0 = l1*N0
% rxy = branching ratio
% et = elution time
clear all;
syms N1(t) N2(t) N3(t) N4(t) N5(t) N6(t) l1 l2 l3 l4 l5 l6 r41 r42 N0 A0;
eq_1 = diff(N1(t),t) == -l1*N1(t); % decay of Rn-220
eq_2 = diff(N2(t),t) == -l2*N2(t)+l1*N1(t); % decay of Po-216 and formation from Rn-220
eq_3 = diff(N3(t),t) == -l3*N3(t)+l2*N2(t); % decay of Pb-212 and formation from Po-216
eq_4 = diff(N4(t),t) == -l4*N4(t)+l3*N3(t); % decay of Bi-212 and formation from Pb-212
eq_5 = diff(N5(t),t) == -l5*N5(t)+r41*l4*N4(t); % decay of Po-212 and formation from Bi-212
eq_6 = diff(N6(t),t) == -l6*N6(t)+r42*l4*N4(t); % decay of Tl-208 and formation from Bi-212
% solve the system of diff. equations
% conditions N1(t=0) = N0; N2 to N5(t=0) = 0
sol = dsolve ([eq_1 eq_2 eq_3 eq_4 eq_5 eq_6, N1(0)==N0 N2(0)==0 N3(0)==0 N4(0)==0 N5(0)==0 N6(0)==0]);
A1 = sol.N1*l1; % transform N to A
A2 = sol.N2*l2; % transform N to A
A3 = sol.N3*l3; % transform N to A
A4 = sol.N4*l4; % transform N to A
A5 = sol.N5*l5; % transform N to A
A6 = sol.N6*l6; % transform N to A
A1 = subs(A1,N0*l1,A0); % substitute N0*l1 with A0
A2 = subs(A2,N0*l1,A0); % substitute N0*l1 with A0
A3 = subs(A3,N0*l1,A0); % substitute N0*l1 with A0
A4 = subs(A4,N0*l1,A0); % substitute N0*l1 with A0
A5 = subs(A5,N0*l1,A0); % substitute N0*l1 with A0
A6 = subs(A6,N0*l1,A0); % substitute N0*l1 with A0
A1 = A1 / A0; % divide by A0 to get relative activities
A2 = A2 / A0; % divide by A0 to get relative activities
A3 = A3 / A0; % divide by A0 to get relative activities
A4 = A4 / A0; % divide by A0 to get relative activities
A5 = A5 / A0; % divide by A0 to get relative activities
A6 = A6 / A0; % divide by A0 to get relative activities
A2 = simplify(A2,’Steps’,40); % simplify
A3 = simplify(A3,’Steps’,40); % simplify
A4 = simplify(A4,’Steps’,40); % simplify
A5 = simplify(A5,’Steps’,40); % simplify
A6 = simplify(A6,’Steps’,40); % simplify
% ———————————————————————–
% values to change
l1_v = log(2)/55.6; % l for Rn-220 /s; l=log(2)/t(1/2)
l2_v = log(2)/0.15; % l for Po-216 /s; l=log(2)/t(1/2)
l3_v = log(2)/(10.6*60*60); % l for Pb-212 /s; l=log(2)/t(1/2)
l4_v = log(2)/(60.6*60); % l for Bi-212 /s; l=log(2)/t(1/2)
l5_v = log(2)/2.99e-7; % l for Po-212 /s; l=log(2)/t(1/2)
l6_v = log(2)/(3.05*60); % l for Tl-208 /s; l=log(2)/t(1/2)
r41_v = 0.64; % Bi-212 branching to Po-212
r42_v = 0.36; % Bi-212 branching to Tl-208
% ———————————————————————–
% symbolic substitution of constants with "real" values
A1s = subs(A1, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A2s = subs(A2, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A3s = subs(A3, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A4s = subs(A4, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A5s = subs(A5, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A6s = subs(A6, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A_sum = A1s + A2s + A3s + A4s + A5s + A6s; % sum of all activities
% plot section
hold on;
fplot(A1s,’Color’,’blue’);
fplot(A2s,’Color’,’red’);
fplot(A3s,’Color’,’green’);
fplot(A4s,’Color’,’yellow’);
fplot(A5s,’Color’,’magenta’);
fplot(A6s,’Color’,’black’);
fplot(A_sum,’Color’,’black’,’LineStyle’,’–‘);
hold off
% plot options
ax=gca;
ax.Title.String = {‘Decay of Rn-220’};
ax.YLim=[1e-15 3];
ax.XLim=[1e-4 5e6];
ax.YScale=’log’;
ax.XScale=’log’;
ax.XLabel.String=’t /s’;
ax.YLabel.String=’rel. activity A/A_0′;
grid on;
grid minor;
legend(‘Rn-220′,’Po-216′,’Pb-212′,’Bi-212′,’Po-212′,’Tl-208′,’A_{sum}’,’Location’,’best’); I am trying to understend the following examplefile (bateman_Radon220.m). But when I run run code I get an error:
Warning: Error updating FunctionLine.
DataSpace or ColorSpace transform method failed.
The problem is that the A_sum does not plot entirely right, so I guess it has something to do with that?!
Kind regard Brian
% Rn-220 (Thoron) decay chain
%
% For the basics have a look at bateman.m.
%
%
% (r41=64%)-l4-> Po-212
% / l5
% Rn-220 -l1-> Po-216 -l2-> Pb-212 -l3-> Bi-212 —-> Pb-208 (stable)
% /l6
% (r42=36%)-l4-> Tl-208
% 1: Rn-220 t(1/2) = 55.6 s
% 2: Po-216 t(1/2) = 0.15 s
% 3: Pb-212 t(1/2) = 10.6 h
% 4: Bi-212 t(1/2) = 60.6 min
% 5: Po-212 t(1/2) = 299 ns
% 6: Tl-208 t(1/2) = 3.05 min
%
% l = lamda = decay constant
% t(1/2) = half-life
% N0 is the initial quantity of substance that will decay.
% N(t) is the quantity that still remains and has not yet decayed after a time t.
% dN/dt = -l*N
% N(t) = N0*exp(-l*t)
% l = log(2)/t(1/2) (log means the natural logarithm)
% A = activity; is the number of decays per unit time of a radioactive sample
% A = l*N
% A0 = l1*N0
% rxy = branching ratio
% et = elution time
clear all;
syms N1(t) N2(t) N3(t) N4(t) N5(t) N6(t) l1 l2 l3 l4 l5 l6 r41 r42 N0 A0;
eq_1 = diff(N1(t),t) == -l1*N1(t); % decay of Rn-220
eq_2 = diff(N2(t),t) == -l2*N2(t)+l1*N1(t); % decay of Po-216 and formation from Rn-220
eq_3 = diff(N3(t),t) == -l3*N3(t)+l2*N2(t); % decay of Pb-212 and formation from Po-216
eq_4 = diff(N4(t),t) == -l4*N4(t)+l3*N3(t); % decay of Bi-212 and formation from Pb-212
eq_5 = diff(N5(t),t) == -l5*N5(t)+r41*l4*N4(t); % decay of Po-212 and formation from Bi-212
eq_6 = diff(N6(t),t) == -l6*N6(t)+r42*l4*N4(t); % decay of Tl-208 and formation from Bi-212
% solve the system of diff. equations
% conditions N1(t=0) = N0; N2 to N5(t=0) = 0
sol = dsolve ([eq_1 eq_2 eq_3 eq_4 eq_5 eq_6, N1(0)==N0 N2(0)==0 N3(0)==0 N4(0)==0 N5(0)==0 N6(0)==0]);
A1 = sol.N1*l1; % transform N to A
A2 = sol.N2*l2; % transform N to A
A3 = sol.N3*l3; % transform N to A
A4 = sol.N4*l4; % transform N to A
A5 = sol.N5*l5; % transform N to A
A6 = sol.N6*l6; % transform N to A
A1 = subs(A1,N0*l1,A0); % substitute N0*l1 with A0
A2 = subs(A2,N0*l1,A0); % substitute N0*l1 with A0
A3 = subs(A3,N0*l1,A0); % substitute N0*l1 with A0
A4 = subs(A4,N0*l1,A0); % substitute N0*l1 with A0
A5 = subs(A5,N0*l1,A0); % substitute N0*l1 with A0
A6 = subs(A6,N0*l1,A0); % substitute N0*l1 with A0
A1 = A1 / A0; % divide by A0 to get relative activities
A2 = A2 / A0; % divide by A0 to get relative activities
A3 = A3 / A0; % divide by A0 to get relative activities
A4 = A4 / A0; % divide by A0 to get relative activities
A5 = A5 / A0; % divide by A0 to get relative activities
A6 = A6 / A0; % divide by A0 to get relative activities
A2 = simplify(A2,’Steps’,40); % simplify
A3 = simplify(A3,’Steps’,40); % simplify
A4 = simplify(A4,’Steps’,40); % simplify
A5 = simplify(A5,’Steps’,40); % simplify
A6 = simplify(A6,’Steps’,40); % simplify
% ———————————————————————–
% values to change
l1_v = log(2)/55.6; % l for Rn-220 /s; l=log(2)/t(1/2)
l2_v = log(2)/0.15; % l for Po-216 /s; l=log(2)/t(1/2)
l3_v = log(2)/(10.6*60*60); % l for Pb-212 /s; l=log(2)/t(1/2)
l4_v = log(2)/(60.6*60); % l for Bi-212 /s; l=log(2)/t(1/2)
l5_v = log(2)/2.99e-7; % l for Po-212 /s; l=log(2)/t(1/2)
l6_v = log(2)/(3.05*60); % l for Tl-208 /s; l=log(2)/t(1/2)
r41_v = 0.64; % Bi-212 branching to Po-212
r42_v = 0.36; % Bi-212 branching to Tl-208
% ———————————————————————–
% symbolic substitution of constants with "real" values
A1s = subs(A1, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A2s = subs(A2, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A3s = subs(A3, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A4s = subs(A4, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A5s = subs(A5, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A6s = subs(A6, [l1,l2,l3,l4,l5,l6,r41,r42], [l1_v,l2_v,l3_v,l4_v,l5_v,l6_v,r41_v,r42_v]);
A_sum = A1s + A2s + A3s + A4s + A5s + A6s; % sum of all activities
% plot section
hold on;
fplot(A1s,’Color’,’blue’);
fplot(A2s,’Color’,’red’);
fplot(A3s,’Color’,’green’);
fplot(A4s,’Color’,’yellow’);
fplot(A5s,’Color’,’magenta’);
fplot(A6s,’Color’,’black’);
fplot(A_sum,’Color’,’black’,’LineStyle’,’–‘);
hold off
% plot options
ax=gca;
ax.Title.String = {‘Decay of Rn-220’};
ax.YLim=[1e-15 3];
ax.XLim=[1e-4 5e6];
ax.YScale=’log’;
ax.XScale=’log’;
ax.XLabel.String=’t /s’;
ax.YLabel.String=’rel. activity A/A_0′;
grid on;
grid minor;
legend(‘Rn-220′,’Po-216′,’Pb-212′,’Bi-212′,’Po-212′,’Tl-208′,’A_{sum}’,’Location’,’best’); bateman, decay, radioactivity, radon220, examplefile MATLAB Answers — New Questions
Unable to open the requested feature. Check your internet connection and proxy settings in MATLAB Web preferences and then try starting the feature again. Detailed information: Error code: -6 Error message: ERR_FILE_NOT_FOUND
i can’t set up iti can’t set up it i can’t set up it set up MATLAB Answers — New Questions
I required MATLAB Code that Calculate SNR of two Devices communicating Via IRS, Including Channel gains, phase shift value etc
Two Devices are cpmmunicating Via IRS. !st Channel Gain is From Source to IRS, 2nd Channel Gain is From IRS to Destination, IRS Having 32 Reflecting Elements and Apply Phase Shift. Plot SNR w.r.t No of IRS Eleemnts. How SINR is changingTwo Devices are cpmmunicating Via IRS. !st Channel Gain is From Source to IRS, 2nd Channel Gain is From IRS to Destination, IRS Having 32 Reflecting Elements and Apply Phase Shift. Plot SNR w.r.t No of IRS Eleemnts. How SINR is changing Two Devices are cpmmunicating Via IRS. !st Channel Gain is From Source to IRS, 2nd Channel Gain is From IRS to Destination, IRS Having 32 Reflecting Elements and Apply Phase Shift. Plot SNR w.r.t No of IRS Eleemnts. How SINR is changing irs, snr MATLAB Answers — New Questions
Hysteesis Design tool can’t display graphics– -Powergui Error
Hi,
I’m trying to use powergui Hysteesis Design tool,but it can’t display graphics.Report “matlab.graphics. internal. figfile.Figfile/read> (hobiect, eventdata)power hysteresis DisplayPushButton Callback , hob ject,eventdata,guidata(hobject)“
Does anyone have information on this error?
Thanks!Hi,
I’m trying to use powergui Hysteesis Design tool,but it can’t display graphics.Report “matlab.graphics. internal. figfile.Figfile/read> (hobiect, eventdata)power hysteresis DisplayPushButton Callback , hob ject,eventdata,guidata(hobject)“
Does anyone have information on this error?
Thanks! Hi,
I’m trying to use powergui Hysteesis Design tool,but it can’t display graphics.Report “matlab.graphics. internal. figfile.Figfile/read> (hobiect, eventdata)power hysteresis DisplayPushButton Callback , hob ject,eventdata,guidata(hobject)“
Does anyone have information on this error?
Thanks! hysteesis design tool MATLAB Answers — New Questions
Failed to Create vector Index
Hi, I am trying to create Azure AI Search Index and its failing with error “Failed to create Vector Index”. It fails even if i don’t select vector settings. let me know how to troubleshoot?
Hi, I am trying to create Azure AI Search Index and its failing with error “Failed to create Vector Index”. It fails even if i don’t select vector settings. let me know how to troubleshoot? Read More
Azure AI Search- Embedding Model
Hi, It seems like Azure AI Search defaults to ada-002 model so how do i change it to point to embedding-3 models? I have both model deployed but it only pics ada.
Hi, It seems like Azure AI Search defaults to ada-002 model so how do i change it to point to embedding-3 models? I have both model deployed but it only pics ada. Read More
Running Feather RP2040 with Simulink
I’m working on a project which requires me to take data from sensors connected to a Feather RP2040 and simulate it live on Simulink. I can’t seem to figure out how to read I2C from the Feather to MatLab. All the add-ons I could find were for Arduinos or RP hardware other than the RP2040. Is there anyway to get around that? All I need is to get the data from the Feather to MatLab in the moment.I’m working on a project which requires me to take data from sensors connected to a Feather RP2040 and simulate it live on Simulink. I can’t seem to figure out how to read I2C from the Feather to MatLab. All the add-ons I could find were for Arduinos or RP hardware other than the RP2040. Is there anyway to get around that? All I need is to get the data from the Feather to MatLab in the moment. I’m working on a project which requires me to take data from sensors connected to a Feather RP2040 and simulate it live on Simulink. I can’t seem to figure out how to read I2C from the Feather to MatLab. All the add-ons I could find were for Arduinos or RP hardware other than the RP2040. Is there anyway to get around that? All I need is to get the data from the Feather to MatLab in the moment. feather, rp2040, simulink, matlab MATLAB Answers — New Questions
wait for several system calls to finish
I am calling three external programs and can only continue in the matlab program after all programs are finished. Each of them work independently of each other and can start at the same time
[staus1,~] = system(‘cmd1 &’);
[staus2,~] = system(‘cmd2 &’);
[staus3,~] = system(‘cmd3 &’);
% how to check if all of them are finished?
Using ampersand & symbol, I reached that they start nearly at the same time, but how can I check when they are all finished? In my case, the returned status variables can be zero (successful) or negative (not successful). Hence, checking status for any value does not help, I guess.I am calling three external programs and can only continue in the matlab program after all programs are finished. Each of them work independently of each other and can start at the same time
[staus1,~] = system(‘cmd1 &’);
[staus2,~] = system(‘cmd2 &’);
[staus3,~] = system(‘cmd3 &’);
% how to check if all of them are finished?
Using ampersand & symbol, I reached that they start nearly at the same time, but how can I check when they are all finished? In my case, the returned status variables can be zero (successful) or negative (not successful). Hence, checking status for any value does not help, I guess. I am calling three external programs and can only continue in the matlab program after all programs are finished. Each of them work independently of each other and can start at the same time
[staus1,~] = system(‘cmd1 &’);
[staus2,~] = system(‘cmd2 &’);
[staus3,~] = system(‘cmd3 &’);
% how to check if all of them are finished?
Using ampersand & symbol, I reached that they start nearly at the same time, but how can I check when they are all finished? In my case, the returned status variables can be zero (successful) or negative (not successful). Hence, checking status for any value does not help, I guess. linux, system MATLAB Answers — New Questions
Dot product does not work for symbolic vectors
Hi, I’m working on dynamics simulation with matlab, so I have the vector r with the size of [3 1]. I examine the calculation
dot(r,r) – (r(1)^2+r(2)^2 +r(3)^2) and I got an answer different than 0. Is there any explanation for this ?
syms t g real
syms alpha1(t) beta1(t) gamma1(t)
syms m1 m2 m3 m4 real
syms h d1 d2 r1 r2 r3 r4 t1 t2 t3 L real
syms a b c d5 real
r = [(a*b*c*d5*m1*sin(conj(gamma1(t))-gamma(t)))/(-a*b*c*m1 +pi*m3*r1^2*t1 +pi*m1*r1^2*t1);
-(0.5000*(- a*b*c^2*m1 + a*b*c*m1*t1 + 3.1416*m3*r1^2*t1*t3 + 3.1416*m3*r1^2*t1^2))/(- a*b*c*m1 + 3.1416*m3*r1^2*t1 + 3.1416*m1*r1^2*t1);
-(a*b*c*d5*m1*cos(conj(gamma1(t)) – gamma1(t)))/(- a*b*c*m1 + 3.1416*m3*r1^2*t1 + 3.1416*m1*r1^2*t1) ];
r_x = r(1) ;
r_y = r(2) ;
r_z = r(3) ;
% dot minus sum of elements. This should be 0
% I think this is a problem with dot function of MATLAB.
dot(r,r) – (r_x^2 + r_y^2 + r_z^2 )Hi, I’m working on dynamics simulation with matlab, so I have the vector r with the size of [3 1]. I examine the calculation
dot(r,r) – (r(1)^2+r(2)^2 +r(3)^2) and I got an answer different than 0. Is there any explanation for this ?
syms t g real
syms alpha1(t) beta1(t) gamma1(t)
syms m1 m2 m3 m4 real
syms h d1 d2 r1 r2 r3 r4 t1 t2 t3 L real
syms a b c d5 real
r = [(a*b*c*d5*m1*sin(conj(gamma1(t))-gamma(t)))/(-a*b*c*m1 +pi*m3*r1^2*t1 +pi*m1*r1^2*t1);
-(0.5000*(- a*b*c^2*m1 + a*b*c*m1*t1 + 3.1416*m3*r1^2*t1*t3 + 3.1416*m3*r1^2*t1^2))/(- a*b*c*m1 + 3.1416*m3*r1^2*t1 + 3.1416*m1*r1^2*t1);
-(a*b*c*d5*m1*cos(conj(gamma1(t)) – gamma1(t)))/(- a*b*c*m1 + 3.1416*m3*r1^2*t1 + 3.1416*m1*r1^2*t1) ];
r_x = r(1) ;
r_y = r(2) ;
r_z = r(3) ;
% dot minus sum of elements. This should be 0
% I think this is a problem with dot function of MATLAB.
dot(r,r) – (r_x^2 + r_y^2 + r_z^2 ) Hi, I’m working on dynamics simulation with matlab, so I have the vector r with the size of [3 1]. I examine the calculation
dot(r,r) – (r(1)^2+r(2)^2 +r(3)^2) and I got an answer different than 0. Is there any explanation for this ?
syms t g real
syms alpha1(t) beta1(t) gamma1(t)
syms m1 m2 m3 m4 real
syms h d1 d2 r1 r2 r3 r4 t1 t2 t3 L real
syms a b c d5 real
r = [(a*b*c*d5*m1*sin(conj(gamma1(t))-gamma(t)))/(-a*b*c*m1 +pi*m3*r1^2*t1 +pi*m1*r1^2*t1);
-(0.5000*(- a*b*c^2*m1 + a*b*c*m1*t1 + 3.1416*m3*r1^2*t1*t3 + 3.1416*m3*r1^2*t1^2))/(- a*b*c*m1 + 3.1416*m3*r1^2*t1 + 3.1416*m1*r1^2*t1);
-(a*b*c*d5*m1*cos(conj(gamma1(t)) – gamma1(t)))/(- a*b*c*m1 + 3.1416*m3*r1^2*t1 + 3.1416*m1*r1^2*t1) ];
r_x = r(1) ;
r_y = r(2) ;
r_z = r(3) ;
% dot minus sum of elements. This should be 0
% I think this is a problem with dot function of MATLAB.
dot(r,r) – (r_x^2 + r_y^2 + r_z^2 ) dot, symbolics, dynamics, matrices MATLAB Answers — New Questions
how to resolve that error?
how to resolve that error?how to resolve that error? how to resolve that error? how to resolve that error? MATLAB Answers — New Questions
what is the plot in matlab and how to write a code for it?
Please write a code for me I do not know how to code in matlabPlease write a code for me I do not know how to code in matlab Please write a code for me I do not know how to code in matlab matlab MATLAB Answers — New Questions
what is image processing and how to write a code for it?
I donot know how to write a code for image processing please write a code for meI donot know how to write a code for image processing please write a code for me I donot know how to write a code for image processing please write a code for me matlab MATLAB Answers — New Questions
Microsoft Copilot Pro free trial is not available in Ireland but just for US custommers?
I am trying to start a Copilot subscription and it offers a first-month free trial. But the form for a credit card that is required for a free trial only lists US States and Country is greyed out (locked to the US).
Does that mean that the free trial is only for US customers and Irish have to pay before we try Copilot?
I am trying to start a Copilot subscription and it offers a first-month free trial. But the form for a credit card that is required for a free trial only lists US States and Country is greyed out (locked to the US). Does that mean that the free trial is only for US customers and Irish have to pay before we try Copilot? Read More
Outlook email subject support HTml code
Does outlook support any HTMl code or any other language to add a Line break and to Colour or bold a word in Email subject?
Does outlook support any HTMl code or any other language to add a Line break and to Colour or bold a word in Email subject? Read More
How to get values from a csv every 5 minutes in simulink
Hello,
i am using a matlab script with a timer to read every 5 minutes a value from a csv table. Now i need this values in Simulink. How can i achieve that? Or what approach would you suggest to get every 5 minutes a value from a csv table in Simulink?Hello,
i am using a matlab script with a timer to read every 5 minutes a value from a csv table. Now i need this values in Simulink. How can i achieve that? Or what approach would you suggest to get every 5 minutes a value from a csv table in Simulink? Hello,
i am using a matlab script with a timer to read every 5 minutes a value from a csv table. Now i need this values in Simulink. How can i achieve that? Or what approach would you suggest to get every 5 minutes a value from a csv table in Simulink? csv, simulink MATLAB Answers — New Questions