Category: News
How to split a table into multiple tables based on value in a column?
Hello,
I am reading in an excel file that has 2 columns of data. One of them has a lot number and the other has row/col numbers.
I’ve made a table that holds this information, however, I would like to make multiple tables for every set of lot numbers.
I’ve attached an example excel sheet. In this example there are 2 different lot numbers, so I would need it to make 2 different tables for each lot number with each corresponding row, col number! I also need it to be able to adjust if there are more than 2 different lot numbers because the sheet is always updated.
Thanks!Hello,
I am reading in an excel file that has 2 columns of data. One of them has a lot number and the other has row/col numbers.
I’ve made a table that holds this information, however, I would like to make multiple tables for every set of lot numbers.
I’ve attached an example excel sheet. In this example there are 2 different lot numbers, so I would need it to make 2 different tables for each lot number with each corresponding row, col number! I also need it to be able to adjust if there are more than 2 different lot numbers because the sheet is always updated.
Thanks! Hello,
I am reading in an excel file that has 2 columns of data. One of them has a lot number and the other has row/col numbers.
I’ve made a table that holds this information, however, I would like to make multiple tables for every set of lot numbers.
I’ve attached an example excel sheet. In this example there are 2 different lot numbers, so I would need it to make 2 different tables for each lot number with each corresponding row, col number! I also need it to be able to adjust if there are more than 2 different lot numbers because the sheet is always updated.
Thanks! matlab, excel MATLAB Answers — New Questions
any option as applying while code to develop pipeline connection within looped network; has noted zero indexing
Post Content Post Content thingspeak MATLAB Answers — New Questions
How can I get the Stockwell transform of an earthquake data in MATLAB?
Dear, I was wondering does MATLAB have any tool to calculate the Stockwell transform ? If it exists in MATLAB library, can you please provide me a script code so I can get S-tranform of an earthquake data. Thanks for your help. RegardsDear, I was wondering does MATLAB have any tool to calculate the Stockwell transform ? If it exists in MATLAB library, can you please provide me a script code so I can get S-tranform of an earthquake data. Thanks for your help. Regards Dear, I was wondering does MATLAB have any tool to calculate the Stockwell transform ? If it exists in MATLAB library, can you please provide me a script code so I can get S-tranform of an earthquake data. Thanks for your help. Regards matlab, transfer function, stockwell MATLAB Answers — New Questions
Excel Data preprocessing from a scattered one into an organised table
I have excel data that is pretty big (10000×63) and unorganised. I have attached the sample data file here (sample.xlsx).
This data is converted from a pdf to excel so there are a lot of issues. I will highlight some of them here.
Some key things to note about data
There are strings and numbers and I would like to keep them both organised.
After every 200-250 rows, the table header labels keep repeating which I would like to remove
Whenever the table header repeats, the columns shift left or right (sometimes upto 5 or 6 columns)
There is one column "Code" which has both strings(1,2) and numbers(2).
There are some cells where there is no data or "——".
There are some texts on the top and bottom of the table (legends etc) which I would like to remove.
I would like the data to look like this one big simple list (it took me 4 hours to make this). I would like to automate it as I have many excel files of similar dimensions(10000×63).
Additionally I would like to know if there’s a better way to organise this data other than matlab?
Thank you well in advance for your help. I am still learning matlab so any help would mean a lot!I have excel data that is pretty big (10000×63) and unorganised. I have attached the sample data file here (sample.xlsx).
This data is converted from a pdf to excel so there are a lot of issues. I will highlight some of them here.
Some key things to note about data
There are strings and numbers and I would like to keep them both organised.
After every 200-250 rows, the table header labels keep repeating which I would like to remove
Whenever the table header repeats, the columns shift left or right (sometimes upto 5 or 6 columns)
There is one column "Code" which has both strings(1,2) and numbers(2).
There are some cells where there is no data or "——".
There are some texts on the top and bottom of the table (legends etc) which I would like to remove.
I would like the data to look like this one big simple list (it took me 4 hours to make this). I would like to automate it as I have many excel files of similar dimensions(10000×63).
Additionally I would like to know if there’s a better way to organise this data other than matlab?
Thank you well in advance for your help. I am still learning matlab so any help would mean a lot! I have excel data that is pretty big (10000×63) and unorganised. I have attached the sample data file here (sample.xlsx).
This data is converted from a pdf to excel so there are a lot of issues. I will highlight some of them here.
Some key things to note about data
There are strings and numbers and I would like to keep them both organised.
After every 200-250 rows, the table header labels keep repeating which I would like to remove
Whenever the table header repeats, the columns shift left or right (sometimes upto 5 or 6 columns)
There is one column "Code" which has both strings(1,2) and numbers(2).
There are some cells where there is no data or "——".
There are some texts on the top and bottom of the table (legends etc) which I would like to remove.
I would like the data to look like this one big simple list (it took me 4 hours to make this). I would like to automate it as I have many excel files of similar dimensions(10000×63).
Additionally I would like to know if there’s a better way to organise this data other than matlab?
Thank you well in advance for your help. I am still learning matlab so any help would mean a lot! importing excel data, data import MATLAB Answers — New Questions
Use Data Loss Prevention to Stop Copilot Chat Processing Documents in Its Responses
DLP Policy for Microsoft 365 Copilot to Restrict Access to Sensitive Documents
Ever since the introduction of Microsoft 365 Copilot in March 2023, organizations have struggled to stop the AI consuming confidential or sensitive documents in its responses. Some of the early tools, like Restricted SharePoint Search, were blunt instruments hurried out as responses to customer requests. Microsoft’s current best answer is SharePoint Restricted Content Discovery (RCD), a feature licensed through SharePoint Advanced Management (SAM). All tenants with Microsoft 365 Copilot licenses are due to receive SAM licenses. I haven’t seen SAM appear in my tenant yet, but not doubt its deployment is ongoing.
Microsoft says that the key use case for RCD is to “prevent accidental discovery of [files stored in] high-risk sites.” RCD works by limiting the ability of end users to search selected sites. By excluding sites from search, RCD prevents Copilot Chat using the files stored in those sites in its responses. It’s still possible for Copilot to use information from a sensitive document if the user has the file opened in an app like Word. At this point, the sensitive content is open in memory and available for Copilot to process.
Blocking files from user access doesn’t stop system functions like eDiscovery working.
Blocking Access to Individual Files
RCD is a good way to cast a protective net across multiple sites. But what about protecting individual files that might be in sites that aren’t covered by RCD? Until now, the answer has been to use sensitivity labels to stop Copilot Chat using sensitive files to generate its responses. Although sensitivity labels can stop Copilot using the content of protected files, it cannot prevent Copilot finding reference protected files through a metadata search.
Creating a DLP Policy for Microsoft 365 Copilot
A solution to that problem might be coming in the form of a new type of Data Loss Prevention (DLP) policy. The feature is described in message center notification MC937930 (last updated 6 February 2025, Microsoft 365 Roadmap ID 423483). DLP policies are usually used to block external sharing of confidential information, like Teams meeting recordings. Blocking files for internal consumption is a new step.
Essentially, tenants can create a DLP policy to check for specific sensitivity labels and block Copilot Chat access to files with those labels. The functionality is now in preview and is scheduled for general availability in June 2025 (complete worldwide by the end of July 2025). Some gaps are always expected in preview code, and the gaps right now include alerts, incident reports, policy simulation, and audit records. In other words, it’s very hard to know when a DLP policy match happens to block access. But testing indicates that the DLP policy works.
The DLP policy for Microsoft 365 Copilot is a special form of policy in that the policy only covers Copilot and no other type of data (Figure 1).

