Month: September 2024
Cross forest and tenant free/bussy and GAL sharing
Is it possible to setup Free/Busy and GAL sharing between two organization, with their distinct and untrusted forest, where one has Exchange On-prem Only and the second one has exchange online only ?
thanks
Is it possible to setup Free/Busy and GAL sharing between two organization, with their distinct and untrusted forest, where one has Exchange On-prem Only and the second one has exchange online only ?thanks Read More
Unable to run signed scripts using Live response
Hi,
Our scripts uploaded in MDE library are signed by a certificate. MDE throws an error upon running any of the signed scripts. However, when these scripts are executed using standalone Powershell console they work as intended. MDE support suggests in order to execute signed scripts we need to install the certificate on the device before executing those signed scripts.
What’s interesting here is on the system where we ran the script successfully (using PS console), the certificate was not installed on it. Also, we were able to validate cert chain using powershell.
Any suggestions on what can be done here as we were hoping MDE executes in the same way as PS does. Not intending to install the cert on every device the script gets executed.
Thank you !!
Hi, Our scripts uploaded in MDE library are signed by a certificate. MDE throws an error upon running any of the signed scripts. However, when these scripts are executed using standalone Powershell console they work as intended. MDE support suggests in order to execute signed scripts we need to install the certificate on the device before executing those signed scripts. What’s interesting here is on the system where we ran the script successfully (using PS console), the certificate was not installed on it. Also, we were able to validate cert chain using powershell. Any suggestions on what can be done here as we were hoping MDE executes in the same way as PS does. Not intending to install the cert on every device the script gets executed. Thank you !! Read More
How to change the x-axis step size?
I have this code, everything is fine but I tried to change x-axis step size in order to be 1 instead of 0.5, but it didn’t work!
clear;
SF=[12 11 10 9 8 7];
TOA=[1318.91 741.38 370.69 185.34 102.91 56.58];
R_b=[0.29 0.54 0.98 1.76 3.12 5.47];
%Plotting
set ( gca, ‘xdir’, ‘reverse’ )
yyaxis left
stairs(SF,TOA,’-.’)
title(‘Distance <—-‘)
xlabel(‘SF’)
ylabel(‘TOA (msec)’)
yyaxis right
stairs(SF,R_b,’r’)
ylabel(‘Data Rate (kbps)’)
legend(‘TOA’,’Data Rate’)
gridI have this code, everything is fine but I tried to change x-axis step size in order to be 1 instead of 0.5, but it didn’t work!
clear;
SF=[12 11 10 9 8 7];
TOA=[1318.91 741.38 370.69 185.34 102.91 56.58];
R_b=[0.29 0.54 0.98 1.76 3.12 5.47];
%Plotting
set ( gca, ‘xdir’, ‘reverse’ )
yyaxis left
stairs(SF,TOA,’-.’)
title(‘Distance <—-‘)
xlabel(‘SF’)
ylabel(‘TOA (msec)’)
yyaxis right
stairs(SF,R_b,’r’)
ylabel(‘Data Rate (kbps)’)
legend(‘TOA’,’Data Rate’)
grid I have this code, everything is fine but I tried to change x-axis step size in order to be 1 instead of 0.5, but it didn’t work!
clear;
SF=[12 11 10 9 8 7];
TOA=[1318.91 741.38 370.69 185.34 102.91 56.58];
R_b=[0.29 0.54 0.98 1.76 3.12 5.47];
%Plotting
set ( gca, ‘xdir’, ‘reverse’ )
yyaxis left
stairs(SF,TOA,’-.’)
title(‘Distance <—-‘)
xlabel(‘SF’)
ylabel(‘TOA (msec)’)
yyaxis right
stairs(SF,R_b,’r’)
ylabel(‘Data Rate (kbps)’)
legend(‘TOA’,’Data Rate’)
grid x-axis, step-size MATLAB Answers — New Questions
Permission denied error when trying to remove Matlab on Ubuntu computer
Hi, I tried to remove Matlab on Ubuntu 18.04 computer using [root@localhost ~] rm -rf /usr/local/MATLAB/R2021b command but all I get is an error saying permission denied. What is the way around this?Hi, I tried to remove Matlab on Ubuntu 18.04 computer using [root@localhost ~] rm -rf /usr/local/MATLAB/R2021b command but all I get is an error saying permission denied. What is the way around this? Hi, I tried to remove Matlab on Ubuntu 18.04 computer using [root@localhost ~] rm -rf /usr/local/MATLAB/R2021b command but all I get is an error saying permission denied. What is the way around this? permission, uninstall MATLAB Answers — New Questions
IN matlab 2017b version i have a error in canny edge detection like this.
Segmentedimg = edge(Enhanceimg,’canny’); figure(‘Name’,’Segmented image’,’NumberTitle’,’off’); imshow(Segmentedimg);
title(‘Segmented Image’,’fontsize’,10,’fontname’,’Times New Roman’,’color’,’Black’);Segmentedimg = edge(Enhanceimg,’canny’); figure(‘Name’,’Segmented image’,’NumberTitle’,’off’); imshow(Segmentedimg);
title(‘Segmented Image’,’fontsize’,10,’fontname’,’Times New Roman’,’color’,’Black’); Segmentedimg = edge(Enhanceimg,’canny’); figure(‘Name’,’Segmented image’,’NumberTitle’,’off’); imshow(Segmentedimg);
title(‘Segmented Image’,’fontsize’,10,’fontname’,’Times New Roman’,’color’,’Black’); canny, sobel MATLAB Answers — New Questions
Auto complete inputs of method using object property
Hey,
I have a class with a property that I would like to use for auto completion:
classdef TestClass
properties
Names
end
methods
function self = TestClass(names)
arguments
names (1,:) string
end
self.Names = names;
end
function printName(self, name)
mustBeMember(name, self.Names)
disp(name)
end
end
end
So when I call the method ‘printName’, I would like matlab so suggest the possible options, i.e. the elements of the property ‘Names’.
How can I do that?Hey,
I have a class with a property that I would like to use for auto completion:
classdef TestClass
properties
Names
end
methods
function self = TestClass(names)
arguments
names (1,:) string
end
self.Names = names;
end
function printName(self, name)
mustBeMember(name, self.Names)
disp(name)
end
end
end
So when I call the method ‘printName’, I would like matlab so suggest the possible options, i.e. the elements of the property ‘Names’.
How can I do that? Hey,
I have a class with a property that I would like to use for auto completion:
classdef TestClass
properties
Names
end
methods
function self = TestClass(names)
arguments
names (1,:) string
end
self.Names = names;
end
function printName(self, name)
mustBeMember(name, self.Names)
disp(name)
end
end
end
So when I call the method ‘printName’, I would like matlab so suggest the possible options, i.e. the elements of the property ‘Names’.
How can I do that? oop, class MATLAB Answers — New Questions
Suggestion to change the order in which tasks get added in lists
Hey, I find Microsoft to do to be an excellent and simple application, however, in some ways I have found it to come across as unrefined and unpleasant to use.
Irritatingly, when adding a task in a list, the task is added at the top of the list, meaning, if you have an order to your list, you have to start adding from the bottom up or drag each added task to the bottom.
It would greatly improve the useability of the app if you made tasks add to the bottom of the list.
Thank you for your time and consideration, and I hope that you will continue the great work that keeps my tasks organised.
Best regards.
Hey, I find Microsoft to do to be an excellent and simple application, however, in some ways I have found it to come across as unrefined and unpleasant to use.Irritatingly, when adding a task in a list, the task is added at the top of the list, meaning, if you have an order to your list, you have to start adding from the bottom up or drag each added task to the bottom.It would greatly improve the useability of the app if you made tasks add to the bottom of the list. Thank you for your time and consideration, and I hope that you will continue the great work that keeps my tasks organised.Best regards. Read More
Azure OpenAI Service Dev Day Conference in Japan
Azure OpenAI Service Dev Day, a conference focused on the Azure OpenAI Service, was held in Tokyo. The event attracted 700 attendees, beginning with a keynote session in the morning and featuring two tracks of breakout sessions, sponsor booths, Ask the Speaker areas, and a networking party in the evening. It was a full day packed with energy from both the participants and the organizers, providing an opportunity to learn about the latest updates and use cases of Azure OpenAI Service while expanding professional networks.
What stands out about this conference is that it was organized by a volunteer-led community, not a Microsoft-led event. The event was a festival of multiple technical communities utilizing Azure OpenAI Service, and its planning and execution—from conceptualization to day-of operations—were managed by Microsoft MVPs, Microsoft Regional Directors, and community leaders, who usually work within their own groups but came together for this occasion. The opening session kicked off the event by clearly stating, “This is a technical community event,” which created a strong sense of unity among the attendees, forming a new community in the process.
Kazuyuki Miyake a Microsoft Azure MVP and Microsoft Regional Director, who is one of the founders and co-organizers of this conference, shares the inspiration behind hosting the event: “The inspiration behind hosting this conference was the desire to take action on the generative AI movement that has been building over the past year and a half. We aimed to provide a platform to share insights on generative AI from a developer’s perspective. Additionally, it was important for us to extend the reach of community-driven initiatives from Japan to the whole of Asia, aligning with the mission of the Microsoft Regional Director.”
The organizing team members who gathered early in the morning to attend a meeting at the venue
At this conference, a wide range of sessions were held by industry experts who are leveraging Azure OpenAI Service in business across various sectors in Japan, from innovative startups to globally renowned enterprises. Kazuyuki comments on this, saying, “One of the highlights of the conference was the visit from key AI figures from Microsoft headquarters, who introduced the latest roadmap. Additionally, the breakout sessions featured exciting talks by Azure AI engineers, including several Microsoft MVPs. Moreover, leading Japanese automotive manufacturers and innovative startups showcased their AI usage cases, adding immense value to the event.”
Microsoft speakers, including Marco Casalaina, the Vice President of Products for Azure AI at Microsoft Corporation, who flew in from the United States, along with the event organizers Shingo Yoshida (third from the right) and Kazuyuki Miyake (right)
(From left) Azure MVP speaker, Tatsuro Shibamura, and community leader speaker, Nahoko Ushirokawa
Adding even more diversity to the conference was Mijeong Jeon, a Korean AI Platform MVP. Kazuyuki, with the desire to bring new perspectives not found in Japan, invited her as a speaker from Korea, where both the government and private sector are actively working together on AI initiatives, including the Seoul AI Hub mentioned in our recent blog article, Microsoft AI Tour and Community Engagements in Seoul.
When preparing her presentation for a different audience than usual, Mijeong considered the interests and trends among Japanese developers. With suggestion from Kazuyuki, she delivered a session explaining Prompty, a topic that had limited information in Japan, which was met with great enthusiasm from the audience. Reflecting on her experience at this event, she shares her thoughts, “This was my first time presenting in a different country, and I anticipated that it might differ from my usual presentations in Korea. However, upon arriving at the venue and meeting the Japanese audience, I was struck by their deep passion for AI and their eagerness to incorporate this technology into their work. I was pleasantly surprised to find that this enthusiasm for cutting-edge technology transcends language barriers and is shared by both Japanese and Korean developers.”
Despite it being his first time presenting at an international conference, Mijeong provided a technical explanation in front of a large audience
Additionally, based on interactions with participants during the event, there was a growing sense of the importance of hosting cross-country events between countries where communication tends to occur more often in the participants’ native languages rather than in English. “One particular moment that stood out was when an audience member approached me after my session to ask detailed questions about the practical aspects of building LLM services in Korea. Our conversation delved into several key issues, including the performance differences between English prompts versus Japanese or Korean prompts when using English based LLMs, and how token usage can vary significantly depending on the language. We also discussed the challenges and benefits of using models specifically developed for their respective languages. Through this exchange, we discovered that, as non-English language users, we share many similar concerns and experiences when working with large language models. This discussion underscored the importance of cross-country events, especially in the field of language models.”
After the session, Mijeong engaged in discussions with participants at the Ask the Speaker area
After each participant had increased their motivation to utilize Azure OpenAI Service and improve their skills, the evening party, AOAI “Connect” Night, was held. The entire event space was utilized, with DJs, including Microsoft Regional Directors, playing music. Some participants enjoyed dancing, others engaged in conversations about technology, and still others participated in a quiz contest or enjoyed giving presentations during the Lightning Talk session. Everyone enjoyed the post-event time in their own way. The organizers led all of these activities, and their vibrant energy in making the event more exciting was highly impressive.
Microsoft Regional Directors Kazuyuki Miyake and Atsushi Kojima, DJ at the event.
Staff energizing the Lightning Talk (from left: Kazuyuki Sakemi, Maki Nagase — Azure MVPs from this August)
250 French cruller donuts, prepared because their design closely resembles the OpenAI logo
Kazuyuki summarized the conference, reflecting with the words “I was astonished that despite having a preparation period of only about two months, we reached approximately 700 attendees. Additionally, it was fascinating that Microsoft speakers introduced some unreleased features, even though it was a community-led conference. The social gathering was also packed with enjoyable activities like LT sessions and a DJ performance, making it a memorable experience.”
While many events centered around generative AI are held worldwide, in-person events specifically focused on Azure OpenAI Service like this one are quite rare. It was a truly valuable learning opportunity. Based on this experience, Kazuyuki holds hopes for the future, aiming to further spread the excitement around Azure AI. “We plan to establish an Azure AI developer community, building on the team that organized this conference. Moreover, we aim to expand community activities not only in Tokyo but also to other regions in Japan and across Asian countries. We are committed to providing a platform for Microsoft MVPs and engineers from various regions and companies to share their insights.”
Mijeong, the only international MVP speaker, offered the following encouraging message for those looking to further develop their skills in Azure OpenAI Service and related technologies. “I believe there are many individuals eager to develop their skills in Azure OpenAI Service and the broader field of large language models (LLMs), and I count myself among them. This is a new and rapidly emerging area, which makes all of us pioneers in the field. To excel as a pioneer, I think the best approach is to experiment with different techniques and apply them to real-world scenarios. Unlike more established technologies, there is still a relative scarcity of documentation and resources available, so hands-on experience is invaluable. Language itself presents unique challenges, such as its diversity, reliance on context, and subtle cultural nuances. Because of this, we can’t always depend on the experiences of others; instead, we must create our own journeys. This is a crucial part of mastering this field.”
She continues, “Moreover, the pace of development in language models and related technologies is incredibly fast. It’s important to focus on what truly matters to your work, given the limited time available. By experimenting with various technologies and keeping an eye on company blogs that introduce the most suitable ones, attending tech events, and following thought leaders’ blogs and YouTube channels, you can quickly broaden your perspective. I hope you discover the best path to mastering cutting-edge technologies, and I look forward to the day when we are on the same page, exploring these advancements together.”
The organizing team members who supported the amazing event until the very end
*Picture Credits: Kensuke Nakai (cover picture: Rie Moriguchi)
Microsoft Tech Community – Latest Blogs –Read More
TI OMAP-L138. Acquiring data into MATLAB
Good night
I am a student, working on a DSP project. I need to acquire data from a TI OMAP-L138 LCDK output into matlab workspace for further processing. I was able to do that by connecting the OMAP output to the PC mic analog input and use the sound card. However, it only worked for higher frequency ranges. My project involves work with low frequencies and the microphone cannon pick such signals up.
I have watched several tutorials and found that it is possible to acquire signals into matlab from tecktronic function generators, connected through USB or RS232. However, an instrument driver for this generator already exists in Matlab. Any chance someone can help me to find a driver that would work for OMAP-L138?
Thank youGood night
I am a student, working on a DSP project. I need to acquire data from a TI OMAP-L138 LCDK output into matlab workspace for further processing. I was able to do that by connecting the OMAP output to the PC mic analog input and use the sound card. However, it only worked for higher frequency ranges. My project involves work with low frequencies and the microphone cannon pick such signals up.
I have watched several tutorials and found that it is possible to acquire signals into matlab from tecktronic function generators, connected through USB or RS232. However, an instrument driver for this generator already exists in Matlab. Any chance someone can help me to find a driver that would work for OMAP-L138?
Thank you Good night
I am a student, working on a DSP project. I need to acquire data from a TI OMAP-L138 LCDK output into matlab workspace for further processing. I was able to do that by connecting the OMAP output to the PC mic analog input and use the sound card. However, it only worked for higher frequency ranges. My project involves work with low frequencies and the microphone cannon pick such signals up.
I have watched several tutorials and found that it is possible to acquire signals into matlab from tecktronic function generators, connected through USB or RS232. However, an instrument driver for this generator already exists in Matlab. Any chance someone can help me to find a driver that would work for OMAP-L138?
Thank you omap-l138 lcdk, dsp, microphone MATLAB Answers — New Questions
Real time module TCP communication cannot receive the correct signal through the command line
I use the TCP communication module in Real Time, but before sending signals, I must package them into uint8 type signals. "I want to receive these signals in the form of a command line and convert them to the original double type. I have tried using double () to coerce the type conversion, but the im2double () function has failed to obtain the original signal correctly.". Is there any way to obtain it?
t=tcpclient(‘192.168.7.1’,8001);
while(1)
data=read(t,8);
write(t,data);
u=double(data);
endI use the TCP communication module in Real Time, but before sending signals, I must package them into uint8 type signals. "I want to receive these signals in the form of a command line and convert them to the original double type. I have tried using double () to coerce the type conversion, but the im2double () function has failed to obtain the original signal correctly.". Is there any way to obtain it?
t=tcpclient(‘192.168.7.1’,8001);
while(1)
data=read(t,8);
write(t,data);
u=double(data);
end I use the TCP communication module in Real Time, but before sending signals, I must package them into uint8 type signals. "I want to receive these signals in the form of a command line and convert them to the original double type. I have tried using double () to coerce the type conversion, but the im2double () function has failed to obtain the original signal correctly.". Is there any way to obtain it?
t=tcpclient(‘192.168.7.1’,8001);
while(1)
data=read(t,8);
write(t,data);
u=double(data);
end real time, tcp, pack MATLAB Answers — New Questions
Can I use webwrite to make a PUT request?
I’ve been able to successfully use the ‘webwrite’ and ‘webread’ functions for POST and GET requests for REST API calls in Matlab. Now, I need to make a small PUT request without any body/data.
Is there a way to use webwrite for this purpose? I’ve read about the matlab.net.HTTP.Request Class in THIS page, but it seems complicated – how do I send a BEARER authorization token and the PUT request without any body/data? It would be nice if webwrite could handle PUT requests as well.
Thanks,
PVI’ve been able to successfully use the ‘webwrite’ and ‘webread’ functions for POST and GET requests for REST API calls in Matlab. Now, I need to make a small PUT request without any body/data.
Is there a way to use webwrite for this purpose? I’ve read about the matlab.net.HTTP.Request Class in THIS page, but it seems complicated – how do I send a BEARER authorization token and the PUT request without any body/data? It would be nice if webwrite could handle PUT requests as well.
Thanks,
PV I’ve been able to successfully use the ‘webwrite’ and ‘webread’ functions for POST and GET requests for REST API calls in Matlab. Now, I need to make a small PUT request without any body/data.
Is there a way to use webwrite for this purpose? I’ve read about the matlab.net.HTTP.Request Class in THIS page, but it seems complicated – how do I send a BEARER authorization token and the PUT request without any body/data? It would be nice if webwrite could handle PUT requests as well.
Thanks,
PV rest, webwrite, webread, put request MATLAB Answers — New Questions
Transaction Volumes of support, eIDAS compliance, API integration capability
Hi ,
I like to know the API integration capability of Microsoft eSignature , Volumes of Transaction support, pricing, Compliance to eIDAS, GDPR, Multiparty Signature capability, Dashboard features etc. Please share or contact me. Regards
Hi , I like to know the API integration capability of Microsoft eSignature , Volumes of Transaction support, pricing, Compliance to eIDAS, GDPR, Multiparty Signature capability, Dashboard features etc. Please share or contact me. Regards Read More
What does “Interrupt while evaluating Button PrivateButtonPushedFcn.” mean?
My program was working but now I’m getting this.
Interrupt while evaluating Button PrivateButtonPushedFcn.
If I knew more about the error maybe I coud fix it. There is no help looking up this error in MatLab help. Googled but got trivial problems others had had.My program was working but now I’m getting this.
Interrupt while evaluating Button PrivateButtonPushedFcn.
If I knew more about the error maybe I coud fix it. There is no help looking up this error in MatLab help. Googled but got trivial problems others had had. My program was working but now I’m getting this.
Interrupt while evaluating Button PrivateButtonPushedFcn.
If I knew more about the error maybe I coud fix it. There is no help looking up this error in MatLab help. Googled but got trivial problems others had had. error message unclear MATLAB Answers — New Questions
Apple IOS devices app restrictions configuration profile – Please review Policy option
I am not sure where to click on this screen to accept the privacy policy there is no check mark where I can click to accept it. How can I proceed next in the configuration profiles for Apple IOS devices configuration with restrictions, I have no clue where to click to proceed to the next step? Urgent, I need this to be done by tomorrow. Please, help!
I am not sure where to click on this screen to accept the privacy policy there is no check mark where I can click to accept it. How can I proceed next in the configuration profiles for Apple IOS devices configuration with restrictions, I have no clue where to click to proceed to the next step? Urgent, I need this to be done by tomorrow. Please, help! Read More
Error 500 when I use filters
I am trying to filter one query on a list of sharepoint
if i add “?$filter whatever i get on 500 error
no matter the kind of filter.. it fails
do we have to do anything special to activate filters? . I connect using rest with c#
I am trying to filter one query on a list of sharepoint if i add “?$filter whatever i get on 500 error no matter the kind of filter.. it fails do we have to do anything special to activate filters? . I connect using rest with c# Read More
Is there a premade file regarding a verification test to see if there is any issues with the installation?
I am trying to find a standardized verification package that I can run on my end to detemrine if matlab operates properly and has the correct outcomes.I am trying to find a standardized verification package that I can run on my end to detemrine if matlab operates properly and has the correct outcomes. I am trying to find a standardized verification package that I can run on my end to detemrine if matlab operates properly and has the correct outcomes. verification, test, matlab MATLAB Answers — New Questions
Presumed meshing problems in heat transfer model of thin heater sandwiched between large slabs
I have a steady state heat transfer problem trying to model a thin film heater wedged between two significantly thicker slabs. The slab thicknesses may be as much as three orders of magnitude larger than the heater. I want temperature resolution within the slabs and a temperature of the heater but I don’t need temperature resolution within the film per se. I tried treating the entire thin film as dissipating energy using an internal heat source command of this form [internalHeatSource(thermalmodel,6000,"Face",2)]. My checks on model validity included looking for higher temperature within the heater compared to the two bounding slabs using a command of this form [pdeplot(thermalmodel,"XYData",thermalresults.Temperature(:,end), … "Contour","on",… "ColorMap","jet")]. I also checked energy conservation in the steady state by comparing the known amount of power dissipated within the heater to the energy rate leaving the boundaries of the system using commands of the form [Qn1= evaluateHeatRate(thermalresults, "Edge",1)] for each edge and summing up these energy rates..
This approach was not successful. I did not see significant temperature increases that I would expect for heater power levels that I used. Conservation of energy was not observed. I plotted the mesh results and in some or all cases would get strange looking results. In some or all cases Matlab returned the following feedback: “Warning: Found elements with poor shape quality.” I tried manipulating the mesh size to get finer resolution using commands of the form [mesh= generateMesh(thermalmodel, ‘Hmax’, 1e-6, ‘Hmin’, 1e-7)]. I was not successful.
I feel like the problem is related to the mismatch in mesh resolution that may be required in the heater compared to the larger slabs, but I don’t know if that’s true and I don’t know how to handle it if that is true.
The code is included below.
Any help would be greatly appreciated.
john
%% Create a thermal model for transient analysis
thermalmodel = createpde("thermal","steadystate");
% Define the geometry components
Rfilmbottom = [3,4,[-5.0, 5.0, 5.0, -5.0, 0.0, 0.0, 0.124375,0.124375]/1000]’;
Rfilmhtr = [3,4,[-5.0, 5.0, 5.0, -5.0, 0.124375,0.124375,0.125625,0.125625]/1000]’;
Rfilmtop= [3,4,[-5.0, 5.0, 5.0, -5.0, 0.125625,0.125625, 0.25, 0.25]/1000]’;
% Combine the geometry data
gdm = [ Rfilmbottom Rfilmhtr Rfilmtop ];
ns = char(‘Rfilmbottom’, ‘Rfilmhtr’, ‘Rfilmtop’);
g = decsg(gdm, ‘Rfilmbottom + Rfilmhtr + Rfilmtop’, ns’);
% Create geometry from edges
geometryFromEdges(thermalmodel, g);
% Create a larger figure window
figure(‘Position’, [100, 100, 1200, 800]);
% Figure 1
% Plot with edge labels
pdegplot(thermalmodel, "EdgeLabels", "on", "FaceLabels", "on");
%Figure 2
figure
% Adjust limits and aspect ratio for better visibility
% Overall view
pdegplot(thermalmodel, "EdgeLabels", "on", "FaceLabels", "on");
xlim([-5.0e-3 5.0e-3]);
ylim([0.0e-3 0.5e-3])
daspect([50 1 1]);
% Around heater
%pdegplot(thermalmodel, "EdgeLabels", "on", "FaceLabels", "on");
%xlim([-5.0e-3 5.0e-3]);
%ylim([1.1e-4 1.4e-4])
%daspect([500 1 1]);
% Properties assigned assuming corresponding order as per above
% Substrate
%thermalProperties(thermalmodel,"ThermalConductivity",0.050);
%Film
thermalProperties(thermalmodel,"ThermalConductivity",0.025);
% Boundary conditions
% Edge 1 is bottom edge of film
thermalBC(thermalmodel,"Edge",1,"Temperature",30);
% Edge 2 is top edge of film
thermalBC(thermalmodel,"Edge",2,"Temperature",30);
% Edge 3 is bottom edge of heater film- no BC for continuity
%thermalBC(thermalmodel,"Edge",3,"HeatFlux",0);
% Edge 4 is top edge of heater film- no BC for continuity
%thermalBC(thermalmodel,"Edge",4,"HeatFlux",0);
% Edge 5 is right edge of bottom film- adiabatic
thermalBC(thermalmodel,"Edge",5,"HeatFlux",0);
% Edge 6 is right edge of heater film- adiabatic
thermalBC(thermalmodel,"Edge",6,"HeatFlux",0);
% Edge 7 is right edge of top film- adiabatic
thermalBC(thermalmodel,"Edge",7,"HeatFlux",0);
% Edge 8 is left edge of bottom film- adiabatic
thermalBC(thermalmodel,"Edge",8,"HeatFlux",0);
% Edge 9 is left edge of heater film- adiabatic
thermalBC(thermalmodel,"Edge",9,"HeatFlux",0);
% Edge 10 is left edge of top film- adiabatic
thermalBC(thermalmodel,"Edge",10,"HeatFlux",0);
internalHeatSource(thermalmodel,6000,"Face",2);
mesh= generateMesh(thermalmodel);
%mesh= generateMesh(thermalmodel, ‘Hmax’, 5e-8, ‘Hmin’, 5e-9);
%mesh= generateMesh(thermalmodel, ‘Hmax’, 1e-6, ‘Hmin’, 1e-7);
% Figure 5
figure
pdemesh(thermalmodel)
pdeplot(mesh)
%xlim([-1.0e-3 1.0e-3]);
%ylim([-2.0e-3 1.0e-3])
%daspect([1 1 1]);
xlim([-5.0e-3 5.0e-3]);
ylim([0.0e-3 0.5e-3])
daspect([50 1 1]);
title("Mesh with Refined Elements");
%Warning: Found elements with poor shape quality.
thermalresults = solve(thermalmodel)
T= thermalresults.Temperature;
msh= thermalresults.Mesh;
[qx,qy] = evaluateHeatFlux(thermalresults);
%figure
%pdeplot(thermalmodel,"XYData",thermalresults.Temperature(:,end), …
% "Contour","on",…
% "FlowData",[qx(:,end),qy(:,end)], …
%"ColorMap","jet")
%title("Temperature (C) & Heat flux fields (W/m2)")
%xlabel("Width (m)")
%ylabel("Height (m)")
% Figure 6
figure
pdeplot(thermalmodel,"XYData",thermalresults.Temperature(:,end), …
"Contour","on",…
"ColorMap","jet")
title("Temperature field (C)")
xlabel("Width (m)")
ylabel("Height (m)")
xlim([-1.0e-3 1.0e-3]);
ylim([-2.0e-3 1.0e-3])
daspect([1 1 1]);
% Figure 7
figure
pdeplot(thermalmodel,"FlowData",[qx(:,end), qy(:,end)])
title("Heat flux field (W/m2)")
xlabel("Width (m)")
ylabel("Height (m)")
xlim([-1.0e-3 1.0e-3]);
ylim([-2.0e-3 1.0e-3])
daspect([1 1 1]);
%isp(qx(:,end))
%disp(qy(:,end))
Qn1= evaluateHeatRate(thermalresults, "Edge",1)
Qn2= evaluateHeatRate(thermalresults, "Edge",2)
Qn3= evaluateHeatRate(thermalresults, "Edge",3)
Qn4= evaluateHeatRate(thermalresults, "Edge",4)
Qn5= evaluateHeatRate(thermalresults, "Edge",5)
Qn6= evaluateHeatRate(thermalresults, "Edge",6)
Qn7= evaluateHeatRate(thermalresults, "Edge",7)
Qn8= evaluateHeatRate(thermalresults, "Edge",8)
Qn9= evaluateHeatRate(thermalresults, "Edge",9)
Qn10= evaluateHeatRate(thermalresults, "Edge",10)
Edgetotalwatts= Qn1+Qn2+Qn4+Qn5+Qn6+Qn7+Qn8+Qn9+Qn10I have a steady state heat transfer problem trying to model a thin film heater wedged between two significantly thicker slabs. The slab thicknesses may be as much as three orders of magnitude larger than the heater. I want temperature resolution within the slabs and a temperature of the heater but I don’t need temperature resolution within the film per se. I tried treating the entire thin film as dissipating energy using an internal heat source command of this form [internalHeatSource(thermalmodel,6000,"Face",2)]. My checks on model validity included looking for higher temperature within the heater compared to the two bounding slabs using a command of this form [pdeplot(thermalmodel,"XYData",thermalresults.Temperature(:,end), … "Contour","on",… "ColorMap","jet")]. I also checked energy conservation in the steady state by comparing the known amount of power dissipated within the heater to the energy rate leaving the boundaries of the system using commands of the form [Qn1= evaluateHeatRate(thermalresults, "Edge",1)] for each edge and summing up these energy rates..
This approach was not successful. I did not see significant temperature increases that I would expect for heater power levels that I used. Conservation of energy was not observed. I plotted the mesh results and in some or all cases would get strange looking results. In some or all cases Matlab returned the following feedback: “Warning: Found elements with poor shape quality.” I tried manipulating the mesh size to get finer resolution using commands of the form [mesh= generateMesh(thermalmodel, ‘Hmax’, 1e-6, ‘Hmin’, 1e-7)]. I was not successful.
I feel like the problem is related to the mismatch in mesh resolution that may be required in the heater compared to the larger slabs, but I don’t know if that’s true and I don’t know how to handle it if that is true.
The code is included below.
Any help would be greatly appreciated.
john
%% Create a thermal model for transient analysis
thermalmodel = createpde("thermal","steadystate");
% Define the geometry components
Rfilmbottom = [3,4,[-5.0, 5.0, 5.0, -5.0, 0.0, 0.0, 0.124375,0.124375]/1000]’;
Rfilmhtr = [3,4,[-5.0, 5.0, 5.0, -5.0, 0.124375,0.124375,0.125625,0.125625]/1000]’;
Rfilmtop= [3,4,[-5.0, 5.0, 5.0, -5.0, 0.125625,0.125625, 0.25, 0.25]/1000]’;
% Combine the geometry data
gdm = [ Rfilmbottom Rfilmhtr Rfilmtop ];
ns = char(‘Rfilmbottom’, ‘Rfilmhtr’, ‘Rfilmtop’);
g = decsg(gdm, ‘Rfilmbottom + Rfilmhtr + Rfilmtop’, ns’);
% Create geometry from edges
geometryFromEdges(thermalmodel, g);
% Create a larger figure window
figure(‘Position’, [100, 100, 1200, 800]);
% Figure 1
% Plot with edge labels
pdegplot(thermalmodel, "EdgeLabels", "on", "FaceLabels", "on");
%Figure 2
figure
% Adjust limits and aspect ratio for better visibility
% Overall view
pdegplot(thermalmodel, "EdgeLabels", "on", "FaceLabels", "on");
xlim([-5.0e-3 5.0e-3]);
ylim([0.0e-3 0.5e-3])
daspect([50 1 1]);
% Around heater
%pdegplot(thermalmodel, "EdgeLabels", "on", "FaceLabels", "on");
%xlim([-5.0e-3 5.0e-3]);
%ylim([1.1e-4 1.4e-4])
%daspect([500 1 1]);
% Properties assigned assuming corresponding order as per above
% Substrate
%thermalProperties(thermalmodel,"ThermalConductivity",0.050);
%Film
thermalProperties(thermalmodel,"ThermalConductivity",0.025);
% Boundary conditions
% Edge 1 is bottom edge of film
thermalBC(thermalmodel,"Edge",1,"Temperature",30);
% Edge 2 is top edge of film
thermalBC(thermalmodel,"Edge",2,"Temperature",30);
% Edge 3 is bottom edge of heater film- no BC for continuity
%thermalBC(thermalmodel,"Edge",3,"HeatFlux",0);
% Edge 4 is top edge of heater film- no BC for continuity
%thermalBC(thermalmodel,"Edge",4,"HeatFlux",0);
% Edge 5 is right edge of bottom film- adiabatic
thermalBC(thermalmodel,"Edge",5,"HeatFlux",0);
% Edge 6 is right edge of heater film- adiabatic
thermalBC(thermalmodel,"Edge",6,"HeatFlux",0);
% Edge 7 is right edge of top film- adiabatic
thermalBC(thermalmodel,"Edge",7,"HeatFlux",0);
% Edge 8 is left edge of bottom film- adiabatic
thermalBC(thermalmodel,"Edge",8,"HeatFlux",0);
% Edge 9 is left edge of heater film- adiabatic
thermalBC(thermalmodel,"Edge",9,"HeatFlux",0);
% Edge 10 is left edge of top film- adiabatic
thermalBC(thermalmodel,"Edge",10,"HeatFlux",0);
internalHeatSource(thermalmodel,6000,"Face",2);
mesh= generateMesh(thermalmodel);
%mesh= generateMesh(thermalmodel, ‘Hmax’, 5e-8, ‘Hmin’, 5e-9);
%mesh= generateMesh(thermalmodel, ‘Hmax’, 1e-6, ‘Hmin’, 1e-7);
% Figure 5
figure
pdemesh(thermalmodel)
pdeplot(mesh)
%xlim([-1.0e-3 1.0e-3]);
%ylim([-2.0e-3 1.0e-3])
%daspect([1 1 1]);
xlim([-5.0e-3 5.0e-3]);
ylim([0.0e-3 0.5e-3])
daspect([50 1 1]);
title("Mesh with Refined Elements");
%Warning: Found elements with poor shape quality.
thermalresults = solve(thermalmodel)
T= thermalresults.Temperature;
msh= thermalresults.Mesh;
[qx,qy] = evaluateHeatFlux(thermalresults);
%figure
%pdeplot(thermalmodel,"XYData",thermalresults.Temperature(:,end), …
% "Contour","on",…
% "FlowData",[qx(:,end),qy(:,end)], …
%"ColorMap","jet")
%title("Temperature (C) & Heat flux fields (W/m2)")
%xlabel("Width (m)")
%ylabel("Height (m)")
% Figure 6
figure
pdeplot(thermalmodel,"XYData",thermalresults.Temperature(:,end), …
"Contour","on",…
"ColorMap","jet")
title("Temperature field (C)")
xlabel("Width (m)")
ylabel("Height (m)")
xlim([-1.0e-3 1.0e-3]);
ylim([-2.0e-3 1.0e-3])
daspect([1 1 1]);
% Figure 7
figure
pdeplot(thermalmodel,"FlowData",[qx(:,end), qy(:,end)])
title("Heat flux field (W/m2)")
xlabel("Width (m)")
ylabel("Height (m)")
xlim([-1.0e-3 1.0e-3]);
ylim([-2.0e-3 1.0e-3])
daspect([1 1 1]);
%isp(qx(:,end))
%disp(qy(:,end))
Qn1= evaluateHeatRate(thermalresults, "Edge",1)
Qn2= evaluateHeatRate(thermalresults, "Edge",2)
Qn3= evaluateHeatRate(thermalresults, "Edge",3)
Qn4= evaluateHeatRate(thermalresults, "Edge",4)
Qn5= evaluateHeatRate(thermalresults, "Edge",5)
Qn6= evaluateHeatRate(thermalresults, "Edge",6)
Qn7= evaluateHeatRate(thermalresults, "Edge",7)
Qn8= evaluateHeatRate(thermalresults, "Edge",8)
Qn9= evaluateHeatRate(thermalresults, "Edge",9)
Qn10= evaluateHeatRate(thermalresults, "Edge",10)
Edgetotalwatts= Qn1+Qn2+Qn4+Qn5+Qn6+Qn7+Qn8+Qn9+Qn10 I have a steady state heat transfer problem trying to model a thin film heater wedged between two significantly thicker slabs. The slab thicknesses may be as much as three orders of magnitude larger than the heater. I want temperature resolution within the slabs and a temperature of the heater but I don’t need temperature resolution within the film per se. I tried treating the entire thin film as dissipating energy using an internal heat source command of this form [internalHeatSource(thermalmodel,6000,"Face",2)]. My checks on model validity included looking for higher temperature within the heater compared to the two bounding slabs using a command of this form [pdeplot(thermalmodel,"XYData",thermalresults.Temperature(:,end), … "Contour","on",… "ColorMap","jet")]. I also checked energy conservation in the steady state by comparing the known amount of power dissipated within the heater to the energy rate leaving the boundaries of the system using commands of the form [Qn1= evaluateHeatRate(thermalresults, "Edge",1)] for each edge and summing up these energy rates..
This approach was not successful. I did not see significant temperature increases that I would expect for heater power levels that I used. Conservation of energy was not observed. I plotted the mesh results and in some or all cases would get strange looking results. In some or all cases Matlab returned the following feedback: “Warning: Found elements with poor shape quality.” I tried manipulating the mesh size to get finer resolution using commands of the form [mesh= generateMesh(thermalmodel, ‘Hmax’, 1e-6, ‘Hmin’, 1e-7)]. I was not successful.
I feel like the problem is related to the mismatch in mesh resolution that may be required in the heater compared to the larger slabs, but I don’t know if that’s true and I don’t know how to handle it if that is true.
The code is included below.
Any help would be greatly appreciated.
john
%% Create a thermal model for transient analysis
thermalmodel = createpde("thermal","steadystate");
% Define the geometry components
Rfilmbottom = [3,4,[-5.0, 5.0, 5.0, -5.0, 0.0, 0.0, 0.124375,0.124375]/1000]’;
Rfilmhtr = [3,4,[-5.0, 5.0, 5.0, -5.0, 0.124375,0.124375,0.125625,0.125625]/1000]’;
Rfilmtop= [3,4,[-5.0, 5.0, 5.0, -5.0, 0.125625,0.125625, 0.25, 0.25]/1000]’;
% Combine the geometry data
gdm = [ Rfilmbottom Rfilmhtr Rfilmtop ];
ns = char(‘Rfilmbottom’, ‘Rfilmhtr’, ‘Rfilmtop’);
g = decsg(gdm, ‘Rfilmbottom + Rfilmhtr + Rfilmtop’, ns’);
% Create geometry from edges
geometryFromEdges(thermalmodel, g);
% Create a larger figure window
figure(‘Position’, [100, 100, 1200, 800]);
% Figure 1
% Plot with edge labels
pdegplot(thermalmodel, "EdgeLabels", "on", "FaceLabels", "on");
%Figure 2
figure
% Adjust limits and aspect ratio for better visibility
% Overall view
pdegplot(thermalmodel, "EdgeLabels", "on", "FaceLabels", "on");
xlim([-5.0e-3 5.0e-3]);
ylim([0.0e-3 0.5e-3])
daspect([50 1 1]);
% Around heater
%pdegplot(thermalmodel, "EdgeLabels", "on", "FaceLabels", "on");
%xlim([-5.0e-3 5.0e-3]);
%ylim([1.1e-4 1.4e-4])
%daspect([500 1 1]);
% Properties assigned assuming corresponding order as per above
% Substrate
%thermalProperties(thermalmodel,"ThermalConductivity",0.050);
%Film
thermalProperties(thermalmodel,"ThermalConductivity",0.025);
% Boundary conditions
% Edge 1 is bottom edge of film
thermalBC(thermalmodel,"Edge",1,"Temperature",30);
% Edge 2 is top edge of film
thermalBC(thermalmodel,"Edge",2,"Temperature",30);
% Edge 3 is bottom edge of heater film- no BC for continuity
%thermalBC(thermalmodel,"Edge",3,"HeatFlux",0);
% Edge 4 is top edge of heater film- no BC for continuity
%thermalBC(thermalmodel,"Edge",4,"HeatFlux",0);
% Edge 5 is right edge of bottom film- adiabatic
thermalBC(thermalmodel,"Edge",5,"HeatFlux",0);
% Edge 6 is right edge of heater film- adiabatic
thermalBC(thermalmodel,"Edge",6,"HeatFlux",0);
% Edge 7 is right edge of top film- adiabatic
thermalBC(thermalmodel,"Edge",7,"HeatFlux",0);
% Edge 8 is left edge of bottom film- adiabatic
thermalBC(thermalmodel,"Edge",8,"HeatFlux",0);
% Edge 9 is left edge of heater film- adiabatic
thermalBC(thermalmodel,"Edge",9,"HeatFlux",0);
% Edge 10 is left edge of top film- adiabatic
thermalBC(thermalmodel,"Edge",10,"HeatFlux",0);
internalHeatSource(thermalmodel,6000,"Face",2);
mesh= generateMesh(thermalmodel);
%mesh= generateMesh(thermalmodel, ‘Hmax’, 5e-8, ‘Hmin’, 5e-9);
%mesh= generateMesh(thermalmodel, ‘Hmax’, 1e-6, ‘Hmin’, 1e-7);
% Figure 5
figure
pdemesh(thermalmodel)
pdeplot(mesh)
%xlim([-1.0e-3 1.0e-3]);
%ylim([-2.0e-3 1.0e-3])
%daspect([1 1 1]);
xlim([-5.0e-3 5.0e-3]);
ylim([0.0e-3 0.5e-3])
daspect([50 1 1]);
title("Mesh with Refined Elements");
%Warning: Found elements with poor shape quality.
thermalresults = solve(thermalmodel)
T= thermalresults.Temperature;
msh= thermalresults.Mesh;
[qx,qy] = evaluateHeatFlux(thermalresults);
%figure
%pdeplot(thermalmodel,"XYData",thermalresults.Temperature(:,end), …
% "Contour","on",…
% "FlowData",[qx(:,end),qy(:,end)], …
%"ColorMap","jet")
%title("Temperature (C) & Heat flux fields (W/m2)")
%xlabel("Width (m)")
%ylabel("Height (m)")
% Figure 6
figure
pdeplot(thermalmodel,"XYData",thermalresults.Temperature(:,end), …
"Contour","on",…
"ColorMap","jet")
title("Temperature field (C)")
xlabel("Width (m)")
ylabel("Height (m)")
xlim([-1.0e-3 1.0e-3]);
ylim([-2.0e-3 1.0e-3])
daspect([1 1 1]);
% Figure 7
figure
pdeplot(thermalmodel,"FlowData",[qx(:,end), qy(:,end)])
title("Heat flux field (W/m2)")
xlabel("Width (m)")
ylabel("Height (m)")
xlim([-1.0e-3 1.0e-3]);
ylim([-2.0e-3 1.0e-3])
daspect([1 1 1]);
%isp(qx(:,end))
%disp(qy(:,end))
Qn1= evaluateHeatRate(thermalresults, "Edge",1)
Qn2= evaluateHeatRate(thermalresults, "Edge",2)
Qn3= evaluateHeatRate(thermalresults, "Edge",3)
Qn4= evaluateHeatRate(thermalresults, "Edge",4)
Qn5= evaluateHeatRate(thermalresults, "Edge",5)
Qn6= evaluateHeatRate(thermalresults, "Edge",6)
Qn7= evaluateHeatRate(thermalresults, "Edge",7)
Qn8= evaluateHeatRate(thermalresults, "Edge",8)
Qn9= evaluateHeatRate(thermalresults, "Edge",9)
Qn10= evaluateHeatRate(thermalresults, "Edge",10)
Edgetotalwatts= Qn1+Qn2+Qn4+Qn5+Qn6+Qn7+Qn8+Qn9+Qn10 heat transfer, thin heater, mesh problems MATLAB Answers — New Questions
Bulk File Search Using Purview (Data Deletion Request)?
Hello,
Our organization is looking for a solution to discover ~13,000 file names (in a CSV) across our M365 environment. Obviously, we are looking for a solution using PowerShell and possibly the Graph API since this is not possible using the Purview GUI.
Any recommendations on how to do this? We have approached Microsoft regarding this and they provided a Copilot generated PowerShell script as a launching off point but we have not gotten this to work yet.
Best regards,
Luke F.
Hello,Our organization is looking for a solution to discover ~13,000 file names (in a CSV) across our M365 environment. Obviously, we are looking for a solution using PowerShell and possibly the Graph API since this is not possible using the Purview GUI. Any recommendations on how to do this? We have approached Microsoft regarding this and they provided a Copilot generated PowerShell script as a launching off point but we have not gotten this to work yet. Best regards,Luke F. Read More
How do I replace the “classregtree” class and “eval” function in R2018a onwards?
I used to use ‘eval’ in MATLAB R2017b, but this triggers an error in R2018a. I have looked in the documentation, but found no solution. Can you help ?
Error using eval
Too many input arguments.I used to use ‘eval’ in MATLAB R2017b, but this triggers an error in R2018a. I have looked in the documentation, but found no solution. Can you help ?
Error using eval
Too many input arguments. I used to use ‘eval’ in MATLAB R2017b, but this triggers an error in R2018a. I have looked in the documentation, but found no solution. Can you help ?
Error using eval
Too many input arguments. eval, predict, classregtree, classificationtree, fitctree, subtrees, prune, error, removed MATLAB Answers — New Questions
Is the “Communications System Toolbox Support Package for Xilinx FPGA-based Radio” still available?
I would like to prototype software-defined radio (SDR) systems using MATLAB & Simulink using the Xilinx Virtex-6 and Spartan-6 FPGA boards. Is there an available Support Package for Xilinx FPGA Radio?I would like to prototype software-defined radio (SDR) systems using MATLAB & Simulink using the Xilinx Virtex-6 and Spartan-6 FPGA boards. Is there an available Support Package for Xilinx FPGA Radio? I would like to prototype software-defined radio (SDR) systems using MATLAB & Simulink using the Xilinx Virtex-6 and Spartan-6 FPGA boards. Is there an available Support Package for Xilinx FPGA Radio? xilinx, fpga, support, package, communications, system, toolbox, zynq, sdr MATLAB Answers — New Questions