Month: July 2024
Notepad corrupting accented letters in text files, showing as boxed question marks
Hello,
I work out of .txt files in Notepad and recently moved from a Windows 10 computer to a new one with Windows 11. Text files I’ve had for years with accented letters are now corrupted. Regardless of what character they were, they display in Notepad as boxed question marks. I didn’t notice until after I saved changes. When I open the same file or copy and paste the text elsewhere, the box carries over as a space. Naturally, I can’t search within the file for the character because it pastes in the field as a space.
These characters existed without issue for years in Notepad throughout previous versions of Windows. Because I’d been copying and pasting text into Notepad and saving, I know that some characters, such as in Japanese, Chinese, and Hungarian languages, were too much for the old Notepad to save without changing the default format, which I never did. I preferred to maintain a universal format for the text file for compatibility.
My language setting is and has always been English. I do not need or want to change it.
Opening the same file changing Encoding from Auto-Detect to ANSI or UTF-8 only changes the boxed question mark to a space. I don’t know how Microsoft could get this so wrong after so many decades.
I believe it’s too late to salvage all my accented characters in texts I’ve saved over, but how do I prevent this other than switching to another application?
Hello, I work out of .txt files in Notepad and recently moved from a Windows 10 computer to a new one with Windows 11. Text files I’ve had for years with accented letters are now corrupted. Regardless of what character they were, they display in Notepad as boxed question marks. I didn’t notice until after I saved changes. When I open the same file or copy and paste the text elsewhere, the box carries over as a space. Naturally, I can’t search within the file for the character because it pastes in the field as a space. These characters existed without issue for years in Notepad throughout previous versions of Windows. Because I’d been copying and pasting text into Notepad and saving, I know that some characters, such as in Japanese, Chinese, and Hungarian languages, were too much for the old Notepad to save without changing the default format, which I never did. I preferred to maintain a universal format for the text file for compatibility. My language setting is and has always been English. I do not need or want to change it. Opening the same file changing Encoding from Auto-Detect to ANSI or UTF-8 only changes the boxed question mark to a space. I don’t know how Microsoft could get this so wrong after so many decades. I believe it’s too late to salvage all my accented characters in texts I’ve saved over, but how do I prevent this other than switching to another application? Read More
Using Conditional Formatting to make a field blank if another field is blank
I have a document library where I would like one column (Reject) to be blank if another column (Reject Reason) is blank. Can I use conditional formatting to do this?
Here is my current JSON on the Reject column:
I have a document library where I would like one column (Reject) to be blank if another column (Reject Reason) is blank. Can I use conditional formatting to do this? Here is my current JSON on the Reject column: Read More
What’s New in Copilot for Sales – July 2024
Microsoft Copilot for Sales is reimagining sales. Integrated seamlessly into your daily tools across Microsoft 365 and Teams, Copilot for Sales harnesses the power of generative AI and customer data to keep sellers in their flow of work so they can spend more time with customers.
This month, we’re excited to bring capabilities to help sellers save time when collaborating with seamless sharing of key email info from Outlook to Teams, enable sellers to stay ahead of activities with meeting prep notes and recent emails, and enable sellers to receive suggested CRM updates in even more languages!
As always, we invite you to get started, learn more, and stay connected! See you next month!
Capabilities highlighted below are included in the July release of Copilot for Sales. It may take time for specific capabilities to reach every tenant in each market.
In Outlook
Share key email information easily from Outlook to Teams
Today, sellers face challenges in efficiently sharing crucial customer information received via Outlook with their sales team members on Teams. Currently, they resort to manual copying and pasting of information, searching for the appropriate recipient, and then initiating a chat or posting in the right channel on Teams to share it.
With this release, we’re introducing seamless sharing to Teams in the seller’s flow of work in Outlook to help sales teams quickly start a Teams discussion with up-to-date and relevant information that can move a deal forward. Now, sellers can:
Share key email information with their colleagues in Teams
Add preamble text before sharing
Review and modify key email info before sharing
Share to any location in Teams ─ with a person, in a group chat, or in a Teams channel
Find more details in our product documentation.
Full language support in suggested CRM updates
Sellers are busy and today updating information crucial for their businesses directly in their CRM requires manual work. Bringing the ability to update their CRM to the flow of work for quick updates, sellers can save time and be more efficient.
This month, we’re excited to announce the rollout of additional language support for suggested CRM updates. Prior to this release, four languages were supported; this expansion enables Copilot for Sales to provide suggested updates in ten languages* for:
Monetary value changes (like budgets, revenue, fees etc.)
Timeline changes
Stage progression changes for an opportunity.
* Discover all the details at our supported languages page.
The fields a seller can update depend on their CRM permissions as well as which editable fields are enabled by the admins. Calculate fields, and all other scenarios will deep link to their CRM.
In Teams
Stay ahead of activities with meeting prep notes and recent emails
Sellers and sales managers preparing for a meeting sift through vast amounts of data from a variety of sources, including their CRM, a time consuming and sometimes overwhelming activity. This can lead to information overload and potentially cause difficulty in prioritizing the most relevant details for their meeting.
We’re pleased to announce two new capabilities in our meeting prep to help both sellers and sales managers stay ahead of their most impactful activities! Starting with our July release:
A meeting prep card will be sent about an hour* before a meeting instead of just as the meeting starts. (admin configuration settings coming soon!)
Recent emails in meeting prep now contain information about the last 2 emails sharing the same external contacts who are participating in the meeting.
*card will appear 45-75 minutes prior to meeting start time
Get started
Ready to join us and other top-performing sales organizations worldwide? Reach out to your Microsoft sales team or visit our product web page.
Ready to install Copilot for Sales? Have a look at our deployment guide for Dynamics 365 Sales users or our deployment guide for Salesforce users.
Learn more
Ready for all the details? Check out the Copilot for Sales product documentation.
Ready for the latest tips…and more? Copilot for Sales Tip Time can serve as a foundation for your training of Copilot for Sales users, customers, or partners! This content includes use cases and demonstrates how each feature will benefit sellers, administrators, and sales managers.
Looking for the latest adoption resources? Visit the Copilot for Sales Adoption Center and find the latest information about how to go from inspiration to adoption.
Stay connected
Want to stay connected? Learn about the latest improvements before everyone else at https://aka.ms/salescopilotupdates. Join our community in the community discussion forum and we always welcome your feedback and ideas in our product feedback portal.
Microsoft Tech Community – Latest Blogs –Read More
Word inserting shapes disabled
I use the shapes feature (illustrations tap) inside Word for work to explain the designed layouts for a quick and easy reference for my team. Recently, when I click on a shape, it shows the list of options I can choose from, but when I hover my mouse over my document, the crosshairs that normally appear are not there. It is almost as if something is disabled for this particular feature. All the other illustrations’ features are functioning as normally; it is only the shapes. Furthermore, when I open a document that has shapes from a previous project, I can add more or edit existing shapes in any way. My word is up to date as of today, and really stumped on how to fix this,
Thank you in advance.
I use the shapes feature (illustrations tap) inside Word for work to explain the designed layouts for a quick and easy reference for my team. Recently, when I click on a shape, it shows the list of options I can choose from, but when I hover my mouse over my document, the crosshairs that normally appear are not there. It is almost as if something is disabled for this particular feature. All the other illustrations’ features are functioning as normally; it is only the shapes. Furthermore, when I open a document that has shapes from a previous project, I can add more or edit existing shapes in any way. My word is up to date as of today, and really stumped on how to fix this, Thank you in advance. Read More
Can I deploy a multiwindow app as a web app using MATLAB Web App Server?
This documentation page shows the workflow of creating a multiwindow app with the App Designer.
https://www.mathworks.com/help/matlab/creating_guis/creating-multiwindow-apps-in-app-designer.html
However, after successfully deploying and launching the app from the web app server, I get errors such as:
Web Apps does not support multiwindow apps
Or:
Error using errordlg (line 2)
Web Apps does not support errordlg.
Can I deploy a multiwindow app as a web app using MATLAB Web App Server?This documentation page shows the workflow of creating a multiwindow app with the App Designer.
https://www.mathworks.com/help/matlab/creating_guis/creating-multiwindow-apps-in-app-designer.html
However, after successfully deploying and launching the app from the web app server, I get errors such as:
Web Apps does not support multiwindow apps
Or:
Error using errordlg (line 2)
Web Apps does not support errordlg.
Can I deploy a multiwindow app as a web app using MATLAB Web App Server? This documentation page shows the workflow of creating a multiwindow app with the App Designer.
https://www.mathworks.com/help/matlab/creating_guis/creating-multiwindow-apps-in-app-designer.html
However, after successfully deploying and launching the app from the web app server, I get errors such as:
Web Apps does not support multiwindow apps
Or:
Error using errordlg (line 2)
Web Apps does not support errordlg.
Can I deploy a multiwindow app as a web app using MATLAB Web App Server? multiwindowapp, webapplimitations MATLAB Answers — New Questions
Word is not retaining pictures
When I save a picture from a website or save a document in Word when I try to attach to an email it opens as a text box not a picture. I have tried all I can find and nothing corrects it. I have been able in the past to retrieve the picture but recently it has had this issue.
When I save a picture from a website or save a document in Word when I try to attach to an email it opens as a text box not a picture. I have tried all I can find and nothing corrects it. I have been able in the past to retrieve the picture but recently it has had this issue. Read More
Parse and Create HTML in Azure Logic App
I’m working on the following Array:
I’m working on the following Array:“Jul. 11 2024 11:38 AM, A, B, C” r “Jul. 11 2024 11:38 AM ,A , B, C” r “Jul. 11 2024 11:38 AM ,A, B, C” r“ Jul. 11 2024 11:38 AM,A, B, C” r I need to email that array on the following HTML format. It seems like “Create HTML Table” doesn’t like Array. How can I convert the data above into the table below? DateSenderRecipientSubjectJul. 11 2024 11:38 AMABCJul. 11 2024 11:38 AMABCJul. 11 2024 11:38 AMABC Read More
how to get an Outline group to open downward
The default behavior for the +/- control of an outline group of rows is to be at the bottom of the group. E.g., if you group rows 1 through 5, the +/- is on row 6. When you want to collapse a group, you have to go to the bottom of the group (row 6) to click the minus. I want the +/- on the first row (the top) of the group. So if I’ve grouped rows 1-5, I would click on a control on row 1, not on row 6, and it would open downward.
Is this possible? I think I’ve seen it this way in the past, but I don’t know how to do it.
The default behavior for the +/- control of an outline group of rows is to be at the bottom of the group. E.g., if you group rows 1 through 5, the +/- is on row 6. When you want to collapse a group, you have to go to the bottom of the group (row 6) to click the minus. I want the +/- on the first row (the top) of the group. So if I’ve grouped rows 1-5, I would click on a control on row 1, not on row 6, and it would open downward. Is this possible? I think I’ve seen it this way in the past, but I don’t know how to do it. Read More
Pivot Table Summarize Values by Average Greyed Out
I am constructing a Recruitment Dashboard. One of the values I’m trying to include is the average for time to fill. Which is the time from the open date of a job to the close date of a job. When transferring this data over to the pivot table, it doesn’t provide the option to summarize values by average. It’s greyed out. The only option is count, which doesn’t do me any good.
I’ve done about all I can think to do. And nothings helped. I’m hoping someone has the answer out there. I’m also attaching the link to my workbook. Dashboard
I am constructing a Recruitment Dashboard. One of the values I’m trying to include is the average for time to fill. Which is the time from the open date of a job to the close date of a job. When transferring this data over to the pivot table, it doesn’t provide the option to summarize values by average. It’s greyed out. The only option is count, which doesn’t do me any good. I’ve done about all I can think to do. And nothings helped. I’m hoping someone has the answer out there. I’m also attaching the link to my workbook. Dashboard Read More
Formatting Feet and Inches in one cell
Hi all,
I am working with a spreadsheet of archived baseball team rosters (each year’s roster is contained as one sheet in the larger workbook). These were previously on paper, but are now being digitized.
The problem we are running into is with player heights (i.e. feet and inches). As you can see in the example screenshot below, heights have been typed in feet-inches format; for example the first player has a height of 5 feet, 11 inches.
However, Excel is formatting these as dates rather than heights (i.e. the first player is showing May 11 rather than simply 5-11). Although the values read correctly in this spreadsheet, it presents an issue when we ingest this data into our website, which is expecting heights in #-# format with feet and inches. Instead, for the first player the website is receiving 5/11/2023 and so on. Because of this the website disregards the height column for most players. The exception is anyone whose height doesn’t conflict with a date, for example 6 feet even (6-0).
If I change the column category to either General or Text, the values change to a random string of numbers.
Given that we have about 40 seasons worth of player rosters in this workbook, is there an efficient process that we could take this data and put it into a format suitable for importing (such as a simple 5-11, 6-3, etc)?
Thanks in advance for any insight, and happy to share additional context/details if needed.
Hi all, I am working with a spreadsheet of archived baseball team rosters (each year’s roster is contained as one sheet in the larger workbook). These were previously on paper, but are now being digitized. The problem we are running into is with player heights (i.e. feet and inches). As you can see in the example screenshot below, heights have been typed in feet-inches format; for example the first player has a height of 5 feet, 11 inches. However, Excel is formatting these as dates rather than heights (i.e. the first player is showing May 11 rather than simply 5-11). Although the values read correctly in this spreadsheet, it presents an issue when we ingest this data into our website, which is expecting heights in #-# format with feet and inches. Instead, for the first player the website is receiving 5/11/2023 and so on. Because of this the website disregards the height column for most players. The exception is anyone whose height doesn’t conflict with a date, for example 6 feet even (6-0). If I change the column category to either General or Text, the values change to a random string of numbers. Given that we have about 40 seasons worth of player rosters in this workbook, is there an efficient process that we could take this data and put it into a format suitable for importing (such as a simple 5-11, 6-3, etc)? Thanks in advance for any insight, and happy to share additional context/details if needed. Read More
Get singular sagittal slice from nifti file saved as axial slices
Hello, with the following code i’m able to retrieve a single axial slice from this nifti file of a lung CT scan. I would like to know how to be able to save a slice from another view, such as sagittal or coronal in a separate image format such at png or jpg for image processing.
L1 = load_nii(‘lung_029.nii’);
NumSlices = size(L1.img,3)
S = L1.img(:,:,125);
figure
imshow(S)
I’m using the image processing toolbox and tools for nifti and analyze image add ons.Hello, with the following code i’m able to retrieve a single axial slice from this nifti file of a lung CT scan. I would like to know how to be able to save a slice from another view, such as sagittal or coronal in a separate image format such at png or jpg for image processing.
L1 = load_nii(‘lung_029.nii’);
NumSlices = size(L1.img,3)
S = L1.img(:,:,125);
figure
imshow(S)
I’m using the image processing toolbox and tools for nifti and analyze image add ons. Hello, with the following code i’m able to retrieve a single axial slice from this nifti file of a lung CT scan. I would like to know how to be able to save a slice from another view, such as sagittal or coronal in a separate image format such at png or jpg for image processing.
L1 = load_nii(‘lung_029.nii’);
NumSlices = size(L1.img,3)
S = L1.img(:,:,125);
figure
imshow(S)
I’m using the image processing toolbox and tools for nifti and analyze image add ons. nifti, image processing, medical images MATLAB Answers — New Questions
Code not displaying figure
I was told to implement this code form a texbok, but it isn’t displaying figure like in textbook. Last lines separated by enter has display figure part
I prefer to keep it together as one code. I am very new to matlab.
close all
%image parameters
W = 400;
H = 400;
% object parameters
rho = 200;
A = 0.4;
B = 0.2;
alpha = pi /10;
xo = 0.3;
yo = 0.5;
% backprojection parameters
ntheta = 100;
srange = 2;
ns = 100;
function [P] = ellipseproj(A, B, rho, theta, s, alpha, xo, yo)
gamma = atan2(yo, xo);
d = sqrt( xo * xo + yo * yo);
thetanew = theta – alpha;
snew = s – d * cos(gamma – theta);
% use translated/rotated values
s = snew;
theta = thetanew;
% find a^2 (theta)
ct = cos(theta);
st = sin(theta);
a2 = A*A*ct*ct + B*B*st*st;
atheta = sqrt(a2);
% return value if outside ellipse
P = 0;
if( abs(s) <= atheta )
% inside ellipse
P = 2 * rho * A * B / a2 * sqrt(a2 – s * s);
end
end %added
function [projmat, svals, thetavals] = …
ellipseprojmat(A, B, ntheta, ns, srange, rho, alpha, xo, yo)
thetamin = 0;
thetamax = pi;
% each row is a projection at a certain angle
projmat = zeros(ntheta, ns);
smin = -srange;
smax = srange;
dtheta = pi/(ntheta – 1);
ds = (smax – smin)/(ns – 1);
svals = smin:ds:smax;
thetavals = thetamin:dtheta:thetamax;
pn = 1;
for theta = thetavals
% calculate all points on the projection line
P = zeros(ns, 1);
ip = 1;
for s = svals
% simple ellipse
[p] = ellipseproj(A, B, rho, theta, s, alpha, xo, yo);
P(ip) = p;
ip = ip + 1;
end
% save projection as one row of matrix
projmat(pn, 🙂 = P’;
pn = pn + 1;
end
end %added
function [b] = bpsolve(W, H, projmat, svals, thetavals)
ntheta = length(thetavals);
ns = length(svals);
srange = svals(ns);
b = zeros(H, W);
for iy = 1:H
for ix = 1:W
x = 2 * (ix – 1)/(W – 1) – 1;
y = 1 – 2 * (iy – 1)/(H – 1);
% projmat is the P values, each row is P(s) for a given theta
bsum = 0;
for itheta = 1:ntheta
theta = thetavals(itheta);
s =x*cos(theta) + y*sin(theta);
is = (s + srange)/(srange*2)*(ns – 1) + 1;
is = round(is);
if(is < 1)
is = 1;
end
if(is > ns)
is = ns;
end
Ptheta = projmat(itheta, is);
bsum = bsum + Ptheta;
end
b(iy, ix) = bsum;
end
end
% image parameters
W = 400;
H = 400;
% object parameters
% rho = 200;
A = 0.4;
B = 0.2;
alpha = pi/10;
xo = 0.3;
yo = 0.5;
% backprojection parameters
ntheta = 100;
srange = 2;
ns = 100;
% generate projections
[projmat, svals, thetavals] = …
ellipseprojmat(A, B, ntheta, ns, srange, rho, alpha, xo, yo); % solve using backprojection
[b] = bpsolve(W, H, projmat, svals, thetavals);
% scale for image display
b = b/max(max(b)); b = b*255;
bi = uint8(b);
figure(1);
clf
image(bi);
colormap(gray(256));
box(‘on’);
axis(‘off’);
shg;
saveas(gcf,’CompileData.png’);
end %addedI was told to implement this code form a texbok, but it isn’t displaying figure like in textbook. Last lines separated by enter has display figure part
I prefer to keep it together as one code. I am very new to matlab.
close all
%image parameters
W = 400;
H = 400;
% object parameters
rho = 200;
A = 0.4;
B = 0.2;
alpha = pi /10;
xo = 0.3;
yo = 0.5;
% backprojection parameters
ntheta = 100;
srange = 2;
ns = 100;
function [P] = ellipseproj(A, B, rho, theta, s, alpha, xo, yo)
gamma = atan2(yo, xo);
d = sqrt( xo * xo + yo * yo);
thetanew = theta – alpha;
snew = s – d * cos(gamma – theta);
% use translated/rotated values
s = snew;
theta = thetanew;
% find a^2 (theta)
ct = cos(theta);
st = sin(theta);
a2 = A*A*ct*ct + B*B*st*st;
atheta = sqrt(a2);
% return value if outside ellipse
P = 0;
if( abs(s) <= atheta )
% inside ellipse
P = 2 * rho * A * B / a2 * sqrt(a2 – s * s);
end
end %added
function [projmat, svals, thetavals] = …
ellipseprojmat(A, B, ntheta, ns, srange, rho, alpha, xo, yo)
thetamin = 0;
thetamax = pi;
% each row is a projection at a certain angle
projmat = zeros(ntheta, ns);
smin = -srange;
smax = srange;
dtheta = pi/(ntheta – 1);
ds = (smax – smin)/(ns – 1);
svals = smin:ds:smax;
thetavals = thetamin:dtheta:thetamax;
pn = 1;
for theta = thetavals
% calculate all points on the projection line
P = zeros(ns, 1);
ip = 1;
for s = svals
% simple ellipse
[p] = ellipseproj(A, B, rho, theta, s, alpha, xo, yo);
P(ip) = p;
ip = ip + 1;
end
% save projection as one row of matrix
projmat(pn, 🙂 = P’;
pn = pn + 1;
end
end %added
function [b] = bpsolve(W, H, projmat, svals, thetavals)
ntheta = length(thetavals);
ns = length(svals);
srange = svals(ns);
b = zeros(H, W);
for iy = 1:H
for ix = 1:W
x = 2 * (ix – 1)/(W – 1) – 1;
y = 1 – 2 * (iy – 1)/(H – 1);
% projmat is the P values, each row is P(s) for a given theta
bsum = 0;
for itheta = 1:ntheta
theta = thetavals(itheta);
s =x*cos(theta) + y*sin(theta);
is = (s + srange)/(srange*2)*(ns – 1) + 1;
is = round(is);
if(is < 1)
is = 1;
end
if(is > ns)
is = ns;
end
Ptheta = projmat(itheta, is);
bsum = bsum + Ptheta;
end
b(iy, ix) = bsum;
end
end
% image parameters
W = 400;
H = 400;
% object parameters
% rho = 200;
A = 0.4;
B = 0.2;
alpha = pi/10;
xo = 0.3;
yo = 0.5;
% backprojection parameters
ntheta = 100;
srange = 2;
ns = 100;
% generate projections
[projmat, svals, thetavals] = …
ellipseprojmat(A, B, ntheta, ns, srange, rho, alpha, xo, yo); % solve using backprojection
[b] = bpsolve(W, H, projmat, svals, thetavals);
% scale for image display
b = b/max(max(b)); b = b*255;
bi = uint8(b);
figure(1);
clf
image(bi);
colormap(gray(256));
box(‘on’);
axis(‘off’);
shg;
saveas(gcf,’CompileData.png’);
end %added I was told to implement this code form a texbok, but it isn’t displaying figure like in textbook. Last lines separated by enter has display figure part
I prefer to keep it together as one code. I am very new to matlab.
close all
%image parameters
W = 400;
H = 400;
% object parameters
rho = 200;
A = 0.4;
B = 0.2;
alpha = pi /10;
xo = 0.3;
yo = 0.5;
% backprojection parameters
ntheta = 100;
srange = 2;
ns = 100;
function [P] = ellipseproj(A, B, rho, theta, s, alpha, xo, yo)
gamma = atan2(yo, xo);
d = sqrt( xo * xo + yo * yo);
thetanew = theta – alpha;
snew = s – d * cos(gamma – theta);
% use translated/rotated values
s = snew;
theta = thetanew;
% find a^2 (theta)
ct = cos(theta);
st = sin(theta);
a2 = A*A*ct*ct + B*B*st*st;
atheta = sqrt(a2);
% return value if outside ellipse
P = 0;
if( abs(s) <= atheta )
% inside ellipse
P = 2 * rho * A * B / a2 * sqrt(a2 – s * s);
end
end %added
function [projmat, svals, thetavals] = …
ellipseprojmat(A, B, ntheta, ns, srange, rho, alpha, xo, yo)
thetamin = 0;
thetamax = pi;
% each row is a projection at a certain angle
projmat = zeros(ntheta, ns);
smin = -srange;
smax = srange;
dtheta = pi/(ntheta – 1);
ds = (smax – smin)/(ns – 1);
svals = smin:ds:smax;
thetavals = thetamin:dtheta:thetamax;
pn = 1;
for theta = thetavals
% calculate all points on the projection line
P = zeros(ns, 1);
ip = 1;
for s = svals
% simple ellipse
[p] = ellipseproj(A, B, rho, theta, s, alpha, xo, yo);
P(ip) = p;
ip = ip + 1;
end
% save projection as one row of matrix
projmat(pn, 🙂 = P’;
pn = pn + 1;
end
end %added
function [b] = bpsolve(W, H, projmat, svals, thetavals)
ntheta = length(thetavals);
ns = length(svals);
srange = svals(ns);
b = zeros(H, W);
for iy = 1:H
for ix = 1:W
x = 2 * (ix – 1)/(W – 1) – 1;
y = 1 – 2 * (iy – 1)/(H – 1);
% projmat is the P values, each row is P(s) for a given theta
bsum = 0;
for itheta = 1:ntheta
theta = thetavals(itheta);
s =x*cos(theta) + y*sin(theta);
is = (s + srange)/(srange*2)*(ns – 1) + 1;
is = round(is);
if(is < 1)
is = 1;
end
if(is > ns)
is = ns;
end
Ptheta = projmat(itheta, is);
bsum = bsum + Ptheta;
end
b(iy, ix) = bsum;
end
end
% image parameters
W = 400;
H = 400;
% object parameters
% rho = 200;
A = 0.4;
B = 0.2;
alpha = pi/10;
xo = 0.3;
yo = 0.5;
% backprojection parameters
ntheta = 100;
srange = 2;
ns = 100;
% generate projections
[projmat, svals, thetavals] = …
ellipseprojmat(A, B, ntheta, ns, srange, rho, alpha, xo, yo); % solve using backprojection
[b] = bpsolve(W, H, projmat, svals, thetavals);
% scale for image display
b = b/max(max(b)); b = b*255;
bi = uint8(b);
figure(1);
clf
image(bi);
colormap(gray(256));
box(‘on’);
axis(‘off’);
shg;
saveas(gcf,’CompileData.png’);
end %added figure MATLAB Answers — New Questions
Excel PivotTable Field Selection
Every time I select a field for a pivot table, the PivotTable Fields dialogue box collapses back to its original state. I’d like to select multiple fields without having to drill to the specific field folder each time. Is there a setting that controls this? The data source is an attached database.
Every time I select a field for a pivot table, the PivotTable Fields dialogue box collapses back to its original state. I’d like to select multiple fields without having to drill to the specific field folder each time. Is there a setting that controls this? The data source is an attached database. Read More
Power Automate for Paginated Reports
I am using a Power Automate to export a paginated report from Power BI and save the file to a SharePoint folder.
The flow runs perfectly, but when the file is created in the SharePoint folder, all of the headers are changed. The paginated file name is pre-pended to the header name. Because this file needs to have specific headers for import into another system, this is breaking the process.
What do I need to do to get the file with the headers as they appear in Power BI?
Actions:
I am using a Power Automate to export a paginated report from Power BI and save the file to a SharePoint folder. The flow runs perfectly, but when the file is created in the SharePoint folder, all of the headers are changed. The paginated file name is pre-pended to the header name. Because this file needs to have specific headers for import into another system, this is breaking the process. What do I need to do to get the file with the headers as they appear in Power BI? Actions: Read More
Using intune to create application desktop shortcuts
I’m trying to use intune to push an application shortcut to the public desktop. I created an lnk file and saved it to a shared network drive. I then wrote a powershell script to copy that file to a folder on the c drive of the pc and then form that folder to the public desktop. Here is the script
——————————————————————————————————————
#Create directory to hold icon file and copy file there
New-Item -Path “c:” -Name “scut” -ItemType “directory” -Force
Copy-Item “S:ShortcutsPS1 FilesFortinet IconFortiClientVPN.lnk” -Destination “c:scutFortiClientVPN.lnk”
$TargetFile = “c:scutFortiClientVPN.lnk”
$ShortcutFile = “$env:PublicDesktopFortiClientVPN.lnk”
$WScriptShell = New-Object -ComObject WScript.Shell
$Shortcut = $WScriptShell.CreateShortcut($ShortcutFile)
$Shortcut.TargetPath = $TargetFile
$Shortcut.Save()
————————————————————————————————————
I wrapped the script with intunewinapp utility and created a win32 app with the file. I use this as my install command. (forti2.ps1 is my original powershell file)
————————————————————————————————————–
powershell.exe -ExecutionPolicy Bypass -file forti2.ps1
—————————————————————————————————————
My detection rule is just a custom rule that looks for the file on the desktop. When the app runs I get
“The application was not detected after installation completed successfully (0x87D1041C)” error. Any ideas what I’m missing?
I’m trying to use intune to push an application shortcut to the public desktop. I created an lnk file and saved it to a shared network drive. I then wrote a powershell script to copy that file to a folder on the c drive of the pc and then form that folder to the public desktop. Here is the script ——————————————————————————————————————#Create directory to hold icon file and copy file thereNew-Item -Path “c:” -Name “scut” -ItemType “directory” -ForceCopy-Item “S:ShortcutsPS1 FilesFortinet IconFortiClientVPN.lnk” -Destination “c:scutFortiClientVPN.lnk”$TargetFile = “c:scutFortiClientVPN.lnk”$ShortcutFile = “$env:PublicDesktopFortiClientVPN.lnk”$WScriptShell = New-Object -ComObject WScript.Shell$Shortcut = $WScriptShell.CreateShortcut($ShortcutFile)$Shortcut.TargetPath = $TargetFile$Shortcut.Save() ————————————————————————————————————I wrapped the script with intunewinapp utility and created a win32 app with the file. I use this as my install command. (forti2.ps1 is my original powershell file)————————————————————————————————————–powershell.exe -ExecutionPolicy Bypass -file forti2.ps1 ————————————————————————————————————— My detection rule is just a custom rule that looks for the file on the desktop. When the app runs I get “The application was not detected after installation completed successfully (0x87D1041C)” error. Any ideas what I’m missing? Read More
NEW Level Up CSP | M365 & Copilot Sales and Technical Bootcamps!
Level Up your skills by joining us in the upcoming Microsoft 365 and Copilot bootcamps!
We are excited to announce our new FY25 Level Up CSP Bootcamps, that are built to help CSP partners grow sales and technical capabilities and accelerate new customer acquisition, upsell and cross sell. Join us for the upcoming Microsoft 365 and Copilot bootcamps to get ready to acquire, upsell and expand with M365 Premium SKUs, Copilot and Copilot Studio. Learn more by registering today!
Level Up CSP Sales Bootcamp
1-day sales Bootcamp: Get ready to go to market and sell Microsoft 365 and Copilot
Americas/EMEA region: August 28 | 8:00 AM – 12:00 PM, Pacific Time
APAC region: September 4 | 5:00 PM – 9:00 PM, Pacific Time
Who should attend: Sellers and sales managers
Level Up CSP Pre- and Post-Sales Technical Bootcamp
2-days technical bootcamp: Secure customers with Premium SKUs, deploy Copilot and extend with Copilot Studio
Americas/EMEA region: September 11 & 12 | 7:00 AM – 11:00 AM, Pacific Time
APAC region: September 18 & 19 | 5:00 PM – 9:00 PM, Pacific Time
Who should attend: Pre and post sales, IT admins and technical staff
Register at http://aka.ms/LevelUpCSPBootcamp
NEW! We will be offering voiceover and subtitles for ten languages to support our global CSP partners.
Level Up your skills by joining us in the upcoming Microsoft 365 and Copilot bootcamps!
We are excited to announce our new FY25 Level Up CSP Bootcamps, that are built to help CSP partners grow sales and technical capabilities and accelerate new customer acquisition, upsell and cross sell. Join us for the upcoming Microsoft 365 and Copilot bootcamps to get ready to acquire, upsell and expand with M365 Premium SKUs, Copilot and Copilot Studio. Learn more by registering today!
Level Up CSP Sales Bootcamp 1-day sales Bootcamp: Get ready to go to market and sell Microsoft 365 and Copilot
Americas/EMEA region: August 28 | 8:00 AM – 12:00 PM, Pacific Time
APAC region: September 4 | 5:00 PM – 9:00 PM, Pacific Time
Who should attend: Sellers and sales managers
Level Up CSP Pre- and Post-Sales Technical Bootcamp 2-days technical bootcamp: Secure customers with Premium SKUs, deploy Copilot and extend with Copilot Studio
Americas/EMEA region: September 11 & 12 | 7:00 AM – 11:00 AM, Pacific Time APAC region: September 18 & 19 | 5:00 PM – 9:00 PM, Pacific Time
Who should attend: Pre and post sales, IT admins and technical staff Register at http://aka.ms/LevelUpCSPBootcampNEW! We will be offering voiceover and subtitles for ten languages to support our global CSP partners. Read More
Extract the information of inside and outside of a contourf
Hello everyone,
I have a single line of code, quite simple, thanks to which I get (visually) exactly what I need:
h=figure; [pippo1, pippo2]=contourf(AZ,EL,FF, [0, 0]);
where the input arguments have size 301×301. The plot I get is like this:
As you can see, the outside of the contour is not only the big cyan area, but also some small areas in the white (not filled) polygon. I need the coordinates of the outside polygon (the whole cyan region) but I couldn’t extract them from either "h" or "pippo2". Please note, I DON’T NEED the coordinates of the single contours, because if I extract XDATA and YDATA they lose the information about "the inside" and the "outside". I need to extract, in some way, a single contour that represents the whole cyan area, and another one that represents the complementary (white) one.
Thanks a lot!Hello everyone,
I have a single line of code, quite simple, thanks to which I get (visually) exactly what I need:
h=figure; [pippo1, pippo2]=contourf(AZ,EL,FF, [0, 0]);
where the input arguments have size 301×301. The plot I get is like this:
As you can see, the outside of the contour is not only the big cyan area, but also some small areas in the white (not filled) polygon. I need the coordinates of the outside polygon (the whole cyan region) but I couldn’t extract them from either "h" or "pippo2". Please note, I DON’T NEED the coordinates of the single contours, because if I extract XDATA and YDATA they lose the information about "the inside" and the "outside". I need to extract, in some way, a single contour that represents the whole cyan area, and another one that represents the complementary (white) one.
Thanks a lot! Hello everyone,
I have a single line of code, quite simple, thanks to which I get (visually) exactly what I need:
h=figure; [pippo1, pippo2]=contourf(AZ,EL,FF, [0, 0]);
where the input arguments have size 301×301. The plot I get is like this:
As you can see, the outside of the contour is not only the big cyan area, but also some small areas in the white (not filled) polygon. I need the coordinates of the outside polygon (the whole cyan region) but I couldn’t extract them from either "h" or "pippo2". Please note, I DON’T NEED the coordinates of the single contours, because if I extract XDATA and YDATA they lose the information about "the inside" and the "outside". I need to extract, in some way, a single contour that represents the whole cyan area, and another one that represents the complementary (white) one.
Thanks a lot! outside and inside of contourf MATLAB Answers — New Questions
Code Generation from script file
I need information about tool box where I can generate code for SOC Estimations using MATLAB ODE solvers in (.m) Script file.I need information about tool box where I can generate code for SOC Estimations using MATLAB ODE solvers in (.m) Script file. I need information about tool box where I can generate code for SOC Estimations using MATLAB ODE solvers in (.m) Script file. bms MATLAB Answers — New Questions
用cec2022测试函数的mexw64文件运行时报出如下错误“Error: Cannot open M_1_D2.txt for reading Error: Cannot open shift_data_1.txt for reading Error: Cannot open M_2_D2.txt for reading ”
SearchAgents_no = 30;
Max_iter = 100;
for j = 1:12
[lb,ub,dim,fobj] = Get_Functions_cec2022(j,2);
[Best_Pos_PSA,Best_Score_PSA,Convergence_curve_PSA] = PSA(SearchAgents_no,Max_iter,lb,ub,dim,fobj);
endSearchAgents_no = 30;
Max_iter = 100;
for j = 1:12
[lb,ub,dim,fobj] = Get_Functions_cec2022(j,2);
[Best_Pos_PSA,Best_Score_PSA,Convergence_curve_PSA] = PSA(SearchAgents_no,Max_iter,lb,ub,dim,fobj);
end SearchAgents_no = 30;
Max_iter = 100;
for j = 1:12
[lb,ub,dim,fobj] = Get_Functions_cec2022(j,2);
[Best_Pos_PSA,Best_Score_PSA,Convergence_curve_PSA] = PSA(SearchAgents_no,Max_iter,lb,ub,dim,fobj);
end cec2022 MATLAB Answers — New Questions
How to restore example to default
I opened a Simulink example file and made modifications before thinking of making a working copy. Now I can’t get back to the original. How can I download it again from Mathworks?I opened a Simulink example file and made modifications before thinking of making a working copy. Now I can’t get back to the original. How can I download it again from Mathworks? I opened a Simulink example file and made modifications before thinking of making a working copy. Now I can’t get back to the original. How can I download it again from Mathworks? examples MATLAB Answers — New Questions