The rules used in a DLP policy for Microsoft 365 Copilot are simple. The policy checks if a file has a specific sensitivity label, and if the sensitivity label is found, DLP executes the action to “prevent Copilot from processing content” (Figure 2). A rule can check for the presence or one or more sensitivity labels. In some respects, it might be easier to create a separate rule for each label.

Testing the DLP Policy for Microsoft 365 Copilot
To test the new DLP policy, I created several documents referring to regulations governing cryptocurrency in Iceland (a topic selected at random because I knew that my tenant was unlikely to store any files relating to the topic). I used Copilot for Word to generate the text for each file and added a reference to a mythical regulation to the text of each document to give Copilot an easy target to find. The first check asked Copilot Chat to find documents relating to cryptocurrency in Iceland with special relevance to the regulation. The sensitivity labels assigned to the documents were not covered by a DLP policy for Microsoft 365 Copilot, and Copilot found all the documents (Figure 3).

After applying sensitivity labels covered by the DLP policy for Microsoft 365 Copilot to two of the three documents, the search was rerun and Copilot found only one document (Figure 4).

I don’t pretend this to be a full test. However, it’s the only way to check preview software that doesn’t generate audit records or other traces to show when DLP policy matches occur to force DLP to execute the defined actions.
New DLP Policy Shows Promise
I’ll look forward to retesting the DLP Policy for Microsoft 365 Copilot after the software reaches GA and the full array of auditing and reporting options are available. The nice thing is that users see no trace of a sensitive document show up in Microsoft 365 Copilot Chat. Unlike basic sensitivity label protection, which allows Copilot Chat to show metadata found in its searches, the DLP policy is silent. And that’s just the way you’d want it to be when dealing with sensitive data.
So much change, all the time. It’s a challenge to stay abreast of all the updates Microsoft makes across the Microsoft 365 ecosystem. Subscribe to the Office 365 for IT Pros eBook to receive monthly insights into what happens, why it happens, and what new features and capabilities mean for your tenant.
Gabung di elevAIte, Jobstreet by SEEK Dorong Kesiapan Kerja Talenta AI Indonesia Bersama Microsoft
Read in English here
Jakarta, 20 Maret 2025 – Jobstreet by SEEK resmi bergabung ke dalam elevAIte Indonesia, inisiatif pelatihan AI dari Kementerian Komunikasi dan Digital Republik Indonesia dengan Microsoft, yang melibatkan mitra pemerintahan, industri, institusi pendidikan, serta komunitas, untuk membekali 1 juta talenta Indonesia dengan keterampilan yang relevan di era transformasi AI. Dalam inisiatif ini, Jobstreet by SEEK akan berfokus untuk menyiapkan talenta Indonesia dengan soft skills dan hard skills yang dibutuhkan di dunia kerja, serta menghubungkan talenta AI dengan industri yang membuka lowongan pekerjaan.
Menurut laporan Work Trend Index 2024 dari Microsoft dan LinkedIn, 92% knowledge workers di Indonesia sudah menggunakan generative AI di tempat kerja; lebih tinggi dibandingkan angka global (75%) dan Asia Pasifik (83%)*. Kementerian Ketenagakerjaan Indonesia juga mendukung adanya pemanfaatan terkait penggunaan generative AI di kalangan mahasiswa dan profesional sebagai salah satu skill digital yang dibutuhkan untuk pekerjaan**. Di sisi lain, berdasarkan survei yang dirilis tahun 2024 oleh Statista Consumer Insights, ditemukan bahwa Indonesia menempati peringkat keempat sebagai negara yang paling antusias menggunakan AI dalam kesehariannya***. Data-data ini mencerminkan potensi besar yang dimiliki Indonesia dalam mengintegrasikan teknologi terdepan ini di dunia kerja.
“Jobstreet by SEEK melihat potensi besar terkait penggunaan generative AI dalam bekerja, maupun dalam kehidupan pribadi sehari-hari oleh orang Indonesia. Kerjasama dengan Kementerian Komunikasi dan Digital Republik Indonesia dan Microsoft melalui inisiatif elevAIte Indonesia menjadi salah satu komitmen kami untuk mendorong penggunaan generative AI di Indonesia guna meningkatkan produktivitas dan kualitas SDM Indonesia, serta menghubungkan mereka dengan ekosistem industri yang tepat. Dengan populernya penggunaan produk Microsoft di lingkungan perkantoran, teknologi Copilot ini menjadi hal penting untuk dikuasai oleh para pekerja di Indonesia”, ujar Sawitri, Head of Country Marketing Indonesia, Jobstreet by SEEK.
Kombinasi soft skills dan hard skills di industri kerja
Sebagai langkah awal mempersiapkan para talenta Indonesia dengan keterampilan AI, Jobstreet by SEEK menghadirkan rangkaian video pelatihan Microsoft 365 Copilot yang dipandu oleh Kevianda Kamarullah selaku Modern Work & Copilot Specialist dari Microsoft dan Jovial da Lopez selaku Kreator Konten dan Penggiat AI. Rangkaian video pelatihan ini, tersedia di menu KarirKu dalam aplikasi Jobstreet by SEEK yang tersedia secara gratis di AppStore dan Play Store, mencakup berbagai modul yang difokuskan pada penggunaan fitur Copilot dalam pekerjaan sehari-hari. Mulai dari analisis data hingga pembuatan dokumen. Dengan menggunakan AI, waktu pemrosesan dapat dikurangi secara signifikan, memungkinkan profesional untuk fokus pada tugas-tugas yang lebih strategis.
Rangkaian video mengungkap tips dan trik bagaimana memanfaatkan Microsoft 365 Copilot sebagai asisten dalam bekerja dan mempercepat pekerjaan. Video pelatihan ini juga memaparkan cara-cara memanfaatkan Copilot untuk mendukung pekerjaan di berbagai profesi, misalnya sebagai staf administrasi, customer service officer, pemasaran digital, hingga membantu tim sales untuk mengejar target penjualan mereka.
Selain untuk membantu pekerjaan seperti penyusunan laporan dan presentasi, merangkum dokumen, maupun revisi dokumen secara lebih cepat, video pelatihan ini juga mengungkapkan tips dan trik pemanfaatan asistensi Copilot untuk pencarian pekerjaan, misalnya untuk membuat CV profesional dan berlatih sesi tanya jawab wawancara kerja. Pengguna yang telah menyelesaikan video seri pelatihan ini akan mendapatkan “Sertifikat Pelatihan Dasar Microsoft 365 Copilot” & “Sertifikat Pelatihan Microsoft Word dengan Copilot”.
“Memasuki era baru generative AI, keterampilan AI menjadi kebutuhan yang mendesak bagi setiap individu. Baik itu keterampilan untuk menggunakan AI, maupun untuk membangun inovasi baru dengan AI. Kami sangat bersemangat menyambut Jobstreet by SEEK ke dalam inisiatif elevAIte Indonesia. Kami berharap kolaborasi ini dapat memperluas jangkauan kita untuk menyiapkan talenta Indonesia dengan kemampuan AI yang relevan, agar talenta kita memiliki daya saing tinggi di industri,” ujar Arief Suseno, AI National Skills Director, Microsoft Indonesia.
Ekosistem industri yang memerlukan talenta AI
Pertumbuhan adopsi generative AI di Indonesia sejalan dengan implementasi Strategi Nasional Kecerdasan Artifisial, terutama dalam pilar pengembangan sumber daya manusia. Terlebih lagi, fokus pada peningkatan keterampilan digital pekerja telah menciptakan lingkungan yang kondusif bagi penerimaan teknologi baru seperti generative AI.
Menyadari bagaimana industri turut berubah dan berinovasi dengan teknologi AI, Jobstreet by SEEK pun akan membuat komunitas yang dapat menghubungkan talenta AI dengan mitra industri penyedia kerja di platform Jobstreet. Rencananya, komunitas ini akan mulai diperkenalkan pada bulan April 2025.
###
*Microsoft & LinkedIn Work Trend Index 2024
**https://www.tempo.co/ekonomi/hanya-19-persen-pekerja-indonesia-punya-keahlian-digital-begini-pesan-menaker-yassierli-soal-pemanfaatan-ai-1205326
***https://www.statista.com/chart/33118/respondents-excited-about-ai-in-daily-life/
Jobstreet by SEEK Joins elevAIte to Boost AI Talent Readiness in Indonesia with Microsoft
Jakarta, 20 March 2025 – Jobstreet by SEEK has officially joined elevAIte Indonesia, an AI training initiative by the Ministry of Communication and Digital of the Republic of Indonesia and Microsoft. This initiative brings together government, industry, educational institutions, and community partners to equip one million Indonesian talents with the necessary skills to thrive in the AI-driven era. As part of this program, Jobstreet by SEEK will focus on preparing Indonesian professionals with essential soft and hard skills while connecting AI talent with job opportunities in the industry.
According to the 2024 Work Trend Index report by Microsoft and LinkedIn, 92% of knowledge workers in Indonesia are already using generative AI at work—a significantly higher percentage than the global average (75%) and the Asia-Pacific region (83%)*. The Indonesian Ministry of Manpower also supports the adoption of generative AI among students and professionals as a crucial digital skill for the future workforce**. Furthermore, a 2024 survey by Statista Consumer Insights ranked Indonesia as the fourth most AI-enthusiastic country worldwide***, underscoring the nation’s strong potential to integrate advanced technology into the workplace.
“Jobstreet by SEEK recognizes the immense potential of generative AI in both professional and everyday life for Indonesians. Our collaboration with the Ministry of Communications and Digital and Microsoft through the elevAIte Indonesia initiative reflects our commitment to promoting generative AI adoption to enhance Indonesia’s workforce productivity and quality while connecting them to the right industry ecosystem. With Microsoft’s products widely used in office environments, mastering Copilot technology will be crucial for workers in Indonesia,” said Sawitri, Head of Country Marketing Indonesia, Jobstreet by SEEK.
Blending Soft and Hard Skills for the AI-Powered Workplace
To equip Indonesian talent with AI-related skills, Jobstreet by SEEK is launching a series of Microsoft 365 Copilot training videos, featuring Kevianda Kamarullah, Modern Work & Copilot Specialist at Microsoft, and Jovial da Lopez, a content creator and AI advocate. These training videos, available in the KarirKu section of the Jobstreet by SEEK app—free to download from the App Store and Play Store—cover various modules on leveraging Copilot features in daily work tasks, from data analysis to document creation. By utilizing AI, professionals can significantly reduce processing time, allowing them to focus on more strategic responsibilities.
The Microsoft 365 Copilot Basic Training and Microsoft Word with Copilot Training video series reveals tips and tricks for utilizing Microsoft 365 Copilot as a workplace assistant and accelerating task completion. The training videos also explain how to use Copilot to support work in various professions, such as administrative staff, customer service officers, digital marketers, and sales teams, and help them achieve their sales targets.
In addition to assisting with tasks such as report and presentation preparation, document summarization, and document revision more quickly, these training videos also reveal tips and tricks for using Copilot assistance for job searches, such as creating professional CVs and practicing interview sessions. Users who complete this training video series will receive a “Basic Microsoft 365 Copilot Training Certificate” & “Microsoft Word with Copilot Training Certificate.”
“Entering the new era of generative AI, AI skills are urgently needed by every individual. Whether it’s skills to use AI or to build new innovations with AI. We are very excited to welcome Jobstreet by SEEK into the elevAIte Indonesia initiative. We hope this collaboration can expand our reach to prepare Indonesian talents with relevant AI skills, so our talents have high competitiveness in the industry,” said Arief Suseno, AI National Skills Director, Microsoft Indonesia.
The Ecosystem of Industries Needing AI Talent
The growth of Generative AI adoption in Indonesia aligns with the implementation of the National Artificial Intelligence Strategy, especially in the pillar of human resource development. Moreover, the focus on enhancing workers’ digital skills has created a conducive environment for the acceptance of new technologies like Generative AI.
Recognizing the evolving AI-driven job market, Jobstreet by SEEK plans to establish a dedicated community to connect AI talent with industry employers via its platform. This community is expected to be introduced in April 2025.
###
* Microsoft & LinkedIn Work Trend Index 2024
** https://www.tempo.co/ekonomi/hanya-19-persen-pekerja-indonesia-punya-keahlian-digital-begini-pesan-menaker-yassierli-soal-pemanfaatan-ai-1205326
*** https://www.statista.com/chart/33118/respondents-excited-about-ai-in-daily-life/
Microsoft Ability Summit 2025: Accessibility in the AI era
Today, we hosted the 15th annual Microsoft Ability Summit, with over 20,000 attendees from 164 countries coming together virtually to discuss the future of AI and accessibility. Microsoft has a long-standing commitment to investing in accessibility, grounded in our business model and going back over three decades from the earliest accessibility features in Windows 95 and continuing today with new hardware and software functionalities powered by AI. We are innovating faster than ever before and people with disabilities continue to lead the way.
Accessibility is a fundamental right for people with disabilities and makes technology easier for everyone. We see this reflected in how customers are using Microsoft technologies around the world. Copilot for Microsoft 365 is unlocking workplace productivity like never before, more than 10 million people use Edge each month to have the web Read Aloud, over 1 million people use Immersive Reader to make webpages easier to read and partners like Tobii Dynavox and Special Olympics are bringing AI to people with disabilities globally. And these are just some of the highlights of what we shared today!
Here’s a quick summary of the new accessibility products, features and programs announced at the 2025 Ability Summit.
What’s new in 2025?
We announced that the Xbox Adaptive Joystick is now available for purchase exclusively at Microsoft Store. With more than 429 million players with disabilities worldwide, we know each player has unique needs and preferences for how they choose to play. The Xbox Adaptive Joystick is a singular, wired controller primarily designed to meet the needs of players with limited mobility. Its versatility helps players seamlessly incorporate it into their existing gaming setups. Built with the Gaming and Disability community who inform the development of Xbox products from the beginning. The joystick joins our family of adaptive accessories including the mouse, pen, adaptive kit and Xbox Adaptive Controller. For more details visit Xbox Support.
And all our Microsoft hardware comes in packaging designed to be accessible and sustainable. No more plastic clamshells! To help others with accessible packaging, today at the Summit, the Packaging and Content Team at Microsoft published its Accessible Packaging Design Guide, which offers practical guidelines, best practices and strategies to create accessible packaging and foster a trusted customer experience.
At the Summit, Microsoft teams and partners also shared ways they are working to further advance accessibility through technology:
- Tobii Dynavox is integrating Microsoft Neural Voice, a capability of Azure AI Speech, into their assistive communication solutions. This AI-powered feature gives more personal options for individuals who use assistive communication devices using eye gaze. Neural Voices are available in over 50 languages within their apps TD Talk and TD Phone.
- Microsoft Teams will improve for those using Sign Language View. Later this year, Teams will be able to identify when someone is using sign language and feature them prominently as a speaker in the meeting. These video customizations are part of our ongoing product development to help deliver clear and accessible communication for everyone.
- Copilot is powering neurodiverse talent. Recently, an EY study found that Copilot helped 76% of neurodiverse employees perform better at work by enhancing communication, memory recall and focus. At the Summit, we shared how new simple features like Team Reflow and PowerPoint Designer are helping people do their work. See four early adopters of Copilot in New York share their stories.
- AI comes to Narrator. Rich image descriptions powered by AI will be coming to Narrator in Windows Insider Preview this spring and Azure AI Foundry announced new UI improvements to reduce cognitive load.
- Over 5 million learners around the world have participated in our Accessibility Skilling program and we’re grateful to our partners including Teach Access, Computacenter UK and the City of New York. The free, virtual training includes the latest on AI and is available for organizations to use in their learning management systems.
- Speech recognition improved up to 60%. The Speech Accessibility Project, led by the University of Illinois Urbana-Champaign, unlocked a breakthrough improving accuracy gains for non-standard speech, and the Azure platform team demonstrated how developers can leverage GitHub Copilot to write accessible code.
- Special Olympics shared how Copilot has been a game-changing training companion for their coaches and athletes with intellectual and development disabilities for the Special Olympics World Winter Games in Turin, Italy.
All this progress is possible because of the people who design technology with accessibility in mind. In this way, technology benefits everyone, creating a more productive and efficient workplace. It is beautiful to see that reflected in this profile of Dave Dame, Senior Director of Accessibility and Human Factors at Microsoft, where he shared how accessible technology helps him thrive as a leader.
Onward
For over 30 years, Microsoft has focused on accessibility in our products. Accessibility makes our tools and technologies easier for everyone and accelerates innovation for the world. From the introduction of Sticky Keys and speech recognition in Windows 95 to Seeing AI in 2016 and beyond, accessibility innovations have benefited people in ways we designed for and ways we could have never expected. Just think about how closed captions are now invaluable for everyone watching videos and calls.
AI has the potential to create significant advancements across every sector of our economy and society. We will continue to be grounded and responsible in our approach as we work to get the latest technology to the people who can benefit from it the most.
Whether this is your first or fifteenth Ability Summit, thank you for joining and we hope you picked up a new feature, skill or nugget that helps you, your community or your organization get the most out of technology. All content will be available to watch after the event.
Let’s move forward together.
The post Microsoft Ability Summit 2025: Accessibility in the AI era appeared first on The Official Microsoft Blog.
Today, we hosted the 15th annual Microsoft Ability Summit, with over 20,000 attendees from 164 countries coming together virtually to discuss the future of AI and accessibility. Microsoft has a long-standing commitment to investing in accessibility, grounded in our business model and going back over three decades from the earliest accessibility features in Windows 95…
The post Microsoft Ability Summit 2025: Accessibility in the AI era appeared first on The Official Microsoft Blog.Read More
How to create a row vector upto a particular distance with the help of a variable?
taking n=4 i could add a vector of elements value 7 to a previously defined B.
but when i use second expression for n=4 , error occurs?
Anyone could help?taking n=4 i could add a vector of elements value 7 to a previously defined B.
but when i use second expression for n=4 , error occurs?
Anyone could help? taking n=4 i could add a vector of elements value 7 to a previously defined B.
but when i use second expression for n=4 , error occurs?
Anyone could help? add vector elements to a vector matrix MATLAB Answers — New Questions
Inconsistency reading .mov video files
I have some .mov video files that I need to process. I use the "read" function to read them after creating the video object
vid = VideoReader([pathname videoID]);
numFrames = vid.NumFrames;
for frame = 1:numFrames
temp_frame = read(vid,frame);
end
I just do some image processing to each of the frames (temp_frame) and save the results that I am interested in.
Everything works fine. However, if I run the same exact code in another computer, the intensity of each temp_frame is considerably different. For instance, if I run just that piece of code on computer1 (Windows 11 pro) the mean, max and min image intensity values are 0.9615, 1 and 0.7098 respectively, and in computer 2 (Windows 11 Home) the mean, max and min image intensity values are 0.9920, 1 and 0.7569.
Does anyone know the reason of this discrepancy and how can I solve it?
Thank you in advance.I have some .mov video files that I need to process. I use the "read" function to read them after creating the video object
vid = VideoReader([pathname videoID]);
numFrames = vid.NumFrames;
for frame = 1:numFrames
temp_frame = read(vid,frame);
end
I just do some image processing to each of the frames (temp_frame) and save the results that I am interested in.
Everything works fine. However, if I run the same exact code in another computer, the intensity of each temp_frame is considerably different. For instance, if I run just that piece of code on computer1 (Windows 11 pro) the mean, max and min image intensity values are 0.9615, 1 and 0.7098 respectively, and in computer 2 (Windows 11 Home) the mean, max and min image intensity values are 0.9920, 1 and 0.7569.
Does anyone know the reason of this discrepancy and how can I solve it?
Thank you in advance. I have some .mov video files that I need to process. I use the "read" function to read them after creating the video object
vid = VideoReader([pathname videoID]);
numFrames = vid.NumFrames;
for frame = 1:numFrames
temp_frame = read(vid,frame);
end
I just do some image processing to each of the frames (temp_frame) and save the results that I am interested in.
Everything works fine. However, if I run the same exact code in another computer, the intensity of each temp_frame is considerably different. For instance, if I run just that piece of code on computer1 (Windows 11 pro) the mean, max and min image intensity values are 0.9615, 1 and 0.7098 respectively, and in computer 2 (Windows 11 Home) the mean, max and min image intensity values are 0.9920, 1 and 0.7569.
Does anyone know the reason of this discrepancy and how can I solve it?
Thank you in advance. video processing, image processing, videoreader, read MATLAB Answers — New Questions
How to fix error 5201?
"Hello, I’m having an issue with installing MATLAB. It used to work fine on my computer, but one day it updated and I couldn’t open it. I restarted the computer, downloaded other versions, and I keep getting error 5201 constantly. What is the cause of this? How can I fix it?"Hello, I’m having an issue with installing MATLAB. It used to work fine on my computer, but one day it updated and I couldn’t open it. I restarted the computer, downloaded other versions, and I keep getting error 5201 constantly. What is the cause of this? How can I fix it? "Hello, I’m having an issue with installing MATLAB. It used to work fine on my computer, but one day it updated and I couldn’t open it. I restarted the computer, downloaded other versions, and I keep getting error 5201 constantly. What is the cause of this? How can I fix it? error 5201, installation MATLAB Answers — New Questions
Error 5201. Installation not associated with my account.
I have installed MatLab and associated my academic license but when I try to open it I get the message ‘Error 5201’. I have tried to solve it following the steps indicated in ‘Help’ – reinstall it, disable antivirus and firewall – but it doesn’t work. According to MathWorks there are no activations: the installation is not associated to my account. However I have the application on my computer and the folder with all the corresponding files including the license and executables.
I don’t know how to continue at this point.I have installed MatLab and associated my academic license but when I try to open it I get the message ‘Error 5201’. I have tried to solve it following the steps indicated in ‘Help’ – reinstall it, disable antivirus and firewall – but it doesn’t work. According to MathWorks there are no activations: the installation is not associated to my account. However I have the application on my computer and the folder with all the corresponding files including the license and executables.
I don’t know how to continue at this point. I have installed MatLab and associated my academic license but when I try to open it I get the message ‘Error 5201’. I have tried to solve it following the steps indicated in ‘Help’ – reinstall it, disable antivirus and firewall – but it doesn’t work. According to MathWorks there are no activations: the installation is not associated to my account. However I have the application on my computer and the folder with all the corresponding files including the license and executables.
I don’t know how to continue at this point. error 5201, activations, installation, licensing MATLAB Answers — New Questions
Figures are not saving as the correct size when put into a PDF
Please, I would appreciate any help as I have been stuck on this question for days. I have coded a loop that takes images from a folder and puts them in a 2×2 table and automatically numbers them. It creates a figure with the four images on it. It repeats this process until all the images have been used. Then it creates a PDF with all the figures saved, e.g. one figure of four images per page. My issue is, I need the figures to be in the centre of a landscape page, with white space margins around this. Currently, the images look fine on the figure display when you run the code, but when I open up the PDF, they take up the entire page and leave no margin space. I’ll insert two images of what I currently get, and what I need to produce. I would be so so appreciative of anyone that can help me please. Each image needs to be 10cm width by 7cm height on a landscape page in the final PDF.
Coding is not my strongest suit so I apologise if I have mistakenly used the wrong terminology. Thank you in advance.
Here’s the relevant parts of my code.
% Define the desired figure size in inches
figureWidth = 11.7; % Total width of the figure in inches
figureHeight = 8.3; % Total height of the figure in inches
% Define the desired image size in centimeters
imageWidth_cm = 10; % Width of each image in centimeters
imageHeight_cm = 7.5; % Height of each image in centimeters
% Convert image size from centimeters to inches
imageWidth_inch = imageWidth_cm / 2.54; % Convert cm to inches
imageHeight_inch = imageHeight_cm / 2.54; % Convert cm to inches
% Define the spacing between images (in inches)
horizontalSpacing = 0.5; % Spacing between images horizontally
verticalSpacing = 0.5; % Spacing between images vertically
% Calculate the total width and height required for the 2×2 grid
totalWidth = 2 * imageWidth_inch + horizontalSpacing;
totalHeight = 2 * imageHeight_inch + verticalSpacing;
% Calculate the left and bottom margins to center the grid
leftMargin = (figureWidth – totalWidth) / 2;
bottomMargin = (figureHeight – totalHeight) / 2;
% Initialize a cell array to store figure handles
figures = cell(numTables, 1);
% Calculate the position of the subplot
subplotX = leftMargin + mod(i – 1, 2) * (imageWidth_inch + horizontalSpacing);
subplotY = bottomMargin + floor((i – 1) / 2) * (imageHeight_inch + verticalSpacing);
% Create a subplot for each image
axes(‘Position’, [subplotX / figureWidth, subplotY / figureHeight, imageWidth_inch / figureWidth, imageHeight_inch / figureHeight]);
imshow(img);
axis off;
% Save the figure as a high-resolution image
outputFileName = fullfile(outputFolder, [‘Figure_’, num2str(tableIdx), ‘.png’]);
exportgraphics(fig, outputFileName, ‘Resolution’, 300);
outputPDF = fullfile(outputFolder, ‘output.pdf’); % Define the output PDF file
for i = 1:numTables
% Export the figure to the PDF
exportgraphics(figures{i}, outputPDF, ‘Resolution’, 300, ‘Append’, i > 1, ‘ContentType’, ‘vector’, ‘Padding’, 0.5);
endPlease, I would appreciate any help as I have been stuck on this question for days. I have coded a loop that takes images from a folder and puts them in a 2×2 table and automatically numbers them. It creates a figure with the four images on it. It repeats this process until all the images have been used. Then it creates a PDF with all the figures saved, e.g. one figure of four images per page. My issue is, I need the figures to be in the centre of a landscape page, with white space margins around this. Currently, the images look fine on the figure display when you run the code, but when I open up the PDF, they take up the entire page and leave no margin space. I’ll insert two images of what I currently get, and what I need to produce. I would be so so appreciative of anyone that can help me please. Each image needs to be 10cm width by 7cm height on a landscape page in the final PDF.
Coding is not my strongest suit so I apologise if I have mistakenly used the wrong terminology. Thank you in advance.
Here’s the relevant parts of my code.
% Define the desired figure size in inches
figureWidth = 11.7; % Total width of the figure in inches
figureHeight = 8.3; % Total height of the figure in inches
% Define the desired image size in centimeters
imageWidth_cm = 10; % Width of each image in centimeters
imageHeight_cm = 7.5; % Height of each image in centimeters
% Convert image size from centimeters to inches
imageWidth_inch = imageWidth_cm / 2.54; % Convert cm to inches
imageHeight_inch = imageHeight_cm / 2.54; % Convert cm to inches
% Define the spacing between images (in inches)
horizontalSpacing = 0.5; % Spacing between images horizontally
verticalSpacing = 0.5; % Spacing between images vertically
% Calculate the total width and height required for the 2×2 grid
totalWidth = 2 * imageWidth_inch + horizontalSpacing;
totalHeight = 2 * imageHeight_inch + verticalSpacing;
% Calculate the left and bottom margins to center the grid
leftMargin = (figureWidth – totalWidth) / 2;
bottomMargin = (figureHeight – totalHeight) / 2;
% Initialize a cell array to store figure handles
figures = cell(numTables, 1);
% Calculate the position of the subplot
subplotX = leftMargin + mod(i – 1, 2) * (imageWidth_inch + horizontalSpacing);
subplotY = bottomMargin + floor((i – 1) / 2) * (imageHeight_inch + verticalSpacing);
% Create a subplot for each image
axes(‘Position’, [subplotX / figureWidth, subplotY / figureHeight, imageWidth_inch / figureWidth, imageHeight_inch / figureHeight]);
imshow(img);
axis off;
% Save the figure as a high-resolution image
outputFileName = fullfile(outputFolder, [‘Figure_’, num2str(tableIdx), ‘.png’]);
exportgraphics(fig, outputFileName, ‘Resolution’, 300);
outputPDF = fullfile(outputFolder, ‘output.pdf’); % Define the output PDF file
for i = 1:numTables
% Export the figure to the PDF
exportgraphics(figures{i}, outputPDF, ‘Resolution’, 300, ‘Append’, i > 1, ‘ContentType’, ‘vector’, ‘Padding’, 0.5);
end Please, I would appreciate any help as I have been stuck on this question for days. I have coded a loop that takes images from a folder and puts them in a 2×2 table and automatically numbers them. It creates a figure with the four images on it. It repeats this process until all the images have been used. Then it creates a PDF with all the figures saved, e.g. one figure of four images per page. My issue is, I need the figures to be in the centre of a landscape page, with white space margins around this. Currently, the images look fine on the figure display when you run the code, but when I open up the PDF, they take up the entire page and leave no margin space. I’ll insert two images of what I currently get, and what I need to produce. I would be so so appreciative of anyone that can help me please. Each image needs to be 10cm width by 7cm height on a landscape page in the final PDF.
Coding is not my strongest suit so I apologise if I have mistakenly used the wrong terminology. Thank you in advance.
Here’s the relevant parts of my code.
% Define the desired figure size in inches
figureWidth = 11.7; % Total width of the figure in inches
figureHeight = 8.3; % Total height of the figure in inches
% Define the desired image size in centimeters
imageWidth_cm = 10; % Width of each image in centimeters
imageHeight_cm = 7.5; % Height of each image in centimeters
% Convert image size from centimeters to inches
imageWidth_inch = imageWidth_cm / 2.54; % Convert cm to inches
imageHeight_inch = imageHeight_cm / 2.54; % Convert cm to inches
% Define the spacing between images (in inches)
horizontalSpacing = 0.5; % Spacing between images horizontally
verticalSpacing = 0.5; % Spacing between images vertically
% Calculate the total width and height required for the 2×2 grid
totalWidth = 2 * imageWidth_inch + horizontalSpacing;
totalHeight = 2 * imageHeight_inch + verticalSpacing;
% Calculate the left and bottom margins to center the grid
leftMargin = (figureWidth – totalWidth) / 2;
bottomMargin = (figureHeight – totalHeight) / 2;
% Initialize a cell array to store figure handles
figures = cell(numTables, 1);
% Calculate the position of the subplot
subplotX = leftMargin + mod(i – 1, 2) * (imageWidth_inch + horizontalSpacing);
subplotY = bottomMargin + floor((i – 1) / 2) * (imageHeight_inch + verticalSpacing);
% Create a subplot for each image
axes(‘Position’, [subplotX / figureWidth, subplotY / figureHeight, imageWidth_inch / figureWidth, imageHeight_inch / figureHeight]);
imshow(img);
axis off;
% Save the figure as a high-resolution image
outputFileName = fullfile(outputFolder, [‘Figure_’, num2str(tableIdx), ‘.png’]);
exportgraphics(fig, outputFileName, ‘Resolution’, 300);
outputPDF = fullfile(outputFolder, ‘output.pdf’); % Define the output PDF file
for i = 1:numTables
% Export the figure to the PDF
exportgraphics(figures{i}, outputPDF, ‘Resolution’, 300, ‘Append’, i > 1, ‘ContentType’, ‘vector’, ‘Padding’, 0.5);
end pdf, size, image, figure, output, merge MATLAB Answers — New Questions
Updating Email Addresses After Removing Domains
The Microsoft 365 Admin Center Makes It Easy to Remove Domains
I’ve been cleaning up the set of accepted domains configured for my Microsoft 365 tenant. After we launched the Office 365 for IT Pros eBook, I acquired several domains like Office365ExchangeBook.com that seemed to be relevant to the book. Years later and the office365itpros.com domain persists with a large legacy of published articles and scripts. No real advantage has been gained from the other domains, so the decision was taken to drop the unwanted domains and remove them from Microsoft 365.
Removing a domain is easier than adding a domain. Go to the Domains section (under Settings), select the unwanted domain, and select Remove domain from the menu. This method works for vanity domains (the type that you pay domain registrars to own) but not for fallback or service domains used for MOERA addresses.
When you use the Microsoft 365 admin center to remove a domain, the portal thoughtfully shows the mail-enabled objects that will be affected by the removal (Figure 1). You can then remove any proxy addresses assigned to the highlighted objects that use the domains.

