Month: August 2024
Generating pre-filled forms links from Excel data
Hi!
I’m trying to automate some tasks at the school I work at: every year we collect some data from the new students using MS Forms and now we’d like to send a secondary form to the students that tick a certain box in that form. Is there a way to automatically generate a unique form link for each student that tick that box, send it to the e-mail they supply and have the response to that form tied to their supplied e-mail? Or have the new form have the student’s name pre-filled?
I know I can do a branching structure in the first form, but we’d really like to separate the questions to different forms if we can.
Thank you!
Hi!I’m trying to automate some tasks at the school I work at: every year we collect some data from the new students using MS Forms and now we’d like to send a secondary form to the students that tick a certain box in that form. Is there a way to automatically generate a unique form link for each student that tick that box, send it to the e-mail they supply and have the response to that form tied to their supplied e-mail? Or have the new form have the student’s name pre-filled? I know I can do a branching structure in the first form, but we’d really like to separate the questions to different forms if we can. Thank you! Read More
Macro Code for Auto Sort
I have a complaint log spreadsheet that tracks incident date in column D starting at D3. I have it to manually sort with most recent on top but I want a code to auto sort that was as information is input. I know how to open the code but I just don’t know what to plug in to make it auto sort.
I have a complaint log spreadsheet that tracks incident date in column D starting at D3. I have it to manually sort with most recent on top but I want a code to auto sort that was as information is input. I know how to open the code but I just don’t know what to plug in to make it auto sort. Read More
Microsoft Reflect in Developer Tenant
Hello!
Does anyone know how to add the Microsoft Reflect App to my developer tenant?
It exists in my current tenant, but I had hoped to test it out in a developer tenant first to assess the impact of blocking it when it has been in use etc.
EDIT:
I think it’s because my developer tenant does not have an education licence. Is there a way to use a trial education licence in the developer tenant?
Thanks!
Hello! Does anyone know how to add the Microsoft Reflect App to my developer tenant? It exists in my current tenant, but I had hoped to test it out in a developer tenant first to assess the impact of blocking it when it has been in use etc. EDIT:I think it’s because my developer tenant does not have an education licence. Is there a way to use a trial education licence in the developer tenant? Thanks! Read More
Formula to calculate %age in Excel
I want to set a formula in excel to calculate 5% of a value
I want to set a formula in excel to calculate 5% of a value Read More
Secure architecture design – How Defender for Office 365 protects against EchoSpoofing
A new spoofing technique labeled “EchoSpoofing” was recently reported that impacted select Proofpoint customers. This blog provides a brief overview of how this particular attack exploited their specific architecture and describes the architecture best practices implemented by Microsoft Defender for Office 365 that protect against EchoSpoofing and spoofing attacks broadly.
What is “Spoofing”?
Spoofing is a tactic used by threat actors to disguise their identity by manipulating data, such as the email sender address, to appear as a trusted source through impersonation. The goal of this technique is typically to deceive individuals or systems into taking actions—such as divulging sensitive information, gaining unauthorized access, or executing financial transactions.
When a From address is spoofed, the user will see what appears to be a legitimate email address, such as user@contoso.com. But in reality, the message did not come from contoso.com, based on the information contained in the headers of the message. Protecting this visible address is important, as it helps users trust the information they see.
As a first line of defense, users need to be able to trust the visible information in the From address and validate that it really is the person who sent the message. To do this, email providers use various standards to validate the From address to protect it from being spoofed, including:
Sender Policy Framework (SPF) – An email authentication standard that helps protect senders and recipients from spam, spoofing, and phishing. By adding an SPF record to your Domain Name System, you can provide a public list of senders that are approved to send email from your domain.
DomainKeys Identified Mail (DKIM) – An email authentication standard that adds a digital signature to outgoing messages. Mail servers receiving messages signed with DKIM can verify messages truly came from the sender, and not someone impersonating the sender.
Domain-based Message Authentication Reporting & Conformance (DMARC) – An email security standard which verifies the email sender by building on the DKIM and SPF protocols in DNS.
Defender for Office 365 uses all these technologies and more, including Spoof intelligence to provide effective protection against spoofing and Authenticated Received Chain (ARC) to preserve original authentication details from third-party email services, which may sit in front of Microsoft 365. If you are using another vendor, check with them for support.
What is EchoSpoofing?
“EchoSpoofing” is a process that allowed a bad actor to spoof the From address of certain domains by relaying a message through different services. A weakness in Proofpoint’s architecture enabled modifiable email routing configuration on Proofpoint servers to allow relay of organizations’ outbound messages through their services. Attackers exploited this to bypass email authentication checks when the message was relayed. This resulted in their messages being updated so that authentication would pass at the receiving service and appearing as trusted.
There are common use cases for relaying messages, such as forwarding. But in this case the validity of the sender was not verified before the message was accepted and relayed. Additionally In a shared environment, validation of the sender is critical to avoid these types of problems.
THe Defender for Office 365 secure architecture is designed to protect against EchoSpoofing
In Microsoft Defender for Office 365, you can send messages in various ways—either direct to an SMTP endpoint or via connectors. In both cases, Microsoft validates the sender of the message to ensure we process the message correctly or simply reject it as an invalid relay.
In each case, the sender is validated and the message is attributed to a tenant as follows:
Inbound Connectors – If a message comes in via an inbound connector, the SMTP.MailFrom (P1) sender or the certificate on the connector is used to validate the connection to the specific tenant. If no attribution can be made, the connection is handled just like an incoming internet connection.
Internet Connections – Messages that are received from the internet are considered to be incoming and processed as such.
The image below shows the flow of traffic and what would happen if the same attack was attempted in environments where organizations are using Defender for Office 365 to protect their email.
In the diagram above, even though the message is directed to the Fabrikam.com tenants’ endpoint, it will be treated as internet traffic and handled as generic incoming traffic—meaning the message would be considered incoming to the Alpineskihouse.com tenant from user@fabrikam.com. Since the From address cannot be validated based on the data in the message due to the lack of alignment between the P1 sender and the DKIM domain, it would be considered spoof and handled appropriately. Defender for Office 365 effectively will not allow the attacker to cleanse the message by trying to pass it through the Fabrikam tenant, negating the EchoSpoofing attack.
In Microsoft Defender for Office 365 all of these protections are enabled by default and inherent to our architecture design. There is no configuration requirement for customers.
More information:
Learn more about the recent EchoSpoofing attack.
Check out our website to learn more about Defender for Office 365.
Not a customer, yet? Start a free trial today.
Microsoft Tech Community – Latest Blogs –Read More
my for loop stop after the first valid number has been found how do i fix this
I am new to Matlab, just learned the for loop, basically the loop run properly, but stop after the first valid number has found.
numbers=importdata(‘numbers.txt’);
result_1=[];
for i =1:numel(numbers);
num=numbers(i);
if mod(num, 10) == 6 && mod(num, 4) == 0
answer_1=[result_1,num];
end
end
fprintf(‘The numbers that ends in 6 and are divisible by 4: n’);
fprintf(‘%dn’,answer_1)I am new to Matlab, just learned the for loop, basically the loop run properly, but stop after the first valid number has found.
numbers=importdata(‘numbers.txt’);
result_1=[];
for i =1:numel(numbers);
num=numbers(i);
if mod(num, 10) == 6 && mod(num, 4) == 0
answer_1=[result_1,num];
end
end
fprintf(‘The numbers that ends in 6 and are divisible by 4: n’);
fprintf(‘%dn’,answer_1) I am new to Matlab, just learned the for loop, basically the loop run properly, but stop after the first valid number has found.
numbers=importdata(‘numbers.txt’);
result_1=[];
for i =1:numel(numbers);
num=numbers(i);
if mod(num, 10) == 6 && mod(num, 4) == 0
answer_1=[result_1,num];
end
end
fprintf(‘The numbers that ends in 6 and are divisible by 4: n’);
fprintf(‘%dn’,answer_1) help for loop not working properly MATLAB Answers — New Questions
How to plot Mach Number Contours
Greetings everyone, below is the code which generates the diverging portion of a supersonic nozzle using the Method Of Characteristics. How can I plot the Mach Number contours within the same plot along with a colorbar? Thank you!
%% Initialize datapoint matrices
clear
G=1.4;
Me = 2;
n = 55;
display = 1;
Km = zeros(n,n); % K- vlaues (Constant along right running characteristic lines)
Kp = zeros(n,n); % K+ vlaues (Constant along left running characteristic lines)
Theta = zeros(n,n); % Flow angles relative to the horizontal
Mu = zeros(n,n); % Mach angles
M = zeros(n,n); % Mach Numbers
x = zeros(n,n); % x-coordinates
y = zeros(n,n); % y-coordinates
%% Generate the contraction region using a 3rd order polynomial. Do not run this
%{
R = 287;
T0 = 300;
% Define the mach number in contraction region
uu = 25.0; %velocity in contraction region
a = sqrt(G*R*T0 – 0.5*(G-1)*uu^2); % local speed of sound
Mconv = uu/a; % Mach number
% Calculate the area ratio of contraction region
[~,~,~,~,area] = flowisentropic(G,Mconv); % area ratio
% Inlet convergent section geometry
y0 =1;
H_in = area * y0;
L_e = 1.5; %(1.0/3.0)*xwall(end);
%
[xconv,yconv] = Convergent_3rd(G,y0,H_in,L_e,n);
%}
%% Generate the convergent portion of a nozzle
% The inlet height/area and exit height/area(divergent) are same
% Therefore we have same A/A* = 1.6875
% Corresponding to Mach = 0.3722
%% Find NuMax (maximum expansion angle)
[~, NuMax, ~] = PMF(G,Me,0,0);
ThetaMax = NuMax/2;
%% Define some flow parameters of originating characteristic lines
dT = ThetaMax/n;
ThetaArc(:,1) = (0:dT:ThetaMax);
NuArc = ThetaArc;
KmArc = ThetaArc + NuArc;
[~, ~, MuArc(:,1)] = PMF(G,0,NuArc(:,1),0);
%% Coordinates of wall along curve from throat
y0 = 1; % Define throat half-height
ThroatCurveRadius = 1.5*y0; % Radius of curvature just downstream of the throat
% for larger factors, ywall deviates from A/A* preferred value is 1.1
%L_e = 1.1 * y0 * sind(ThetaMax);
[xarc, yarc] = Arc(ThroatCurveRadius,ThetaArc); % Finds x- and y-coordinates for given theta-values
yarc(:,1) = yarc(:,1) + y0; % Defines offset due to arc being above horizontal
%% Fill in missing datapoint info along first C+ line
% First centerline datapoint done manually
Km(:,1) = KmArc(2:length(KmArc),1);
Theta(:,1) = ThetaArc(2:length(KmArc),1);
Nu(:,1) = Theta(:,1);
Kp(:,1) = Theta(:,1)-Nu(:,1);
M(1,1) = 1.0;
Nu(1,1) = 0;
Mu(1,1) = 90;
y(1,1) = 0;
x(1,1) = xarc(2,1) + (y(1,1) – yarc(2,1))/tand((ThetaArc(2,1) – MuArc(2,1) – MuArc(2,1))/2);
% Finds the information at interior nodes along first C+ line
for i=2:n
[M(i,1), Nu(i,1), Mu(i,1)] = PMF(G,0,Nu(i,1),0);
s1 = tand((ThetaArc(i+1,1) – MuArc(i+1,1) + Theta(i,1) – Mu(i,1))/2);
s2 = tand((Theta(i-1,1) + Mu(i-1,1) + Theta(i,1) + Mu(i,1))/2);
x(i,1) = ((y(i-1,1)-x(i-1,1)*s2)-(yarc(i+1,1)-xarc(i+1,1)*s1))/(s1-s2);
y(i,1) = y(i-1,1) + (x(i,1)-x(i-1,1))*s2;
end
%% Find flow properties at remaining interior nodes
for j=2:n;
for i=1:n+1-j;
Km(i,j) = Km(i+1,j-1);
if i==1;
Theta(i,j) = 0;
Kp(i,j) = -Km(i,j);
Nu(i,j) = Km(i,j);
[M(i,j), Nu(i,j), Mu(i,j)] = PMF(G,0,Nu(i,j),0);
s1 = tand((Theta(i+1,j-1)-Mu(i+1,j-1)+Theta(i,j)-Mu(i,j))/2);
x(i,j) = x(i+1,j-1) – y(i+1,j-1)/s1;
y(i,j) = 0;
else
Kp(i,j) = Kp(i-1,j);
Theta(i,j) = (Km(i,j)+Kp(i,j))/2;
Nu(i,j) = (Km(i,j)-Kp(i,j))/2;
[M(i,j), Nu(i,j), Mu(i,j)] = PMF(G,0,Nu(i,j),0);
s1 = tand((Theta(i+1,j-1)-Mu(i+1,j-1)+Theta(i,j)-Mu(i,j))/2);
s2 = tand((Theta(i-1,j)+Mu(i-1,j)+Theta(i,j)+Mu(i,j))/2);
x(i,j) = ((y(i-1,j)-x(i-1,j)*s2)-(y(i+1,j-1)-x(i+1,j-1)*s1))/(s1-s2);
y(i,j) = y(i-1,j) + (x(i,j)-x(i-1,j))*s2;
end
end
end
%% Find wall node information
xwall = zeros(2*n,1);
ywall = xwall;
ThetaWall = ywall;
xwall(1:n,1) = xarc(2:length(xarc),1);
ywall(1:n,1) = yarc(2:length(xarc),1);
ThetaWall(1:n,1) = ThetaArc(2:length(xarc),1);
for i=1:n-1
ThetaWall(n+i,1) = ThetaWall(n-i,1);
end
for i=1:n
s1 = tand((ThetaWall(n+i-1,1) + ThetaWall(n+i,1))/2);
s2 = tand(Theta(n+1-i,i)+Mu(n+1-i,i));
xwall(n+i,1) = ((y(n+1-i,i)-x(n+1-i,i)*s2)-(ywall(n+i-1,1)-xwall(n+i-1,1)*s1))/(s1-s2);
ywall(n+i,1) = ywall(n+i-1,1) + (xwall(n+i,1)-xwall(n+i-1,1))*s1;
end
%% Provide wall geometry to user
assignin(‘caller’,’xwall’,xwall)
assignin(‘caller’,’ywall’,ywall)
assignin(‘caller’,’Coords’,[xwall ywall])
%% Generate the convergent portion of nozzle % do not run this
H_in = ywall(end);
L_e = xwall(end)*(1.0/3.0);
[xconv,yconv] = Convergent_new_3rd(y0,H_in,L_e,n);
%%
% Draw contour and characteristic web
if display == 1
plot(xwall,ywall,’-‘)
axis equal
axis([0 ceil(xwall(length(xwall),1)) 0 ceil(ywall(length(ywall),1))])
hold on
plot(xarc,yarc,’k-‘)
for i=1:n-1
plot(x(1:n+1-i,i),y(1:n+1-i,i))
end
for i=1:n
plot([xarc(i,1) x(i,1)],[yarc(i,1) y(i,1)])
plot([x(n+1-i,i) xwall(i+n,1)],[y(n+1-i,i) ywall(i+n,1)])
end
for c=1:n
for r=2:n+1-c
plot([x(c,r) x(c+1,r-1)],[y(c,r) y(c+1,r-1)])
end
end
xlabel(‘Length [x/y0]’)
ylabel(‘Height [y/y0]’)
endGreetings everyone, below is the code which generates the diverging portion of a supersonic nozzle using the Method Of Characteristics. How can I plot the Mach Number contours within the same plot along with a colorbar? Thank you!
%% Initialize datapoint matrices
clear
G=1.4;
Me = 2;
n = 55;
display = 1;
Km = zeros(n,n); % K- vlaues (Constant along right running characteristic lines)
Kp = zeros(n,n); % K+ vlaues (Constant along left running characteristic lines)
Theta = zeros(n,n); % Flow angles relative to the horizontal
Mu = zeros(n,n); % Mach angles
M = zeros(n,n); % Mach Numbers
x = zeros(n,n); % x-coordinates
y = zeros(n,n); % y-coordinates
%% Generate the contraction region using a 3rd order polynomial. Do not run this
%{
R = 287;
T0 = 300;
% Define the mach number in contraction region
uu = 25.0; %velocity in contraction region
a = sqrt(G*R*T0 – 0.5*(G-1)*uu^2); % local speed of sound
Mconv = uu/a; % Mach number
% Calculate the area ratio of contraction region
[~,~,~,~,area] = flowisentropic(G,Mconv); % area ratio
% Inlet convergent section geometry
y0 =1;
H_in = area * y0;
L_e = 1.5; %(1.0/3.0)*xwall(end);
%
[xconv,yconv] = Convergent_3rd(G,y0,H_in,L_e,n);
%}
%% Generate the convergent portion of a nozzle
% The inlet height/area and exit height/area(divergent) are same
% Therefore we have same A/A* = 1.6875
% Corresponding to Mach = 0.3722
%% Find NuMax (maximum expansion angle)
[~, NuMax, ~] = PMF(G,Me,0,0);
ThetaMax = NuMax/2;
%% Define some flow parameters of originating characteristic lines
dT = ThetaMax/n;
ThetaArc(:,1) = (0:dT:ThetaMax);
NuArc = ThetaArc;
KmArc = ThetaArc + NuArc;
[~, ~, MuArc(:,1)] = PMF(G,0,NuArc(:,1),0);
%% Coordinates of wall along curve from throat
y0 = 1; % Define throat half-height
ThroatCurveRadius = 1.5*y0; % Radius of curvature just downstream of the throat
% for larger factors, ywall deviates from A/A* preferred value is 1.1
%L_e = 1.1 * y0 * sind(ThetaMax);
[xarc, yarc] = Arc(ThroatCurveRadius,ThetaArc); % Finds x- and y-coordinates for given theta-values
yarc(:,1) = yarc(:,1) + y0; % Defines offset due to arc being above horizontal
%% Fill in missing datapoint info along first C+ line
% First centerline datapoint done manually
Km(:,1) = KmArc(2:length(KmArc),1);
Theta(:,1) = ThetaArc(2:length(KmArc),1);
Nu(:,1) = Theta(:,1);
Kp(:,1) = Theta(:,1)-Nu(:,1);
M(1,1) = 1.0;
Nu(1,1) = 0;
Mu(1,1) = 90;
y(1,1) = 0;
x(1,1) = xarc(2,1) + (y(1,1) – yarc(2,1))/tand((ThetaArc(2,1) – MuArc(2,1) – MuArc(2,1))/2);
% Finds the information at interior nodes along first C+ line
for i=2:n
[M(i,1), Nu(i,1), Mu(i,1)] = PMF(G,0,Nu(i,1),0);
s1 = tand((ThetaArc(i+1,1) – MuArc(i+1,1) + Theta(i,1) – Mu(i,1))/2);
s2 = tand((Theta(i-1,1) + Mu(i-1,1) + Theta(i,1) + Mu(i,1))/2);
x(i,1) = ((y(i-1,1)-x(i-1,1)*s2)-(yarc(i+1,1)-xarc(i+1,1)*s1))/(s1-s2);
y(i,1) = y(i-1,1) + (x(i,1)-x(i-1,1))*s2;
end
%% Find flow properties at remaining interior nodes
for j=2:n;
for i=1:n+1-j;
Km(i,j) = Km(i+1,j-1);
if i==1;
Theta(i,j) = 0;
Kp(i,j) = -Km(i,j);
Nu(i,j) = Km(i,j);
[M(i,j), Nu(i,j), Mu(i,j)] = PMF(G,0,Nu(i,j),0);
s1 = tand((Theta(i+1,j-1)-Mu(i+1,j-1)+Theta(i,j)-Mu(i,j))/2);
x(i,j) = x(i+1,j-1) – y(i+1,j-1)/s1;
y(i,j) = 0;
else
Kp(i,j) = Kp(i-1,j);
Theta(i,j) = (Km(i,j)+Kp(i,j))/2;
Nu(i,j) = (Km(i,j)-Kp(i,j))/2;
[M(i,j), Nu(i,j), Mu(i,j)] = PMF(G,0,Nu(i,j),0);
s1 = tand((Theta(i+1,j-1)-Mu(i+1,j-1)+Theta(i,j)-Mu(i,j))/2);
s2 = tand((Theta(i-1,j)+Mu(i-1,j)+Theta(i,j)+Mu(i,j))/2);
x(i,j) = ((y(i-1,j)-x(i-1,j)*s2)-(y(i+1,j-1)-x(i+1,j-1)*s1))/(s1-s2);
y(i,j) = y(i-1,j) + (x(i,j)-x(i-1,j))*s2;
end
end
end
%% Find wall node information
xwall = zeros(2*n,1);
ywall = xwall;
ThetaWall = ywall;
xwall(1:n,1) = xarc(2:length(xarc),1);
ywall(1:n,1) = yarc(2:length(xarc),1);
ThetaWall(1:n,1) = ThetaArc(2:length(xarc),1);
for i=1:n-1
ThetaWall(n+i,1) = ThetaWall(n-i,1);
end
for i=1:n
s1 = tand((ThetaWall(n+i-1,1) + ThetaWall(n+i,1))/2);
s2 = tand(Theta(n+1-i,i)+Mu(n+1-i,i));
xwall(n+i,1) = ((y(n+1-i,i)-x(n+1-i,i)*s2)-(ywall(n+i-1,1)-xwall(n+i-1,1)*s1))/(s1-s2);
ywall(n+i,1) = ywall(n+i-1,1) + (xwall(n+i,1)-xwall(n+i-1,1))*s1;
end
%% Provide wall geometry to user
assignin(‘caller’,’xwall’,xwall)
assignin(‘caller’,’ywall’,ywall)
assignin(‘caller’,’Coords’,[xwall ywall])
%% Generate the convergent portion of nozzle % do not run this
H_in = ywall(end);
L_e = xwall(end)*(1.0/3.0);
[xconv,yconv] = Convergent_new_3rd(y0,H_in,L_e,n);
%%
% Draw contour and characteristic web
if display == 1
plot(xwall,ywall,’-‘)
axis equal
axis([0 ceil(xwall(length(xwall),1)) 0 ceil(ywall(length(ywall),1))])
hold on
plot(xarc,yarc,’k-‘)
for i=1:n-1
plot(x(1:n+1-i,i),y(1:n+1-i,i))
end
for i=1:n
plot([xarc(i,1) x(i,1)],[yarc(i,1) y(i,1)])
plot([x(n+1-i,i) xwall(i+n,1)],[y(n+1-i,i) ywall(i+n,1)])
end
for c=1:n
for r=2:n+1-c
plot([x(c,r) x(c+1,r-1)],[y(c,r) y(c+1,r-1)])
end
end
xlabel(‘Length [x/y0]’)
ylabel(‘Height [y/y0]’)
end Greetings everyone, below is the code which generates the diverging portion of a supersonic nozzle using the Method Of Characteristics. How can I plot the Mach Number contours within the same plot along with a colorbar? Thank you!
%% Initialize datapoint matrices
clear
G=1.4;
Me = 2;
n = 55;
display = 1;
Km = zeros(n,n); % K- vlaues (Constant along right running characteristic lines)
Kp = zeros(n,n); % K+ vlaues (Constant along left running characteristic lines)
Theta = zeros(n,n); % Flow angles relative to the horizontal
Mu = zeros(n,n); % Mach angles
M = zeros(n,n); % Mach Numbers
x = zeros(n,n); % x-coordinates
y = zeros(n,n); % y-coordinates
%% Generate the contraction region using a 3rd order polynomial. Do not run this
%{
R = 287;
T0 = 300;
% Define the mach number in contraction region
uu = 25.0; %velocity in contraction region
a = sqrt(G*R*T0 – 0.5*(G-1)*uu^2); % local speed of sound
Mconv = uu/a; % Mach number
% Calculate the area ratio of contraction region
[~,~,~,~,area] = flowisentropic(G,Mconv); % area ratio
% Inlet convergent section geometry
y0 =1;
H_in = area * y0;
L_e = 1.5; %(1.0/3.0)*xwall(end);
%
[xconv,yconv] = Convergent_3rd(G,y0,H_in,L_e,n);
%}
%% Generate the convergent portion of a nozzle
% The inlet height/area and exit height/area(divergent) are same
% Therefore we have same A/A* = 1.6875
% Corresponding to Mach = 0.3722
%% Find NuMax (maximum expansion angle)
[~, NuMax, ~] = PMF(G,Me,0,0);
ThetaMax = NuMax/2;
%% Define some flow parameters of originating characteristic lines
dT = ThetaMax/n;
ThetaArc(:,1) = (0:dT:ThetaMax);
NuArc = ThetaArc;
KmArc = ThetaArc + NuArc;
[~, ~, MuArc(:,1)] = PMF(G,0,NuArc(:,1),0);
%% Coordinates of wall along curve from throat
y0 = 1; % Define throat half-height
ThroatCurveRadius = 1.5*y0; % Radius of curvature just downstream of the throat
% for larger factors, ywall deviates from A/A* preferred value is 1.1
%L_e = 1.1 * y0 * sind(ThetaMax);
[xarc, yarc] = Arc(ThroatCurveRadius,ThetaArc); % Finds x- and y-coordinates for given theta-values
yarc(:,1) = yarc(:,1) + y0; % Defines offset due to arc being above horizontal
%% Fill in missing datapoint info along first C+ line
% First centerline datapoint done manually
Km(:,1) = KmArc(2:length(KmArc),1);
Theta(:,1) = ThetaArc(2:length(KmArc),1);
Nu(:,1) = Theta(:,1);
Kp(:,1) = Theta(:,1)-Nu(:,1);
M(1,1) = 1.0;
Nu(1,1) = 0;
Mu(1,1) = 90;
y(1,1) = 0;
x(1,1) = xarc(2,1) + (y(1,1) – yarc(2,1))/tand((ThetaArc(2,1) – MuArc(2,1) – MuArc(2,1))/2);
% Finds the information at interior nodes along first C+ line
for i=2:n
[M(i,1), Nu(i,1), Mu(i,1)] = PMF(G,0,Nu(i,1),0);
s1 = tand((ThetaArc(i+1,1) – MuArc(i+1,1) + Theta(i,1) – Mu(i,1))/2);
s2 = tand((Theta(i-1,1) + Mu(i-1,1) + Theta(i,1) + Mu(i,1))/2);
x(i,1) = ((y(i-1,1)-x(i-1,1)*s2)-(yarc(i+1,1)-xarc(i+1,1)*s1))/(s1-s2);
y(i,1) = y(i-1,1) + (x(i,1)-x(i-1,1))*s2;
end
%% Find flow properties at remaining interior nodes
for j=2:n;
for i=1:n+1-j;
Km(i,j) = Km(i+1,j-1);
if i==1;
Theta(i,j) = 0;
Kp(i,j) = -Km(i,j);
Nu(i,j) = Km(i,j);
[M(i,j), Nu(i,j), Mu(i,j)] = PMF(G,0,Nu(i,j),0);
s1 = tand((Theta(i+1,j-1)-Mu(i+1,j-1)+Theta(i,j)-Mu(i,j))/2);
x(i,j) = x(i+1,j-1) – y(i+1,j-1)/s1;
y(i,j) = 0;
else
Kp(i,j) = Kp(i-1,j);
Theta(i,j) = (Km(i,j)+Kp(i,j))/2;
Nu(i,j) = (Km(i,j)-Kp(i,j))/2;
[M(i,j), Nu(i,j), Mu(i,j)] = PMF(G,0,Nu(i,j),0);
s1 = tand((Theta(i+1,j-1)-Mu(i+1,j-1)+Theta(i,j)-Mu(i,j))/2);
s2 = tand((Theta(i-1,j)+Mu(i-1,j)+Theta(i,j)+Mu(i,j))/2);
x(i,j) = ((y(i-1,j)-x(i-1,j)*s2)-(y(i+1,j-1)-x(i+1,j-1)*s1))/(s1-s2);
y(i,j) = y(i-1,j) + (x(i,j)-x(i-1,j))*s2;
end
end
end
%% Find wall node information
xwall = zeros(2*n,1);
ywall = xwall;
ThetaWall = ywall;
xwall(1:n,1) = xarc(2:length(xarc),1);
ywall(1:n,1) = yarc(2:length(xarc),1);
ThetaWall(1:n,1) = ThetaArc(2:length(xarc),1);
for i=1:n-1
ThetaWall(n+i,1) = ThetaWall(n-i,1);
end
for i=1:n
s1 = tand((ThetaWall(n+i-1,1) + ThetaWall(n+i,1))/2);
s2 = tand(Theta(n+1-i,i)+Mu(n+1-i,i));
xwall(n+i,1) = ((y(n+1-i,i)-x(n+1-i,i)*s2)-(ywall(n+i-1,1)-xwall(n+i-1,1)*s1))/(s1-s2);
ywall(n+i,1) = ywall(n+i-1,1) + (xwall(n+i,1)-xwall(n+i-1,1))*s1;
end
%% Provide wall geometry to user
assignin(‘caller’,’xwall’,xwall)
assignin(‘caller’,’ywall’,ywall)
assignin(‘caller’,’Coords’,[xwall ywall])
%% Generate the convergent portion of nozzle % do not run this
H_in = ywall(end);
L_e = xwall(end)*(1.0/3.0);
[xconv,yconv] = Convergent_new_3rd(y0,H_in,L_e,n);
%%
% Draw contour and characteristic web
if display == 1
plot(xwall,ywall,’-‘)
axis equal
axis([0 ceil(xwall(length(xwall),1)) 0 ceil(ywall(length(ywall),1))])
hold on
plot(xarc,yarc,’k-‘)
for i=1:n-1
plot(x(1:n+1-i,i),y(1:n+1-i,i))
end
for i=1:n
plot([xarc(i,1) x(i,1)],[yarc(i,1) y(i,1)])
plot([x(n+1-i,i) xwall(i+n,1)],[y(n+1-i,i) ywall(i+n,1)])
end
for c=1:n
for r=2:n+1-c
plot([x(c,r) x(c+1,r-1)],[y(c,r) y(c+1,r-1)])
end
end
xlabel(‘Length [x/y0]’)
ylabel(‘Height [y/y0]’)
end #contour plot, nozzle, mach number MATLAB Answers — New Questions
How do you track a tip of a pendulium and plot its displacement against time?
I’m trying to track the horizontal motion of a tip of an oscillating pendulum and plot it’s displacement versus time graph. This y-axis is fixed through the frames.
I know i have to : 1) upload the video 2) read each frame 3) track a point on each frame 4) plot the displacement of that tip vs time
video: https://www.dropbox.com/scl/fi/9kauaf0lxm8i69ru04xsl/FR.mp4?rlkey=mzrt6ffxjli7c30e90ir0bcv6&st=sxodfpxh&dl=0
And so far, i’ve used this:
close all;clear all;
% read video file; xyobj is an matlab object
%there are files:
filename=’FR1-10-2.mp4′;
xyobj = VideoReader(filename);
% number available frames
nframes = xyobj.NumberOfFrames-1
% frame rate
framerate=xyobj.FrameRate
vidHeight = xyobj.Height
vidWidth = xyobj.Width
frame(1) = struct(‘cdata’, zeros(vidHeight, vidWidth, 3, ‘uint8′),’colormap’,[]);
figure(1)
% Specify the boundary of the region to cut
b3=220;b4=350;
b1=375;b2=640;
xmax=b4-b3;
ymax=b2-b1;
hold on
grid on
xlabel(‘x’)
ylabel(‘y’)
axis([ 1 xmax 1 ymax]);
kk=0;
for k1 = 1:nframes-1,
k=nframes-k1;
k
frame(1).cdata=read(xyobj,k);
oneframe=frame(1).cdata;
oneframecut=oneframe(b1:b2,b3:b4,:); % cut an area with ball only to help for recognition
for jp=1:206,
jp1=jp+50-1;
greenChannel = oneframecut(jp1,:, 2);
[xm,im]=min(greenChannel);
xedge(k,jp)=im;
pedge(k,jp)=xm;
end
%pause(0.1)
end
save FR.pos xedge -ascii
pedge1=cast(pedge,"double");
save FR.val pedge1 -ascii
Your help is really appreciated!I’m trying to track the horizontal motion of a tip of an oscillating pendulum and plot it’s displacement versus time graph. This y-axis is fixed through the frames.
I know i have to : 1) upload the video 2) read each frame 3) track a point on each frame 4) plot the displacement of that tip vs time
video: https://www.dropbox.com/scl/fi/9kauaf0lxm8i69ru04xsl/FR.mp4?rlkey=mzrt6ffxjli7c30e90ir0bcv6&st=sxodfpxh&dl=0
And so far, i’ve used this:
close all;clear all;
% read video file; xyobj is an matlab object
%there are files:
filename=’FR1-10-2.mp4′;
xyobj = VideoReader(filename);
% number available frames
nframes = xyobj.NumberOfFrames-1
% frame rate
framerate=xyobj.FrameRate
vidHeight = xyobj.Height
vidWidth = xyobj.Width
frame(1) = struct(‘cdata’, zeros(vidHeight, vidWidth, 3, ‘uint8′),’colormap’,[]);
figure(1)
% Specify the boundary of the region to cut
b3=220;b4=350;
b1=375;b2=640;
xmax=b4-b3;
ymax=b2-b1;
hold on
grid on
xlabel(‘x’)
ylabel(‘y’)
axis([ 1 xmax 1 ymax]);
kk=0;
for k1 = 1:nframes-1,
k=nframes-k1;
k
frame(1).cdata=read(xyobj,k);
oneframe=frame(1).cdata;
oneframecut=oneframe(b1:b2,b3:b4,:); % cut an area with ball only to help for recognition
for jp=1:206,
jp1=jp+50-1;
greenChannel = oneframecut(jp1,:, 2);
[xm,im]=min(greenChannel);
xedge(k,jp)=im;
pedge(k,jp)=xm;
end
%pause(0.1)
end
save FR.pos xedge -ascii
pedge1=cast(pedge,"double");
save FR.val pedge1 -ascii
Your help is really appreciated! I’m trying to track the horizontal motion of a tip of an oscillating pendulum and plot it’s displacement versus time graph. This y-axis is fixed through the frames.
I know i have to : 1) upload the video 2) read each frame 3) track a point on each frame 4) plot the displacement of that tip vs time
video: https://www.dropbox.com/scl/fi/9kauaf0lxm8i69ru04xsl/FR.mp4?rlkey=mzrt6ffxjli7c30e90ir0bcv6&st=sxodfpxh&dl=0
And so far, i’ve used this:
close all;clear all;
% read video file; xyobj is an matlab object
%there are files:
filename=’FR1-10-2.mp4′;
xyobj = VideoReader(filename);
% number available frames
nframes = xyobj.NumberOfFrames-1
% frame rate
framerate=xyobj.FrameRate
vidHeight = xyobj.Height
vidWidth = xyobj.Width
frame(1) = struct(‘cdata’, zeros(vidHeight, vidWidth, 3, ‘uint8′),’colormap’,[]);
figure(1)
% Specify the boundary of the region to cut
b3=220;b4=350;
b1=375;b2=640;
xmax=b4-b3;
ymax=b2-b1;
hold on
grid on
xlabel(‘x’)
ylabel(‘y’)
axis([ 1 xmax 1 ymax]);
kk=0;
for k1 = 1:nframes-1,
k=nframes-k1;
k
frame(1).cdata=read(xyobj,k);
oneframe=frame(1).cdata;
oneframecut=oneframe(b1:b2,b3:b4,:); % cut an area with ball only to help for recognition
for jp=1:206,
jp1=jp+50-1;
greenChannel = oneframecut(jp1,:, 2);
[xm,im]=min(greenChannel);
xedge(k,jp)=im;
pedge(k,jp)=xm;
end
%pause(0.1)
end
save FR.pos xedge -ascii
pedge1=cast(pedge,"double");
save FR.val pedge1 -ascii
Your help is really appreciated! image processing MATLAB Answers — New Questions
Create powershelle for MenuOptions
Hello
Do you have a powershell script to create in AutoAttendant in CallFlow
a greeting message and 3 menu options
– 2 with a number
– 1 with redirection to CQ
Regards
JFM_12
HelloDo you have a powershell script to create in AutoAttendant in CallFlowa greeting message and 3 menu options- 2 with a number- 1 with redirection to CQRegardsJFM_12 Read More
Trouble using WorksheetFunction SUM and COUNTIFS together
I’m trying to write a small vba where I need to check two conditions and if they the conditions are met add total the number of records that meet the conditions. My code is as follows:
wsActive.Range(“D2”).Value = Application.WorksheetFunction.SUM(WorksheetFunction.COUNTIFS(Range(“K:K”), “>12”, Range(“I:I”), {“”Open””,””Under Investigation””,””Acknowledge & Close””}))
wsTables.Range(“D3”).Value = Application.WorksheetFunction.SUM(Application.WorksheetFunction.CountIfs(Range(“K:K”), “>=6”, Range(“K:K”), “<=12”, Range(“I:I”), {“”Open””,””Under Investigation””,””Acknowledge & Close””}))
When I run the code, I get a message stating the braces, “{“, are invalid characters.
When I remove the braces, then I get a message missing an object.
Can someone tell me what I am doing wrong? I know I can use the functions in the cell, but I need it to be in a macro. When I apply the function to the cell, it works; however, when I try to write it in Excel VBA, it fails.
I’m trying to write a small vba where I need to check two conditions and if they the conditions are met add total the number of records that meet the conditions. My code is as follows: wsActive.Range(“D2”).Value = Application.WorksheetFunction.SUM(WorksheetFunction.COUNTIFS(Range(“K:K”), “>12”, Range(“I:I”), {“”Open””,””Under Investigation””,””Acknowledge & Close””})) wsTables.Range(“D3”).Value = Application.WorksheetFunction.SUM(Application.WorksheetFunction.CountIfs(Range(“K:K”), “>=6”, Range(“K:K”), “<=12”, Range(“I:I”), {“”Open””,””Under Investigation””,””Acknowledge & Close””})) When I run the code, I get a message stating the braces, “{“, are invalid characters.When I remove the braces, then I get a message missing an object. Can someone tell me what I am doing wrong? I know I can use the functions in the cell, but I need it to be in a macro. When I apply the function to the cell, it works; however, when I try to write it in Excel VBA, it fails. Read More
checking for dups
I have a formula that is checking the sharepoint list for duplicates using a powerapps form, the formula works great. My issue is -I receive the Duplicate entry found error, but I would like to give the user the option to edit the duplicate that was found without have to close the form and do a search. How do I accomplish this?
I have a formula that is checking the sharepoint list for duplicates using a powerapps form, the formula works great. My issue is -I receive the Duplicate entry found error, but I would like to give the user the option to edit the duplicate that was found without have to close the form and do a search. How do I accomplish this? If( !IsBlank( LookUp(‘GOS Daily Log v24’, (Title = Text(Self.Text))).Title ), Notify(“Duplicate Found”, NotificationType.Error)) Thank you for any help/guidance, greatly appreciated! Ren Read More
Integrating Copilot 365 with Power Automate and SharePoint
Hello everyone,
I’m facing an issue with integrating Copilot 365 in a Power Automate flow that I’ve set up. Here’s my use case:
I’ve created a Power Automate flow that performs OCR analysis on documents. The results of this analysis are then exported to a SharePoint list. My ultimate goal is to use Copilot 365 to analyze these exports directly within the SharePoint list and provide me with answers to specific questions regarding this data.
Unfortunately, I haven’t been able to get Copilot 365 to read the text or rows from my SharePoint list. So far, the only way I’ve found to get responses from Copilot is by using the “public” web version of Copilot 365, where I can open a text file and ask questions about it.
Has anyone else encountered this problem? Is there a solution to allow Copilot 365 to analyze data directly from a SharePoint list without needing to go through a text file? Or is there a more efficient way to leverage my information using Power Automate and SharePoint?
Thank you in advance for your help!
Hello everyone,I’m facing an issue with integrating Copilot 365 in a Power Automate flow that I’ve set up. Here’s my use case:I’ve created a Power Automate flow that performs OCR analysis on documents. The results of this analysis are then exported to a SharePoint list. My ultimate goal is to use Copilot 365 to analyze these exports directly within the SharePoint list and provide me with answers to specific questions regarding this data.Unfortunately, I haven’t been able to get Copilot 365 to read the text or rows from my SharePoint list. So far, the only way I’ve found to get responses from Copilot is by using the “public” web version of Copilot 365, where I can open a text file and ask questions about it.Has anyone else encountered this problem? Is there a solution to allow Copilot 365 to analyze data directly from a SharePoint list without needing to go through a text file? Or is there a more efficient way to leverage my information using Power Automate and SharePoint?Thank you in advance for your help! Read More
Recurring Meeting?
How can someone book a recurring meeting with me? I want to meet with some students each week and don’t want to create an appointment per week. Is there a way to have a student create an appointment that will be every week for a couple of months?
How can someone book a recurring meeting with me? I want to meet with some students each week and don’t want to create an appointment per week. Is there a way to have a student create an appointment that will be every week for a couple of months? Read More
MDE Client Analyzer for Linux/MacOS Hash
I’m looking at the hashes on https://learn.microsoft.com/en-us/defender-endpoint/run-analyzer-macos-linux.
I have downloaded both XMDEClientAnalyzerBinary.zip and XMDEClientAnalyzer.zip multiple times on multiple devices, and the hashes never match what is on that page.
Can someone at Microsoft check that the hashes on that page are for the latest versions of the Analyzer? If they are not, can they be updated?
I’m looking at the hashes on https://learn.microsoft.com/en-us/defender-endpoint/run-analyzer-macos-linux. I have downloaded both XMDEClientAnalyzerBinary.zip and XMDEClientAnalyzer.zip multiple times on multiple devices, and the hashes never match what is on that page. Can someone at Microsoft check that the hashes on that page are for the latest versions of the Analyzer? If they are not, can they be updated? Read More
Is it at all possible to find the exact time a call was placed or missed?
I’m looking at some missed calls from yesterday and need to have a conversation with my manager about the time I missed a call. I’m not seeing a time stamp for the call other than “yesterday”.
Is there some way to get the time when a call was missed or placed?
I’m looking at some missed calls from yesterday and need to have a conversation with my manager about the time I missed a call. I’m not seeing a time stamp for the call other than “yesterday”. Is there some way to get the time when a call was missed or placed? MacOS: Microsoft Teams version 24193.1707.3028.4282. Read More
Sharepoint Calculated Date columns
Hi All
I have 3 date columns in Sharepoint (Completion Date, Next Review, Last Review). I want to calculate the next review column and last review column so they are dynamic. The completion date should be static.
The next review date should be 3 years from the completion date but when that date is reached another 3 years should be added then the last review column should be populated with the previous date if that makes sense. I’ve got bits and pieces working so far…
This adds 3 years to the Completion Date
DATE(YEAR([Completion Date])+3,MONTH([Completion Date]),DAY([Completion Date]))
This adds 3 years to the Next Review Date once Todays date is the same as the Next Review Date
IF(DATE(YEAR([Next Review]),MONTH([Next Review]),DAY([Next Review]))=TODAY(),DATE(YEAR([Next Review])+3,MONTH([Next Review]),DAY([Next Review])),””)
I just help with replacing the last review date with the previous next review date. Its probably something simple which I have overlooked. Any help much appreciated.
Thanks
Hi AllI have 3 date columns in Sharepoint (Completion Date, Next Review, Last Review). I want to calculate the next review column and last review column so they are dynamic. The completion date should be static. The next review date should be 3 years from the completion date but when that date is reached another 3 years should be added then the last review column should be populated with the previous date if that makes sense. I’ve got bits and pieces working so far… This adds 3 years to the Completion DateDATE(YEAR([Completion Date])+3,MONTH([Completion Date]),DAY([Completion Date])) This adds 3 years to the Next Review Date once Todays date is the same as the Next Review DateIF(DATE(YEAR([Next Review]),MONTH([Next Review]),DAY([Next Review]))=TODAY(),DATE(YEAR([Next Review])+3,MONTH([Next Review]),DAY([Next Review])),””) I just help with replacing the last review date with the previous next review date. Its probably something simple which I have overlooked. Any help much appreciated. Thanks Read More
One users can’t see free/busy information in Outlook 2016/2019
Hi!
I have one user (everyone else is fine – as far as I know) who can’t see the busyness of other users’ calendars. Can’t see them only in the desktop program Outlook 2016 and 2019. If you go to OWA – everything is correctly displayed on all other users’ calendars. That is, this problem is only for him and only for the Mapi over HTTP protocol.
Many operations were performed with him:
1. moved it to another postal base.
2. tried several other laptops (on which other users are doing well).
3. The user was specifically given the right to view another user’s calendar.
4. Rebooted all on-premise Excahnge servers.
5. In the Mapi and IIS logs, everything looks correct, without errors, all statuses are 200.
We have several on-prem exchanges (not Hybryd), all of the latest versions. Exchange 2019 CU 14 and last Hotfix.
I have already run out of ideas on where to look next.
Hi!I have one user (everyone else is fine – as far as I know) who can’t see the busyness of other users’ calendars. Can’t see them only in the desktop program Outlook 2016 and 2019. If you go to OWA – everything is correctly displayed on all other users’ calendars. That is, this problem is only for him and only for the Mapi over HTTP protocol.Many operations were performed with him:1. moved it to another postal base.2. tried several other laptops (on which other users are doing well).3. The user was specifically given the right to view another user’s calendar.4. Rebooted all on-premise Excahnge servers.5. In the Mapi and IIS logs, everything looks correct, without errors, all statuses are 200.We have several on-prem exchanges (not Hybryd), all of the latest versions. Exchange 2019 CU 14 and last Hotfix.I have already run out of ideas on where to look next. Read More
Microsoft Surface pro 10 for business power adapter
Good morning. Can someone please confirm on their power adapter. If they have 39 watts or 65 watts. I am not looking for info you find posted but want someone to physically check theirs. Thanks
Good morning. Can someone please confirm on their power adapter. If they have 39 watts or 65 watts. I am not looking for info you find posted but want someone to physically check theirs. Thanks Read More
Introducing AI21 Labs Jamba 1.5 Large and Jamba 1.5 Mini on Azure AI Models-as-a-Service
This June, AI21 Jamba-Instruct from AI21 Labs launched first on Azure and now, in partnership with AI21, we are excited to announce the availability of two new open models, AI21 Jamba 1.5 Large and AI21 Jamba 1.5 Mini, in the Azure AI model catalog. These models are based on the Jamba architecture, which combines Mamba and Transformer layers to achieve performance and efficiency for long-context processing tasks. You can get started with the models in your Azure AI Studio Hub through client samples like LangChain, LiteLLM, web requests and AI21’s Azure Client.
“We are excited to deepen our collaboration with Microsoft, bringing the cutting-edge innovations of the Jamba Model family to Azure AI users,” said Pankaj Dugar, SVP and GM of North America at AI21. “As an advanced hybrid SSM-Transformer model suite, the Jamba open model family democratizes access to LLMs that offer efficiency, low latency, high quality, and long-context handling. These models elevate enterprise performance and are seamlessly integrated with the Azure AI platform.”
Azure AI’s expansive model catalog, featuring over 1,600 foundational models, offers versatility and ease of use. This collection includes contributions from industry leaders such as AI21 Labs, Cohere, NVIDIA, OpenAI, G42, Mistral, and more, ensuring comprehensive coverage for diverse needs. Our partnerships with top AI providers and the release of Phi-3 from Microsoft Research have significantly broadened our offerings, making it easier for customers to find and choose models tailored to their specific applications.
What makes the Jamba 1.5 Models Unique?
Based on information from AI21 Labs, the Jamba 1.5 Large and Jamba 1.5 Mini models are the most powerful models to be built to date from the Jamba architecture. These models leverage the Hybrid Mamba-Transformer architecture, which optimizes the trade-off between speed, memory, and quality by using Mamba layers for short-range dependencies and Transformer layers for long-range dependencies. The result is a family of models that can handle long contexts with high efficiency and low latency.
Jamba 1.5 Mini has 12 billion active parameters and 52 billion total parameters, while Jamba 1.5 Large has 94 billion active parameters and 398 billion total parameters. Both models support a 256K context window, which means they can process up to 256,000 tokens or characters at a time. This is a significant improvement over the standard context window of most large language models, and it enables new possibilities for generative AI applications that require longer texts, such as document summarization, text generation, or information extraction.
These models come with several features that make them easy to use and integrate, such as function calling, RAG optimizations, and JSON mode. These features allow you to perform complex operations, such as querying external knowledge sources, composing multiple functions, or formatting the output, with simple natural language instructions.
AI21 Labs highlights various use cases of these models including the following:
Financial Services
Loan Term Sheet Generation
Customer Service Agents (Grounded Q&A)
Investment Research (Grounded Q&A)
Healthcare / Life Sciences
Digital Health Assistant
Research Assistant
Retail / CPG
Product Description Generator
Product FAQ Generator
Shopping Assistant
Why the Jamba Model Family on Azure?
Utilizing the Jamba 1.5 Model Family on Azure allows organizations to fully leverage AI with safety, reliability, and security. In addition, this offering allows developers to effortlessly integrate with Azure AI Studio tools, like Azure AI Content Safety to enhance responsible AI practices, Azure AI Search, and prompt flow to evaluate LLM outputs by computing metrics like groundedness.
Customers can use the API with various clients, including prompt flow, OpenAI, LangChain, LiteLLM, CLI with curl and Python web requests, and AI21 Lab’s Azure client. Since the Jamba 1.5 Large and Jamba 1.5 Mini models are available as Models-as-a-Service (MaaS) on Azure AI, they can easily be deployed as pay-as-you-go inference APIs without having to manage the underlying infrastructure.
Developers can also build confidently, knowing their data is secure. To start using Jamba 1.5 Large and Jamba 1.5 Mini, access the Azure AI Studio model catalog, select the Jamba 1.5 models, and deploy it using the pay go option.
How to use Jamba 1.5 Large and Jamba 1.5 Mini on Azure AI
To start building, enter the Azure AI Studio model catalog and utilize the Jamba 1.5 models. To view documentation on getting started, visit this link. Deploying Jamba 1.5 models takes a couple of minutes by following these steps:
Familiarize Yourself: If you’re new to Azure AI Studio, start by reviewing this documentation to understand the basics and set up your first project.
Access the Model Catalog: Open the model catalog in AI Studio.
Find the Model: Use the filter to select the AI21 Labs collection or click the “View models” button on the MaaS announcement card.
Select the Model: Open the Jamba 1.5 models from the list.
Deploy the Model: Click on ‘Deploy’ and choose the Pay-as-you-go (PAYG) deployment option.
Subscribe and Access: Subscribe to the offer to gain access to the model (usage charges apply), then proceed to deploy it.
Explore the Playground: After deployment, you will automatically be redirected to the Playground. Here, you can explore the model’s capabilities.
Customize Settings: Adjust the context or inference parameters to fine-tune the model’s predictions to your needs.
Access Programmatically: Click on the “View code” button to obtain the API, keys, and a code snippet. This enables you to access and integrate the model programmatically.
Integrate with Tools: Use the provided API in Large Language Model (LLM) tools such as prompt flow, Semantic Kernel, LangChain, or any other tools that support REST API with key-based authentication for making inferences.
Frequently Asked Questions (FAQ’s)
What does it cost to use the Jamba 1.5 Large or Jamba 1.5 Mini models on Azure?
You are billed based on the number of prompt and completions tokens. You can review the pricing in the Marketplace offer details tab when deploying the model. You can also find the pricing on the Azure Marketplace.
Jamba 1.5 Large: Paygo-inference-input tokens are 1k for $0.002; paygo-inference-output-tokens are 1k for $0.008
Jamba 1.5 Mini: Paygo-inference-input tokens are 1k for $0.0002; paygo-inference-output-tokens are 1k for $0.0004
Do I need GPU capacity in my Azure subscription to use Jamba 1.5 models?
No, you do not need GPU capacity. The Jamba 1.5 Large and Jamba 1.5 Mini models are offered as an API through Models as a Service.
Are Jamba 1.5 Large or Jamba 1.5 Mini available in Azure Machine Learning Studio?
Yes, Jamba 1.5 models are available in the model catalog in both Azure AI Studio and Azure Machine Learning Studio.
Jamba 1.5 Large and Jamba 1.5 Mini are listed on the Azure Marketplace. Can I purchase and use Jamba 1.5 models directly from Azure Marketplace?
Azure Marketplace is our foundation for commercial transactions for models built on or built for Azure. The Azure Marketplace enables the purchasing and billing of Jamba 1.5 models. However, model discoverability occurs in both Azure Marketplace and the Azure AI model catalog. Meaning you can search and find Jamba 1.5 models in both the Azure Marketplace and Azure AI model catalog.
If you search for Jamba 1.5 models in Azure Marketplace, you can subscribe to the offer before being redirected to the Azure AI model catalog in Azure AI Studio where you can complete subscribing and can deploy the model.
If you search for Jamba 1.5 models in the Azure AI model catalog, you can subscribe and deploy the model from the Azure AI model catalog without starting from the Azure Marketplace. The Azure Marketplace still tracks the underlying commerce flow.
Given that Jamba 1.5 models billed through the Azure Marketplace, does it retire my Azure consumption commitment (aka MACC)?
Yes, Jamba 1.5 models are an “Azure benefit eligible” Marketplace offer, which indicates MACC eligibility. Learn more about MACC here: https://learn.microsoft.com/en-us/marketplace/azure-consumption-commitment-benefit
Is my inference data shared with AI21 Labs?
No, Microsoft does not share the content from prompts or outputs with AI21 Labs. Learn more about data use through model catalog here: Data, privacy, and security for use of models through the Model Catalog in Azure AI Studio
Are there rate limits for the Jamba 1.5 Large or Jamba 1.5 Mini model on Azure?
Yes, there are rate limits for the Jamba 1.5 Large and Jamba 1.5 Mini model on Azure. Each deployment has a rate limit of 400K tokens per minute and 1,000 API requests per minute. Contact Azure customer support if you have additional questions.
Are the Jamba 1.5 models region specific?
Jamba 1.5 Large or Jamba 1.5 Mini model API endpoints can be created in AI Studio projects to Azure Machine Learning workspaces in the following regions:
Jamba 1.5 Mini Regions: East US 2, Sweden Central
Jamba 1.5 Large Regions: East US, Sweden Central
If you want to use the model in prompt flow in project or workspaces in other regions, you can use the API and key as a connection to prompt flow manually. Essentially, you can use the API from any Azure region once you create it in the regions listed above.
Can I fine-tune Jamba 1.5 Large and Jamba 1.5 Mini models on Azure?
You cannot currently fine-tune the model through Azure AI Studio.
Can I use MaaS models in any Azure subscription types?
Customers can use MaaS models in all Azure subsection types with a valid payment method, except for the CSP (Cloud Solution Provider) program. Free or trial Azure subscriptions are not supported.
Microsoft Tech Community – Latest Blogs –Read More
New on Microsoft AppSource: August 12-17, 2024
We continue to expand the Microsoft AppSource ecosystem. For this volume, 128 new offers successfully met the onboarding criteria and went live. See details of the new offers below:
Get it now in our marketplace
acoris Template Selector: The acoris Template Selector simplifies document creation by providing quick access to business templates directly in SharePoint. It allows customization for different departments, saving time and increasing productivity. The user-friendly interface and easy deployment make it an efficient tool for managing and accessing templates.
AvePoint tyGraph: AvePoint tyGraph offers comprehensive analytics for Microsoft 365 Copilot via low-friction dashboards showing licensing, adoption, and usage insights. It helps visualize employee engagement and optimize internal communications strategy using data from Microsoft Viva Engage, Teams, and SharePoint. Embedded SharePoint reporting provides performance metrics and usage trends for modern intranets.
biGENIUS-X: biGENIUS-X is an automated data transformation solution designed to handle complex data with ease. It features a modern GUI, advanced automation, and modeling wizards to build or rearchitect data solutions quickly. It supports parallel development with Git, customization, and technology migration, ensuring scalability and cost-effectiveness.
Boardflare Premium: Boardflare add-ins for Microsoft Excel offer AI functions like translation, fuzzy matching, and sentiment analysis. The base versions are free, with premium models available via subscription. A free plan and a one-month starter trial are offered. Subscriptions are limited to Microsoft work or school accounts in certain countries.
CABEM Competency Manager Lite: Competency Manager by CABEM streamlines competency tracking across departments and locations with an evergreen skills matrix and audit readiness. It ensures efficient onboarding and reporting, integrates with existing LMS, and formalizes your competency framework into one organized system. Ideal for proving and tracking employee competencies effectively.
Cloud Spend Management: The Sirius platform optimizes the management of cloud environments by implementing FinOps best practices. Designed for medium and large companies in all segments, Sirius offers continuous insights and recommendations to reduce costs.
Connected Sanctions & PEP Verification for AML Compliance Management: CORIZANCE’s platform offers AI-powered, real-time sanctions and PEP verification to manage AML and financial crime risks. It ensures compliance, enhances stakeholder confidence, and boosts brand value. Key features include API-based verification, AI-driven matching, and intelligent dashboards. Benefits include increased risk detection, reduced manual work, and accelerated business growth.
Crossware Email Signature: Crossware Email Signature for Microsoft 365 offers businesses a centralized solution for managing consistent and compliant email signatures, disclaimers, and branding. It features a web-based signature designer, advanced rule builder, and campaign management tools.
Exebenus Spotter: This solution aids well engineers, RTOC engineers, data analysts, and drilling supervisors by addressing non-productive time (NPT) and optimizing drilling parameters for increased rate of penetration within safe limits.
LOGIN: SdV LOGIN is a comprehensive vacation and leave management app for organizations. It tracks vacation balances, allows employees to create and manage leave requests, and enables managers to authorize or reject requests. The app integrates with SharePoint for data access and includes features for user configuration, non-working days, and HR management.
Meldus: Meldus is an AI tool that provides instant answers from Salesforce within Microsoft Teams. Ideal for busy executives, it simplifies data retrieval. Users can ask various questions about sales, marketing, and customer service data.
Spark Time: Spark Time is a time-tracking app for projects and tasks, enabling weekly timesheet submissions, automatic email notifications, and detailed reporting. Built on the Microsoft Power Platform, it offers customizable, user-friendly solutions for subject-matter experts, enhancing efficiency and visibility. Developed by Creativity Spark, it supports real-time resource utilization and productivity analysis.
Go further with workshops, proofs of concept, and implementations
AI Builder Kickstarter: Workshop: BCN’s AI Builder Kickstarter will help you create an AI-driven automation workflow. The offer includes a workshop about generative AI, requirement gathering, AI integration with business data, a demo, solution handover, and a prompting workshop for further guidance.
AI-Driven Low-Code Transformation: 4-Hour Workshop: Unlock business innovation with proMX’s hands-on workshop. Explore AI and low-code platforms to drive efficiency and customer engagement. Includes strategic scenarios, cloud assessments, and agile solution creation using the Microsoft Power Platform.
Data Security & Protection: 8-Week Implementation: Mazzy Technologies offers a robust data security solution using Microsoft Azure Information Protection and Microsoft Purview. The solution ensures compliance with global standards like the GDPR and HIPAA by discovering, classifying, and protecting sensitive data. Integrating with Azure Security Center, the solution provides real-time insights and adapts to evolving technology, supporting growth and innovation.
Demand & Supply Forecasting Solution: 6-Week Implementation: AI-driven forecasting enhances business scalability by reducing manual inefficiencies, inventory costs, and order backlogs. CloudFront’s solution integrates real-time data, provides comprehensive reporting, and features a user-friendly interface. Benefits include reduced holding costs, improved efficiency, increased scalability, and better decision-making.
Dynamics 365 Copilot Quick Start: 2-Day Implementation: Implement Copilot in Dynamics 365 applications like Business Central, Sales, Customer Service, and Customer Insights. This offer includes a security model audit, the setup of Copilot, and a beginners’ training session.
Make Your Data AI-Ready with Microsoft Fabric and Azure: 4 Week Proof of Concept: Microsoft Fabric is a comprehensive analytics solution for data movement, storage, engineering, integration, science, real-time analytics, and business intelligence. SNP offers end-to-end support for adopting Microsoft Fabric, including governance, DataOps, FinOps, AI integration, and managed services, ensuring secure, compliant, and efficient data management customized for your business needs.
Microsoft Copilot for Security: 4-Hour Workshop: Join Mazzy Technologies for a workshop on Microsoft Copilot for Security. Learn how this AI-driven tool enhances threat detection, streamlines incident response, and integrates with third-party tools. The session includes real-world use cases, a customized demo, and expert guidance on implementation strategies to optimize your security operations.
Power BI Reporting and Dashboard Creation: 8-Week Implementation: This service from Respect Solutions offers customized Power BI reports and dashboards, integrating data sources, building data models, and designing interactive visuals. Components include KPI monitoring, user training, and ongoing support.
Power Apps Discovery & Delivery: 4-Week implementation: Modernize business processes with Microsoft Power Apps. Ciklum analyzes existing workflows, identifies automation opportunities, builds a business case, documents requirements, and develops, tests, and deploys applications. This offer is ideal for processes involving spreadsheets, emails, Microsoft Teams, CRMs, and old systems requiring multi-functional collaboration.
Threat Protection Engagement: Neway offers this engagement to enhance your organization’s cybersecurity environment. This offer includes assessing security goals, detecting threats, and providing actionable plans. Neway will integrate Microsoft tools such as Sentinel and Defender into your environments while providing customized strategies and real data analysis.
Zero Trust Identity and Access Management: 8- to 16-Week Implementation: Attosol offers a Zero Trust security model built on Microsoft tools such as Entra ID. This implementation will ensure comprehensive protection, adaptive security, and least-privileged access. Services include unified identity management, secure authentication, and privileged identity management.
Contact our partners
Accounts Receivable for Dynamics 365 Business Central
AdvantageNFP Legacy Management for Nonprofit Organizations
Application Management and Support for Dynamics 365: 8-Hour Assessment
Aptean Cashiering for Food and Beverage
Click Armor Enterprise Security Awareness Training
Climatiq – Carbon Calculations
Composable Architecture Platform (CAP)
Copilot Studio: 1-Day Workshop
Copilot User Empowerment: Workshop
Customer Portal for Dynamics 365 Business Central
Cysana Malware Detector and Ransomware Blocker
Devart ODBC Driver for Mailjet
Devart ODBC Driver for NexusDB
Devart ODBC Driver for QuestDB
Devart ODBC Driver for SendGrid
Devart ODBC Driver for ServiceNow
Devart ODBC Driver for ShipStation
Devart ODBC Driver for Shopify
Direct Routing as a Service for Microsoft Teams Calling
DYCE API Connector for Dataverse
Dynasoft International Integration for Embat.io
Enterprise InfoPath Modernization: 3- to 6-Month Assessment and Pilot Migration
Inflation Accounting by Infotek
IT Asset Tracking and Ticket Management
JUR-IA Virtual Legal Assistant
KUARIO Personalized Payment for Self-Service
Live Demo – Project Management with Dynamics 365 Business Central: 2-Hour Briefing
Lubyc for Employee Personal Business Profile
Lubyc for Employee Professional Profile
Outlook Seasonality Pattern Analyzer
Overview of Power BI: 1-Day Workshop
Pico Manufacturing Process Error-Proofing Platform
Procurement Approval App by Embee
Red Maple Credit Cards for Dynamics 365 Sales
Sales Analytics for Dynamics 365 Business Central
SAP Business Objects to Power BI: 1-Hour Assessment
ScriptString.AI – Utility Data Management
Syntho – AI-Generated Synthetic Data Platform
Trading Economics add-in for Excel
UPS Shipping Add-in for Dynamics 365
Vietnam Localization Pack for Dynamics 365
This content was generated by Microsoft Azure OpenAI and then revised by human editors.
Microsoft Tech Community – Latest Blogs –Read More