Category: News
Start-AzAutomationRunbook : Invalid runbook parameters.
Hi Team,
My PowerShell Script trying to run a Runbook job using Runbook Hybrid worker group gives this error:
Start-AzAutomationRunbook : Invalid runbook parameters.
This happens when I am trying to pass parameter such as website name. Any help will be great.
Clear-AzContext -Force
Import-Module Az.Accounts
Import-Module Az.Automation
$Secret = “”
$AppId = “”
$TenantID = “”
$SecurePass = ConvertTo-SecureString $Secret -AsPlainText -Force
$Credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $AppId, $SecurePass
Connect-AzAccount -ServicePrincipal -Tenant $TenantID -Credential $Credential
#$IIS = “bill36”
#$Redi = “https://www.google.com”
$parameters= [ordered]@{‘SiteName’ = ‘bill36’ ; Redirect = ‘https://www.google.com’}
$resourceGroupName = “OnPrem-Automation”
$automationAccountName = “AzOnPrem-Automation”
$runbookName1 = “US03wredirect-IIS”
$hybridWorkerGroupName1 = “OnPrem-Automation”
$runbookName2 = “US01WREDIRECT111-IIS-OnPrem-Automation1”
$hybridWorkerGroupName2 = “OnPrem-Automation1”
$job1 = Start-AzAutomationRunbook -ResourceGroupName $resourceGroupName -AutomationAccountName $automationAccountName -Name $runbookName1 -Parameters $parameters -RunOn $hybridWorkerGroupName1 -debug
#$job2 = Start-AzAutomationRunbook -ResourceGroupName $resourceGroupName -AutomationAccountName $automationAccountName -Name $runbookName2 -Parameters $params2 -RunOn $hybridWorkerGroupName2
Hi Team,My PowerShell Script trying to run a Runbook job using Runbook Hybrid worker group gives this error:Start-AzAutomationRunbook : Invalid runbook parameters. This happens when I am trying to pass parameter such as website name. Any help will be great. Clear-AzContext -Force
Import-Module Az.Accounts
Import-Module Az.Automation
$Secret = “”
$AppId = “”
$TenantID = “”
$SecurePass = ConvertTo-SecureString $Secret -AsPlainText -Force
$Credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $AppId, $SecurePass
Connect-AzAccount -ServicePrincipal -Tenant $TenantID -Credential $Credential
#$IIS = “bill36”
#$Redi = “https://www.google.com”
$parameters= [ordered]@{‘SiteName’ = ‘bill36’ ; Redirect = ‘https://www.google.com’}
$resourceGroupName = “OnPrem-Automation”
$automationAccountName = “AzOnPrem-Automation”
$runbookName1 = “US03wredirect-IIS”
$hybridWorkerGroupName1 = “OnPrem-Automation”
$runbookName2 = “US01WREDIRECT111-IIS-OnPrem-Automation1”
$hybridWorkerGroupName2 = “OnPrem-Automation1”
$job1 = Start-AzAutomationRunbook -ResourceGroupName $resourceGroupName -AutomationAccountName $automationAccountName -Name $runbookName1 -Parameters $parameters -RunOn $hybridWorkerGroupName1 -debug
#$job2 = Start-AzAutomationRunbook -ResourceGroupName $resourceGroupName -AutomationAccountName $automationAccountName -Name $runbookName2 -Parameters $params2 -RunOn $hybridWorkerGroupName2 Read More
images from radio telescopes using matlab, simulink, and sdr
hello i would like to ask how to generate images from radio telescopes using matlab, simulink, and sdr. thanks very much.hello i would like to ask how to generate images from radio telescopes using matlab, simulink, and sdr. thanks very much. hello i would like to ask how to generate images from radio telescopes using matlab, simulink, and sdr. thanks very much. images, radio telescopes MATLAB Answers — New Questions
error in the code
erroe in string(j,n)=string(k,n);
for k=1:Npop
for j=1:dim
busLocation(j,k)=busd(busLocation(j,k),1);
end
sdf= unique(busLocation(:,k));
while length(sdf)<dim
sdf=randi([2 length(busd(:,1))],dim,1);
for j=1:dim
sdf(j)=busd(sdf(j),1);
end
busLocation(:,k)=sdf;
sdf= unique(busLocation(:,k));
end
end
ndif = [0.28; 0.35; 0.39; 0.35; 0.27; 0.34; 0.40; 0.34; 0.25; 0.32];
for k = 1:Npop
mdif(k)= ndif(k);
end
nsw=length(string);
mpop = round(Npop/4);
for j = 1:mpop
minman = min(mdif(:));
for k = 1:Npop
if mdif(k)== minman
for n=1:nsw
string(j,n)=string(k,n);
end
mdif(k)= 1010;
break;
end
end
end
for j = 1:(Npop-mpop)
for bits=1:nsw
string(mpop +j,bits) = string(j,bits);
end
end ; enderroe in string(j,n)=string(k,n);
for k=1:Npop
for j=1:dim
busLocation(j,k)=busd(busLocation(j,k),1);
end
sdf= unique(busLocation(:,k));
while length(sdf)<dim
sdf=randi([2 length(busd(:,1))],dim,1);
for j=1:dim
sdf(j)=busd(sdf(j),1);
end
busLocation(:,k)=sdf;
sdf= unique(busLocation(:,k));
end
end
ndif = [0.28; 0.35; 0.39; 0.35; 0.27; 0.34; 0.40; 0.34; 0.25; 0.32];
for k = 1:Npop
mdif(k)= ndif(k);
end
nsw=length(string);
mpop = round(Npop/4);
for j = 1:mpop
minman = min(mdif(:));
for k = 1:Npop
if mdif(k)== minman
for n=1:nsw
string(j,n)=string(k,n);
end
mdif(k)= 1010;
break;
end
end
end
for j = 1:(Npop-mpop)
for bits=1:nsw
string(mpop +j,bits) = string(j,bits);
end
end ; end erroe in string(j,n)=string(k,n);
for k=1:Npop
for j=1:dim
busLocation(j,k)=busd(busLocation(j,k),1);
end
sdf= unique(busLocation(:,k));
while length(sdf)<dim
sdf=randi([2 length(busd(:,1))],dim,1);
for j=1:dim
sdf(j)=busd(sdf(j),1);
end
busLocation(:,k)=sdf;
sdf= unique(busLocation(:,k));
end
end
ndif = [0.28; 0.35; 0.39; 0.35; 0.27; 0.34; 0.40; 0.34; 0.25; 0.32];
for k = 1:Npop
mdif(k)= ndif(k);
end
nsw=length(string);
mpop = round(Npop/4);
for j = 1:mpop
minman = min(mdif(:));
for k = 1:Npop
if mdif(k)== minman
for n=1:nsw
string(j,n)=string(k,n);
end
mdif(k)= 1010;
break;
end
end
end
for j = 1:(Npop-mpop)
for bits=1:nsw
string(mpop +j,bits) = string(j,bits);
end
end ; end for study MATLAB Answers — New Questions
Oral Dose Not Exhibiting Absorption/Bioavailability in Simulation
Hello! I am trying to use this model "Estimating the Bioavailibility of a Drug" that I found here, to do a simultaneous fitting of my IV infusion and P.O. blood concentration time profile. I implemented a two compartment model as well. For some reason, when I am running a simulation the oral dose exhibits a bioavailbility of >= 1, even though I have the parameter F set as 0.2. I attached images of my simulation curve (green is oral dose), model diagram, ODEs, and dosing setup. I’m thinking it might have something to do with the way I set up the dosing, but please let me know if you have any advice on how I should troubleshoot this. I am using R2024a. Please let me know if I should include anything else. Thanks!Hello! I am trying to use this model "Estimating the Bioavailibility of a Drug" that I found here, to do a simultaneous fitting of my IV infusion and P.O. blood concentration time profile. I implemented a two compartment model as well. For some reason, when I am running a simulation the oral dose exhibits a bioavailbility of >= 1, even though I have the parameter F set as 0.2. I attached images of my simulation curve (green is oral dose), model diagram, ODEs, and dosing setup. I’m thinking it might have something to do with the way I set up the dosing, but please let me know if you have any advice on how I should troubleshoot this. I am using R2024a. Please let me know if I should include anything else. Thanks! Hello! I am trying to use this model "Estimating the Bioavailibility of a Drug" that I found here, to do a simultaneous fitting of my IV infusion and P.O. blood concentration time profile. I implemented a two compartment model as well. For some reason, when I am running a simulation the oral dose exhibits a bioavailbility of >= 1, even though I have the parameter F set as 0.2. I attached images of my simulation curve (green is oral dose), model diagram, ODEs, and dosing setup. I’m thinking it might have something to do with the way I set up the dosing, but please let me know if you have any advice on how I should troubleshoot this. I am using R2024a. Please let me know if I should include anything else. Thanks! matlab, simbiology, simulation, oral dose, dosing, bioavailibility MATLAB Answers — New Questions
Simple Excel sum formula showing error
I have a simple Excel spreadsheet (summary) with multiple columns (approx. 48) summarizing nine rows of data linked from an adjoining sheet (upload). The columns total down with no problem. However, the rows totaling across are suddenly showing a #REF! error. I can see no such errors on my summary spreadsheet or on the sheet it is linked to.
I have been making changes on the linked sheet and verifying the column totals on the summary sheet after each change. I did not notice the error in the total column on the far right until it came onto the screen as I worked across. My formulas reference the range of columns from B to AT; for row 42, the formula looks like this: “=SUM(B42:AT42). The simple suggestion at MicroSoft Support that something in my cell reference was deleted or pasted over does not apply. Even if I had deleted a column, other than B or AT, it wouldn’t (shouldn’t) affect the formula.
As I said earlier, all my columns total down correctly and none is showing an error. The error is on every row, which seems odd. If I had done something anywhere, it seems it would affect not only the related row but also it should be affecting the related column. I’m sure I’ve done something to cause this, I just can’t figure out what. I continue to search.
One more thing I have other sections in this worksheet where rows are totaling across properly. If you have a suggestion share it with me.
Thanks for your time.
I have a simple Excel spreadsheet (summary) with multiple columns (approx. 48) summarizing nine rows of data linked from an adjoining sheet (upload). The columns total down with no problem. However, the rows totaling across are suddenly showing a #REF! error. I can see no such errors on my summary spreadsheet or on the sheet it is linked to. I have been making changes on the linked sheet and verifying the column totals on the summary sheet after each change. I did not notice the error in the total column on the far right until it came onto the screen as I worked across. My formulas reference the range of columns from B to AT; for row 42, the formula looks like this: “=SUM(B42:AT42). The simple suggestion at MicroSoft Support that something in my cell reference was deleted or pasted over does not apply. Even if I had deleted a column, other than B or AT, it wouldn’t (shouldn’t) affect the formula. As I said earlier, all my columns total down correctly and none is showing an error. The error is on every row, which seems odd. If I had done something anywhere, it seems it would affect not only the related row but also it should be affecting the related column. I’m sure I’ve done something to cause this, I just can’t figure out what. I continue to search. One more thing I have other sections in this worksheet where rows are totaling across properly. If you have a suggestion share it with me. Thanks for your time. Read More
new outlook and ios outlook stopped connecting to my exchange account
I’ve been using New Outlook on a Mac desktop, MacBook Pro and Outlook ios on iPhone for years. Made no changes to any device, but suddenly outlook stopped connecting and updating across all devices and will no longer connect to myexchange email and calendars.
Outlook.com works perfectly. Legacy Outlook works perfectly on Mac desktopI can also use the account using apple mail and apple calendar.
I have run the gamut with Rackspace support and Microsoft support. We did everything: install,uninstall, screen share session. Everything on the server side shows green connecting normally. However, the iPhone or new Outlook on both Mac and MacBook just shows “downloading, this could take a few moments,” and there is no icon in the top corner showing my account info.
As this is the same on iPhone, Mac desktop, and Macbook, it isn’t device-specific but rather seems to be all Apple machines but only with new Outlook and iOS, and not legacy Outlook.
I’m told that regular msft support can’t help me furhter that I need to contact Outlook for Mac support using the contact support featlure in the app. Unfortunately, using that just gives me a blank white box. Attempting to use contact support through other apps like word, pptx, etc just gives me a the pinwheel of death and freezes up the program.
So, i”m on here trying to figure out how to connect with someone, anyone who can help me get this figured out and fixed.
I’ve been using New Outlook on a Mac desktop, MacBook Pro and Outlook ios on iPhone for years. Made no changes to any device, but suddenly outlook stopped connecting and updating across all devices and will no longer connect to myexchange email and calendars. Outlook.com works perfectly. Legacy Outlook works perfectly on Mac desktopI can also use the account using apple mail and apple calendar.I have run the gamut with Rackspace support and Microsoft support. We did everything: install,uninstall, screen share session. Everything on the server side shows green connecting normally. However, the iPhone or new Outlook on both Mac and MacBook just shows “downloading, this could take a few moments,” and there is no icon in the top corner showing my account info. As this is the same on iPhone, Mac desktop, and Macbook, it isn’t device-specific but rather seems to be all Apple machines but only with new Outlook and iOS, and not legacy Outlook. I’m told that regular msft support can’t help me furhter that I need to contact Outlook for Mac support using the contact support featlure in the app. Unfortunately, using that just gives me a blank white box. Attempting to use contact support through other apps like word, pptx, etc just gives me a the pinwheel of death and freezes up the program. So, i”m on here trying to figure out how to connect with someone, anyone who can help me get this figured out and fixed. Read More
Creating a Local Network Virtual Appliance in Azure for Oracle Database@Azure
Oracle Database@Azure is an Oracle database service running on Oracle Cloud Infrastructure (OCI), collocated in Microsoft data centers. This ensures that the Oracle Database@Azure service has the fastest possible access to Azure resources and applications. The solution is intended to support the migration of Oracle database workloads to Azure, where customers can integrate and innovate with the breadth of Microsoft Cloud services.
For more information and to gain a better understanding of Oracle Database@Azure please visit Overview – Oracle Database@Azure | Microsoft Learn
Problem Statement
The current Oracle Database@Azure service has a network limitation where it cannot respond to network connections outside of its Azure virtual network ( VNet ). This limitation places constraints on extending integration to Azure services not located within the same Vnet. This issue also impacts network communication from on-premises that need to connect to the Oracle Database@Azure.
The solution is to leverage the deployment of a Network Virtual Appliance (NVA) within the Oracle Database@Azure VNet to overcome this network limitation. Microsoft and Oracle have collaborated on developing a design pattern to eliminate this network limitation, but for customers who are deploying to Azure regions where this pattern is not yet available, customers will have to deploy an NVA.
Deploying an NVA
The NVA consists of a Linux virtual machine (VM) and any supported distribution on Azure can be used. The NVA referenced in this article is not a traditional firewall, but a VM acting as a router with IP forwarding enabled and not intended to be an enterprise-scale Firewall NVA. This solution is only expected to help customers bridge the gap until the jointly engineered design pattern is available in all Azure regions.
The deployment of the NVA helps solve the specific scenarios outlined below:
where traffic inspection is required between Oracle Database on Azure and other resources
where native network support is not available
with resources that have private endpoints
resources on another Azure virtual network (VNet)
services with delegated subnets
connectivity with on-premises
Additional details on supported network topologies can be found within the following article Network planning for Oracle Database@Azure | Microsoft Learn
Scope
This article’s scope will review a network scenario within an Azure Landing Zone requiring an NVA. The deployment steps of the NVA and other ancillary steps required to complete the end-to-end implementation are included. The deployment steps of the NVA and other ancillary steps required to complete the end-to-end implementation. This article does not cover the hybrid connectivity from on-premises to Azure. That scenario will be covered in a later article; however, both share the same method of using User Defined Routes (UDR) .
Scenario Review
The Azure Landing Zone consists of Hub and Spoke architecture where the application layer is hosted in a Vnet specific for the application front end services, such as web servers. The Oracle Database@Azure is deployed in a separate dedicated Vnet for data. The Oracle Database@Azure is deployed in separate dedicated Vnet for data. The goal is to provide bidirectional network connectivity between the application layer and the data layer.
The following diagram is an overview of the scenario prior to implementation. The intent is to facilitate communication between the application layer and the data layer.
Deployment
The steps provided in this article should be followed in the designated order to ensure the expected results. The steps provided in this article should be followed in the designated order to ensure the correct expected results. Please consult with either your Microsoft or Oracle representative if you have specific questions related to your environment.
Environment Overview
Hub VNet (10.0.0.0/16)
Hub NVA: 10.0.0.4
Spoke 1 VNet – Application Tier (10.1.0.0/16)
Application Server: 10.1.0.4
Spoke 2 VNet – Oracle Database (10.2.0.0/16)
Oracle DB Subnet: 10.2.0.0/24
Oracle Database: 10.2.0.4
Local NVA Subnet: 10.2.1.0/24
Local NVA: 10.2.1.4
Note: At the time this article was published, Azure Firewall is currently only supported by this scenario using an NVA. Third-party NVA’s also require the custom NVA solution to support network communication.
Create a Linux VM in Azure as an NVA
Set up a Linux VM (using any supported distributions on Azure) in the desired resource group and region as the Oracle Database@Azure using your deployment method of choice (for example Azure portal, Azure PowerShell, or Azure CLI). As a security recommendation, be sure to leverage Secure Shell (SSH) public/private keys to ensure secure communication.
Ensure the VM is in the same Vnet, but on a separate subnet from the Oracle Database@Azure delegated subnet as well as the dedicated Oracle backup subnet if it has been deployed
Note: Sizing is very much driven by the actual traffic pattern. Consider how much traffic (volume) packets per second are required to support the implementation. Starting with a 2-core general-purpose VM (D2s_v5 with 2 vCPUs) and 8 GiB (gibibytes) of memory including accelerated networking which can be used to gauge initial performance. High storage/IOPS performance SKUs are not necessary for this use case.
As part of the deployment and monitoring strategy please consult Welcome | Azure Monitor Baseline Alerts for the proper Azure Monitor counters that should be enabled against the NVA to ensure performance and availability.
Enable IP Forwarding on the VM’s NIC (Network Interface Cards)
Go to the Networking section of the NVA VM in the Azure portal
Select the Network Interface
Under Settings, choose IP configurations
Enable IP forwarding
Enable IP Forwarding at the Operating System level
SSH into the VM.
Edit the sysctl configuration file to enable IP forwarding: sudo nano /etc/sysctl.conf
Uncomment the following line: net.ipv4.ip_forward = 1
Save and exit out of nano to apply the changes
Run the following command to reset the network status to forward network traffic without a reboot on the VM: sudo sysctl -p and hit enter. You should see the following line net.ipv4.ip_forward = 1 will appear on the screen indicating the changes were made successfully.
Ensure that the local firewall on the NVA is not enabled or set to block traffic. This can be done with a simple check on the firewall by running the following command sudo iptables -L and hit enter. This will list any possible firewall rules.
Note: If there are rules disable them with the following command sudo iptables -F and hit enter. To ensure that the firewall is not enabled by accident run the following command sudo systemctl disable iptables and hit enter.
Ensure that the Network Security Group (NSG) on the NVA is allowing all traffic from the application Vnet and the Oracle Database@Azure delegated subnet.
Configure Route Tables
Oracle Database@Azure Vnet (Spoke)
Create a route table in the Azure portal in the same region and proper resource group (RG) where the Oracle Database@Azure is located. Give it a meaningful name.
Add routes to the route table:
Oracle Database Subnet: Associate the route table with this subnet.
From Oracle Database Subnet: Set the next hop for 0.0.0.0/0 to the local NVA VM.
Important: Ensure in the configuration of the route table that all route propagation is disabled. This setup ensures that all traffic to and from the Oracle Database is forced through your local NVA.
Configure Route Tables for the NVA in the Oracle Database @azure Vnet
Create another route table in the Azure portal in the same region and proper resource group (RG) where the Oracle Database@Azure is located. Give it a meaningful name.
Add routes to the route table:
NVA Subnet: Associate the route table with this subnet.
From NVA Subnet: Set the next hop for 0.0.0.0/0 to the HUB NVA (10.0.0.4).
Important: Ensure in the configuration of the route table that all route propagation is disabled. This setup ensures that all traffic to and from the Oracle Database is forced through your local NVA.
Route Configuration Application Tier
Route to Hub NVA
Create another route table in the Azure portal in the same region and proper resource group (RG) where the Oracle Database@Azure is located. Give it a meaningful name.
Application Subnet: Attach the route table to the Application Subnet in the application Vnet.
Route from Application Vnet: Destination: 10.2.0.0/24 (Oracle Database Subnet) Next Hop: 10.0.0.4 (Hub NVA)
Important: Ensure in the configuration of the route table that all route propagation is disabled. This setup ensures that all traffic to and from the Oracle Database is forced through your local NVA.
Route Configuration Hub VNet
Route to Local NVA:
Create another route table in the Azure portal in the same region and proper resource group (RG) where the Oracle Database@Azure is located. Give it a meaningful name.
Firewall Subnet: Attach the route table to the Firewall Subnet in the Hub Vnet.
From Firewall Subnet: Set the next hop 10.2.0.0/24 (Oracle Subnet) to 10.2.1.4 (Local NVA)
Please ensure if you have a Cisco or Palo Alto or other third-party NVA’s that there are no internal static routes that may conflict with the custom route table from Azure.
Important: Ensure in the configuration of the route table that all route propagation is disabled. This setup ensures that all traffic to and from the Oracle Database is forced through your local NVA.
When finished the implementation network flow and environment should match the following diagram:
Testing
The next step is to start testing by initiating a connection from the application servers via command line. If the application servers are Linux, install the MTR (My traceroute) binary to trace the traffic to the destination port without using Internet Control Message Protocol (ICMP) and name resolution or deploy a test vm on the application subnet to test connectivity.
An example of the command would be the following: sudo mtr -T -n -P 1521 102.0.4. If the test is successful, you have implemented this solution correctly.
The second test is to install the Oracle components on the application servers to communicate with the database. Please review the Oracle Instant Client content Oracle Instant Client – Free tools and libraries for connecting to Oracle Database. Initiate a connection from the application server to the database. Ensure that the application can connect, read, and write to the database.
Next Steps
Please visit the Microsoft Cloud Adoption Framework (CAF ) Introduction to Oracle on Azure adoption scenarios – Cloud Adoption Framework | Microsoft Learn
Authors
Moises Gomez Cortez
Technical Editor and Content Contributor
Anthony de Lagarde, Erik Munson
Microsoft Tech Community – Latest Blogs –Read More
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