Month: August 2024
Reply-To’ Header Being Stripped in Office 365 Emails
Hi everyone, we are experiencing an issue where the “Reply-To” header in emails sent to our Exchanged hosted email account is being stripped. This behaviour started on the 7th of August, seemingly for reasons we haven’t been able to isolate.
Our current set up is that we have one primary email address that we receive all of our customer enquiries, orders, and emails through for 15+ websites. This email address is hosted through Exchange and we have set up SMTP. Our website is a WordPress based website, and we use WP Mail SMTP to connect our Exchange account to this plugin. Then, we filter this email account through MailGuard so that we mitigate 99% of the spam sent to that address.
Originally, we thought the problem was to do with this plugin, so we rolled back a version of the plugin and the issue was still not rectified. We also reached out to MailGuard asking them if they would strip Reply-To headers before they sent the email(s) back to us, and their reply from support was:
“We will add details into the headers of an email, but that will be in regards to recording the Hops of the email, whether it has passed SPF/DKIM/DMARC checks and specific logging regarding tour processing of the email.
That all being said, MailGuard’s systems do not remove content from emails.
If the emails do not have a reply-to in them, that is how they are when we have received them.”
As mentioned, we have 15+ other websites, but only 2 of them run through an OAuth connection with Exchange through the WP Mail SMTP plugin. The other websites, use Brevo (SendInBlue) as their SMTP provider.
Thinking it was a plugin issue, we tested the enquiries being sent from those websites to our email address, to see if they were also getting their Reply-To headers stripped, however, none of them were having this issue. We use the free SMTP service through Brevo for these smaller sites, and would exceed their limit if we switched our main sites to Brevo in the meantime.
We believe we have isolated the issue down to Exchange/Office365, but admittedly, are finding it a bit of a challenge given the intricate settings and options available throughout the account.
Below is a screenshot of two enquiries sent through to our email address, but 24 hours apart. The left indicates the the Reply-To header is present as normal, but the right image, indicates a missing Reply-To header.
To add a note, it is interesting saying that the emails were not signed. We definitely have DMARC/DKIM DNS records present so I’m unsure why they would be being delivered as unsigned.
We have not changed any SMTP settings, any policy settings, mail rules or anything similar in our Exchange account. It seemingly appears to be an issue that randomly appeared overnight.
Has anyone experienced similar issues with “Reply-To” headers being stripped in Office 365? Could there be specific settings or policies in Exchange Online or Azure that might affect this behaviour? Any advice or troubleshooting tips would be greatly appreciated.
Thank you in advance for your help.
Hi everyone, we are experiencing an issue where the “Reply-To” header in emails sent to our Exchanged hosted email account is being stripped. This behaviour started on the 7th of August, seemingly for reasons we haven’t been able to isolate. Our current set up is that we have one primary email address that we receive all of our customer enquiries, orders, and emails through for 15+ websites. This email address is hosted through Exchange and we have set up SMTP. Our website is a WordPress based website, and we use WP Mail SMTP to connect our Exchange account to this plugin. Then, we filter this email account through MailGuard so that we mitigate 99% of the spam sent to that address. Originally, we thought the problem was to do with this plugin, so we rolled back a version of the plugin and the issue was still not rectified. We also reached out to MailGuard asking them if they would strip Reply-To headers before they sent the email(s) back to us, and their reply from support was: “We will add details into the headers of an email, but that will be in regards to recording the Hops of the email, whether it has passed SPF/DKIM/DMARC checks and specific logging regarding tour processing of the email. That all being said, MailGuard’s systems do not remove content from emails. If the emails do not have a reply-to in them, that is how they are when we have received them.” As mentioned, we have 15+ other websites, but only 2 of them run through an OAuth connection with Exchange through the WP Mail SMTP plugin. The other websites, use Brevo (SendInBlue) as their SMTP provider. Thinking it was a plugin issue, we tested the enquiries being sent from those websites to our email address, to see if they were also getting their Reply-To headers stripped, however, none of them were having this issue. We use the free SMTP service through Brevo for these smaller sites, and would exceed their limit if we switched our main sites to Brevo in the meantime. We believe we have isolated the issue down to Exchange/Office365, but admittedly, are finding it a bit of a challenge given the intricate settings and options available throughout the account. Below is a screenshot of two enquiries sent through to our email address, but 24 hours apart. The left indicates the the Reply-To header is present as normal, but the right image, indicates a missing Reply-To header. To add a note, it is interesting saying that the emails were not signed. We definitely have DMARC/DKIM DNS records present so I’m unsure why they would be being delivered as unsigned. We have not changed any SMTP settings, any policy settings, mail rules or anything similar in our Exchange account. It seemingly appears to be an issue that randomly appeared overnight. Has anyone experienced similar issues with “Reply-To” headers being stripped in Office 365? Could there be specific settings or policies in Exchange Online or Azure that might affect this behaviour? Any advice or troubleshooting tips would be greatly appreciated. Thank you in advance for your help. Read More
how to plot the graph
Hello Everyone,
I have some data as attached. Then I have the code to plot the graph. But I have to convert my file to excel first.
Anyway have that I can plot grpah wothout convert my file to excel?
clc
clear all
close all
spec=readlines(‘nema2.spe’); % read as text
whos spec
data=readmatrix(‘nema2.spe.xlsx’); %the data from point1.prn must export to excel first.
whos data
%then from excel, it can be plotted.
plot(data(:,1),data(:,2))Hello Everyone,
I have some data as attached. Then I have the code to plot the graph. But I have to convert my file to excel first.
Anyway have that I can plot grpah wothout convert my file to excel?
clc
clear all
close all
spec=readlines(‘nema2.spe’); % read as text
whos spec
data=readmatrix(‘nema2.spe.xlsx’); %the data from point1.prn must export to excel first.
whos data
%then from excel, it can be plotted.
plot(data(:,1),data(:,2)) Hello Everyone,
I have some data as attached. Then I have the code to plot the graph. But I have to convert my file to excel first.
Anyway have that I can plot grpah wothout convert my file to excel?
clc
clear all
close all
spec=readlines(‘nema2.spe’); % read as text
whos spec
data=readmatrix(‘nema2.spe.xlsx’); %the data from point1.prn must export to excel first.
whos data
%then from excel, it can be plotted.
plot(data(:,1),data(:,2)) digital image processing, image processing, plot, plotting MATLAB Answers — New Questions
Exchange hybrid writeback with cloud sync is enabled, but I still can’t edit attributes from 365…
Hi,
I’m very familiar with Exchange hybrid mode, I did a lot of hybrid migration, and I’m waiting since very long time for Exchange Hybrid Writeback feature to be able to edit hybrid Exchange mailbox settings from Exchange Online Admin Center instead of having to connect to the on-prem hybrid server or to “Exchange Recipient Admin Center”. I did configure it with Cloud Sync, enabled Exchange Hybrid Writeback option like in the following article (Exchange hybrid writeback with cloud sync – Microsoft Entra ID | Microsoft Learn), but I still can’t edit any mailbox attributes that comes from the on-prem AD, like emails adresses (aliases), etc. I still receive the same old error message saying “ Unable to update the specified properties for on-premises mastered Directory Sync objects or objects currently undergoing migration. DualWrite (Graph) RequestId: 4c2d42fa-9c6e-4749-8d00-79e9f8041787 The issue may be transient and please retry a couple of minutes later. If issue persists, please see exception members for more information.”
Am I misunderstanding how it is supposed to work? I searched a lot on the web, and even if it seems to be a very valuable feature, not much poeple talk about it, and when they talk about it, they don’T make a demo of how to use it once it is configured.
Thanks!
Hi, I’m very familiar with Exchange hybrid mode, I did a lot of hybrid migration, and I’m waiting since very long time for Exchange Hybrid Writeback feature to be able to edit hybrid Exchange mailbox settings from Exchange Online Admin Center instead of having to connect to the on-prem hybrid server or to “Exchange Recipient Admin Center”. I did configure it with Cloud Sync, enabled Exchange Hybrid Writeback option like in the following article (Exchange hybrid writeback with cloud sync – Microsoft Entra ID | Microsoft Learn), but I still can’t edit any mailbox attributes that comes from the on-prem AD, like emails adresses (aliases), etc. I still receive the same old error message saying ” Unable to update the specified properties for on-premises mastered Directory Sync objects or objects currently undergoing migration. DualWrite (Graph) RequestId: 4c2d42fa-9c6e-4749-8d00-79e9f8041787 The issue may be transient and please retry a couple of minutes later. If issue persists, please see exception members for more information.” Am I misunderstanding how it is supposed to work? I searched a lot on the web, and even if it seems to be a very valuable feature, not much poeple talk about it, and when they talk about it, they don’T make a demo of how to use it once it is configured. Thanks! Read More
Unable to delete contacts in People
Hello,
Trying to delete contacts from People. Checked the checkboxes on my contacts whom I want to delete from People.
Also tried to delete one by one at a time.
Then, for former way, the dust box icon is grey out.
For latter way, dust box appears, however, some particular contacts show the error message and says “Issues and cannot delete.” The screeshot of the error message is as follows.
It appeared at the event when I deleted the contact in my People.
It says that “problem happened. Due to the problem, unable to delete.” Cancel in blue highlighted
Please advise how to delete contacts in People.
Hello,Trying to delete contacts from People. Checked the checkboxes on my contacts whom I want to delete from People.Also tried to delete one by one at a time.Then, for former way, the dust box icon is grey out.For latter way, dust box appears, however, some particular contacts show the error message and says “Issues and cannot delete.” The screeshot of the error message is as follows. It appeared at the event when I deleted the contact in my People.It says that “problem happened. Due to the problem, unable to delete.” Cancel in blue highlighted Please advise how to delete contacts in People. https://people.live.com Read More
Need Fans Blasting Cold Air to Sleep peacefully.
I am seeking assistance to troubleshoot an issue I am experiencing with my computer. I have enabled S3 sleep mode in the BIOS and restored all settings to factory defaults. Additionally, I have disabled modern standby, hibernate, and fast startup settings using various methods such as Group Policy Editor, Registry Editor, and Power Options. Despite this, the problem persists. I strongly believe it is a software-related issue. Can someone provide guidance on how to resolve this?
I am seeking assistance to troubleshoot an issue I am experiencing with my computer. I have enabled S3 sleep mode in the BIOS and restored all settings to factory defaults. Additionally, I have disabled modern standby, hibernate, and fast startup settings using various methods such as Group Policy Editor, Registry Editor, and Power Options. Despite this, the problem persists. I strongly believe it is a software-related issue. Can someone provide guidance on how to resolve this? Read More
A notification from the update center indicates that a program update is available.
I have been receiving notifications from the system regarding updates for some of my programs. For instance, yesterday, I received a notification about an update for Corel VideoStudio X10. However, when I clicked on it, the notification disappeared. How can I check which programs have updates and how can I proceed with updating them? I tried searching online but all I found were results related to Windows 11 updates, which is not what I am looking for. I specifically need guidance on updating individual programs. Thank you for your assistance.
I have been receiving notifications from the system regarding updates for some of my programs. For instance, yesterday, I received a notification about an update for Corel VideoStudio X10. However, when I clicked on it, the notification disappeared. How can I check which programs have updates and how can I proceed with updating them? I tried searching online but all I found were results related to Windows 11 updates, which is not what I am looking for. I specifically need guidance on updating individual programs. Thank you for your assistance. Read More
Using Get-WinEvent to Retrieve Events within a Specific Time Period
Does anyone know if it is possible to define a time range when using Get-WinEvent in PowerShell? It appears to work when specifying StartTime, but encounters issues when setting both StartTime and EndTime.
Working example:
“`powershell
Get-WinEvent -FilterHashTable @{‘LogName’ = ‘Application’; ‘StartTime’ = Get-Date “November 26, 2023 14:00:00”; }
“`
Encountering issues:
“`powershell
Get-WinEvent -FilterHashTable @{‘LogName’ = ‘Application’; ‘StartTime’ = Get-Date “November 26, 2023 14:00:00”; ‘EndTime’ = Get-Date “November 26, 2023 14:01:00”}
Get-WinEvent : No events were found that match the specified selection criteria.
At line:1 char:1
+ Get-WinEvent -FilterHashTable @{LogName=’Application’;StartTime=’01/0 …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (:) [Get-WinEvent], Exception
+ FullyQualifiedErrorId : NoMatchingEventsFound,Microsoft.PowerShell.Commands.GetWinEventCommand
“`
Does anyone know if it is possible to define a time range when using Get-WinEvent in PowerShell? It appears to work when specifying StartTime, but encounters issues when setting both StartTime and EndTime. Working example:“`powershellGet-WinEvent -FilterHashTable @{‘LogName’ = ‘Application’; ‘StartTime’ = Get-Date “November 26, 2023 14:00:00”; }“` Encountering issues:“`powershellGet-WinEvent -FilterHashTable @{‘LogName’ = ‘Application’; ‘StartTime’ = Get-Date “November 26, 2023 14:00:00”; ‘EndTime’ = Get-Date “November 26, 2023 14:01:00”}Get-WinEvent : No events were found that match the specified selection criteria.At line:1 char:1+ Get-WinEvent -FilterHashTable @{LogName=’Application’;StartTime=’01/0 …+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : ObjectNotFound: (:) [Get-WinEvent], Exception+ FullyQualifiedErrorId : NoMatchingEventsFound,Microsoft.PowerShell.Commands.GetWinEventCommand“` Read More
FAQs on Installing Windows 10 and 11 via Windows To Go on External Drives
Greetings,
I am seeking guidance on the installation of Windows on external devices and would appreciate any assistance you can provide. My goal is to create a universal external device that contains installations of Windows 10 and 11 with a digital license purchased for a third party, using the information provided by them such as name, mobile number, and Gmail address.
1. Is it feasible to install Windows 10 and 11 on a new external device that is associated with a digital license linked to a Microsoft account different from the one on the host device to which the external device will be connected? Can I carry out this process on my desktop PC?
2. Will these external devices function properly on the third party’s PC who has shared their details with me?
3. To clarify further, I am looking to create a commercial external device on which Windows 11 and Windows 10 will be installed with a digital license connected to a Microsoft account, using the details provided by a third party. Is it possible to set this up on my desktop PC?
4. If the answer to the above questions is negative, are there any alternative solutions for creating a universal external device, possibly utilizing a local account of the third party and activating the digital license, so that the prepared device can be sold to them with the purchased license?
5. If the solution is affirmative, will the Microsoft server check my PC details and hardware configuration instead of those of the third party?
Thank you for your attention.
Greetings, I am seeking guidance on the installation of Windows on external devices and would appreciate any assistance you can provide. My goal is to create a universal external device that contains installations of Windows 10 and 11 with a digital license purchased for a third party, using the information provided by them such as name, mobile number, and Gmail address. 1. Is it feasible to install Windows 10 and 11 on a new external device that is associated with a digital license linked to a Microsoft account different from the one on the host device to which the external device will be connected? Can I carry out this process on my desktop PC? 2. Will these external devices function properly on the third party’s PC who has shared their details with me? 3. To clarify further, I am looking to create a commercial external device on which Windows 11 and Windows 10 will be installed with a digital license connected to a Microsoft account, using the details provided by a third party. Is it possible to set this up on my desktop PC? 4. If the answer to the above questions is negative, are there any alternative solutions for creating a universal external device, possibly utilizing a local account of the third party and activating the digital license, so that the prepared device can be sold to them with the purchased license? 5. If the solution is affirmative, will the Microsoft server check my PC details and hardware configuration instead of those of the third party? Thank you for your attention. Read More
Exploring new applications and updates on Windows 11
Good day everyone! I’ve made the choice to switch from W10 to W11 due to an issue with an installation that disrupted Aquasuite’s access to my hardware. Previously, I relied on Acronis Try and Decide to evaluate installations and changes to my system in a safe environment. Unfortunately, Try and Decide is not compatible with W11. How can I effectively test product installations or updates and revert back to a previous state?
One option is to conduct a full backup and recovery.
Alternatively, are there any other suggestions or methods you recommend for achieving this?
Good day everyone! I’ve made the choice to switch from W10 to W11 due to an issue with an installation that disrupted Aquasuite’s access to my hardware. Previously, I relied on Acronis Try and Decide to evaluate installations and changes to my system in a safe environment. Unfortunately, Try and Decide is not compatible with W11. How can I effectively test product installations or updates and revert back to a previous state? One option is to conduct a full backup and recovery. Alternatively, are there any other suggestions or methods you recommend for achieving this? Read More
Since 23H2, the network-volume-battery icons no longer open quick settings when clicked.
Title: “Infrequent Success: Right-Click Functionality Working Well for Three Features”
This feature, as the title suggests, experiences occasional success but is quite rare. However, the right-click functionality for these three features performs well consistently.
Do you have any suggestions? Thank you so much! 🙂
Title: “Infrequent Success: Right-Click Functionality Working Well for Three Features” This feature, as the title suggests, experiences occasional success but is quite rare. However, the right-click functionality for these three features performs well consistently. Do you have any suggestions? Thank you so much! 🙂 Read More
Uncertain of the Cause: Black Screen
Seeking advice…
As I worked on editing photos on my computer with music in the background, the screen suddenly went dark but the music kept playing. Upon pressing Ctrl Alt Delete, the menu displayed on the screen as usual. Opting to log out, I expected to see the login screen, but it wasn’t visible.
Thinking a thorough cleaning might help, I powered off the PC, unplugged it, and carefully removed and cleaned the graphics card and memory components before reassembling everything. However, upon powering it back on, the monitor received no signal.
After rechecking that all components were properly seated, I tried again, but alas, the monitor remained blank.
The PC seems to be functioning fine, only the screen shows no activity. It worked momentarily after using Ctrl Alt Delete to end the session, leaving me puzzled. Could this be a sign of a failing graphics card? I am uncertain, as the issue arose right after it initially appeared to be resolved. Any insights on what might be causing this perplexing situation?
Seeking advice… As I worked on editing photos on my computer with music in the background, the screen suddenly went dark but the music kept playing. Upon pressing Ctrl Alt Delete, the menu displayed on the screen as usual. Opting to log out, I expected to see the login screen, but it wasn’t visible. Thinking a thorough cleaning might help, I powered off the PC, unplugged it, and carefully removed and cleaned the graphics card and memory components before reassembling everything. However, upon powering it back on, the monitor received no signal. After rechecking that all components were properly seated, I tried again, but alas, the monitor remained blank. The PC seems to be functioning fine, only the screen shows no activity. It worked momentarily after using Ctrl Alt Delete to end the session, leaving me puzzled. Could this be a sign of a failing graphics card? I am uncertain, as the issue arose right after it initially appeared to be resolved. Any insights on what might be causing this perplexing situation? Read More
Preparing your New Laptop: Steps to Take Before Getting Started
Dear Experts,
I recently received my new HP Envy laptop and have invested a considerable amount of time updating and installing my office suite and Visio software. I am not fond of the factory reset process, so I am seeking advice on the best methods to create a full backup that will allow me to:
1. Restore my laptop to its current state with all the necessary software and files.
2. Maintain incremental backups for future changes and additions.
In addition to backup solutions, I would appreciate guidance on other important steps to take before fully utilizing my new laptop. Your assistance is highly valued.
Dear Experts, I recently received my new HP Envy laptop and have invested a considerable amount of time updating and installing my office suite and Visio software. I am not fond of the factory reset process, so I am seeking advice on the best methods to create a full backup that will allow me to:1. Restore my laptop to its current state with all the necessary software and files.2. Maintain incremental backups for future changes and additions. In addition to backup solutions, I would appreciate guidance on other important steps to take before fully utilizing my new laptop. Your assistance is highly valued. Read More
How to stop MATLAB windows changing to different Windows desktops?
I use Windows 10 Desktops to organize my work. I usually start MATLAB in desktop 2 and everything is fine while I’m working on that desktop. But when I switch to another Windows desktop to do other work the matlab windows start to move themselves to the current desktop.
How can I stop this behaviour? Why doesn’t MATLAB respect the Windows desktops?I use Windows 10 Desktops to organize my work. I usually start MATLAB in desktop 2 and everything is fine while I’m working on that desktop. But when I switch to another Windows desktop to do other work the matlab windows start to move themselves to the current desktop.
How can I stop this behaviour? Why doesn’t MATLAB respect the Windows desktops? I use Windows 10 Desktops to organize my work. I usually start MATLAB in desktop 2 and everything is fine while I’m working on that desktop. But when I switch to another Windows desktop to do other work the matlab windows start to move themselves to the current desktop.
How can I stop this behaviour? Why doesn’t MATLAB respect the Windows desktops? matlab gui MATLAB Answers — New Questions
How to instal MathType into Word
I am using Microsoft Office 365 on a 2021 iMac M1 computer with 16 GB MEMORY running Sonoma 14.5. I have received a warning message that the MathType addon is not installed. When I try to install it, the Install Addons option is greyed out. I spent about 45 minutes with Microsoft Word support, and they did not know how to fix it, and referred me here. I have reinstalled Office 365 twice and that has not fixed the problem. Help me, please, if anyone can. Thanks
I am using Microsoft Office 365 on a 2021 iMac M1 computer with 16 GB MEMORY running Sonoma 14.5. I have received a warning message that the MathType addon is not installed. When I try to install it, the Install Addons option is greyed out. I spent about 45 minutes with Microsoft Word support, and they did not know how to fix it, and referred me here. I have reinstalled Office 365 twice and that has not fixed the problem. Help me, please, if anyone can. Thanks Read More
Return a value from a list based on the value of another cell
I am working on a schedule.
I have one master spreadsheet I want to input all my employees working on the shift in specific positions for the entire year.
I have other spreadsheets for each individual area. I want the area spreadsheets to populate from the master based off the date input on the area sheet.
So if BOB works on 1/1/24 in Area 1, spot 1 on the master sheet, I want to put the date into a cell on the area sheet and have BOB populate in the Area 1, spot 1 on the area sheet.
I hope this makes sense.
On the master sheet, the dates are across the top, and the positions are listed in the columns.
I am working on a schedule.I have one master spreadsheet I want to input all my employees working on the shift in specific positions for the entire year.I have other spreadsheets for each individual area. I want the area spreadsheets to populate from the master based off the date input on the area sheet.So if BOB works on 1/1/24 in Area 1, spot 1 on the master sheet, I want to put the date into a cell on the area sheet and have BOB populate in the Area 1, spot 1 on the area sheet.I hope this makes sense.On the master sheet, the dates are across the top, and the positions are listed in the columns. Read More
Protecting Specific Tabs in a Workbook from Viewing
Hi,
I am trying to see if there is a way to protect/block specific tabs in an Excel workbook from viewing, not just editing. And is there a way to give different permissions/vies/access to different users within the same workbook?
For Example on below spreadsheet, I would like some users to be able to view just the 1st and 2nd tab and not the Budget tab. And have other be able to view all other tabs.
I would appreciate any help or insight.
Thank you,
Hi, I am trying to see if there is a way to protect/block specific tabs in an Excel workbook from viewing, not just editing. And is there a way to give different permissions/vies/access to different users within the same workbook?For Example on below spreadsheet, I would like some users to be able to view just the 1st and 2nd tab and not the Budget tab. And have other be able to view all other tabs.I would appreciate any help or insight.Thank you, Read More
Outlook desktop client is encrypting emails despite the sensitivity label setting
We have 3 different sensitivity labels set up – General, Internal and Confidential. The General label does not encrypt content, internal and confidential do. The default label for emails is Confidential.
When someone uses the Outlook Desktop client (release 2407) and switches from Confidential to General, the email is still encrypted. This doesn’t happen with the Outlook web client. If the switch from Confidential to Internal and then to General, the email is not encrypted.
Has anyone else seen this behavior?
We have 3 different sensitivity labels set up – General, Internal and Confidential. The General label does not encrypt content, internal and confidential do. The default label for emails is Confidential. When someone uses the Outlook Desktop client (release 2407) and switches from Confidential to General, the email is still encrypted. This doesn’t happen with the Outlook web client. If the switch from Confidential to Internal and then to General, the email is not encrypted. Has anyone else seen this behavior? Read More
Fitting multiple datasets with unique parameters using lsqcurvefit to a normalized function and constraints between datasets.
Thank you for taking the time to help. I will do my best to be clear and concise.
I have 3 sets of data (atttached), each with x and y data – not necesarilly the same length.
Each y(x) function can be normalized into p(t) using 4 parameters:
A – a constant that is extracted from each individual y(x), ‘A’ looks like [A1, A2, A3]
B – a fitting parameter unique to each y(x)
C – a fitting parameter applied to all y(x)
D – a constraint variable dependent on A and B applied to all y(x)
So the set looks something like:
I would like to use lsqcurvefit to fit my data to my function p(t) and output the unique (C and D) values.
I have a final constraint to increase the accuracy of lsqcurvefit: , where D is another global constant like C.
Where I’m at now, I want to adjust C and D to fit my function p(t) to y(x), but I don’t know how to also include the unique A values for each y(x).
I’ve pasted my current code below where I am able to get an individual fit for each y(x) but without consistent C and D parameters.
%% Data analysis
Results = NaN(3,2); % Result [C,D] for each individual fitting
for t = 1:3
%TL is summary matrix of all y(x) for the 3 experiments, NaN fills in
%where some y(x) are shorter than others.
x = TL(~isnan(TL(:,2*t-1)),2*t-1); %extracts x values from TL
y = TL(~isnan(TL(:,2*t)),2*t); %extracts y values from TL
%P = parameters: P(1) = C | P(2) = D
%fun below is the normalization for p(t)
fun = @(P,x)A(t)*(1-1/(2*(1-P(1))))*(1.304*exp(-(P(2)*x/(r/1000)^2).^0.5)-0.304*exp(-0.254*P(2)*x/(r/1000)^2))+1/(2*(1-P(1)));
P0 = [0.4, 1*10^-9]; %Initial parameters
lb = [0.1, 1*10^-10]; %Lower bound
ub = [0.5, 1*10^-8]; %Upper bound
Results(t,:) = lsqcurvefit(fun,P0,x,y,lb,ub); %Result consolidation for individual fitting
subplot(3,1,t)
plot(x,y,’ko’,x,fun(Results(t,:),x),’b-‘)
end
From looking at other posts on using lsqcurvefit with multiple datasets, I think my obstacle has come down to whether I should (1) run lsqcurvefit on all y(x) and somehow input the unique A constants or (2) run lsqcurvefit on individual y(x) and somehow correlate C and D to match between each fitting.
I hope this is presented clearly, looking forward to your thoughts and discussion – Thanks.Thank you for taking the time to help. I will do my best to be clear and concise.
I have 3 sets of data (atttached), each with x and y data – not necesarilly the same length.
Each y(x) function can be normalized into p(t) using 4 parameters:
A – a constant that is extracted from each individual y(x), ‘A’ looks like [A1, A2, A3]
B – a fitting parameter unique to each y(x)
C – a fitting parameter applied to all y(x)
D – a constraint variable dependent on A and B applied to all y(x)
So the set looks something like:
I would like to use lsqcurvefit to fit my data to my function p(t) and output the unique (C and D) values.
I have a final constraint to increase the accuracy of lsqcurvefit: , where D is another global constant like C.
Where I’m at now, I want to adjust C and D to fit my function p(t) to y(x), but I don’t know how to also include the unique A values for each y(x).
I’ve pasted my current code below where I am able to get an individual fit for each y(x) but without consistent C and D parameters.
%% Data analysis
Results = NaN(3,2); % Result [C,D] for each individual fitting
for t = 1:3
%TL is summary matrix of all y(x) for the 3 experiments, NaN fills in
%where some y(x) are shorter than others.
x = TL(~isnan(TL(:,2*t-1)),2*t-1); %extracts x values from TL
y = TL(~isnan(TL(:,2*t)),2*t); %extracts y values from TL
%P = parameters: P(1) = C | P(2) = D
%fun below is the normalization for p(t)
fun = @(P,x)A(t)*(1-1/(2*(1-P(1))))*(1.304*exp(-(P(2)*x/(r/1000)^2).^0.5)-0.304*exp(-0.254*P(2)*x/(r/1000)^2))+1/(2*(1-P(1)));
P0 = [0.4, 1*10^-9]; %Initial parameters
lb = [0.1, 1*10^-10]; %Lower bound
ub = [0.5, 1*10^-8]; %Upper bound
Results(t,:) = lsqcurvefit(fun,P0,x,y,lb,ub); %Result consolidation for individual fitting
subplot(3,1,t)
plot(x,y,’ko’,x,fun(Results(t,:),x),’b-‘)
end
From looking at other posts on using lsqcurvefit with multiple datasets, I think my obstacle has come down to whether I should (1) run lsqcurvefit on all y(x) and somehow input the unique A constants or (2) run lsqcurvefit on individual y(x) and somehow correlate C and D to match between each fitting.
I hope this is presented clearly, looking forward to your thoughts and discussion – Thanks. Thank you for taking the time to help. I will do my best to be clear and concise.
I have 3 sets of data (atttached), each with x and y data – not necesarilly the same length.
Each y(x) function can be normalized into p(t) using 4 parameters:
A – a constant that is extracted from each individual y(x), ‘A’ looks like [A1, A2, A3]
B – a fitting parameter unique to each y(x)
C – a fitting parameter applied to all y(x)
D – a constraint variable dependent on A and B applied to all y(x)
So the set looks something like:
I would like to use lsqcurvefit to fit my data to my function p(t) and output the unique (C and D) values.
I have a final constraint to increase the accuracy of lsqcurvefit: , where D is another global constant like C.
Where I’m at now, I want to adjust C and D to fit my function p(t) to y(x), but I don’t know how to also include the unique A values for each y(x).
I’ve pasted my current code below where I am able to get an individual fit for each y(x) but without consistent C and D parameters.
%% Data analysis
Results = NaN(3,2); % Result [C,D] for each individual fitting
for t = 1:3
%TL is summary matrix of all y(x) for the 3 experiments, NaN fills in
%where some y(x) are shorter than others.
x = TL(~isnan(TL(:,2*t-1)),2*t-1); %extracts x values from TL
y = TL(~isnan(TL(:,2*t)),2*t); %extracts y values from TL
%P = parameters: P(1) = C | P(2) = D
%fun below is the normalization for p(t)
fun = @(P,x)A(t)*(1-1/(2*(1-P(1))))*(1.304*exp(-(P(2)*x/(r/1000)^2).^0.5)-0.304*exp(-0.254*P(2)*x/(r/1000)^2))+1/(2*(1-P(1)));
P0 = [0.4, 1*10^-9]; %Initial parameters
lb = [0.1, 1*10^-10]; %Lower bound
ub = [0.5, 1*10^-8]; %Upper bound
Results(t,:) = lsqcurvefit(fun,P0,x,y,lb,ub); %Result consolidation for individual fitting
subplot(3,1,t)
plot(x,y,’ko’,x,fun(Results(t,:),x),’b-‘)
end
From looking at other posts on using lsqcurvefit with multiple datasets, I think my obstacle has come down to whether I should (1) run lsqcurvefit on all y(x) and somehow input the unique A constants or (2) run lsqcurvefit on individual y(x) and somehow correlate C and D to match between each fitting.
I hope this is presented clearly, looking forward to your thoughts and discussion – Thanks. lsqcurvefit, curve fitting, optimization MATLAB Answers — New Questions
In Matlab app When I delete a Editfieldnumeric component and delete it the call back function remains and when I next create a new component I do not see the callback
In one Matlab App I created a EditFieldNUmeric component and later deleted it. But the call back function remains.Why?
Also later I inserted a EditField numeric component ,I did not get the new callback function.Why?
Also please let me know how to use the numeric value in the call back function of another componentIn one Matlab App I created a EditFieldNUmeric component and later deleted it. But the call back function remains.Why?
Also later I inserted a EditField numeric component ,I did not get the new callback function.Why?
Also please let me know how to use the numeric value in the call back function of another component In one Matlab App I created a EditFieldNUmeric component and later deleted it. But the call back function remains.Why?
Also later I inserted a EditField numeric component ,I did not get the new callback function.Why?
Also please let me know how to use the numeric value in the call back function of another component editfieldnumeric in matlab app MATLAB Answers — New Questions
New Outlook: Mark as Read Not working when filtered by Unread
When scrolling through the preview of messages filtered as unread the message is not marked as read. when openend in preview.
Works when I do not have the filter active.
When scrolling through the preview of messages filtered as unread the message is not marked as read. when openend in preview. Works when I do not have the filter active. Read More