Category: News
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
Transfer Functions on Biologic Data Sets
I have blast data from 3 different organisms. Two animals and one human set. I am looking to develop a transfer function to translate the data sets from animal set to the human data set. I also have the ambient pressure from outside of the body for normalization as well as weight, speed of the wave, and weight of the individual body parts. I only have acess to the following toolboxes:
MATLAB Version 9.8 (R2020a)
Curve Fitting Toolbox Version 3.5.11 (R2020a)
Deep Learning Toolbox Version 14.0 (R2020a)
GUI Layout Toolbox Version 2.3.6 (R2023a)
Signal Processing Toolbox Version 8.4 (R2020a)
Statistics and Machine Learning Toolbox Version 11.7 (R2020a)
I want to be able to set up some sort of optimizaiton funciton that would work between both of the animal models, independetly. Likely a second order model. I have attached the raw data of the pressures as a CSV. Each of the data sets are computed at 0.8Mhz and the data listed by row is an maximum individual test, not a continous data set.
I am looking for gudiance on how to start this.
>>I have blast data from 3 different organisms. Two animals and one human set. I am looking to develop a transfer function to translate the data sets from animal set to the human data set. I also have the ambient pressure from outside of the body for normalization as well as weight, speed of the wave, and weight of the individual body parts. I only have acess to the following toolboxes:
MATLAB Version 9.8 (R2020a)
Curve Fitting Toolbox Version 3.5.11 (R2020a)
Deep Learning Toolbox Version 14.0 (R2020a)
GUI Layout Toolbox Version 2.3.6 (R2023a)
Signal Processing Toolbox Version 8.4 (R2020a)
Statistics and Machine Learning Toolbox Version 11.7 (R2020a)
I want to be able to set up some sort of optimizaiton funciton that would work between both of the animal models, independetly. Likely a second order model. I have attached the raw data of the pressures as a CSV. Each of the data sets are computed at 0.8Mhz and the data listed by row is an maximum individual test, not a continous data set.
I am looking for gudiance on how to start this.
>> I have blast data from 3 different organisms. Two animals and one human set. I am looking to develop a transfer function to translate the data sets from animal set to the human data set. I also have the ambient pressure from outside of the body for normalization as well as weight, speed of the wave, and weight of the individual body parts. I only have acess to the following toolboxes:
MATLAB Version 9.8 (R2020a)
Curve Fitting Toolbox Version 3.5.11 (R2020a)
Deep Learning Toolbox Version 14.0 (R2020a)
GUI Layout Toolbox Version 2.3.6 (R2023a)
Signal Processing Toolbox Version 8.4 (R2020a)
Statistics and Machine Learning Toolbox Version 11.7 (R2020a)
I want to be able to set up some sort of optimizaiton funciton that would work between both of the animal models, independetly. Likely a second order model. I have attached the raw data of the pressures as a CSV. Each of the data sets are computed at 0.8Mhz and the data listed by row is an maximum individual test, not a continous data set.
I am looking for gudiance on how to start this.
>> transfer function, biologics, curve fitting MATLAB Answers — New Questions
Error in Model Fitting
Hello! i have been to run this model fitting code but keeps on getting these error messages as:
FUN must have two input arguments.
userFcn_ME = initEvalErrorHandler(userFcn_ME,funfcn_x_xdata{3}, …
[params_fit, ~] = lsqcurvefit(obj_fun, params0, time, observed_I, [], [], options);
Find attached, the code,, Please help
function dydt = sir_model(t, y, beta, gamma)
S = y(1);
I = y(2);
R = y(3);
N = S + I + R; % Total population
dSdt = -beta * S * I / N;
dIdt = beta * S * I / N – gamma * I;
dRdt = gamma * I;
dydt = [dSdt; dIdt; dRdt];
end
function error = model_error(params, time, observed_I, y0)
beta = params(1);
gamma = params(2);
% Solve the differential equations
[~, y] = ode45(@(t, y) sir_model(t, y, beta, gamma), time, y0);
% Extract the infectious data from the solution
model_I = y(:, 2);
% Compute the error as the difference between model and observed data
error = model_I – observed_I’;
end
% Define the time vector and observed data
time = [0, 1, 2, 3, 4, 5]; % Example time points
observed_I = [10, 15, 20, 25, 30, 35]; % Example observed infectious data
% Initial guess for parameters
beta_guess = 0.3;
gamma_guess = 0.1;
params0 = [beta_guess, gamma_guess];
% Initial conditions
S0 = 1000; % Initial number of susceptible individuals
I0 = observed_I(1); % Initial number of infectious individuals
R0 = 0; % Initial number of recovered individuals
y0 = [S0; I0; R0];
% Define the objective function for fitting
obj_fun = @(params) model_error(params, time, observed_I, y0);
% Perform the curve fitting
options = optimoptions(‘lsqcurvefit’, ‘Display’, ‘off’);
[params_fit, ~] = lsqcurvefit(obj_fun, params0, time, observed_I, [], [], options);
% Display the fitted parameters
beta_fit = params_fit(1);
gamma_fit = params_fit(2);
disp([‘Fitted beta: ‘, num2str(beta_fit)]);
disp([‘Fitted gamma: ‘, num2str(gamma_fit)]);Hello! i have been to run this model fitting code but keeps on getting these error messages as:
FUN must have two input arguments.
userFcn_ME = initEvalErrorHandler(userFcn_ME,funfcn_x_xdata{3}, …
[params_fit, ~] = lsqcurvefit(obj_fun, params0, time, observed_I, [], [], options);
Find attached, the code,, Please help
function dydt = sir_model(t, y, beta, gamma)
S = y(1);
I = y(2);
R = y(3);
N = S + I + R; % Total population
dSdt = -beta * S * I / N;
dIdt = beta * S * I / N – gamma * I;
dRdt = gamma * I;
dydt = [dSdt; dIdt; dRdt];
end
function error = model_error(params, time, observed_I, y0)
beta = params(1);
gamma = params(2);
% Solve the differential equations
[~, y] = ode45(@(t, y) sir_model(t, y, beta, gamma), time, y0);
% Extract the infectious data from the solution
model_I = y(:, 2);
% Compute the error as the difference between model and observed data
error = model_I – observed_I’;
end
% Define the time vector and observed data
time = [0, 1, 2, 3, 4, 5]; % Example time points
observed_I = [10, 15, 20, 25, 30, 35]; % Example observed infectious data
% Initial guess for parameters
beta_guess = 0.3;
gamma_guess = 0.1;
params0 = [beta_guess, gamma_guess];
% Initial conditions
S0 = 1000; % Initial number of susceptible individuals
I0 = observed_I(1); % Initial number of infectious individuals
R0 = 0; % Initial number of recovered individuals
y0 = [S0; I0; R0];
% Define the objective function for fitting
obj_fun = @(params) model_error(params, time, observed_I, y0);
% Perform the curve fitting
options = optimoptions(‘lsqcurvefit’, ‘Display’, ‘off’);
[params_fit, ~] = lsqcurvefit(obj_fun, params0, time, observed_I, [], [], options);
% Display the fitted parameters
beta_fit = params_fit(1);
gamma_fit = params_fit(2);
disp([‘Fitted beta: ‘, num2str(beta_fit)]);
disp([‘Fitted gamma: ‘, num2str(gamma_fit)]); Hello! i have been to run this model fitting code but keeps on getting these error messages as:
FUN must have two input arguments.
userFcn_ME = initEvalErrorHandler(userFcn_ME,funfcn_x_xdata{3}, …
[params_fit, ~] = lsqcurvefit(obj_fun, params0, time, observed_I, [], [], options);
Find attached, the code,, Please help
function dydt = sir_model(t, y, beta, gamma)
S = y(1);
I = y(2);
R = y(3);
N = S + I + R; % Total population
dSdt = -beta * S * I / N;
dIdt = beta * S * I / N – gamma * I;
dRdt = gamma * I;
dydt = [dSdt; dIdt; dRdt];
end
function error = model_error(params, time, observed_I, y0)
beta = params(1);
gamma = params(2);
% Solve the differential equations
[~, y] = ode45(@(t, y) sir_model(t, y, beta, gamma), time, y0);
% Extract the infectious data from the solution
model_I = y(:, 2);
% Compute the error as the difference between model and observed data
error = model_I – observed_I’;
end
% Define the time vector and observed data
time = [0, 1, 2, 3, 4, 5]; % Example time points
observed_I = [10, 15, 20, 25, 30, 35]; % Example observed infectious data
% Initial guess for parameters
beta_guess = 0.3;
gamma_guess = 0.1;
params0 = [beta_guess, gamma_guess];
% Initial conditions
S0 = 1000; % Initial number of susceptible individuals
I0 = observed_I(1); % Initial number of infectious individuals
R0 = 0; % Initial number of recovered individuals
y0 = [S0; I0; R0];
% Define the objective function for fitting
obj_fun = @(params) model_error(params, time, observed_I, y0);
% Perform the curve fitting
options = optimoptions(‘lsqcurvefit’, ‘Display’, ‘off’);
[params_fit, ~] = lsqcurvefit(obj_fun, params0, time, observed_I, [], [], options);
% Display the fitted parameters
beta_fit = params_fit(1);
gamma_fit = params_fit(2);
disp([‘Fitted beta: ‘, num2str(beta_fit)]);
disp([‘Fitted gamma: ‘, num2str(gamma_fit)]); model fitting MATLAB Answers — New Questions