Category: News
Connecting Bluetooth Module and Arduino without using arduinosetup command
I’m connecting IMU9250 sensor and Bluetooth module HC-05 to my arduino and I want to get the data of the IMU using the Bluetooth module instead of using the Arduino cable.
I’m trying to use arduinosetup command but it fails at last step while testing the connection between Arduino and Bluetooth module.
I’ve tested the connection of the Bluetooth module only usning blutooth() function and it connects fine!
My question is: Is there a way to establish the connection between MATLAB and the HC-05 Bluetooth module connected to my Arduino Uno without using arduinosetup. Just by using objects and functions step by step manually.I’m connecting IMU9250 sensor and Bluetooth module HC-05 to my arduino and I want to get the data of the IMU using the Bluetooth module instead of using the Arduino cable.
I’m trying to use arduinosetup command but it fails at last step while testing the connection between Arduino and Bluetooth module.
I’ve tested the connection of the Bluetooth module only usning blutooth() function and it connects fine!
My question is: Is there a way to establish the connection between MATLAB and the HC-05 Bluetooth module connected to my Arduino Uno without using arduinosetup. Just by using objects and functions step by step manually. I’m connecting IMU9250 sensor and Bluetooth module HC-05 to my arduino and I want to get the data of the IMU using the Bluetooth module instead of using the Arduino cable.
I’m trying to use arduinosetup command but it fails at last step while testing the connection between Arduino and Bluetooth module.
I’ve tested the connection of the Bluetooth module only usning blutooth() function and it connects fine!
My question is: Is there a way to establish the connection between MATLAB and the HC-05 Bluetooth module connected to my Arduino Uno without using arduinosetup. Just by using objects and functions step by step manually. arduino, bluetooth, hc-05, imu, robotics, serial MATLAB Answers — New Questions
Why MATLAB crashed while running PV based boost converter simulink model
MATLAB simulink crashed while running model based on PV array system with boost converter. When I changed irradiation of PV array it crash simulink model and also closed MATLAB. Initially i used stair function then tried with manually constant block during running model.MATLAB simulink crashed while running model based on PV array system with boost converter. When I changed irradiation of PV array it crash simulink model and also closed MATLAB. Initially i used stair function then tried with manually constant block during running model. MATLAB simulink crashed while running model based on PV array system with boost converter. When I changed irradiation of PV array it crash simulink model and also closed MATLAB. Initially i used stair function then tried with manually constant block during running model. pv array, boost converter, simulink, simscape electrical MATLAB Answers — New Questions
One drive time to back up
Hi,
Is there a way to setup a time or date that onedrive makes a back up, like every week once?
It’s for Android one drive
Hi,Is there a way to setup a time or date that onedrive makes a back up, like every week once?It’s for Android one drive Read More
Is my Wondos controlled by my company?
I am running Windows 11 Pro that I got from Visual Studio Essentials since I have a company subscription. I then upgraded it to Insider. A new Windows update was installed and on the Update screen it was saying that your company will restart you r computer ….. does that mean my PC is controlled by my company?
Thanks
I am running Windows 11 Pro that I got from Visual Studio Essentials since I have a company subscription. I then upgraded it to Insider. A new Windows update was installed and on the Update screen it was saying that your company will restart you r computer ….. does that mean my PC is controlled by my company? Thanks Read More
Prob lem with SUMIF
I feel bad having to ask this question because I have used it in the past 10 years ago
I have a column with names in the next column I have amounts. I want to sum the total
of the amounts with the name Carolyn in the 1st comumn but I keep getting errors. I have fixed
the dumb ones but am unable to get the rest to give me a value I get a blank cell.
I feel bad having to ask this question because I have used it in the past 10 years ago I have a column with names in the next column I have amounts. I want to sum the total of the amounts with the name Carolyn in the 1st comumn but I keep getting errors. I have fixedthe dumb ones but am unable to get the rest to give me a value I get a blank cell. Read More
Why are the labels rotated?
I am working on code in which the program must detect whether the spring is inserted correctly in the handle or not. I labeled all the pictures. when I run the code, I see that the label is rotated and not like the original picture. I also noticed that it doesn’t pull the Spring_incorrect label into the image I’m also interested in the classNames part. if I write something completely different inside, it still pulls the label.
PS: how can i see all the pictures? it jsut pulls the first one.
dataDir = fullfile(‘C:UsersandraDesktopslike vrc’);
imDir = fullfile(dataDir,’nepravilno’);
pxDir = fullfile(‘C:UsersandraDesktoptestLabelingProjectGroundTruthProjectPixelLabelData’);
imds = imageDatastore(imDir);
classNames = ["Correct" "Spring" "incorrect" "Spring_incorrect"];
pixelLabelID = [1 2 3 4];
pxds = pixelLabelDatastore(pxDir,classNames,pixelLabelID);
I = read(imds);
C = read(pxds);
categories(C{1})
B = labeloverlay(I,C{1});
figure
imshow(B)I am working on code in which the program must detect whether the spring is inserted correctly in the handle or not. I labeled all the pictures. when I run the code, I see that the label is rotated and not like the original picture. I also noticed that it doesn’t pull the Spring_incorrect label into the image I’m also interested in the classNames part. if I write something completely different inside, it still pulls the label.
PS: how can i see all the pictures? it jsut pulls the first one.
dataDir = fullfile(‘C:UsersandraDesktopslike vrc’);
imDir = fullfile(dataDir,’nepravilno’);
pxDir = fullfile(‘C:UsersandraDesktoptestLabelingProjectGroundTruthProjectPixelLabelData’);
imds = imageDatastore(imDir);
classNames = ["Correct" "Spring" "incorrect" "Spring_incorrect"];
pixelLabelID = [1 2 3 4];
pxds = pixelLabelDatastore(pxDir,classNames,pixelLabelID);
I = read(imds);
C = read(pxds);
categories(C{1})
B = labeloverlay(I,C{1});
figure
imshow(B) I am working on code in which the program must detect whether the spring is inserted correctly in the handle or not. I labeled all the pictures. when I run the code, I see that the label is rotated and not like the original picture. I also noticed that it doesn’t pull the Spring_incorrect label into the image I’m also interested in the classNames part. if I write something completely different inside, it still pulls the label.
PS: how can i see all the pictures? it jsut pulls the first one.
dataDir = fullfile(‘C:UsersandraDesktopslike vrc’);
imDir = fullfile(dataDir,’nepravilno’);
pxDir = fullfile(‘C:UsersandraDesktoptestLabelingProjectGroundTruthProjectPixelLabelData’);
imds = imageDatastore(imDir);
classNames = ["Correct" "Spring" "incorrect" "Spring_incorrect"];
pixelLabelID = [1 2 3 4];
pxds = pixelLabelDatastore(pxDir,classNames,pixelLabelID);
I = read(imds);
C = read(pxds);
categories(C{1})
B = labeloverlay(I,C{1});
figure
imshow(B) image processing, matlab MATLAB Answers — New Questions
Open a 2nd Matlab session and read model-file open in the 1st session (programatically)
I have a unique situation where I need to programatically open a 2nd session of Matlab and run a script. That is easy enough. However, I need this script to check for some info in the 1st session. For example, return the current path in the first session, return a list of all the Simulink models open in the first session, maybe even rename some signals in one of the models in session 1. This I have no idea how to do.
I’ve read a bit about UDP, doesn’t look like that would work for my use-case. Any suggestions welcome. Thanks.
JI have a unique situation where I need to programatically open a 2nd session of Matlab and run a script. That is easy enough. However, I need this script to check for some info in the 1st session. For example, return the current path in the first session, return a list of all the Simulink models open in the first session, maybe even rename some signals in one of the models in session 1. This I have no idea how to do.
I’ve read a bit about UDP, doesn’t look like that would work for my use-case. Any suggestions welcome. Thanks.
J I have a unique situation where I need to programatically open a 2nd session of Matlab and run a script. That is easy enough. However, I need this script to check for some info in the 1st session. For example, return the current path in the first session, return a list of all the Simulink models open in the first session, maybe even rename some signals in one of the models in session 1. This I have no idea how to do.
I’ve read a bit about UDP, doesn’t look like that would work for my use-case. Any suggestions welcome. Thanks.
J multiple sessions, matlab, models, communicate MATLAB Answers — New Questions
Function to trainNetwork returns an unexpected error
My code returns the following error for this function call – What is the fix for this?
net = trainNetwork(X_train, categorical(y_train), layers, options);
Error using trainNetwork (line 191)
Too many input arguments.
Error in LSTMGomz (line 63)
net = trainNetwork(X_train, categorical(y_train), layers, options);
Caused by:
Error using nnet.internal.cnn.trainNetwork.DLTInputParser>iParseInputArguments (line 75)
Too many input arguments.My code returns the following error for this function call – What is the fix for this?
net = trainNetwork(X_train, categorical(y_train), layers, options);
Error using trainNetwork (line 191)
Too many input arguments.
Error in LSTMGomz (line 63)
net = trainNetwork(X_train, categorical(y_train), layers, options);
Caused by:
Error using nnet.internal.cnn.trainNetwork.DLTInputParser>iParseInputArguments (line 75)
Too many input arguments. My code returns the following error for this function call – What is the fix for this?
net = trainNetwork(X_train, categorical(y_train), layers, options);
Error using trainNetwork (line 191)
Too many input arguments.
Error in LSTMGomz (line 63)
net = trainNetwork(X_train, categorical(y_train), layers, options);
Caused by:
Error using nnet.internal.cnn.trainNetwork.DLTInputParser>iParseInputArguments (line 75)
Too many input arguments. trainnetwork MATLAB Answers — New Questions
Understanding Azure Virtual Machine Pricing: A Comprehensive Guide
In the realm of cloud computing, Azure Virtual Machines (VMs) offer a versatile and scalable solution for businesses of all sizes. However, navigating the pricing structure can be a daunting task due to the numerous variables involved. This guide aims to demystify Azure VM pricing, helping you make informed decisions for your cloud infrastructure needs.
What are Azure Virtual Machines?
Azure Virtual Machines provide on-demand, scalable computing resources with a broad range of configurations to meet various workloads. Whether you need a single VM for development purposes or a cluster of VMs to run complex, large-scale applications, Azure offers a solution tailored to your requirements.
Key Factors Influencing Azure VM Pricing
1. VM Size and Series
Azure VMs come in different sizes and series, each designed for specific use cases:
General Purpose: Balanced CPU-to-memory ratio, ideal for testing and development, small to medium databases, and low to medium traffic web servers.Compute Optimized: High CPU-to-memory ratio, suitable for medium traffic web servers, network appliances, batch processes, and application servers.Memory Optimized: High memory-to-CPU ratio, perfect for relational database servers, medium to large caches, and in-memory analytics.Storage Optimized: High disk throughput and IO, best for big data, SQL, and NoSQL databases.GPU: Specialized virtual machines with GPU capabilities for heavy graphics rendering and video editing, as well as model training and inference for deep learning.High Performance Compute: The fastest and most powerful CPU virtual machines with optional high-throughput network interfaces, designed for high-performance workloads.
2. Region
Azure operates data centers in numerous regions worldwide. Pricing can vary significantly from one region to another due to factors like demand, labor costs, and local taxes.
3. Operating System
The choice between Windows and Linux operating systems can impact pricing. Typically, Windows VMs are more expensive due to licensing fees, while Linux VMs are generally less costly.
4. Billing Options
Azure offers several billing options:
Pay-As-You-Go: You are billed by the second, making this option flexible but potentially expensive for long-term use.Reserved Instances: Commit to a VM for a one- or three-year term in exchange for a significant discount, ideal for predictable workloads.Azure savings plans: Azure savings plan for compute enables organizations to reduce eligible compute usage costs by up to 65% (off list pay-as-you-go rates) by making an hourly spend commitment for 1 or 3 years. Unlike Azure reservations, which are targeted at stable and predictable workloads, Azure savings plans are targeted for dynamic and/or evolving workloads.Spot VMs: Take advantage of unused Azure capacity at a reduced rate. Prices can fluctuate, and VMs can be evicted when Azure needs the capacity.
5. Additional Costs
Beyond the basic VM costs, there are other factors to consider:
Storage: Managed disks, data transfer, and backup services.Networking: Load balancing, IP addresses, and VPN gateways.Additional Services: Monitoring, security, and other management tools.
Example Pricing Breakdown
Let’s consider an example to illustrate how these factors come together. Suppose you need a General Purpose VM for a web application in the East US region.
Configuration:
VM Series: D2s_v3 (2 vCPUs, 8 GB RAM)Operating System: Windows ServerBilling Option: Pay-As-You-GoAdditional Services: Standard SSD Managed Disk (128 GB), Basic Load Balancer
Cost Calculation:
1. VM Cost: Approximately $0.096 per hour
2. OS License: Included in VM cost for Windows Server
3. Storage: $5.94 per month for Standard SSD Managed Disk (128 GB)
4. Networking: Basic Load Balancer cost is minimal, usually around $0.005 per hour
Assuming the VM runs 24/7 for a month (730 hours):
VM Cost: 730 hours * $0.096 = $70.08Storage: $5.94Load Balancer: 730 hours * $0.005 = $3.65Total Monthly Cost: $70.08 + $5.94 + $3.65 = $79.67
Tips for Optimizing Azure VM Costs
1. Right-Size Your VMs
Regularly review your VM usage and performance metrics to ensure you’re not over-provisioning resources. Scaling down to a smaller VM size can lead to significant cost savings.
2. Utilize Reserved Instances
If you have predictable workloads, commit to reserved instances to take advantage of substantial discounts.
3. Leverage Auto-Scaling
Implement auto-scaling to automatically adjust the number of running VMs based on demand, ensuring you only pay for what you need.
4. Spot VMs for Non-Critical Workloads
For non-critical applications, consider using Spot VMs to benefit from lower pricing, accepting the risk of potential eviction.
5. Monitor and Optimize Usage
Use Azure Cost Management and Billing tools to monitor your spending and identify opportunities for optimization.
Conclusion
Understanding Azure Virtual Machine pricing is crucial for maximizing the value of your cloud investment. By considering factors like VM size, region, operating system, and billing options, you can tailor your infrastructure to meet both performance and budgetary requirements. Regularly review and optimize your setup to ensure you’re leveraging the full potential of Azure’s flexible pricing models.
Azure’s extensive documentation and cost management tools can further assist in demystifying costs, helping you stay within budget while meeting your operational needs. Learn more
In the realm of cloud computing, Azure Virtual Machines (VMs) offer a versatile and scalable solution for businesses of all sizes. However, navigating the pricing structure can be a daunting task due to the numerous variables involved. This guide aims to demystify Azure VM pricing, helping you make informed decisions for your cloud infrastructure needs. What are Azure Virtual Machines?Azure Virtual Machines provide on-demand, scalable computing resources with a broad range of configurations to meet various workloads. Whether you need a single VM for development purposes or a cluster of VMs to run complex, large-scale applications, Azure offers a solution tailored to your requirements. Key Factors Influencing Azure VM Pricing 1. VM Size and SeriesAzure VMs come in different sizes and series, each designed for specific use cases: General Purpose: Balanced CPU-to-memory ratio, ideal for testing and development, small to medium databases, and low to medium traffic web servers.Compute Optimized: High CPU-to-memory ratio, suitable for medium traffic web servers, network appliances, batch processes, and application servers.Memory Optimized: High memory-to-CPU ratio, perfect for relational database servers, medium to large caches, and in-memory analytics.Storage Optimized: High disk throughput and IO, best for big data, SQL, and NoSQL databases.GPU: Specialized virtual machines with GPU capabilities for heavy graphics rendering and video editing, as well as model training and inference for deep learning.High Performance Compute: The fastest and most powerful CPU virtual machines with optional high-throughput network interfaces, designed for high-performance workloads. 2. RegionAzure operates data centers in numerous regions worldwide. Pricing can vary significantly from one region to another due to factors like demand, labor costs, and local taxes. 3. Operating SystemThe choice between Windows and Linux operating systems can impact pricing. Typically, Windows VMs are more expensive due to licensing fees, while Linux VMs are generally less costly. 4. Billing OptionsAzure offers several billing options: Pay-As-You-Go: You are billed by the second, making this option flexible but potentially expensive for long-term use.Reserved Instances: Commit to a VM for a one- or three-year term in exchange for a significant discount, ideal for predictable workloads.Azure savings plans: Azure savings plan for compute enables organizations to reduce eligible compute usage costs by up to 65% (off list pay-as-you-go rates) by making an hourly spend commitment for 1 or 3 years. Unlike Azure reservations, which are targeted at stable and predictable workloads, Azure savings plans are targeted for dynamic and/or evolving workloads.Spot VMs: Take advantage of unused Azure capacity at a reduced rate. Prices can fluctuate, and VMs can be evicted when Azure needs the capacity. 5. Additional CostsBeyond the basic VM costs, there are other factors to consider: Storage: Managed disks, data transfer, and backup services.Networking: Load balancing, IP addresses, and VPN gateways.Additional Services: Monitoring, security, and other management tools. Example Pricing BreakdownLet’s consider an example to illustrate how these factors come together. Suppose you need a General Purpose VM for a web application in the East US region. Configuration: VM Series: D2s_v3 (2 vCPUs, 8 GB RAM)Operating System: Windows ServerBilling Option: Pay-As-You-GoAdditional Services: Standard SSD Managed Disk (128 GB), Basic Load Balancer Cost Calculation: 1. VM Cost: Approximately $0.096 per hour2. OS License: Included in VM cost for Windows Server3. Storage: $5.94 per month for Standard SSD Managed Disk (128 GB)4. Networking: Basic Load Balancer cost is minimal, usually around $0.005 per hour Assuming the VM runs 24/7 for a month (730 hours):VM Cost: 730 hours * $0.096 = $70.08Storage: $5.94Load Balancer: 730 hours * $0.005 = $3.65Total Monthly Cost: $70.08 + $5.94 + $3.65 = $79.67 Tips for Optimizing Azure VM Costs1. Right-Size Your VMsRegularly review your VM usage and performance metrics to ensure you’re not over-provisioning resources. Scaling down to a smaller VM size can lead to significant cost savings. 2. Utilize Reserved InstancesIf you have predictable workloads, commit to reserved instances to take advantage of substantial discounts. 3. Leverage Auto-ScalingImplement auto-scaling to automatically adjust the number of running VMs based on demand, ensuring you only pay for what you need. 4. Spot VMs for Non-Critical WorkloadsFor non-critical applications, consider using Spot VMs to benefit from lower pricing, accepting the risk of potential eviction. 5. Monitor and Optimize UsageUse Azure Cost Management and Billing tools to monitor your spending and identify opportunities for optimization. ConclusionUnderstanding Azure Virtual Machine pricing is crucial for maximizing the value of your cloud investment. By considering factors like VM size, region, operating system, and billing options, you can tailor your infrastructure to meet both performance and budgetary requirements. Regularly review and optimize your setup to ensure you’re leveraging the full potential of Azure’s flexible pricing models.Azure’s extensive documentation and cost management tools can further assist in demystifying costs, helping you stay within budget while meeting your operational needs. Learn more Read More
WinServer 2022 SNMP service not listed post install
We have Windows Server 2022 servers that we would like to use SNMP to monitor. However, after installing SNMP and SNMP WMI the only thing that shows up in the services list is SNMP Traps. When I look back in the Add Roles and Features Wizard it shows both of these are installed.
Edit: Yes I have rebooted this server. Still doesn’t appear in the services list.
How do I get the SNMP service showing in the services control panel? Is there an alternative way to administer the SNMP service?
We have Windows Server 2022 servers that we would like to use SNMP to monitor. However, after installing SNMP and SNMP WMI the only thing that shows up in the services list is SNMP Traps. When I look back in the Add Roles and Features Wizard it shows both of these are installed.Edit: Yes I have rebooted this server. Still doesn’t appear in the services list. How do I get the SNMP service showing in the services control panel? Is there an alternative way to administer the SNMP service? Read More
Ability to sync Tab Groups (and the tabs inside) to our account?
Can we have the ability to sync tab groups (and their tabs) to our Edge profile sync/Microsoft account? It’s useful so we can share tab groups across multiple computers and not have to set them up each time.
Can we have the ability to sync tab groups (and their tabs) to our Edge profile sync/Microsoft account? It’s useful so we can share tab groups across multiple computers and not have to set them up each time. Read More
Sync Tables in Excel for Web
I have a team using Excel for the Web. They all have F3 licenses.
I have a table in a spreadsheet that contains a list of data that the team uses in their individual, local spreadsheets. I would like to sync the table in the source list with a corresponding table in the individual sheets to allow them to have access to the most up to date information.
From what I can tell, Excel for the Web does not support Power Query for this function, which is what I would use on the desktop.
In addition, “Paste with Links” does not capture new rows in the table, only updates to the rows initially pasted.
Can anyone offer a suggestion on how could keep two tables synced (unidirectional only) including the addition of new rows?
Thank you
I have a team using Excel for the Web. They all have F3 licenses. I have a table in a spreadsheet that contains a list of data that the team uses in their individual, local spreadsheets. I would like to sync the table in the source list with a corresponding table in the individual sheets to allow them to have access to the most up to date information. From what I can tell, Excel for the Web does not support Power Query for this function, which is what I would use on the desktop.In addition, “Paste with Links” does not capture new rows in the table, only updates to the rows initially pasted.Can anyone offer a suggestion on how could keep two tables synced (unidirectional only) including the addition of new rows? Thank you Read More
how to express a tolerance, even if it is plus or minus x, or plus x, minus y
Such as 1/16″±1/32,
or 1/8″ +0/ -1/32
I just hope there is a way!
Thanks in advance for any help provided,
Docwiz56
Such as 1/16″±1/32,or 1/8″ +0/ -1/32 I just hope there is a way! Thanks in advance for any help provided, Docwiz56 Read More
Hyperlink fourmla
Welcome All i want to send mail using hyperlink fourm
When using it i faced some errors
I cant put many mails in cc
And i cant put body of mails in many lines just one line
Could anyone help me
Example
To :email address removed for privacy reasons
Cc : email address removed for privacy reasons;email address removed for privacy reasons;email address removed for privacy reasons
Subject : work
Body : Dears
I want to thank you all
Best regard
Welcome All i want to send mail using hyperlink fourmWhen using it i faced some errorsI cant put many mails in ccAnd i cant put body of mails in many lines just one lineCould anyone help meExampleTo :email address removed for privacy reasonsCc : email address removed for privacy reasons;email address removed for privacy reasons;email address removed for privacy reasonsSubject : workBody : DearsI want to thank you allBest regard Read More
How to compute ERGODIC CHANNEL CAPACITY for 8 element mimo antenna
Nt = 5;
Nr = 5;
gammaBar = -10:2:30;
SNR = 10 .^(gammaBar/10);
H = sqrt(1/2) * (randn+1j*randn);
for idx = 1:1:length(SNR)
c(idx) = log2(det((eye(Nr))+((SNR(idx)/Nt)*abs(H)*(abs(H’)))));
end
plot(gammaBar,c)
xlabel(‘SNR in dB’);
ylabel(‘Ergodic Channel Capacity’);
Plot this frequency vs Channel CapacityNt = 5;
Nr = 5;
gammaBar = -10:2:30;
SNR = 10 .^(gammaBar/10);
H = sqrt(1/2) * (randn+1j*randn);
for idx = 1:1:length(SNR)
c(idx) = log2(det((eye(Nr))+((SNR(idx)/Nt)*abs(H)*(abs(H’)))));
end
plot(gammaBar,c)
xlabel(‘SNR in dB’);
ylabel(‘Ergodic Channel Capacity’);
Plot this frequency vs Channel Capacity Nt = 5;
Nr = 5;
gammaBar = -10:2:30;
SNR = 10 .^(gammaBar/10);
H = sqrt(1/2) * (randn+1j*randn);
for idx = 1:1:length(SNR)
c(idx) = log2(det((eye(Nr))+((SNR(idx)/Nt)*abs(H)*(abs(H’)))));
end
plot(gammaBar,c)
xlabel(‘SNR in dB’);
ylabel(‘Ergodic Channel Capacity’);
Plot this frequency vs Channel Capacity ergodic channel capacity, mimo antenna MATLAB Answers — New Questions
Matlab code to know the overshoot value of ryze tello
Hello, I have a question about ryze tello. The above site consists of a system that connects the ryze tello drone to the matlab, is hovered, moves to a square path, and then lands. I have three questions here. If the drone hovering to the designated height, I want to know the overshoot value (MP) value at that time. Second, I want to know visually how much it deviates from the designated path when moving the square path. Finally, I want to see more visually by marking the location where the drone is flying in a 3D space. If you know any of these 3 questions, please let me know. Have a nice day!Hello, I have a question about ryze tello. The above site consists of a system that connects the ryze tello drone to the matlab, is hovered, moves to a square path, and then lands. I have three questions here. If the drone hovering to the designated height, I want to know the overshoot value (MP) value at that time. Second, I want to know visually how much it deviates from the designated path when moving the square path. Finally, I want to see more visually by marking the location where the drone is flying in a 3D space. If you know any of these 3 questions, please let me know. Have a nice day! Hello, I have a question about ryze tello. The above site consists of a system that connects the ryze tello drone to the matlab, is hovered, moves to a square path, and then lands. I have three questions here. If the drone hovering to the designated height, I want to know the overshoot value (MP) value at that time. Second, I want to know visually how much it deviates from the designated path when moving the square path. Finally, I want to see more visually by marking the location where the drone is flying in a 3D space. If you know any of these 3 questions, please let me know. Have a nice day! ryze trello MATLAB Answers — New Questions
Connecting to ChatGPT using API
I tried connecting to Chat GPT with the following web instructions and get the error as reflected …
prompt = ‘What is the capital of France?’;
api_key = ‘sk-4Y8TmelxvsdfghfghhdT3BlbkFJepdojXzket1MmQpA9cov’;
url = ‘https://api.openai.com/v1/engines/davinci/completions’;
options = weboptions(‘KeyName’,’Authorization’,’KeyValue’,[‘Bearer ‘ api_key],’MediaType’,’application/json’);
data = webwrite(url,’prompt’,prompt,’max_tokens’,2048,’model’,’text-davinci-003′,’stop’,”,options);
answer = loadjson(data);
answer = answer.choices{1}.text;
disp(answer)
Does anyone know how to connect MATLAB to Chat GPT to send prompts and retrieve back the responses. Also how to send data over to fine tune the model and then to further prompt that model?
It would be good for Mathworks to double quick release a toolbox on FileExchange for this as Python already has an OpenAI library. Seems like Mathworks is always one step behind Python these days.
ThxI tried connecting to Chat GPT with the following web instructions and get the error as reflected …
prompt = ‘What is the capital of France?’;
api_key = ‘sk-4Y8TmelxvsdfghfghhdT3BlbkFJepdojXzket1MmQpA9cov’;
url = ‘https://api.openai.com/v1/engines/davinci/completions’;
options = weboptions(‘KeyName’,’Authorization’,’KeyValue’,[‘Bearer ‘ api_key],’MediaType’,’application/json’);
data = webwrite(url,’prompt’,prompt,’max_tokens’,2048,’model’,’text-davinci-003′,’stop’,”,options);
answer = loadjson(data);
answer = answer.choices{1}.text;
disp(answer)
Does anyone know how to connect MATLAB to Chat GPT to send prompts and retrieve back the responses. Also how to send data over to fine tune the model and then to further prompt that model?
It would be good for Mathworks to double quick release a toolbox on FileExchange for this as Python already has an OpenAI library. Seems like Mathworks is always one step behind Python these days.
Thx I tried connecting to Chat GPT with the following web instructions and get the error as reflected …
prompt = ‘What is the capital of France?’;
api_key = ‘sk-4Y8TmelxvsdfghfghhdT3BlbkFJepdojXzket1MmQpA9cov’;
url = ‘https://api.openai.com/v1/engines/davinci/completions’;
options = weboptions(‘KeyName’,’Authorization’,’KeyValue’,[‘Bearer ‘ api_key],’MediaType’,’application/json’);
data = webwrite(url,’prompt’,prompt,’max_tokens’,2048,’model’,’text-davinci-003′,’stop’,”,options);
answer = loadjson(data);
answer = answer.choices{1}.text;
disp(answer)
Does anyone know how to connect MATLAB to Chat GPT to send prompts and retrieve back the responses. Also how to send data over to fine tune the model and then to further prompt that model?
It would be good for Mathworks to double quick release a toolbox on FileExchange for this as Python already has an OpenAI library. Seems like Mathworks is always one step behind Python these days.
Thx prompts, fine tune, chatgpt MATLAB Answers — New Questions
Bookings is not showing any availability on calendar
Hello All,
I am having an issue where one of my users can no longer any availability on My bookings calendar. He has the Book with Me link in his signature. When potential customers click on the link, my bookings page shows no availability to the customer. When he looks at his calendar in Outlook it shows he has availability. He is using the default my bookings configuration (did not create his own). I am unable to replicate it on my end. We are using M365 Standard as well. Can someone help with this?
Hello All, I am having an issue where one of my users can no longer any availability on My bookings calendar. He has the Book with Me link in his signature. When potential customers click on the link, my bookings page shows no availability to the customer. When he looks at his calendar in Outlook it shows he has availability. He is using the default my bookings configuration (did not create his own). I am unable to replicate it on my end. We are using M365 Standard as well. Can someone help with this? Read More
Microsoft Defender for Office 365: Adding last used dates to Tenant Allow/Block Lists
How this functionality works as this is the new feature need to understand.
How this functionality works as this is the new feature need to understand. Read More
problems with SCCM Update sync on WSUS/Software Update Point
I’m having a problem initiating syncs on my SUP. When I trigger a manual sync, the Wsyncmgr log shows the trigger, and pretends it’s going to start and says there is a problem with the config and to check the WCM.log. But nothing ever shows up in the WCM log.
Does anyone have any ideas what might be the disconnect? The system was working not too long ago (not a new install for example). But I’m a bit confused as to why this is happening. I am hoping someone can help me resolve it.
WSYNCMGR.LOG
Inbox source is local on CMPRIMARY.Company.com SMS_WSUS_SYNC_MANAGER 6/7/2024 12:05:01 PM 8448 (0x2100)
Wakeup by inbox drop SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:16 PM 8448 (0x2100)
Found local sync request file SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:21 PM 8448 (0x2100)
Starting Sync SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:21 PM 8448 (0x2100)
Performing sync on local request SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:21 PM 8448 (0x2100)
Read SUPs from SCF for CMPRIMARY.Company.com SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:21 PM 8448 (0x2100)
Found 1 SUPs SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:21 PM 8448 (0x2100)
Found active SUP SUPWSUS.Company.com from SCF File. SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:21 PM 8448 (0x2100)
STATMSG: ID=6701 SEV=I LEV=M SOURCE=”SMS Server” COMP=”SMS_WSUS_SYNC_MANAGER” SYS=CMPRIMARY.Company.com SITE=ABC PID=1768 TID=8448 GMTDATE=Fri Jun 07 17:16:21.097 2024 ISTR0=”” ISTR1=”” ISTR2=”” ISTR3=”” ISTR4=”” ISTR5=”” ISTR6=”” ISTR7=”” ISTR8=”” ISTR9=”” NUMATTRS=0 LE=0X0 SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:21 PM 8448 (0x2100)
Sync failed: WSUS server not configured. Please refer to WCM.log for configuration error details.. Source: CWSyncMgr::DoSync SMS_WSUS_SYNC_MANAGER 6/7/2024 12:21:21 PM 8448 (0x2100)
STATMSG: ID=6703 SEV=E LEV=M SOURCE=”SMS Server” COMP=”SMS_WSUS_SYNC_MANAGER” SYS=CMPRIMARY.Company.com SITE=ABC PID=1768 TID=8448 GMTDATE=Fri Jun 07 17:21:21.295 2024 ISTR0=”CWSyncMgr::DoSync” ISTR1=”WSUS server not configured. Please refer to WCM.log for configuration error details.” ISTR2=”” ISTR3=”” ISTR4=”” ISTR5=”” ISTR6=”” ISTR7=”” ISTR8=”” ISTR9=”” NUMATTRS=0 LE=0X80004005 SMS_WSUS_SYNC_MANAGER 6/7/2024 12:21:21 PM 8448 (0x2100)
Sync failed. Will retry in 60 minutes SMS_WSUS_SYNC_MANAGER 6/7/2024 12:21:21 PM 8448 (0x2100)
Setting sync alert to active state on site ABC SMS_WSUS_SYNC_MANAGER 6/7/2024 12:21:21 PM 8448 (0x2100)
Sync time: 0d00h05m00s SMS_WSUS_SYNC_MANAGER 6/7/2024 12:21:21 PM 8448 (0x2100)
Skipping Delete Expired Update relations since this is not a scheduled sync. SMS_WSUS_SYNC_MANAGER 6/7/2024 12:21:21 PM 8448 (0x2100)
Inbox source is local on CMPRIMARY.Company.com SMS_WSUS_SYNC_MANAGER 6/7/2024 12:21:21 PM 8448 (0x2100)
WCM log :
Checking for supported version of WSUS (min WSUS 4.0) SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:20 PM 7436 (0x1D0C)
Checking runtime v4.0.30319… SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:20 PM 7436 (0x1D0C)
Found supported assembly Microsoft.UpdateServices.Administration version 4.0.0.0, file version 6.3.9600.16384 SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:20 PM 7436 (0x1D0C)
Found supported assembly Microsoft.UpdateServices.BaseApi version 4.0.0.0, file version 6.3.9600.18838 SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:20 PM 7436 (0x1D0C)
Supported WSUS version found SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:20 PM 7436 (0x1D0C)
Attempting connection to WSUS server: SUPWSUS.Company.com port: 8531, useSSL: True SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:20 PM 7436 (0x1D0C)
Successfully connected to server: SUPWSUS.Company.com port: 8531, useSSL: True SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:45 PM 7436 (0x1D0C)
Verify Upstream Server settings on the Active WSUS Server SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:45 PM 7436 (0x1D0C)
No changes – WSUS Server settings are correctly configured and Upstream Server is set to Microsoft Update SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:30 PM 7436 (0x1D0C)
Get site system FQDN and account information from DB for SUPWSUS.Company.com SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:41 PM 7436 (0x1D0C)
for SUPWSUS.Company.com no connection account is available SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:41 PM 7436 (0x1D0C)
Enabling/disabling LEDBAT. SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:41 PM 7436 (0x1D0C)
WSUS Server configuration has been updated. Updating Group Info. SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:42 PM 7436 (0x1D0C)
Updating Group Info for WSUS. SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:42 PM 7436 (0x1D0C)
Setting new configuration state to 4 (WSUS_CONFIG_SUBSCRIPTION_PENDING) SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:42 PM 7436 (0x1D0C)
Refreshing categories from WSUS server SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:42 PM 7436 (0x1D0C)
Attempting connection to WSUS server: SUPWSUS.Company.com port: 8531, useSSL: True SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:42 PM 7436 (0x1D0C)
Successfully connected to server: SUPWSUS.Company.com port: 8531, useSSL: True SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:19:07 PM 7436 (0x1D0C)
I’m having a problem initiating syncs on my SUP. When I trigger a manual sync, the Wsyncmgr log shows the trigger, and pretends it’s going to start and says there is a problem with the config and to check the WCM.log. But nothing ever shows up in the WCM log.Does anyone have any ideas what might be the disconnect? The system was working not too long ago (not a new install for example). But I’m a bit confused as to why this is happening. I am hoping someone can help me resolve it. WSYNCMGR.LOG Inbox source is local on CMPRIMARY.Company.com SMS_WSUS_SYNC_MANAGER 6/7/2024 12:05:01 PM 8448 (0x2100)Wakeup by inbox drop SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:16 PM 8448 (0x2100)Found local sync request file SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:21 PM 8448 (0x2100)Starting Sync SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:21 PM 8448 (0x2100)Performing sync on local request SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:21 PM 8448 (0x2100)Read SUPs from SCF for CMPRIMARY.Company.com SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:21 PM 8448 (0x2100)Found 1 SUPs SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:21 PM 8448 (0x2100)Found active SUP SUPWSUS.Company.com from SCF File. SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:21 PM 8448 (0x2100)STATMSG: ID=6701 SEV=I LEV=M SOURCE=”SMS Server” COMP=”SMS_WSUS_SYNC_MANAGER” SYS=CMPRIMARY.Company.com SITE=ABC PID=1768 TID=8448 GMTDATE=Fri Jun 07 17:16:21.097 2024 ISTR0=”” ISTR1=”” ISTR2=”” ISTR3=”” ISTR4=”” ISTR5=”” ISTR6=”” ISTR7=”” ISTR8=”” ISTR9=”” NUMATTRS=0 LE=0X0 SMS_WSUS_SYNC_MANAGER 6/7/2024 12:16:21 PM 8448 (0x2100)Sync failed: WSUS server not configured. Please refer to WCM.log for configuration error details.. Source: CWSyncMgr::DoSync SMS_WSUS_SYNC_MANAGER 6/7/2024 12:21:21 PM 8448 (0x2100)STATMSG: ID=6703 SEV=E LEV=M SOURCE=”SMS Server” COMP=”SMS_WSUS_SYNC_MANAGER” SYS=CMPRIMARY.Company.com SITE=ABC PID=1768 TID=8448 GMTDATE=Fri Jun 07 17:21:21.295 2024 ISTR0=”CWSyncMgr::DoSync” ISTR1=”WSUS server not configured. Please refer to WCM.log for configuration error details.” ISTR2=”” ISTR3=”” ISTR4=”” ISTR5=”” ISTR6=”” ISTR7=”” ISTR8=”” ISTR9=”” NUMATTRS=0 LE=0X80004005 SMS_WSUS_SYNC_MANAGER 6/7/2024 12:21:21 PM 8448 (0x2100)Sync failed. Will retry in 60 minutes SMS_WSUS_SYNC_MANAGER 6/7/2024 12:21:21 PM 8448 (0x2100)Setting sync alert to active state on site ABC SMS_WSUS_SYNC_MANAGER 6/7/2024 12:21:21 PM 8448 (0x2100)Sync time: 0d00h05m00s SMS_WSUS_SYNC_MANAGER 6/7/2024 12:21:21 PM 8448 (0x2100)Skipping Delete Expired Update relations since this is not a scheduled sync. SMS_WSUS_SYNC_MANAGER 6/7/2024 12:21:21 PM 8448 (0x2100)Inbox source is local on CMPRIMARY.Company.com SMS_WSUS_SYNC_MANAGER 6/7/2024 12:21:21 PM 8448 (0x2100)WCM log :Checking for supported version of WSUS (min WSUS 4.0) SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:20 PM 7436 (0x1D0C)Checking runtime v4.0.30319… SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:20 PM 7436 (0x1D0C)Found supported assembly Microsoft.UpdateServices.Administration version 4.0.0.0, file version 6.3.9600.16384 SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:20 PM 7436 (0x1D0C)Found supported assembly Microsoft.UpdateServices.BaseApi version 4.0.0.0, file version 6.3.9600.18838 SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:20 PM 7436 (0x1D0C)Supported WSUS version found SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:20 PM 7436 (0x1D0C)Attempting connection to WSUS server: SUPWSUS.Company.com port: 8531, useSSL: True SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:20 PM 7436 (0x1D0C)Successfully connected to server: SUPWSUS.Company.com port: 8531, useSSL: True SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:45 PM 7436 (0x1D0C)Verify Upstream Server settings on the Active WSUS Server SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:17:45 PM 7436 (0x1D0C)No changes – WSUS Server settings are correctly configured and Upstream Server is set to Microsoft Update SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:30 PM 7436 (0x1D0C)Get site system FQDN and account information from DB for SUPWSUS.Company.com SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:41 PM 7436 (0x1D0C)for SUPWSUS.Company.com no connection account is available SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:41 PM 7436 (0x1D0C)Enabling/disabling LEDBAT. SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:41 PM 7436 (0x1D0C)WSUS Server configuration has been updated. Updating Group Info. SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:42 PM 7436 (0x1D0C)Updating Group Info for WSUS. SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:42 PM 7436 (0x1D0C)Setting new configuration state to 4 (WSUS_CONFIG_SUBSCRIPTION_PENDING) SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:42 PM 7436 (0x1D0C)Refreshing categories from WSUS server SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:42 PM 7436 (0x1D0C)Attempting connection to WSUS server: SUPWSUS.Company.com port: 8531, useSSL: True SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:18:42 PM 7436 (0x1D0C)Successfully connected to server: SUPWSUS.Company.com port: 8531, useSSL: True SMS_WSUS_CONFIGURATION_MANAGER 6/7/2024 12:19:07 PM 7436 (0x1D0C) Read More