Month: August 2024
Unable to add a calculated column in Microsoft Lists
Hi! I have tried finding the answer to this on my own, and am now turning to the community. I have started using Lists today, and I am looking to add a calculated column to calculate future dates. However, I am in the “preview” view and don’t have any option to add this type of column. This type of column simply does not exist in my options, and I also don’t have any column options in the settings view.
I have tried to see if there’s an upgrade I need, a different type of account, etc., but have found no guidance. The closest to an answer I received was that I might not have admin permissions, but I’m the only user of my own account.
Can you help me? Thank you!
Hi! I have tried finding the answer to this on my own, and am now turning to the community. I have started using Lists today, and I am looking to add a calculated column to calculate future dates. However, I am in the “preview” view and don’t have any option to add this type of column. This type of column simply does not exist in my options, and I also don’t have any column options in the settings view. I have tried to see if there’s an upgrade I need, a different type of account, etc., but have found no guidance. The closest to an answer I received was that I might not have admin permissions, but I’m the only user of my own account. Can you help me? Thank you! Read More
FEM multiple objects and material properties
Hello,
I’m trying to perform a structural FEM analysis on an object which consists out of multiple .STL files. These all have different material properties.
The problem is that I cannot import multiple models.
Now I can combine the .STL’s into one, but how do I then define the material properties?
Thanks in advance!Hello,
I’m trying to perform a structural FEM analysis on an object which consists out of multiple .STL files. These all have different material properties.
The problem is that I cannot import multiple models.
Now I can combine the .STL’s into one, but how do I then define the material properties?
Thanks in advance! Hello,
I’m trying to perform a structural FEM analysis on an object which consists out of multiple .STL files. These all have different material properties.
The problem is that I cannot import multiple models.
Now I can combine the .STL’s into one, but how do I then define the material properties?
Thanks in advance! fem, .stl MATLAB Answers — New Questions
How do I scatter twice on the same graph?
Hello,
I have 2 vectors with numbers: velocity(815×1) and velocityTimes(815×1).
Velocity is calculated, among the other parameters, with a variable N which also changes the way it looks when scattered.
I need to scatter velocity and velocityTimes once, change N, and then on the same graph scatter it again with the new N.
However I can’t seem to get it right.
What I’m trying to do is this:
n = 2
figure(1)
scatter(velocityTimes,velocity)
hold on
n = 150
scatter(velocityTimes,velocity)
But it only scatters the first one, with n=2. How do I fix it?
Thanks very much in advance!Hello,
I have 2 vectors with numbers: velocity(815×1) and velocityTimes(815×1).
Velocity is calculated, among the other parameters, with a variable N which also changes the way it looks when scattered.
I need to scatter velocity and velocityTimes once, change N, and then on the same graph scatter it again with the new N.
However I can’t seem to get it right.
What I’m trying to do is this:
n = 2
figure(1)
scatter(velocityTimes,velocity)
hold on
n = 150
scatter(velocityTimes,velocity)
But it only scatters the first one, with n=2. How do I fix it?
Thanks very much in advance! Hello,
I have 2 vectors with numbers: velocity(815×1) and velocityTimes(815×1).
Velocity is calculated, among the other parameters, with a variable N which also changes the way it looks when scattered.
I need to scatter velocity and velocityTimes once, change N, and then on the same graph scatter it again with the new N.
However I can’t seem to get it right.
What I’m trying to do is this:
n = 2
figure(1)
scatter(velocityTimes,velocity)
hold on
n = 150
scatter(velocityTimes,velocity)
But it only scatters the first one, with n=2. How do I fix it?
Thanks very much in advance! scatter, 2 scatters, hold on, plot twice MATLAB Answers — New Questions
Permanent zero on Fuzzy block output P&O mppt algorithm
Dear Staff and members,
I have an issue on my Fuzzy block which display only zero value on Matlab R2017b in a P&O MPPT algorithm model. If anyone can help. Thanks in advance.Dear Staff and members,
I have an issue on my Fuzzy block which display only zero value on Matlab R2017b in a P&O MPPT algorithm model. If anyone can help. Thanks in advance. Dear Staff and members,
I have an issue on my Fuzzy block which display only zero value on Matlab R2017b in a P&O MPPT algorithm model. If anyone can help. Thanks in advance. zero on fuzzy block ouput, p o mppt MATLAB Answers — New Questions
MATLab isn’t allowing me to create new code or text in a previous file I was working on. The “Code” and “Text” buttons do not work, I cannot click them. How can this be fixed?
This is what it looks like.This is what it looks like. This is what it looks like. editing, blocked, previous-file, someworkalreadydoneinit MATLAB Answers — New Questions
Adding assignee for subtasks in Microsoft To Do
Hi,
Will there be future plans for allowing to add assignee for subtasks in Microsoft To Do?
Hi, Will there be future plans for allowing to add assignee for subtasks in Microsoft To Do? Read More
I can’t find helper function: transientBCHeatedBlock which is supposed to be in: matlab/R20XXx/examples/pde/main
Trying to run example on Matlab site that includes:
model.EdgeBC(6)= …
edgeBC(Temperature=@transientBCHeatedBlock);Trying to run example on Matlab site that includes:
model.EdgeBC(6)= …
edgeBC(Temperature=@transientBCHeatedBlock); Trying to run example on Matlab site that includes:
model.EdgeBC(6)= …
edgeBC(Temperature=@transientBCHeatedBlock); helper functions, thermal, transient, bc MATLAB Answers — New Questions
Is Wilcoxon test appropiate for the comparison of large, independent, nonnormal datasets?
Hi all!
I am using ‘ranksum’ function (Wilcoxon test) to compare two independent, nonnormal, large data sets. However, p-value is 0 I think because of the effect of large data size. Any other test statistics that may handle such a large population analysis?
Thanks in advance :)Hi all!
I am using ‘ranksum’ function (Wilcoxon test) to compare two independent, nonnormal, large data sets. However, p-value is 0 I think because of the effect of large data size. Any other test statistics that may handle such a large population analysis?
Thanks in advance 🙂 Hi all!
I am using ‘ranksum’ function (Wilcoxon test) to compare two independent, nonnormal, large data sets. However, p-value is 0 I think because of the effect of large data size. Any other test statistics that may handle such a large population analysis?
Thanks in advance 🙂 ranksum, wilcoxon test, large-populations, independet-values, nonnormal MATLAB Answers — New Questions
How can I enter ABC in one text field and it should automatically write it in the second text field
How can I enter ABC in one text field and it should automatically write it in the second text field too.
How can I enter ABC in one text field and it should automatically write it in the second text field too. Read More
Code matlab for “ADAPTIVE MODULATION AND CODING”
Hi discussants,can some one get me any good literature on ADAPTIVE MODULATION AND CODING, better still matlab codes of it. i would be gratefull for any help.thanxHi discussants,can some one get me any good literature on ADAPTIVE MODULATION AND CODING, better still matlab codes of it. i would be gratefull for any help.thanx Hi discussants,can some one get me any good literature on ADAPTIVE MODULATION AND CODING, better still matlab codes of it. i would be gratefull for any help.thanx mobile radio, wlan, ofdm, hsdpa MATLAB Answers — New Questions
Solving Duffing Equation with the new framework for ODEs
I solved the duffing equation using the new framework for ODEs. Below is the code.
It works fine and plots as expected. However, I was wondering if there is a way to create a phase portrait in the interval t=[0 3000] without looking like a smudge.
% Define the parameters
delta = 0.1;
alpha = -1;
beta = 1;
gamma = 0.35;
omega = 1.4;
% Define the ODE function for the Duffing equation
duffingODE = @(t, y) [y(2);
-delta*y(2) – alpha*y(1) – beta*y(1)^3 + gamma*cos(omega*t)];
% Initial conditions: [x(0), dx/dt(0)]
initialConditions = [0; 0];
% Create an ode object
F = ode(ODEFcn=duffingODE, InitialTime=0, InitialValue=initialConditions);
% Solve the equation over the interval [0, 3000]
sol = solve(F, 0, 3000);
% Interpolate the solution to get more points for plotting
timeFine = linspace(0, 300, 10000); % Create a fine time vector with 10,000 points
solutionFine = interp1(sol.Time, sol.Solution’, timeFine)’; % Interpolate solution
% Plot the interpolated time series solution
figure;
subplot(2, 1, 1);
plot(timeFine, solutionFine(1, :), ‘LineWidth’, 1.5);
xlabel(‘Time’);
ylabel(‘Displacement’);
title(‘Interpolated Solution of the Duffing Equation’);
grid on;
% Plot the interpolated phase portrait
subplot(2, 1, 2);
plot(solutionFine(1, :), solutionFine(2, :), ‘LineWidth’, 1.5);
xlabel(‘Displacement x(t)’);
ylabel(‘Velocity dx/dt’);
title(‘Interpolated Phase Portrait of the Duffing Equation’);
grid on;I solved the duffing equation using the new framework for ODEs. Below is the code.
It works fine and plots as expected. However, I was wondering if there is a way to create a phase portrait in the interval t=[0 3000] without looking like a smudge.
% Define the parameters
delta = 0.1;
alpha = -1;
beta = 1;
gamma = 0.35;
omega = 1.4;
% Define the ODE function for the Duffing equation
duffingODE = @(t, y) [y(2);
-delta*y(2) – alpha*y(1) – beta*y(1)^3 + gamma*cos(omega*t)];
% Initial conditions: [x(0), dx/dt(0)]
initialConditions = [0; 0];
% Create an ode object
F = ode(ODEFcn=duffingODE, InitialTime=0, InitialValue=initialConditions);
% Solve the equation over the interval [0, 3000]
sol = solve(F, 0, 3000);
% Interpolate the solution to get more points for plotting
timeFine = linspace(0, 300, 10000); % Create a fine time vector with 10,000 points
solutionFine = interp1(sol.Time, sol.Solution’, timeFine)’; % Interpolate solution
% Plot the interpolated time series solution
figure;
subplot(2, 1, 1);
plot(timeFine, solutionFine(1, :), ‘LineWidth’, 1.5);
xlabel(‘Time’);
ylabel(‘Displacement’);
title(‘Interpolated Solution of the Duffing Equation’);
grid on;
% Plot the interpolated phase portrait
subplot(2, 1, 2);
plot(solutionFine(1, :), solutionFine(2, :), ‘LineWidth’, 1.5);
xlabel(‘Displacement x(t)’);
ylabel(‘Velocity dx/dt’);
title(‘Interpolated Phase Portrait of the Duffing Equation’);
grid on; I solved the duffing equation using the new framework for ODEs. Below is the code.
It works fine and plots as expected. However, I was wondering if there is a way to create a phase portrait in the interval t=[0 3000] without looking like a smudge.
% Define the parameters
delta = 0.1;
alpha = -1;
beta = 1;
gamma = 0.35;
omega = 1.4;
% Define the ODE function for the Duffing equation
duffingODE = @(t, y) [y(2);
-delta*y(2) – alpha*y(1) – beta*y(1)^3 + gamma*cos(omega*t)];
% Initial conditions: [x(0), dx/dt(0)]
initialConditions = [0; 0];
% Create an ode object
F = ode(ODEFcn=duffingODE, InitialTime=0, InitialValue=initialConditions);
% Solve the equation over the interval [0, 3000]
sol = solve(F, 0, 3000);
% Interpolate the solution to get more points for plotting
timeFine = linspace(0, 300, 10000); % Create a fine time vector with 10,000 points
solutionFine = interp1(sol.Time, sol.Solution’, timeFine)’; % Interpolate solution
% Plot the interpolated time series solution
figure;
subplot(2, 1, 1);
plot(timeFine, solutionFine(1, :), ‘LineWidth’, 1.5);
xlabel(‘Time’);
ylabel(‘Displacement’);
title(‘Interpolated Solution of the Duffing Equation’);
grid on;
% Plot the interpolated phase portrait
subplot(2, 1, 2);
plot(solutionFine(1, :), solutionFine(2, :), ‘LineWidth’, 1.5);
xlabel(‘Displacement x(t)’);
ylabel(‘Velocity dx/dt’);
title(‘Interpolated Phase Portrait of the Duffing Equation’);
grid on; ode, plotting, differential equations, mathematics, nonlinear, duffing equation MATLAB Answers — New Questions
Issue Summing Linearized Optimization Expressions
Hello!
I m working on an optimization problem in MATLAB where I need to linearize and sum two expressions: uplink_time and Execution_time. My goal is to correctly define and use these expressions in an optimization problem. However, I am encountering issues where the solver switches to Genetic Algorithm unexpectedly.
known that both expressions are linear respect to my optimization variable A.
End_time = optimexpr(N, numNodes, num_vehicles);
for m = 1:num_vehicles
for k = 1:N
for n = 1:numNodes
End_time(k, n, m) = A(k, n, m)*uplink_time(k, n, m)+ A(k, n, m)*Execution_time(k, n, m);
end
end
end
When I run this code, I observe that the solver switches to GA instead of using a linear programming solver.
Could someone please help me understand why the solver is switching to GA and how to correctly define and use the optimization expressions in this context? Any advice on resolving this issue would be greatly appreciated.
Thanks a lot.Hello!
I m working on an optimization problem in MATLAB where I need to linearize and sum two expressions: uplink_time and Execution_time. My goal is to correctly define and use these expressions in an optimization problem. However, I am encountering issues where the solver switches to Genetic Algorithm unexpectedly.
known that both expressions are linear respect to my optimization variable A.
End_time = optimexpr(N, numNodes, num_vehicles);
for m = 1:num_vehicles
for k = 1:N
for n = 1:numNodes
End_time(k, n, m) = A(k, n, m)*uplink_time(k, n, m)+ A(k, n, m)*Execution_time(k, n, m);
end
end
end
When I run this code, I observe that the solver switches to GA instead of using a linear programming solver.
Could someone please help me understand why the solver is switching to GA and how to correctly define and use the optimization expressions in this context? Any advice on resolving this issue would be greatly appreciated.
Thanks a lot. Hello!
I m working on an optimization problem in MATLAB where I need to linearize and sum two expressions: uplink_time and Execution_time. My goal is to correctly define and use these expressions in an optimization problem. However, I am encountering issues where the solver switches to Genetic Algorithm unexpectedly.
known that both expressions are linear respect to my optimization variable A.
End_time = optimexpr(N, numNodes, num_vehicles);
for m = 1:num_vehicles
for k = 1:N
for n = 1:numNodes
End_time(k, n, m) = A(k, n, m)*uplink_time(k, n, m)+ A(k, n, m)*Execution_time(k, n, m);
end
end
end
When I run this code, I observe that the solver switches to GA instead of using a linear programming solver.
Could someone please help me understand why the solver is switching to GA and how to correctly define and use the optimization expressions in this context? Any advice on resolving this issue would be greatly appreciated.
Thanks a lot. matlab, code, issue, ilp, optimization MATLAB Answers — New Questions
Conditional Access App Control keeps Bypassing
Hi all,
I’ve setup a Conditional Access policy in Entra ID with the following settings:
Targeted User: me (as a test)Targeted Resource: Office 365 (I’m interested specifically in SharePoint and OWA)Session Control: Use Conditional Access App Control > Custom Policy
I’ve then setup two policies in the Defender CAS service, one that prevents downloads and one that prevents Cut/Copy. I’ve not used the templates as I’d like to learn how to create these from scratch anyway.
The targets for both policies in CAS are simply App > Manual Onboarding > Microsoft Online Services. My understanding is that using “Microsoft Online Services” here should basically encompass all services I want. If I go to Settings in Defender Microsoft Exchange Online and Microsoft SharePoint both show as onboarded and enabled.
When I sign into one of these services, I can see it try and redirect me to the mcas.ms URL but then falls back to the original and the controls in my policies are not applied. If I check in the Activity Log my sign-ins show as “Bypass Session Control”.
Does anyone know what I might be missing?
TIA
Hi all, I’ve setup a Conditional Access policy in Entra ID with the following settings:Targeted User: me (as a test)Targeted Resource: Office 365 (I’m interested specifically in SharePoint and OWA)Session Control: Use Conditional Access App Control > Custom PolicyI’ve then setup two policies in the Defender CAS service, one that prevents downloads and one that prevents Cut/Copy. I’ve not used the templates as I’d like to learn how to create these from scratch anyway. The targets for both policies in CAS are simply App > Manual Onboarding > Microsoft Online Services. My understanding is that using “Microsoft Online Services” here should basically encompass all services I want. If I go to Settings in Defender Microsoft Exchange Online and Microsoft SharePoint both show as onboarded and enabled. When I sign into one of these services, I can see it try and redirect me to the mcas.ms URL but then falls back to the original and the controls in my policies are not applied. If I check in the Activity Log my sign-ins show as “Bypass Session Control”. Does anyone know what I might be missing? TIA Read More
#CONNECT! Error – Stockhistory down?
Is anyone else having this issue with stockhistory? I am receiving the #CONNECT! error randomly, sometimes it works, sometimes it doesn’t. I can change the time period, shorter or longer, and it just seems random when it decides to retrieve the data or not
Is anyone else having this issue with stockhistory? I am receiving the #CONNECT! error randomly, sometimes it works, sometimes it doesn’t. I can change the time period, shorter or longer, and it just seems random when it decides to retrieve the data or not Read More
How to get UserMeetingRole
Hi, we’ve got a tab app which needs to be able to find which of the users inside the meeting is the Organizer.
I see there is microsoftTeams.UserMeeringRole object with constants (Organizer, Attendee, etc).
However can’t find which API function returns this value?
This is essential because the organizer of the meeting needs to be able to access a few more actions and controls in the tab app.
Hi, we’ve got a tab app which needs to be able to find which of the users inside the meeting is the Organizer. I see there is microsoftTeams.UserMeeringRole object with constants (Organizer, Attendee, etc). However can’t find which API function returns this value? This is essential because the organizer of the meeting needs to be able to access a few more actions and controls in the tab app. Read More
Transforming long panel data
I have a panel data in long format just like the attachment "before", now I want to transform it in a way that variables of a specific country will be under their respective countries on the column while years Will be on rows of the data frame.. Just like in the attachment" After "I have a panel data in long format just like the attachment "before", now I want to transform it in a way that variables of a specific country will be under their respective countries on the column while years Will be on rows of the data frame.. Just like in the attachment" After " I have a panel data in long format just like the attachment "before", now I want to transform it in a way that variables of a specific country will be under their respective countries on the column while years Will be on rows of the data frame.. Just like in the attachment" After " panel data, transform, long MATLAB Answers — New Questions
Summing over observations in unbalanced panel data
Hello, I have an unbalanced panel data set. For each id, I’d like to sum all values of x up to the latest time I observe that id, and record the summation to a new variable. How can I do this? Ideally, I’d like to avoid looping as I have a large dataset and I try to speed up the process.
Thank you in advance!
SelcenHello, I have an unbalanced panel data set. For each id, I’d like to sum all values of x up to the latest time I observe that id, and record the summation to a new variable. How can I do this? Ideally, I’d like to avoid looping as I have a large dataset and I try to speed up the process.
Thank you in advance!
Selcen Hello, I have an unbalanced panel data set. For each id, I’d like to sum all values of x up to the latest time I observe that id, and record the summation to a new variable. How can I do this? Ideally, I’d like to avoid looping as I have a large dataset and I try to speed up the process.
Thank you in advance!
Selcen unbalanced panel data, summation MATLAB Answers — New Questions
VBA Code to Split Text
Hello,
My place of employee switched programs and there is currently not a way to extract data. I’m looking to insert a VBA code that splits the Job Title and Job Req # into seperate cells.
All job reqs start with a P. Here is a sample position/req.
Material HandlerP25-116021-2
Thank you!
Hello, My place of employee switched programs and there is currently not a way to extract data. I’m looking to insert a VBA code that splits the Job Title and Job Req # into seperate cells. All job reqs start with a P. Here is a sample position/req.Material HandlerP25-116021-2 Thank you! Read More
Uap16/17 BaseNamedObjectsIsolation
Some early feedback.
The latest Windows SDK includes a few new schema extensions. Documentation on these new extensions are not yet posted, and I assume that implementation is a work-in-progress and not released yet, but I am concerned that perhaps one of the items needs more thought before finalization.
Assuming that the new BasedNamedObjectsIsolation is an intended new feature to rename kernel named objects (like semaphores, mutexes, and other types) needed by software in the package, this would be a feature similar to that previously available via Microsoft App-V to help with running certain apps on multi-user operating systems or even multiple versions of the same app in parallel on a single user OS.
The schema for this element appears only to allow the specification to enable it for the package, and I am concerned that this is an insufficient level of control.
The equivalent feature in App-V included a system implemented (but registry editable) list of names to be excluded from the name spoofing. Furthermore, on a package basis the AppXManifest supported an override to include/exclude items.
The general system exclusion was a list of nearly 100 names. These exclusions were needed because the objects would also need to be recognized by name by an OS component that was not in the App-V container, so renaming one end would not work.
While Microsoft maintained this exclusion list (see HKEY_LOCAL_MACHINESOFTWAREMicrosoftAppVSubsystemObjExclusions) there was at least one time that IT Pros had to locally add to the exclusion list when Microsoft made a security change to RDS that broke almost half of App-V packages.
There was also a case where I helped a vendor with a package customization to the list because there were components in their package that ran outside of the App-V container (an out of process COM object) and needed to communicate using a name with a component running inside of the container.
Given that MSIX services might not be running inside the same container as the packaged app (I’m not sure about that) there might be more issues.
The bottom line is that there needs to be some exclusions applied somewhere, and overrides to the exclusion, at least on a system level, would be wise.
@Fiza_Azmi
Some early feedback.
The latest Windows SDK includes a few new schema extensions. Documentation on these new extensions are not yet posted, and I assume that implementation is a work-in-progress and not released yet, but I am concerned that perhaps one of the items needs more thought before finalization.
Assuming that the new BasedNamedObjectsIsolation is an intended new feature to rename kernel named objects (like semaphores, mutexes, and other types) needed by software in the package, this would be a feature similar to that previously available via Microsoft App-V to help with running certain apps on multi-user operating systems or even multiple versions of the same app in parallel on a single user OS.
The schema for this element appears only to allow the specification to enable it for the package, and I am concerned that this is an insufficient level of control.
The equivalent feature in App-V included a system implemented (but registry editable) list of names to be excluded from the name spoofing. Furthermore, on a package basis the AppXManifest supported an override to include/exclude items.
The general system exclusion was a list of nearly 100 names. These exclusions were needed because the objects would also need to be recognized by name by an OS component that was not in the App-V container, so renaming one end would not work.
While Microsoft maintained this exclusion list (see HKEY_LOCAL_MACHINESOFTWAREMicrosoftAppVSubsystemObjExclusions) there was at least one time that IT Pros had to locally add to the exclusion list when Microsoft made a security change to RDS that broke almost half of App-V packages.
There was also a case where I helped a vendor with a package customization to the list because there were components in their package that ran outside of the App-V container (an out of process COM object) and needed to communicate using a name with a component running inside of the container.
Given that MSIX services might not be running inside the same container as the packaged app (I’m not sure about that) there might be more issues.
The bottom line is that there needs to be some exclusions applied somewhere, and overrides to the exclusion, at least on a system level, would be wise. Read More
I do not have the ‘Editor’ tab available on my Matlab program, is there any way I could display it so I could easily run my code?
Hello all,
I’m having the problem of running my code. I have Matlab on my laptop and I recently installed it on my desktop at home. However, some things differ from the programs on my laptop and desktop. My laptop has the following tabs available, ‘Home’, ‘Plots’, ‘Apps’, ‘Editor’, ‘Publish’, ‘View’. Whereas my desktop only has ‘Home’, ‘Plots’, and ‘Apps’ and I cannot run my code since I don’t have all the tabs available, does anybody know how I can get this working on my desktop? Thanks in advance!
-Matlab NewbieHello all,
I’m having the problem of running my code. I have Matlab on my laptop and I recently installed it on my desktop at home. However, some things differ from the programs on my laptop and desktop. My laptop has the following tabs available, ‘Home’, ‘Plots’, ‘Apps’, ‘Editor’, ‘Publish’, ‘View’. Whereas my desktop only has ‘Home’, ‘Plots’, and ‘Apps’ and I cannot run my code since I don’t have all the tabs available, does anybody know how I can get this working on my desktop? Thanks in advance!
-Matlab Newbie Hello all,
I’m having the problem of running my code. I have Matlab on my laptop and I recently installed it on my desktop at home. However, some things differ from the programs on my laptop and desktop. My laptop has the following tabs available, ‘Home’, ‘Plots’, ‘Apps’, ‘Editor’, ‘Publish’, ‘View’. Whereas my desktop only has ‘Home’, ‘Plots’, and ‘Apps’ and I cannot run my code since I don’t have all the tabs available, does anybody know how I can get this working on my desktop? Thanks in advance!
-Matlab Newbie tabs, editor MATLAB Answers — New Questions