The Problem of PowerShell
But sometimes you might remove a domain with the Remove-AcceptedDomain cmdlet and so lose the benefit of the checks performed by the Microsoft 365 admin center. This is fair enough because if you make changes to a tenant configuration through PowerShell, you should understand the consequences of the action. I wish I did…
If you forget to adjust email addresses for objects affected by the domain removal, you’ll see errors like this when attempting to update an address:
Set-UnifiedGroup -Identity c38ef1e1-1957-4e5f-bcde-1eae7bb234f3 -PrimarySmtpAddress 'Soccer.Fans@office365itpros.com' Set-UnifiedGroup: ||You can't use the domain Office365ExchangeBook.com because it's not an accepted domain for your organization.
Quite reasonably, the cmdlet complains that it can’t update the primary SMTP address for the Microsoft 365 group because it’s detected an invalid entry in the set of proxy addresses. To correct the issue, we need to find all the mail-enabled objects that has primary or proxy addresses that use the removed domain and remove or replace the offending addresses.
The PowerShell Solution
You can download the script I used from the Office 365 for IT Pros GitHub repository. Essentially, the script breaks down into three parts. First, the script retrieves the current set of accepted domains and identifies the default domain:
[array]$Domains = Get-AcceptedDomain $PrimaryDomain = $Domains | Where-Object { $_.Default -eq $true } | Select-Object -ExpandProperty DomainName [array]$Domains = $Domains | Select-Object -ExpandProperty DomainName
Second, the script checks mailboxes, Microsoft 365 groups, distribution groups, and dynamic distribution groups to find instances where proxy addresses don’t belong to an accepted domain. The details of the affected objects are recorded in a list. Here’s how the script deals with mailboxes:
Write-Host "Checking mailboxes..." [array]$Mailboxes = Get-ExoMailbox -ResultSize Unlimited -RecipientTypeDetails UserMailbox, SharedMailbox, RoomMailbox, EquipmentMailbox, discoveryMailbox ForEach ($Mailbox in $Mailboxes) { $ExternalAddresses = $Mailbox.EmailAddresses | Where-Object { $_ -like "SMTP:*" -and ($_.Split(':')[1].Split('@')[1] -notin $Domains) } If ($ExternalAddresses) { $ReportLine = [PSCustomObject][Ordered]@{ DisplayName = $Mailbox.DisplayName PrimarySmtpAddress = $Mailbox.PrimarySmtpAddress EmailAddresses = $ExternalAddresses -join ", " Type = "mailbox" Identity = $Mailbox.Alias } $Report.Add($ReportLine) } }
Finally, each of the objects found by checking proxy addresses against accepted domains is processed to remove any bad proxy addresses and assign new primary SMTP addresses where necessary.
Not Perfect Code
I don’t pretend that this script is perfect code. All I can say is that it did the job for me and cleaned up primary and proxy addresses for my tenant and might therefore be useful to others in the same situation. What this experience goes to prove is that sometimes executing clean-up operations is better done through the GUI where you can take advantage of the work done by engineers to anticipate what needs to be done after adjustments are made to a tenant.
Support the work of the Office 365 for IT Pros team by subscribing to the Office 365 for IT Pros eBook. Your support pays for the time we need to track, analyze, and document the changing world of Microsoft 365 and Office 365.
how can I switc between three systems of ODEs basing on the value of the second solution of each system, and repeat the cycle ?
I have three systems of differential equations, each systemt consists of ten equations, and the first system has initial conditions.
I want to automate the solution and switching between these systems where:
When the value of the second solution of the first system reaches a certain value (symbolised by T_b), the solution of the first system stops and the solution of the second system begins, whose initial conditions are the final conditions of the first system.
When the value of the second solution of the second system reaches a value less than T_b, the solution of the second system stops and the solution of the third system starts, whose initial conditions are the final conditions of the second system.
when finish this , repeat the cycle untill finishin the time spane (200 hours).I have three systems of differential equations, each systemt consists of ten equations, and the first system has initial conditions.
I want to automate the solution and switching between these systems where:
When the value of the second solution of the first system reaches a certain value (symbolised by T_b), the solution of the first system stops and the solution of the second system begins, whose initial conditions are the final conditions of the first system.
When the value of the second solution of the second system reaches a value less than T_b, the solution of the second system stops and the solution of the third system starts, whose initial conditions are the final conditions of the second system.
when finish this , repeat the cycle untill finishin the time spane (200 hours). I have three systems of differential equations, each systemt consists of ten equations, and the first system has initial conditions.
I want to automate the solution and switching between these systems where:
When the value of the second solution of the first system reaches a certain value (symbolised by T_b), the solution of the first system stops and the solution of the second system begins, whose initial conditions are the final conditions of the first system.
When the value of the second solution of the second system reaches a value less than T_b, the solution of the second system stops and the solution of the third system starts, whose initial conditions are the final conditions of the second system.
when finish this , repeat the cycle untill finishin the time spane (200 hours). switch, odes system MATLAB Answers — New Questions
Unable to Extract Numbers Using OCR Despite Performing Image Processing
I have images from a screen recording from which I am trying extract certain text and numbers.
I then crop the regions of interest (ROI) and proceed to resize the image from each ROI. Finally I apply various processing techniques such as filtering, adaptive histogram equalization, masking, binarization and morphological operations as shown below.
My code is shared as under
function [final_frame,point_cloud_block_values] = block_extractor_v10(img)
%% Define Region of Interest
a0 = 25;
for dd = 1:25
a_n(dd) = a0+45*(dd-1);
end
roi_matrix = [360.*ones(25,1),a_n’,67.*ones(25,1),32.*ones(25,1)];
roi3 = [111.51,1099.51,172.98,43.98]; %Final frame name
point_cloud_block_values = zeros(25,1);
for gg = 1:25
I2 = imcrop(img,roi_matrix(gg,:));
I3 = imresize(I2,[33*63,68*68]);
txt1 = ocr(I3,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
if isempty(temp)||txt1.TextLineConfidences <0.5
txt1 = ocr(I2,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
if isempty(temp)||txt1.TextLineConfidences <0.5
I3 = imresize(I2,[33*70,68*80]);
txt1 = ocr(I3,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
end
end
if isempty(temp)||temp>12000
I3_average1 = rgb2gray(I3);
mask = I3_average1 < 60;
mask = imclose(mask, true(9, 5));
txt1 = ocr(mask,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
if isempty(temp)
txt1 = ocr(I2,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
end
end
if isempty(temp)||size(temp,1)>1
I3_average1 = rgb2gray(I3);
I3_filt = medfilt2(I3_average1);
I3_filt = adapthisteq(I3_filt);
se = strel(‘disk’,1);
I3_filt = imopen(I3_filt,se);
I3_filt = imbinarize(I3_filt);
txt1 = ocr(I3_filt,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
end
point_cloud_block_values(gg) = temp;
end
txt3 = ocr(img,roi3,CharacterSet="_aeFmr0123456789",LayoutAnalysis="line");
if length(point_cloud_block_values) ~=25
error(‘The length of each block must be 25’)
end
final_frame = txt3.Words;
final_frame = char(final_frame);
end
However, I am unable to get 100% accuracy in text detection as there are several instances where the text is incorrectly identified by OCR as shown below.
I have uploaded the entire image database on my my google drive. Please adviseI have images from a screen recording from which I am trying extract certain text and numbers.
I then crop the regions of interest (ROI) and proceed to resize the image from each ROI. Finally I apply various processing techniques such as filtering, adaptive histogram equalization, masking, binarization and morphological operations as shown below.
My code is shared as under
function [final_frame,point_cloud_block_values] = block_extractor_v10(img)
%% Define Region of Interest
a0 = 25;
for dd = 1:25
a_n(dd) = a0+45*(dd-1);
end
roi_matrix = [360.*ones(25,1),a_n’,67.*ones(25,1),32.*ones(25,1)];
roi3 = [111.51,1099.51,172.98,43.98]; %Final frame name
point_cloud_block_values = zeros(25,1);
for gg = 1:25
I2 = imcrop(img,roi_matrix(gg,:));
I3 = imresize(I2,[33*63,68*68]);
txt1 = ocr(I3,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
if isempty(temp)||txt1.TextLineConfidences <0.5
txt1 = ocr(I2,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
if isempty(temp)||txt1.TextLineConfidences <0.5
I3 = imresize(I2,[33*70,68*80]);
txt1 = ocr(I3,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
end
end
if isempty(temp)||temp>12000
I3_average1 = rgb2gray(I3);
mask = I3_average1 < 60;
mask = imclose(mask, true(9, 5));
txt1 = ocr(mask,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
if isempty(temp)
txt1 = ocr(I2,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
end
end
if isempty(temp)||size(temp,1)>1
I3_average1 = rgb2gray(I3);
I3_filt = medfilt2(I3_average1);
I3_filt = adapthisteq(I3_filt);
se = strel(‘disk’,1);
I3_filt = imopen(I3_filt,se);
I3_filt = imbinarize(I3_filt);
txt1 = ocr(I3_filt,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
end
point_cloud_block_values(gg) = temp;
end
txt3 = ocr(img,roi3,CharacterSet="_aeFmr0123456789",LayoutAnalysis="line");
if length(point_cloud_block_values) ~=25
error(‘The length of each block must be 25’)
end
final_frame = txt3.Words;
final_frame = char(final_frame);
end
However, I am unable to get 100% accuracy in text detection as there are several instances where the text is incorrectly identified by OCR as shown below.
I have uploaded the entire image database on my my google drive. Please advise I have images from a screen recording from which I am trying extract certain text and numbers.
I then crop the regions of interest (ROI) and proceed to resize the image from each ROI. Finally I apply various processing techniques such as filtering, adaptive histogram equalization, masking, binarization and morphological operations as shown below.
My code is shared as under
function [final_frame,point_cloud_block_values] = block_extractor_v10(img)
%% Define Region of Interest
a0 = 25;
for dd = 1:25
a_n(dd) = a0+45*(dd-1);
end
roi_matrix = [360.*ones(25,1),a_n’,67.*ones(25,1),32.*ones(25,1)];
roi3 = [111.51,1099.51,172.98,43.98]; %Final frame name
point_cloud_block_values = zeros(25,1);
for gg = 1:25
I2 = imcrop(img,roi_matrix(gg,:));
I3 = imresize(I2,[33*63,68*68]);
txt1 = ocr(I3,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
if isempty(temp)||txt1.TextLineConfidences <0.5
txt1 = ocr(I2,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
if isempty(temp)||txt1.TextLineConfidences <0.5
I3 = imresize(I2,[33*70,68*80]);
txt1 = ocr(I3,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
end
end
if isempty(temp)||temp>12000
I3_average1 = rgb2gray(I3);
mask = I3_average1 < 60;
mask = imclose(mask, true(9, 5));
txt1 = ocr(mask,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
if isempty(temp)
txt1 = ocr(I2,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
end
end
if isempty(temp)||size(temp,1)>1
I3_average1 = rgb2gray(I3);
I3_filt = medfilt2(I3_average1);
I3_filt = adapthisteq(I3_filt);
se = strel(‘disk’,1);
I3_filt = imopen(I3_filt,se);
I3_filt = imbinarize(I3_filt);
txt1 = ocr(I3_filt,CharacterSet="0123456789",LayoutAnalysis="line");
temp = str2double(txt1.Words);
end
point_cloud_block_values(gg) = temp;
end
txt3 = ocr(img,roi3,CharacterSet="_aeFmr0123456789",LayoutAnalysis="line");
if length(point_cloud_block_values) ~=25
error(‘The length of each block must be 25’)
end
final_frame = txt3.Words;
final_frame = char(final_frame);
end
However, I am unable to get 100% accuracy in text detection as there are several instances where the text is incorrectly identified by OCR as shown below.
I have uploaded the entire image database on my my google drive. Please advise ocr, image processing, textscan MATLAB Answers — New Questions
Error: Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
Hey guys
I’ve written some code to compute cost function at various theta, as follows:
h = X * theta;
J = [1/(2*m)] * sum[(h-y).^2];
All variables have been defined. Upon running the code above, I’m getting the following error message:
Error: Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
I have no experience with Matlab, so any help would be appreciated!
ThanksHey guys
I’ve written some code to compute cost function at various theta, as follows:
h = X * theta;
J = [1/(2*m)] * sum[(h-y).^2];
All variables have been defined. Upon running the code above, I’m getting the following error message:
Error: Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
I have no experience with Matlab, so any help would be appreciated!
Thanks Hey guys
I’ve written some code to compute cost function at various theta, as follows:
h = X * theta;
J = [1/(2*m)] * sum[(h-y).^2];
All variables have been defined. Upon running the code above, I’m getting the following error message:
Error: Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
I have no experience with Matlab, so any help would be appreciated!
Thanks error MATLAB Answers — New Questions
I have an excel file with 5 columns X1/X2/X3/X4/X5 how to I plot 4 plots (X1,X2;X1,X3;X1;X4;X1;X5) on the same figure using the subplot command.
Do I use xlsreadDo I use xlsread Do I use xlsread subplot MATLAB Answers — New Questions
Facilitator Agent Brings AI-Powered Notetaking to Teams Chat
Facilitator Agent Extracts Value from Teams Chat
In an article last month, I discussed why Microsoft 365 Copilot works better for some people than it does for others. The article is based on a blog by Abram Jackson, a program manager working on Microsoft 365 Copilot, and one of the points he makes is that AI fails when it doesn’t have the right data to process. This is why Copilot is so good at summarizing a bounded set of data such as a Teams meeting transcript or email thread and less good at other tasks.
Which brings me to a new bounded AI use in the Teams Facilitator “collaborative communication” agent (see message center notification MC1017117, last updated 10 March 2025, Microsoft 365 roadmap item 476811). The agent has been available in targeted release and is heading for general availability in April 2025. Facilitator is available for meetings and chats, but here I focus on chats because this is an area where AI hasn’t ventured before. According to Microsoft, “the Facilitator creates and maintains an up-to-date summary of important information as the conversation happens, including key decisions, actions items, and open questions to resolve.”
The administrator documentation and user documentation and doesn’t need to be repeating here. Essentially, you’ll need a Microsoft 365 Copilot license to use Facilitator (otherwise known as AI Notes). Note generation is supported for English now with support for more languages in the pipeline.
Control over who can use Facilitator is exerted by allowing people access to the Facilitator app in the Teams admin center. Microsoft says that after general availability, the app is enabled by default and can be used in chats by enabling the AI Notes option (click the icon to the right of the Copilot icon). Let’s see what happens.
Using AI Notes in a Chat
When a chat starts, it’s an empty thread and there’s nothing for AI to process. In fact, AI cannot process information until it has sufficient data to understand what’s happening. This is what’s happening in Figure 1. Facilitator is enabled for the chat but only three messages are in the thread and that’s not enough.

This isn’t a problem because the intention behind Facilitator is that it will help chat participants understand what’s been discussed in a thread. It’s easy to understand the conversation after three messages. It’s much more difficult to do so after a hundred messages in a fast-moving debate. The same situation occurs for Microsoft 365 Copilot in a Teams meeting where a certain amount of data must accumulate in the meeting transcript before Copilot becomes active.
As the chat develops, Facilitator begins to generate notes (Figure 2) to capture the major points raised in the chat, any decisions made, and any questions that remain unanswered. Facilitator updates the notes displayed in the pane periodically and highlights new information that a chat participant hasn’t seen. Like other Copilot implementations, reference numbers allow users to access the source for a note.

At the end of the chat, any of the chat participants can ask Facilitator a question by using an @Faciliator mention and entering the question (Figure 3).

Alternatively, a participant with access to the AI Notes can copy the notes and paste them into the chat. This is a good way to share AI Notes with chat participants who don’t have a Microsoft 365 Copilot license as those people cannot enable and view AI Notes for the chat.
External Participants Turn Off Facilitator
The Facilitator agent can’t be used in chats that involve external participants (guest users or external federated chats). This is likely because no mechanism is available in a chat to allow people to grant consent for their messages to be processed by an agent. When people join a meeting, they have the chance to grant consent for transcription, and it’s the transcript that’s used by Microsoft 365 Copilot to summarize the meeting or answer questions about the proceedings.
Facilitator is a Nice Tool to Have
I like Facilitator very much. It’s an example of focused application of AI LLMs to reason over a bounded set of data to generate results that works well in practice. Facilitator is not enough to justify the full price of a Microsoft 365 Copilot license, but it is step in the right direction and is a sign that we’re moving away from what some call the “party tricks” of Copilot to the implementation of some really useful tools.
Insight like this doesn’t come easily. You’ve got to know the technology and understand how to look behind the scenes. Benefit from the knowledge and experience of the Office 365 for IT Pros team by subscribing to the best eBook covering Office 365 and the wider Microsoft 365 ecosystem.
Supply Chain Security Risk: GitHub Action tj-actions/changed-files Compromised
On March 14th, 2025, security researchers discovered a critical software supply chain vulnerability in the widely-used GitHub Action tj-actions/changed-files
(CVE-2025-30066). This vulnerability allows remote attackers to expose CI/CD secrets via the action’s build logs. The issue affects users who rely on the tj-actions/changed-files
action in GitHub workflows to track changed files within a pull request.
Due to the compromised action, sensitive CI/CD secrets are being inadvertently logged in the GitHub Actions build logs. If these logs are publicly accessible, such as in public repositories, unauthorized users could access and retrieve the clear text secrets. However, there is no evidence suggesting that the exposed secrets were transmitted to any external network.
On March 14th, 2025, security researchers discovered a critical software supply chain vulnerability in the widely-used GitHub Action tj-actions/changed-files (CVE-2025-30066). This vulnerability allows remote attackers to expose CI/CD secrets via the action’s build logs. The issue affects users who rely on the tj-actions/changed-files action in GitHub workflows to track changed files within a pull request.
Due to the compromised action, sensitive CI/CD secrets are being inadvertently logged in the GitHub Actions build logs. If these logs are publicly accessible, such as in public repositories, unauthorized users could access and retrieve the clear text secrets. However, there is no evidence suggesting that the exposed secrets were transmitted to any external network.Read More