Month: August 2024
Second Order Laplace solving doesn’t work (‘Unable to find explicit solution’)
I’m trying to solve an ODE using Laplace method, but I’m stuck on solving the equation
Here’s my code:
syms t x(t) s X(s);
% PARAMETERS (tried to do symbolically but it was more diffcult)
m = 1;
k = 0.5;
xi = 1.2;
c = xi*2*sqrt(k*m)
f0 = 1;
w = 0.1;
dx = diff(x, t, 1);
ddx = diff(x, t, 2);
% INITIAL CONDITIONS
x0 = 0;
dx0 = 0;
newton = m*ddx+ c*dx +k*x;
f = f0*cos(w*t);
lteqn = laplace(newton, t, s)
lefteqn = subs(lteqn,{laplace(x(t), t, s), x(0),dx(0)},{X(s), x0, dx0})
F_s = laplace(f, t, s);
simplify(solve(lefteqn == F_s, X(s)))
I can’t believe MATLAB cannot solve this easy equation. I think I’m missing something.
Thank you guysI’m trying to solve an ODE using Laplace method, but I’m stuck on solving the equation
Here’s my code:
syms t x(t) s X(s);
% PARAMETERS (tried to do symbolically but it was more diffcult)
m = 1;
k = 0.5;
xi = 1.2;
c = xi*2*sqrt(k*m)
f0 = 1;
w = 0.1;
dx = diff(x, t, 1);
ddx = diff(x, t, 2);
% INITIAL CONDITIONS
x0 = 0;
dx0 = 0;
newton = m*ddx+ c*dx +k*x;
f = f0*cos(w*t);
lteqn = laplace(newton, t, s)
lefteqn = subs(lteqn,{laplace(x(t), t, s), x(0),dx(0)},{X(s), x0, dx0})
F_s = laplace(f, t, s);
simplify(solve(lefteqn == F_s, X(s)))
I can’t believe MATLAB cannot solve this easy equation. I think I’m missing something.
Thank you guys I’m trying to solve an ODE using Laplace method, but I’m stuck on solving the equation
Here’s my code:
syms t x(t) s X(s);
% PARAMETERS (tried to do symbolically but it was more diffcult)
m = 1;
k = 0.5;
xi = 1.2;
c = xi*2*sqrt(k*m)
f0 = 1;
w = 0.1;
dx = diff(x, t, 1);
ddx = diff(x, t, 2);
% INITIAL CONDITIONS
x0 = 0;
dx0 = 0;
newton = m*ddx+ c*dx +k*x;
f = f0*cos(w*t);
lteqn = laplace(newton, t, s)
lefteqn = subs(lteqn,{laplace(x(t), t, s), x(0),dx(0)},{X(s), x0, dx0})
F_s = laplace(f, t, s);
simplify(solve(lefteqn == F_s, X(s)))
I can’t believe MATLAB cannot solve this easy equation. I think I’m missing something.
Thank you guys solve, ode, laplace, matlab MATLAB Answers — New Questions
How to tune PI controllers of MIMO system?
How to tune the PI controllers for this kind of MIMO system as shown in the picture? Any resources regadring this would be appreciated.How to tune the PI controllers for this kind of MIMO system as shown in the picture? Any resources regadring this would be appreciated. How to tune the PI controllers for this kind of MIMO system as shown in the picture? Any resources regadring this would be appreciated. mimo system, pi tuning MATLAB Answers — New Questions
How do I pass username and password for a named user license with no GUI on linux
I have Matlab R2024A installed on a linux computer with no GUI (terminal only) I want to run matlab -licmode onlinelicensing but also pass my username and password in one line so I don’t have to input it in. Is that possible ?I have Matlab R2024A installed on a linux computer with no GUI (terminal only) I want to run matlab -licmode onlinelicensing but also pass my username and password in one line so I don’t have to input it in. Is that possible ? I have Matlab R2024A installed on a linux computer with no GUI (terminal only) I want to run matlab -licmode onlinelicensing but also pass my username and password in one line so I don’t have to input it in. Is that possible ? license MATLAB Answers — New Questions
How can I replace the upper off diagonal(super diagonal) and lower off diagonal(sub diagonal) of a matrix?
Given a symmetric tridiagonal matrix T generated by
n=5;
p=1;
q=1.7;
r=1;
T=full(gallery(‘tridiagonal’,n,p,q,r));
T=[1.8 1 0 0 0;1 1.8 0 0 0;0 1 1.8 1 0;0 0 1 1.8 1;0 0 0 1 1.8]
How do I change the 1 1 1 1 on both upper and lower off diagonal to 1 0 1 0? What if n is arbitrary, is there any code that fix the off diagonals to a desired vector?Given a symmetric tridiagonal matrix T generated by
n=5;
p=1;
q=1.7;
r=1;
T=full(gallery(‘tridiagonal’,n,p,q,r));
T=[1.8 1 0 0 0;1 1.8 0 0 0;0 1 1.8 1 0;0 0 1 1.8 1;0 0 0 1 1.8]
How do I change the 1 1 1 1 on both upper and lower off diagonal to 1 0 1 0? What if n is arbitrary, is there any code that fix the off diagonals to a desired vector? Given a symmetric tridiagonal matrix T generated by
n=5;
p=1;
q=1.7;
r=1;
T=full(gallery(‘tridiagonal’,n,p,q,r));
T=[1.8 1 0 0 0;1 1.8 0 0 0;0 1 1.8 1 0;0 0 1 1.8 1;0 0 0 1 1.8]
How do I change the 1 1 1 1 on both upper and lower off diagonal to 1 0 1 0? What if n is arbitrary, is there any code that fix the off diagonals to a desired vector? symmetric, tridiagonal, off diagonal MATLAB Answers — New Questions
can’t open one drive files on finder
I downloaded and installed one drive for desktop for iOS, but for some reason the file that was shared with me doesn’t show as a file, but as a URL which links to one drive online, I have uninstalled and installed it again, restarted the computer, tried with different wifi… but I don’t find the solution, would appreciate any suggestions,
thanks!
I downloaded and installed one drive for desktop for iOS, but for some reason the file that was shared with me doesn’t show as a file, but as a URL which links to one drive online, I have uninstalled and installed it again, restarted the computer, tried with different wifi… but I don’t find the solution, would appreciate any suggestions,thanks! Read More
Transposing Data
Hello!
I have a data set that has an general ledger code that is vertical and an entity code that is horizontal. The table will have an amount that relates to a certain general ledger account for the certain entity. I need to create a list that goes horizontal that shows the general ledger account, the entity code and the amount in a horizontal list. I have attached an example below.
This is how the data is currently:
Entity number General ledger account123100$1$0$2101$4$0$1102$1$1$1
I need the data to be in list form like below:
General ledger accountEntityAmount1001$11002$01003$21011$41012$01013$11021$11022$11023$1
I have a large dataset and cannot transpose everything invididually.
Thank you!!
Hello! I have a data set that has an general ledger code that is vertical and an entity code that is horizontal. The table will have an amount that relates to a certain general ledger account for the certain entity. I need to create a list that goes horizontal that shows the general ledger account, the entity code and the amount in a horizontal list. I have attached an example below. This is how the data is currently: Entity number General ledger account123100$1$0$2101$4$0$1102$1$1$1 I need the data to be in list form like below:General ledger accountEntityAmount1001$11002$01003$21011$41012$01013$11021$11022$11023$1 I have a large dataset and cannot transpose everything invididually. Thank you!! Read More
Xlookup formula will only look up values in one column not two
I have a formula that I use to look up a seat number in one tab of a work book and if it is there it returns the name of the person that seat is assigned to in a different tab.
The formula I have been using to search only seems to work of it is looking in one column and I now need it to search for the value with in two columns.
The formula I have been using is:
=IF(ISERROR(XLOOKUP(G2,RSVP!$I:$I,RSVP!$A:$A,)),””,(XLOOKUP(G2,RSVP!$I:$I,RSVP!$A:$A,)))
When I changed it to =IF(ISERROR(XLOOKUP(G2,RSVP!$I:$J,RSVP!$A:$A,)),””,(XLOOKUP(G2,RSVP!$I:$J,RSVP!$A:$A,))) it doesn’t return anything or show any error. I am not too sure what the issue is.
I have a formula that I use to look up a seat number in one tab of a work book and if it is there it returns the name of the person that seat is assigned to in a different tab. The formula I have been using to search only seems to work of it is looking in one column and I now need it to search for the value with in two columns.The formula I have been using is:=IF(ISERROR(XLOOKUP(G2,RSVP!$I:$I,RSVP!$A:$A,)),””,(XLOOKUP(G2,RSVP!$I:$I,RSVP!$A:$A,))) When I changed it to =IF(ISERROR(XLOOKUP(G2,RSVP!$I:$J,RSVP!$A:$A,)),””,(XLOOKUP(G2,RSVP!$I:$J,RSVP!$A:$A,))) it doesn’t return anything or show any error. I am not too sure what the issue is. Read More
Copilot android
Hello world. Last week Copilot stopped working. It Always says “seems Like you are Not logged in”. I am logged in. Can See recent Chats. Can Log Out and Log in again and already deleted and reinstalled the App a few Times. Nothing works. App even Shows logged in when i Check the Status but when i try to interact: seems Like youre Not logged in” again.
Can Andybody Help me please?
Hello world. Last week Copilot stopped working. It Always says “seems Like you are Not logged in”. I am logged in. Can See recent Chats. Can Log Out and Log in again and already deleted and reinstalled the App a few Times. Nothing works. App even Shows logged in when i Check the Status but when i try to interact: seems Like youre Not logged in” again. Can Andybody Help me please? Read More
Can not log in to my account. Not receiving verification code via SMS.
Please Help! For some reason I was logged out from my hotmail account. When tried to log in ive accidentally put a wrong password. It took me to “reset my password page”, this step was successfully done, I received a verification code to my mobile and my password has been updated. When trying to log in with a newly updated password, the system wants me to verify my account and gives me 2 options. Option 1: by sending SMS with verification code to my mobile number – which im just not receiving! Tried multiple times, phone number is correct, nothing wrong with it, i am just not receiving an SMS. Option 2: by verifying yourself with a help of different email address. Tried with my friends/husbands email, created a new one for myself, answered all of the questions correctly, but it keeps denying my access, keeps saying that verification has been unsuccessful. Can anyone please help me with this! I need to get back to my account asap! Again there is no problem with my mobile number, its active, its the same one, registered through my email – just not receiving an SMS.
Please Help! For some reason I was logged out from my hotmail account. When tried to log in ive accidentally put a wrong password. It took me to “reset my password page”, this step was successfully done, I received a verification code to my mobile and my password has been updated. When trying to log in with a newly updated password, the system wants me to verify my account and gives me 2 options. Option 1: by sending SMS with verification code to my mobile number – which im just not receiving! Tried multiple times, phone number is correct, nothing wrong with it, i am just not receiving an SMS. Option 2: by verifying yourself with a help of different email address. Tried with my friends/husbands email, created a new one for myself, answered all of the questions correctly, but it keeps denying my access, keeps saying that verification has been unsuccessful. Can anyone please help me with this! I need to get back to my account asap! Again there is no problem with my mobile number, its active, its the same one, registered through my email – just not receiving an SMS. Read More
I can’t open my personal One drive vault
Hello
It doesn’t allow me to enter the personal vault inside my One drive. I have access to all other files except the personal vault.
It asks me to authenticate. I have done it in several ways with the authenticator app, with the password, and after authenticating I get the error “THE CONFIGURATION OF THE PERSONAL STORE CANNOT BE COMPLETED” “THERE WAS A PROBLEM SETTING UP YOUR PERSONAL STORE. TRY AGAIN IN A FEW MINUTES “
I have already tried restarting the session, on another device, on a desktop PC and the same problem occurs. I’ve been having this problem for 5 days!!
I have paid the subscription up to date. I have files there that I can’t lose, thank you
Capture from my iphone:
Capture from mi pc:
HelloIt doesn’t allow me to enter the personal vault inside my One drive. I have access to all other files except the personal vault.It asks me to authenticate. I have done it in several ways with the authenticator app, with the password, and after authenticating I get the error “THE CONFIGURATION OF THE PERSONAL STORE CANNOT BE COMPLETED” “THERE WAS A PROBLEM SETTING UP YOUR PERSONAL STORE. TRY AGAIN IN A FEW MINUTES “I have already tried restarting the session, on another device, on a desktop PC and the same problem occurs. I’ve been having this problem for 5 days!!I have paid the subscription up to date. I have files there that I can’t lose, thank youCapture from my iphone: Capture from mi pc: Read More
Can I use the MATLAB Package Manager on Windows without admin permissions?
Can I use the MATLAB Package Manager (MPM) on Windows without administrative privileges?Can I use the MATLAB Package Manager (MPM) on Windows without administrative privileges? Can I use the MATLAB Package Manager (MPM) on Windows without administrative privileges? MATLAB Answers — New Questions
Give a custom name to the General channel in Microsoft Teams
Hi, Microsoft 365 Insiders,
Exciting news for Microsoft Teams users! Team owners can now rename the General channel (or the first channel of a new team) to something that better reflects your team’s personality and purpose. Whether it’s “Project Hub,” “Team Central,” or something else, customization is in your hands. This small change can help personalize how your team collaborates in a big way. Ready to make your Teams channels truly yours? Check out the details in our latest blog post: Give a custom name to the General channel in Microsoft Teams
Thanks!
Perry Sjogren
Microsoft 365 Insider Community Manager
Become a Microsoft 365 Insider and gain exclusive access to new features and help shape the future of Microsoft 365. Join Now: Windows | Mac | iOS | Android
Hi, Microsoft 365 Insiders,
Exciting news for Microsoft Teams users! Team owners can now rename the General channel (or the first channel of a new team) to something that better reflects your team’s personality and purpose. Whether it’s “Project Hub,” “Team Central,” or something else, customization is in your hands. This small change can help personalize how your team collaborates in a big way. Ready to make your Teams channels truly yours? Check out the details in our latest blog post: Give a custom name to the General channel in Microsoft Teams
Thanks!
Perry Sjogren
Microsoft 365 Insider Community Manager
Become a Microsoft 365 Insider and gain exclusive access to new features and help shape the future of Microsoft 365. Join Now: Windows | Mac | iOS | Android Read More
Custom Copilot Bot Not Providing Multi-Language Responses
Hello!
I’m new to Copilot and have been tasked with translating our English chatbot into 4 languages. I built German and French and then was made aware I could potentially just add secondary languages within the English version.
I went to my English version and clicked Languages and added 4 secondary languages. I then saved + published. It appears to recognize my prompts in the chosen language, but it’s still answering and asking the questions in English. Is there a way to continue the conversation in French once the question/prompt is asked in French? Or is the bot only able to understand a secondary language and reply in English?
My goal would be to stop building additional chatbots in more languages (still need Spanish and Italian) and just build upon the library in English and have the functions in Copilot translate it for me.
Is there a new version I need to download, do I have to completely rebuild my original English version and set the secondary parameters immediately for it to recognize?
Any and all guidance is much appreciated.
Hello! I’m new to Copilot and have been tasked with translating our English chatbot into 4 languages. I built German and French and then was made aware I could potentially just add secondary languages within the English version. I went to my English version and clicked Languages and added 4 secondary languages. I then saved + published. It appears to recognize my prompts in the chosen language, but it’s still answering and asking the questions in English. Is there a way to continue the conversation in French once the question/prompt is asked in French? Or is the bot only able to understand a secondary language and reply in English? My goal would be to stop building additional chatbots in more languages (still need Spanish and Italian) and just build upon the library in English and have the functions in Copilot translate it for me. Is there a new version I need to download, do I have to completely rebuild my original English version and set the secondary parameters immediately for it to recognize?Any and all guidance is much appreciated. Read More
Problem with Branch Protection in Azure DevOps Wiki
I am facing an issue with Azure DevOps and need help understanding the available options in the Wiki. There is an option in the Azure DevOps Wiki that allows making changes directly by creating a branch for review before merging it into the main branch. However, when attempting to do so, we receive the following error: “The versionType should be ‘branch’ and version cannot be null. Parameter name: versionDescriptor.”
I would like to understand why this error occurs and why it is not possible to proceed with this process. We have users who use the Wiki’s built-in editor to develop content, and without this functionality, their work becomes more difficult.
It is important to note that this issue occurs when we use the branch protection feature.
I am facing an issue with Azure DevOps and need help understanding the available options in the Wiki. There is an option in the Azure DevOps Wiki that allows making changes directly by creating a branch for review before merging it into the main branch. However, when attempting to do so, we receive the following error: “The versionType should be ‘branch’ and version cannot be null. Parameter name: versionDescriptor.”I would like to understand why this error occurs and why it is not possible to proceed with this process. We have users who use the Wiki’s built-in editor to develop content, and without this functionality, their work becomes more difficult.It is important to note that this issue occurs when we use the branch protection feature. Read More
Content Pane: Have option to default to “Recent” images rather than “Stock” images
The new content pane hit my tenant today. There’s one serious sticking point with it: The default promotion of stock images.
My company does not use stock images. We use our own images. The stock images showing up in the content pane are very inappropriate for our content. Images of lions, crayons, canoeing, flower bouquets are showing up. I work in an industry that deals with human life and death every minute of every day. These images are simply inappropriate for what we do. They may be fine for a lot of organizations, but they absolutely, positively are not for mine.
I would LOVE to have the ability to have images recently uploaded to the site be the default in this space rather than stock images. That would actually be helpful to the page editor. The stock images being the default just confuses the editor and makes it more difficult from a corporate content management perspective.
The new content pane hit my tenant today. There’s one serious sticking point with it: The default promotion of stock images. My company does not use stock images. We use our own images. The stock images showing up in the content pane are very inappropriate for our content. Images of lions, crayons, canoeing, flower bouquets are showing up. I work in an industry that deals with human life and death every minute of every day. These images are simply inappropriate for what we do. They may be fine for a lot of organizations, but they absolutely, positively are not for mine. I would LOVE to have the ability to have images recently uploaded to the site be the default in this space rather than stock images. That would actually be helpful to the page editor. The stock images being the default just confuses the editor and makes it more difficult from a corporate content management perspective. Read More
Concat with formatting
I am attempting to concat a number of columns together and add return formatting within the cell. I am able to write the following formula with success. =I2&CHAR(10)&CHAR(10)&K2&CHAR(10)&CHAR(10)&AE2&CHAR(10)&CHAR(10)&L2&M2&CHAR(10)&CHAR(10)&N2&O2,
When I save this excel file, even as a csv and import this file into my POS (Point of Sale) program the POS does not recognize CHAR(10) as a return function. In speaking with the support staff for my POS, this system will only recognize <p> & <p/> as return and paragraph functions to import. Does anyone know how to use <p> & <p/> in and excel formula?
I am attempting to concat a number of columns together and add return formatting within the cell. I am able to write the following formula with success. =I2&CHAR(10)&CHAR(10)&K2&CHAR(10)&CHAR(10)&AE2&CHAR(10)&CHAR(10)&L2&M2&CHAR(10)&CHAR(10)&N2&O2,When I save this excel file, even as a csv and import this file into my POS (Point of Sale) program the POS does not recognize CHAR(10) as a return function. In speaking with the support staff for my POS, this system will only recognize <p> & <p/> as return and paragraph functions to import. Does anyone know how to use <p> & <p/> in and excel formula? Read More
Input error: -2146893008
Hi
I’m trying to understand what is causing this error. Can’t find much information online.
From the error description it looks like a network issue however I need more info to come up with a solution.
DATE/TIME: xxxxxxxxxxxxxx
DESCRIPTION: A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: -2146893008, output error: 0).
COMMENT: This is a Fatal Error In Current Process Alert. Please review immediately.
JOB RUN: (None)
Regards
Brian
HiI’m trying to understand what is causing this error. Can’t find much information online. From the error description it looks like a network issue however I need more info to come up with a solution. DATE/TIME: xxxxxxxxxxxxxxDESCRIPTION: A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: -2146893008, output error: 0).COMMENT: This is a Fatal Error In Current Process Alert. Please review immediately.JOB RUN: (None) RegardsBrian Read More
Opacity in Call to Action web part
A while back the “Add your call to action text here” portion of the Call to Action web part was changed to be translucent; able to see the imagery behind the text rather than having a solid color background behind the text. This has decreased readability when the background has text within it (such as a sign on a building) or is of a fairly detailed design. I am now spending hours of my week dealing with site editors to adjust these backgrounds so they’re clear to read in desktop and mobile.
I would really like to see this web part have the option to be translucent or opaque. There are times when translucent is fine, but I’m finding there are so, so, so many times where it simply doesn’t work.
A while back the “Add your call to action text here” portion of the Call to Action web part was changed to be translucent; able to see the imagery behind the text rather than having a solid color background behind the text. This has decreased readability when the background has text within it (such as a sign on a building) or is of a fairly detailed design. I am now spending hours of my week dealing with site editors to adjust these backgrounds so they’re clear to read in desktop and mobile.I would really like to see this web part have the option to be translucent or opaque. There are times when translucent is fine, but I’m finding there are so, so, so many times where it simply doesn’t work. Read More
Generating a Sin wave that changes frequency pseudo randomly after each period?
Im trying to program a sig gen that uses mathlad and was wondering if there is a way to generate a sin wave that changes frequency psuedo randomly after each period for a given lenght time? Is there a shortcut or does matlab have a library to accomplish this task?Im trying to program a sig gen that uses mathlad and was wondering if there is a way to generate a sin wave that changes frequency psuedo randomly after each period for a given lenght time? Is there a shortcut or does matlab have a library to accomplish this task? Im trying to program a sig gen that uses mathlad and was wondering if there is a way to generate a sin wave that changes frequency psuedo randomly after each period for a given lenght time? Is there a shortcut or does matlab have a library to accomplish this task? digital signal processing, signal processing, signal MATLAB Answers — New Questions
Why Are My Microsoft 365 Integrations Not Syncing Across Applications?
I’m encountering issues with Microsoft 365 where integrations between applications are not syncing properly. For example, updates made in one app are not reflecting in others, causing inconsistencies. I’ve verified my settings and checked for updates, but the problem persists. Has anyone else faced this issue, and what troubleshooting steps or solutions have you found effective in ensuring seamless integration and synchronization across Microsoft 365 apps?
I’m encountering issues with Microsoft 365 where integrations between applications are not syncing properly. For example, updates made in one app are not reflecting in others, causing inconsistencies. I’ve verified my settings and checked for updates, but the problem persists. Has anyone else faced this issue, and what troubleshooting steps or solutions have you found effective in ensuring seamless integration and synchronization across Microsoft 365 apps? Read More