Month: July 2024
y-Label cut off by exportgraphics()
The description of the function exportgraphics says, that it produces a tightly cropped image. In my case it produces a tightly cropped PDF which is unfortunately a little bit too tight at the y-label. I tried rearranging the figure within the window, but exportgraphics does not change its output (which is the intended functionality). Unfortunately, in my case, this leads to a cut image.
The code:
set(groot,’defaultAxesFontName’,’PT Sans’)
p = figure(‘Position’, [455,503,879,400]);
ylabel(‘Label Example: i C’, ‘FontWeight’, ‘bold’)
set(gca, ‘FontSize’, 14)
exportgraphics(p,’label_example.pdf’,’BackgroundColor’,’none’,’ContentType’,’vector’);
produces a slightly cut off y-label as you can see in this picture:
The large C as well as the small i are cut off at the top. The font ‘PT Sans’ is only needed to produce the exact image, but the problem is also happening with other fonts. At the other borders of my figure exportgraphics adds a small white space, as I would expect. This only happens for the y-label.
If you need further information, please comment and I will try to give it to you as soon as possible. Thanks in advance for the help.
Best regards
StefanThe description of the function exportgraphics says, that it produces a tightly cropped image. In my case it produces a tightly cropped PDF which is unfortunately a little bit too tight at the y-label. I tried rearranging the figure within the window, but exportgraphics does not change its output (which is the intended functionality). Unfortunately, in my case, this leads to a cut image.
The code:
set(groot,’defaultAxesFontName’,’PT Sans’)
p = figure(‘Position’, [455,503,879,400]);
ylabel(‘Label Example: i C’, ‘FontWeight’, ‘bold’)
set(gca, ‘FontSize’, 14)
exportgraphics(p,’label_example.pdf’,’BackgroundColor’,’none’,’ContentType’,’vector’);
produces a slightly cut off y-label as you can see in this picture:
The large C as well as the small i are cut off at the top. The font ‘PT Sans’ is only needed to produce the exact image, but the problem is also happening with other fonts. At the other borders of my figure exportgraphics adds a small white space, as I would expect. This only happens for the y-label.
If you need further information, please comment and I will try to give it to you as soon as possible. Thanks in advance for the help.
Best regards
Stefan The description of the function exportgraphics says, that it produces a tightly cropped image. In my case it produces a tightly cropped PDF which is unfortunately a little bit too tight at the y-label. I tried rearranging the figure within the window, but exportgraphics does not change its output (which is the intended functionality). Unfortunately, in my case, this leads to a cut image.
The code:
set(groot,’defaultAxesFontName’,’PT Sans’)
p = figure(‘Position’, [455,503,879,400]);
ylabel(‘Label Example: i C’, ‘FontWeight’, ‘bold’)
set(gca, ‘FontSize’, 14)
exportgraphics(p,’label_example.pdf’,’BackgroundColor’,’none’,’ContentType’,’vector’);
produces a slightly cut off y-label as you can see in this picture:
The large C as well as the small i are cut off at the top. The font ‘PT Sans’ is only needed to produce the exact image, but the problem is also happening with other fonts. At the other borders of my figure exportgraphics adds a small white space, as I would expect. This only happens for the y-label.
If you need further information, please comment and I will try to give it to you as soon as possible. Thanks in advance for the help.
Best regards
Stefan exportgraphics MATLAB Answers — New Questions
accelerate 3D matrix multiptication using bsxfun
Hi
I have athe following code
it takes forever to run, and disable my CPU in the prosess…
I’m looking for a way to make it run better (GPU is also an option)
norm_mode is 256×256 double matrix (X,Y) image
fields is 16384×15 complex double matrix (time,mode)
in the end’ I need a 3D matrix take each norm_mode image will also be a function for time and suming all the modes- 3D matrix 256x256x16384
that is the total_field
do you have any sugestions on how to make it run better?
Thanks,
Barak
function total_field = BuildSpatialField(fields,fiber, sim, others)
total_field = zeros( newSize, newSize, length(others.t) ); % total_field(X,Y,t)
h = waitbar(0, ‘calculate field…’);
for ii=1:others.modes
norm_mode = % load new phi
tmp = bsxfun(@times, norm_mode, reshape(fields(:,ii),1,1,[]));
total_field = total_field + tmp;
waitbar(ii/others.modes, h, [‘mode ‘ num2str(ii) ‘ from ‘ num2str(others.modes)]);
end
close(h);
endHi
I have athe following code
it takes forever to run, and disable my CPU in the prosess…
I’m looking for a way to make it run better (GPU is also an option)
norm_mode is 256×256 double matrix (X,Y) image
fields is 16384×15 complex double matrix (time,mode)
in the end’ I need a 3D matrix take each norm_mode image will also be a function for time and suming all the modes- 3D matrix 256x256x16384
that is the total_field
do you have any sugestions on how to make it run better?
Thanks,
Barak
function total_field = BuildSpatialField(fields,fiber, sim, others)
total_field = zeros( newSize, newSize, length(others.t) ); % total_field(X,Y,t)
h = waitbar(0, ‘calculate field…’);
for ii=1:others.modes
norm_mode = % load new phi
tmp = bsxfun(@times, norm_mode, reshape(fields(:,ii),1,1,[]));
total_field = total_field + tmp;
waitbar(ii/others.modes, h, [‘mode ‘ num2str(ii) ‘ from ‘ num2str(others.modes)]);
end
close(h);
end Hi
I have athe following code
it takes forever to run, and disable my CPU in the prosess…
I’m looking for a way to make it run better (GPU is also an option)
norm_mode is 256×256 double matrix (X,Y) image
fields is 16384×15 complex double matrix (time,mode)
in the end’ I need a 3D matrix take each norm_mode image will also be a function for time and suming all the modes- 3D matrix 256x256x16384
that is the total_field
do you have any sugestions on how to make it run better?
Thanks,
Barak
function total_field = BuildSpatialField(fields,fiber, sim, others)
total_field = zeros( newSize, newSize, length(others.t) ); % total_field(X,Y,t)
h = waitbar(0, ‘calculate field…’);
for ii=1:others.modes
norm_mode = % load new phi
tmp = bsxfun(@times, norm_mode, reshape(fields(:,ii),1,1,[]));
total_field = total_field + tmp;
waitbar(ii/others.modes, h, [‘mode ‘ num2str(ii) ‘ from ‘ num2str(others.modes)]);
end
close(h);
end bsxfun, acceleration MATLAB Answers — New Questions
Little brown boxes in my icons (and Dropbox) despite clicking “Always keep on device” in OneNote
I’m seeing little brown boxes in the corners of many of my icons, even with files inside my DropBox folder. I know this is caused by OneNote. I clicked on my OneNote folder and selected “Always Keep Files on this Device” but the brown boxes are still appearing, even inside Dropbox, which is weird because they are not cloud folders. Can one interfere with the other? Is there a way to fix this?
I’m seeing little brown boxes in the corners of many of my icons, even with files inside my DropBox folder. I know this is caused by OneNote. I clicked on my OneNote folder and selected “Always Keep Files on this Device” but the brown boxes are still appearing, even inside Dropbox, which is weird because they are not cloud folders. Can one interfere with the other? Is there a way to fix this? Read More
I need a best Windows 11 password reset/recovery tool – any suggestions?
I recently encountered a tricky problem, and I hope that friends here can help me. I accidentally forgot the login password of my Windows 11 computer, and now I can’t log into the system at all. I have tried several traditional methods to reset or recover Windows forgotten password, such as using security questions and reset disks, but none of them worked. I wonder if there is a good Windows 11 password reset or recovery tool USB that can help me solve this problem.
If you have a recommended tool or know an effective method, please let me know. I really need help in this regard, and hope to find a simple and safe tool to solve my login problem. Thank you very much for your help!
I recently encountered a tricky problem, and I hope that friends here can help me. I accidentally forgot the login password of my Windows 11 computer, and now I can’t log into the system at all. I have tried several traditional methods to reset or recover Windows forgotten password, such as using security questions and reset disks, but none of them worked. I wonder if there is a good Windows 11 password reset or recovery tool USB that can help me solve this problem. If you have a recommended tool or know an effective method, please let me know. I really need help in this regard, and hope to find a simple and safe tool to solve my login problem. Thank you very much for your help! Read More
how to close an UIFigure from a second app
Hello !
Using app designer, I’ve created an application (app1) which, when I press a button (button1), opens a second application (app2). In app1, I also have a second button (button2) which, when pressed, opens a third app (app3). In app3, I have a button which, when pressed, executes a code and when it’s finished, I’d like the code to close not only app3 but also app2. I’ve managed to close app3, but my problem is with closing app2.
In app1 and app3, I declared the app2 handle (app2handle) as a public property. However, in app3, when I use the line:
delete(app.app2handle);
app2 doesn’t close.
The same line of code in app1, closes app2.
How can I do this?Hello !
Using app designer, I’ve created an application (app1) which, when I press a button (button1), opens a second application (app2). In app1, I also have a second button (button2) which, when pressed, opens a third app (app3). In app3, I have a button which, when pressed, executes a code and when it’s finished, I’d like the code to close not only app3 but also app2. I’ve managed to close app3, but my problem is with closing app2.
In app1 and app3, I declared the app2 handle (app2handle) as a public property. However, in app3, when I use the line:
delete(app.app2handle);
app2 doesn’t close.
The same line of code in app1, closes app2.
How can I do this? Hello !
Using app designer, I’ve created an application (app1) which, when I press a button (button1), opens a second application (app2). In app1, I also have a second button (button2) which, when pressed, opens a third app (app3). In app3, I have a button which, when pressed, executes a code and when it’s finished, I’d like the code to close not only app3 but also app2. I’ve managed to close app3, but my problem is with closing app2.
In app1 and app3, I declared the app2 handle (app2handle) as a public property. However, in app3, when I use the line:
delete(app.app2handle);
app2 doesn’t close.
The same line of code in app1, closes app2.
How can I do this? appdesigner MATLAB Answers — New Questions
How.to.complain.against a.Navi.loan?
Contact Navi Customer Service::heavy_check_mark:0911388-9057,, Reach out to Navi’s customer service team either by phone, email, or through their website’s customer support portal. Explain the issue you are facing with your loan and request to file a formal complaint.
Submit a Written Complaint: Follow up your verbal complaint with a written complaint. This can be done by sending a letter or email to Navi’s customer service or complaints department. Clearly state the details of your issue, any relevant documentation, and the resolution you are seeking.
Escalate to Navi’s Grievance Redressal Officer: If your complaint is not satisfactorily resolved by the customer service team, you can escalate it to Navi’s Grievance Redressal Officer. Their contact details should be available on Navi’s website or provided to you.
File a Complaint with the RBI: If Navi does not address your complaint within a reasonable time or you are not satisfied with their response, you can file a complaint with the Reserve Bank of India (RBI) Consumer Education and Protection Department. You can do this through the RBI Complaint Management System.
Approach the Banking Ombudsman: If the RBI is unable to resolve your complaint, you can approach the Banking Ombudsman, which is an independent dispute resolution authority set up by the RBI. The Ombudsman can help mediate and resolve your complaint against Navi.
Remember to keep copies of all your communication and documentation related to the complaint. This will help strengthen your case if the matter needs to be escalated further. Stay persistent and follow the proper channels to get your issue r
esolved.
Contact Navi Customer Service::heavy_check_mark:0911388-9057,, Reach out to Navi’s customer service team either by phone, email, or through their website’s customer support portal. Explain the issue you are facing with your loan and request to file a formal complaint. Submit a Written Complaint: Follow up your verbal complaint with a written complaint. This can be done by sending a letter or email to Navi’s customer service or complaints department. Clearly state the details of your issue, any relevant documentation, and the resolution you are seeking. Escalate to Navi’s Grievance Redressal Officer: If your complaint is not satisfactorily resolved by the customer service team, you can escalate it to Navi’s Grievance Redressal Officer. Their contact details should be available on Navi’s website or provided to you. File a Complaint with the RBI: If Navi does not address your complaint within a reasonable time or you are not satisfied with their response, you can file a complaint with the Reserve Bank of India (RBI) Consumer Education and Protection Department. You can do this through the RBI Complaint Management System. Approach the Banking Ombudsman: If the RBI is unable to resolve your complaint, you can approach the Banking Ombudsman, which is an independent dispute resolution authority set up by the RBI. The Ombudsman can help mediate and resolve your complaint against Navi.Remember to keep copies of all your communication and documentation related to the complaint. This will help strengthen your case if the matter needs to be escalated further. Stay persistent and follow the proper channels to get your issue resolved. Read More
I do not want automatic back up to OneDrive
Often, when I click on a folder inside my Documents folder, the folder appears to be presented in the OneDirve folder and/or suggests that I back up to OneDrive. I only want to back up selected folders/files. When I go to the Sync and Backup folder and I unselect all folders, I am not allowed to save changes. At least one folder must be selected to save changes.
The situation is annoying. How do only backup folders/files (inside the Documents folder) manually and eliminate the backup prompt described above?
Thanks in advance.
Often, when I click on a folder inside my Documents folder, the folder appears to be presented in the OneDirve folder and/or suggests that I back up to OneDrive. I only want to back up selected folders/files. When I go to the Sync and Backup folder and I unselect all folders, I am not allowed to save changes. At least one folder must be selected to save changes. The situation is annoying. How do only backup folders/files (inside the Documents folder) manually and eliminate the backup prompt described above? Thanks in advance. Read More
Mastering Video Editing in Microsoft Apps with Wink
Wink Video Retouching is a handy tool that works smoothly with Microsoft apps like PowerPoint, Word, and Teams. It helps you make videos look better by adding filters, adjusting colors, and making transitions smoother—all right within these familiar programs you already use. This makes editing videos easier and ensures your presentations, documents, and projects look more professional and polished. The simple design and powerful features of Wink Mod APK mean anyone can use it to make their videos stand out, whether for school, work, or just having fun with friends.
Wink Video Retouching is a handy tool that works smoothly with Microsoft apps like PowerPoint, Word, and Teams. It helps you make videos look better by adding filters, adjusting colors, and making transitions smoother—all right within these familiar programs you already use. This makes editing videos easier and ensures your presentations, documents, and projects look more professional and polished. The simple design and powerful features of Wink Mod APK mean anyone can use it to make their videos stand out, whether for school, work, or just having fun with friends. Read More
How to solve this differential equation? I got ”Warning: Unable to find symbolic solution.” error. What am I missing ?
T=200;
W=37.65;
W=17.4;
FC=400/240/2;
d0=0.005;
C=0.16099608;
curve=10;
hmax=30e3;
g0=9.8;
R=315000;
syms H(t)
ode =diff(H,t,2) == -d0*(exp(-curve*H/hmax)-exp(-curve))*C*diff(H,t,1)^2/(W-t*FC)*9.8-g0/(1+H/R)^2+T/(W-t*FC)*9.8;
hSol(t) = dsolve(ode)T=200;
W=37.65;
W=17.4;
FC=400/240/2;
d0=0.005;
C=0.16099608;
curve=10;
hmax=30e3;
g0=9.8;
R=315000;
syms H(t)
ode =diff(H,t,2) == -d0*(exp(-curve*H/hmax)-exp(-curve))*C*diff(H,t,1)^2/(W-t*FC)*9.8-g0/(1+H/R)^2+T/(W-t*FC)*9.8;
hSol(t) = dsolve(ode) T=200;
W=37.65;
W=17.4;
FC=400/240/2;
d0=0.005;
C=0.16099608;
curve=10;
hmax=30e3;
g0=9.8;
R=315000;
syms H(t)
ode =diff(H,t,2) == -d0*(exp(-curve*H/hmax)-exp(-curve))*C*diff(H,t,1)^2/(W-t*FC)*9.8-g0/(1+H/R)^2+T/(W-t*FC)*9.8;
hSol(t) = dsolve(ode) differential equations, code MATLAB Answers — New Questions
Boundary Extraction Issue Using Image Restoration Techniques
Hi, I’m working on extracting boundary points from an image, but the output appears inverted. How can I correctly extract boundary points so the image restoration matches the original orientation? Here’s my current MATLAB code:
clear all;
img = imread(‘parol.png’); % Replace with your image file
grayImg = rgb2gray(img); % Convert to grayscale
bwImg = imbinarize(grayImg); % Convert to binary image
% Invert the binary image if necessary
bwImg = imcomplement(bwImg);
% Fill holes in the binary image
bwImg = imfill(bwImg, ‘holes’);
% Get boundary points
boundaries = bwboundaries(bwImg);
% Extract the main boundary points
boundaryPoints = boundaries{1};
% Plot the boundary points
figure;
subplot(1,2,1)
imshow(img);
subplot(1,2,2)
plot(boundaryPoints(:,2), boundaryPoints(:,1), ‘r’, ‘LineWidth’, 2);
hold off;
daspect([1 1 1]);
Thanks!Hi, I’m working on extracting boundary points from an image, but the output appears inverted. How can I correctly extract boundary points so the image restoration matches the original orientation? Here’s my current MATLAB code:
clear all;
img = imread(‘parol.png’); % Replace with your image file
grayImg = rgb2gray(img); % Convert to grayscale
bwImg = imbinarize(grayImg); % Convert to binary image
% Invert the binary image if necessary
bwImg = imcomplement(bwImg);
% Fill holes in the binary image
bwImg = imfill(bwImg, ‘holes’);
% Get boundary points
boundaries = bwboundaries(bwImg);
% Extract the main boundary points
boundaryPoints = boundaries{1};
% Plot the boundary points
figure;
subplot(1,2,1)
imshow(img);
subplot(1,2,2)
plot(boundaryPoints(:,2), boundaryPoints(:,1), ‘r’, ‘LineWidth’, 2);
hold off;
daspect([1 1 1]);
Thanks! Hi, I’m working on extracting boundary points from an image, but the output appears inverted. How can I correctly extract boundary points so the image restoration matches the original orientation? Here’s my current MATLAB code:
clear all;
img = imread(‘parol.png’); % Replace with your image file
grayImg = rgb2gray(img); % Convert to grayscale
bwImg = imbinarize(grayImg); % Convert to binary image
% Invert the binary image if necessary
bwImg = imcomplement(bwImg);
% Fill holes in the binary image
bwImg = imfill(bwImg, ‘holes’);
% Get boundary points
boundaries = bwboundaries(bwImg);
% Extract the main boundary points
boundaryPoints = boundaries{1};
% Plot the boundary points
figure;
subplot(1,2,1)
imshow(img);
subplot(1,2,2)
plot(boundaryPoints(:,2), boundaryPoints(:,1), ‘r’, ‘LineWidth’, 2);
hold off;
daspect([1 1 1]);
Thanks! image processing, boundary point MATLAB Answers — New Questions
I cant make a formula in sheet 2 using data in sheet 1.
I cant make a formula in sheet 2 using data from parts of sheet 1 . Some parts of sheet one I can but other parts of the same sheet I cant. When try to in part of sheet 1 one the cursor goese feom + to an arrow head.
I cant make a formula in sheet 2 using data from parts of sheet 1 . Some parts of sheet one I can but other parts of the same sheet I cant. When try to in part of sheet 1 one the cursor goese feom + to an arrow head. Read More
How To Map Context Key Now That WIN-C Is Disabled
So, I got used to calling Co-Pilot from my Surface Laptop Studio 2 with my remapped Context Key via PowerToys. After a recent update, this no longer works and through research, it said that WIN-C has been depreciated.
How can I re-map it to my ContextKey now?
So, I got used to calling Co-Pilot from my Surface Laptop Studio 2 with my remapped Context Key via PowerToys. After a recent update, this no longer works and through research, it said that WIN-C has been depreciated. How can I re-map it to my ContextKey now? Read More
मीशो में कस्टमर केयर कैसे कॉल करें?
. मीशो के साथ शिकायत दर्ज करने के लिए,7890,607-806 आप इन चरणों का पालन कर सकते हैं: ग्राहक सहायता से संपर्क करें: ➐➏➑➋➒➑➌➍➊➋… प्रासंगिक विवरण प्रदान करें: ग्राहक सहायता से संपर्क करते समय, उन्हें अपनी शिकायत से संबंधित सभी आवश्यक विवरण प्रदान करें।
. मीशो के साथ शिकायत दर्ज करने के लिए,7890,607-806 आप इन चरणों का पालन कर सकते हैं: ग्राहक सहायता से संपर्क करें: ➐➏➑➋➒➑➌➍➊➋… प्रासंगिक विवरण प्रदान करें: ग्राहक सहायता से संपर्क करते समय, उन्हें अपनी शिकायत से संबंधित सभी आवश्यक विवरण प्रदान करें। Read More
Make a plot with gradient shaded confidence intervals
Dear all,
I would like to fill the red shaded area in the plot below using a gradient fill (ideally with a jet colormap), so that the area between the blue line and the upper red dashed line goes from red to blue and the area between the blue line and the lower red dashed line goes from red to blue.
x = Data(:,1);
y = Data(:,2);
y10 = Data(:,3);
y90 = Data(:,4);
figure
plot(x, y, ‘b’, ‘LineWidth’, 2);
hold on;
plot(x, y10, ‘–r’);
plot(x, y90, ‘–r’);
fill([x; flipud(x)], [y10; flipud(y90)], ‘r’,…
‘FaceAlpha’, 0.1, ‘EdgeColor’, ‘none’);
hold off;
legend(‘Median’, ’10th-90th Percentiles’, ‘Location’, ‘best’);
grid on;
Just to give an idea, something like this (without color steps but with a gradient fill):
I have tried myself, but I can’t really find a nice (and fast) solution.
I have attched the Data file.
Any help would be grately appreciated!Dear all,
I would like to fill the red shaded area in the plot below using a gradient fill (ideally with a jet colormap), so that the area between the blue line and the upper red dashed line goes from red to blue and the area between the blue line and the lower red dashed line goes from red to blue.
x = Data(:,1);
y = Data(:,2);
y10 = Data(:,3);
y90 = Data(:,4);
figure
plot(x, y, ‘b’, ‘LineWidth’, 2);
hold on;
plot(x, y10, ‘–r’);
plot(x, y90, ‘–r’);
fill([x; flipud(x)], [y10; flipud(y90)], ‘r’,…
‘FaceAlpha’, 0.1, ‘EdgeColor’, ‘none’);
hold off;
legend(‘Median’, ’10th-90th Percentiles’, ‘Location’, ‘best’);
grid on;
Just to give an idea, something like this (without color steps but with a gradient fill):
I have tried myself, but I can’t really find a nice (and fast) solution.
I have attched the Data file.
Any help would be grately appreciated! Dear all,
I would like to fill the red shaded area in the plot below using a gradient fill (ideally with a jet colormap), so that the area between the blue line and the upper red dashed line goes from red to blue and the area between the blue line and the lower red dashed line goes from red to blue.
x = Data(:,1);
y = Data(:,2);
y10 = Data(:,3);
y90 = Data(:,4);
figure
plot(x, y, ‘b’, ‘LineWidth’, 2);
hold on;
plot(x, y10, ‘–r’);
plot(x, y90, ‘–r’);
fill([x; flipud(x)], [y10; flipud(y90)], ‘r’,…
‘FaceAlpha’, 0.1, ‘EdgeColor’, ‘none’);
hold off;
legend(‘Median’, ’10th-90th Percentiles’, ‘Location’, ‘best’);
grid on;
Just to give an idea, something like this (without color steps but with a gradient fill):
I have tried myself, but I can’t really find a nice (and fast) solution.
I have attched the Data file.
Any help would be grately appreciated! plotting, plot, colormap, graph, graphics, matlab MATLAB Answers — New Questions
Coloring area between two graphs in specific interval
Hi,
I have a plot that looks as shown and would like to color specific areas of it. In the blue graph, I would like shade the area of the minimum, so roughly between 100 < x < 115 and up to y = 0.45 (the area below the baseline).
I had no success doing this using a linear function and the inBetween and fill functions.
Thanks a lot,
ChrisHi,
I have a plot that looks as shown and would like to color specific areas of it. In the blue graph, I would like shade the area of the minimum, so roughly between 100 < x < 115 and up to y = 0.45 (the area below the baseline).
I had no success doing this using a linear function and the inBetween and fill functions.
Thanks a lot,
Chris Hi,
I have a plot that looks as shown and would like to color specific areas of it. In the blue graph, I would like shade the area of the minimum, so roughly between 100 < x < 115 and up to y = 0.45 (the area below the baseline).
I had no success doing this using a linear function and the inBetween and fill functions.
Thanks a lot,
Chris integral, area coloring MATLAB Answers — New Questions
I want to calculate basic reproduction number, how to make 6×6 matrix and also how to add different parameter
My basic reproduction number includes certain mathematical symbols which I am not able to write in matlab programming, how will I be able to calculate basic reproduction number? In other words how to code R0My basic reproduction number includes certain mathematical symbols which I am not able to write in matlab programming, how will I be able to calculate basic reproduction number? In other words how to code R0 My basic reproduction number includes certain mathematical symbols which I am not able to write in matlab programming, how will I be able to calculate basic reproduction number? In other words how to code R0 basic reproduction number MATLAB Answers — New Questions
Finding Unique Values
Hi Magicians!
Column B of Sheet 1 in the attached file contains the data exported from an accounting software. The Ledger Account Names are separated by Carriage Return (Alt+Enter) character. The last line is Narration, which is also separated using Carriage Return.
What I am trying to do is to create a single dynamic formula which derives a list of Unique Ledger Account Names used in the entire range. Narration line is to be ignored.
I am using Excel 365.
Regards
Kanwaljit
@Peter Bartholomew@djclements@Sergei Baklan Hi Magicians!Column B of Sheet 1 in the attached file contains the data exported from an accounting software. The Ledger Account Names are separated by Carriage Return (Alt+Enter) character. The last line is Narration, which is also separated using Carriage Return. What I am trying to do is to create a single dynamic formula which derives a list of Unique Ledger Account Names used in the entire range. Narration line is to be ignored. I am using Excel 365. RegardsKanwaljit Read More
about the starData.mat
Can anyone please tell how to download starData.mat file on pc. and please post the content of that file if possible I am unable to download it.Can anyone please tell how to download starData.mat file on pc. and please post the content of that file if possible I am unable to download it. Can anyone please tell how to download starData.mat file on pc. and please post the content of that file if possible I am unable to download it. stardata MATLAB Answers — New Questions
Reschdule out of order task
Hello everyone
Recently, I encountered a problem in my rescheduling, I have activities which started earlier than their predecessors, and after rescheduling they reschedule as retained logic, when i uncheck split task in option menu, msp ignores them compeletly and wont reschdule their remaining work in my new date, how can i make msp reschdule task remaining work without retaining their network logic?
Hello everyoneRecently, I encountered a problem in my rescheduling, I have activities which started earlier than their predecessors, and after rescheduling they reschedule as retained logic, when i uncheck split task in option menu, msp ignores them compeletly and wont reschdule their remaining work in my new date, how can i make msp reschdule task remaining work without retaining their network logic? Read More
Lesson Learned #506:Why Custom DNS Returns Public IP Instead of Private IP Azure Private Endpoints
These days, I was working on a simulation to understand why custom DNS servers resolve the public IP instead of the private IP when using Azure Private Endpoints.
Here, I would like to share some lessons learned about this topic.
We have many definitions on how to configure DNS servers, create Forward Zones, Conditional Forwards, Forwarders, etc., for the DNS database.windows.net to resolve the private IP of the Azure SQL Server Private Endpoint.
Lessons Learned
During several tests, I found that when we define the Private Endpoint configuration for Azure SQL Server, it is crucial to include the Azure Private DNS Zone.
DNS Server Without Forward Zone for database.windows.net:
If my DNS server has not defined database.windows.net in its Forward Zone, it will automatically try to query other DNS servers. Depending on the situation, these external DNS servers could reply with the public IP.
Busy DNS Server or Timeout Issues:
If my DNS server has defined database.windows.net in its Forward Zone but is very busy or times out, it might still try to query other DNS servers. Disabling recursion on our custom DNS server could prevent this, but it might impact other necessary resolutions, such as those used for redirection. Again, depending on the situation, these external servers could reply with the public IP.
Using Azure DNS IP (168.63.129.16) as the Last DNS Server:
In some scenarios, I included Azure DNS IP 168.63.129.16 as the last DNS server. Depending on how DNS requests are processed, sometimes the client machine uses 168.63.129.16 to resolve the IP. If I do not have the Azure Private DNS Zone defined, it will return the public IP.
Recommendations
Given these scenarios, I would like to suggest configuring the Azure Private DNS Zone even when using Conditional Forwards and custom DNS configurations.
When the DNS server that processes the request is 168.63.129.16, it will first check if there is an Azure Private DNS Zone. If one is defined, it will return the private IP instead of the public IP. Without the Azure Private DNS Zone, the IP returned will always be the public IP.
Microsoft Tech Community – Latest Blogs –Read More