Month: June 2024
High packet latency in WLAN system level simulation example
Hi,
I am new to wi-fi protocol and simulations. I have started working with the basic WLAN system level simulation example of MATLAB – Link
The latency in this example even after commenting out the wireless channel fading part and changing the "MACFrameAbstraction" to "false" and "PHYAbstractionMethod" to "none" comes out above or near to 0.2 sec for both the AP and STA.
How can I model the system for ideal scenerio and reduce this latency values?
Thanks,
GarvitHi,
I am new to wi-fi protocol and simulations. I have started working with the basic WLAN system level simulation example of MATLAB – Link
The latency in this example even after commenting out the wireless channel fading part and changing the "MACFrameAbstraction" to "false" and "PHYAbstractionMethod" to "none" comes out above or near to 0.2 sec for both the AP and STA.
How can I model the system for ideal scenerio and reduce this latency values?
Thanks,
Garvit Hi,
I am new to wi-fi protocol and simulations. I have started working with the basic WLAN system level simulation example of MATLAB – Link
The latency in this example even after commenting out the wireless channel fading part and changing the "MACFrameAbstraction" to "false" and "PHYAbstractionMethod" to "none" comes out above or near to 0.2 sec for both the AP and STA.
How can I model the system for ideal scenerio and reduce this latency values?
Thanks,
Garvit wlan, wi-fi, wireless communication MATLAB Answers — New Questions
Microsoft Todo (on Teams) goes blank occassionally
See image, The Private tasks (from Microsoft Todo) go blank occasionally.
You can still view other tasks from Planner, but the private tasks disappear and won’t come back until you click away from the Planner window completely and sometimes after multiple tries.
Microsoft Teams version 24124.2315.2911.3357. Client version is 49/24050307617
Could this be fixed please?
See image, The Private tasks (from Microsoft Todo) go blank occasionally.You can still view other tasks from Planner, but the private tasks disappear and won’t come back until you click away from the Planner window completely and sometimes after multiple tries. Microsoft Teams version 24124.2315.2911.3357. Client version is 49/24050307617 Could this be fixed please? Read More
I am unable to extend the C drive volume. The ‘Extend Volume’ option is disabled in Windows 11 Home.
I am unable to extend the C drive volume. The ‘Extend Volume’ option is disabled in Windows 11 Home. Trying using DISKPART but the same issue.
I am unable to extend the C drive volume. The ‘Extend Volume’ option is disabled in Windows 11 Home. Trying using DISKPART but the same issue. Read More
📢 Announcement!! Azure OpenAI and Azure AI Search connectors are now Generally Available (GA)
Announcing General Availability: Azure OpenAI and AI Search Connectors for Logic Apps
We are thrilled to announce the General Availability of the Azure OpenAI and AI Search connectors for Logic Apps. These new connectors integrate the power of Azure Open AI’s natural language processing with Azure AI Search’s intelligent search capabilities, enabling developers to build intelligent, AI-driven applications seamlessly.
Innovate where you Integrate
Data is the cornerstone of any AI application, unique to each organization. Business processes, whether in the cloud or within a VNET, rely on this data and can be managed by modern or legacy applications. Regardless of where your data resides, Azure Logic Apps offers the ability to easily infuse AI into both new and existing business processes.
With over 1000 connectors to various applications and services, Logic Apps simplifies the integration of AI, enabling the development of Retrieval-Augmented Generation (RAG) applications. This seamless integration enhances the functionality and intelligence of your business processes, ensuring that your applications are both innovative and efficient.
By leveraging these connectors alongside AI services, organizations can transform their operations and generate intelligent insights like never before. Whether it’s automating routine tasks, enhancing customer interactions and support, or generating insights, Azure Logic Apps provides a robust platform for embedding AI into your enterprise’s fabric.
RAG-based Patterns for AI Applications using Azure Logic Apps
Using Logic Apps and these AI connectors, you can quickly build and productionize AI applications based on RAG pattern. Retrieval-Augmented Generation (RAG) combines retrieval and generative models to improve the accuracy and relevance of AI-generated content. This pattern is particularly useful in scenarios where precise information retrieval is crucial, such as:
Customer Support Automation
Automate customer support by generating accurate responses using Azure OpenAI and retrieving relevant information from knowledge bases with Azure AI Search.
Document Processing
Streamline document-heavy processes by summarizing, extracting key information, and translating documents with Azure OpenAI, while Azure AI Search enables quick document retrieval.
Content Generation
Create high-quality content for blogs and social media with the help of Azure OpenAI, and ensure its accuracy and relevance using Azure AI Search.
Personalized Recommendations
Build personalized recommendation systems by analyzing user behavior with Azure OpenAI and retrieving matching products, services, or content using Azure AI Search.
Healthcare Data Management
Enhance healthcare data management by summarizing patient records and extracting critical information with Azure OpenAI, while Azure AI Search helps in quickly locating specific patient information or research articles.
Financial Analysis and Reporting
Improve financial analysis by generating comprehensive financial reports using Azure OpenAI and retrieving relevant financial data and market trends with Azure AI Search.
Key Features and Capabilities
The connectors simplify backend processes with a codeless setup, reducing the complexity of integrating AI capabilities into workflows.
The Azure OpenAI Connector provides powerful AI functionalities such as generating embeddings, summarization, and chat completion, which are pivotal for creating sophisticated AI applications. Meanwhile, the Azure AI Search Connector enhances data retrieval with advanced vector and hybrid search operations.
You can ingest and retrieve both structured and unstructured data and in various formats such as documents, pdfs, json, text and more.
Getting Started
To get started with the Azure OpenAI and Azure AI Search connector for Logic Apps, visit the MS Learn documentation. Here, you will find detailed guides on how to set up and integrate these powerful tools into your workflows.
What’s Next
The General Availability of the Azure OpenAI and Azure AI Search connector for Logic Apps marks a significant step forward in the integration of AI into business processes. By leveraging these cutting-edge technologies, businesses can unlock new levels of efficiency, intelligence, and innovation. We are excited to see how you will use these capabilities to transform your workflows and drive success. We’d love to hear from you – please fill out this form ( aka.ms/raglogicapps) so that we can connect with you.
Stay tuned for more updates and case studies showcasing the impact of Azure OpenAI and Azure AI Search on various industries. As always, we are committed to supporting your journey towards a more intelligent and automated future.
Microsoft Tech Community – Latest Blogs –Read More
Error publishing lane data as custom message
I am trying to publish XY lane points in world coordinates as a custom ros message. No problem adding the custom message to matlab.I can see it in rosmsg list. The error occurs in data assignment. I get the following error
‘A signal can be assigned only once, but the assigned bus signal ‘Xleft’ fully covers the assigned signal ‘Xleft.Data_SL_Info.CurrentLength’ in block ‘LKA0110/Subsystem/Bus Assignment1’
I could not find a suitable explanation on what this error means. Has anyone encountered this before?
Thank youI am trying to publish XY lane points in world coordinates as a custom ros message. No problem adding the custom message to matlab.I can see it in rosmsg list. The error occurs in data assignment. I get the following error
‘A signal can be assigned only once, but the assigned bus signal ‘Xleft’ fully covers the assigned signal ‘Xleft.Data_SL_Info.CurrentLength’ in block ‘LKA0110/Subsystem/Bus Assignment1’
I could not find a suitable explanation on what this error means. Has anyone encountered this before?
Thank you I am trying to publish XY lane points in world coordinates as a custom ros message. No problem adding the custom message to matlab.I can see it in rosmsg list. The error occurs in data assignment. I get the following error
‘A signal can be assigned only once, but the assigned bus signal ‘Xleft’ fully covers the assigned signal ‘Xleft.Data_SL_Info.CurrentLength’ in block ‘LKA0110/Subsystem/Bus Assignment1’
I could not find a suitable explanation on what this error means. Has anyone encountered this before?
Thank you ros, custom messages, ros publisher, bus assignment MATLAB Answers — New Questions
Error (misclassification probability or MSE)
Hi all. I am trying to use the Error (misclassification probability or MSE) function. In the help documentation it shows an example of useage as err = error(B,TBLnew,Ynew). I tried this with err=error(Mdl,Inps,Outs) with Mdl being the LSBOOST ensemble, Inps being the matrix of vars and Outs being the target. If I try this I get ‘Error using error Too many output arguments.’ . I presume I’m missing something here but can’t seem to find a an example.Hi all. I am trying to use the Error (misclassification probability or MSE) function. In the help documentation it shows an example of useage as err = error(B,TBLnew,Ynew). I tried this with err=error(Mdl,Inps,Outs) with Mdl being the LSBOOST ensemble, Inps being the matrix of vars and Outs being the target. If I try this I get ‘Error using error Too many output arguments.’ . I presume I’m missing something here but can’t seem to find a an example. Hi all. I am trying to use the Error (misclassification probability or MSE) function. In the help documentation it shows an example of useage as err = error(B,TBLnew,Ynew). I tried this with err=error(Mdl,Inps,Outs) with Mdl being the LSBOOST ensemble, Inps being the matrix of vars and Outs being the target. If I try this I get ‘Error using error Too many output arguments.’ . I presume I’m missing something here but can’t seem to find a an example. mse, lsboost, ensemble, error MATLAB Answers — New Questions
An error occurred (‘RTW:buildProcess:fatalBuildError’) when calling ‘sim’: error while running SIL Simulation in Test manager
I am running SIL in test manager enviornment and my test cases are failing randomly with the error saying,
An error occurred (‘RTW:buildProcess:fatalBuildError’) when calling ‘sim’:
Error(s) encountered while building "XXX_rtwlib"
While the code for model is getting generated without any issues.
Could you please assist me in resolving the issueI am running SIL in test manager enviornment and my test cases are failing randomly with the error saying,
An error occurred (‘RTW:buildProcess:fatalBuildError’) when calling ‘sim’:
Error(s) encountered while building "XXX_rtwlib"
While the code for model is getting generated without any issues.
Could you please assist me in resolving the issue I am running SIL in test manager enviornment and my test cases are failing randomly with the error saying,
An error occurred (‘RTW:buildProcess:fatalBuildError’) when calling ‘sim’:
Error(s) encountered while building "XXX_rtwlib"
While the code for model is getting generated without any issues.
Could you please assist me in resolving the issue (‘rtw:buildprocess:fatalbuilderror’) when calling MATLAB Answers — New Questions
Moved auth db from localdb to mssql now I get a cert error
here is the error
SqlException: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 – The certificate chain was issued by an authority that is not trusted.)
I did an export in ssms from localdb to the new sql databasse then changed the default connection
here is the error SqlException: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 – The certificate chain was issued by an authority that is not trusted.) I did an export in ssms from localdb to the new sql databasse then changed the default connection Read More
Templates for Azure Logic Apps Standard: Seeking Your Feedback on UI Wireframes
Preview the New Templates for Azure Logic Apps: Seeking Your Feedback on UI Wireframes
Introduction
Azure Logic Apps continues to add powerful features that simplify complex integrations and automations. As we prepare to release support for templates, we are excited to share our UI wireframes with you. Your feedback is crucial in helping us refine and perfect this new feature.
What Are Templates?
Templates in Azure Logic Apps are pre-built workflow solutions designed to address common integration scenarios. They cover a wide range of use cases, from simple data transfers to complex, multi-step automations, and event-driven processes. Templates provide a solid foundation, allowing users to quickly set up and deploy workflows without starting from scratch.
Why Are Templates Important?
Templates play a crucial role in integration projects by offering several benefits:
Time-Saving: They significantly reduce the time required to set up complex workflows, providing ready-made solutions that can be deployed quickly.
Best Practices: Templates ensure that workflows adhere to industry standards and best practices, resulting in more reliable and efficient integrations.
Ease of Use: By simplifying the integration process, templates make it accessible to users with varying levels of technical expertise.
Consistency: Using templates helps maintain consistency across different workflows and projects, reducing errors and improving maintainability.
Data Mapping: Developers often spend considerable time creating maps to transform data between formats. With this release, templates will include support for maps, allowing you to leverage these pre-configured maps. When updates are required, the tools available in Logic Apps enable you to easily customize and adapt the maps to meet your specific business needs.
Key Features Highlighted in Wireframes:
Template Library: Explore a comprehensive collection of pre-built templates.
Search and Filter: Quickly find the templates you need with powerful search and filtering tools.
Preview: Review entire workflow, pre-requisites, connectors used, and more before you decide to select a template
Configuration: Easily configure the connections, parameters via an intuitive wizard
Call to Action: We invite you to review our wireframes and share your feedback. Your insights are essential to us.
What’s in the Roadmap?
Open-Source Templates Library: We are excited to announce the development of an open source templates library (details will be shared soon). This initiative will allow the community to collaborate with Microsoft to enrich our templates gallery. You can contribute your own templates, helping to build a diverse and comprehensive repository that benefits all users.
Customer’s Templates: In addition to using templates from our gallery, you will soon be able to generate and publish templates tailored specifically for your organization. This feature will enable you to create custom templates that address your unique business needs and share them within your organization, promoting standardization and efficiency.
Advanced Scenarios: For more complex integration needs, we are working on support for advanced scenarios that expand across multiple workflows. These advanced templates will facilitate sophisticated integrations, providing robust solutions for enterprises with complex workflow requirements.
Thank you for being a part of our community and helping us shape the future of Azure Logic Apps. We are committed to delivering features that meet your needs and exceed your expectations. We appreciate your support and contributions.
Microsoft Tech Community – Latest Blogs –Read More
📢 Announcement!! Azure Open AI and Azure AI Search connectors are now Generally Available (GA)
Announcing General Availability: Azure Open AI and AI Search Connectors for Logic Apps
We are thrilled to announce the General Availability of the Azure Open AI and AI Search connectors for Logic Apps. These new connectors integrate the power of Azure Open AI’s natural language processing with Azure AI Search’s intelligent search capabilities, enabling developers to build intelligent, AI-driven applications seamlessly.
Innovate where you Integrate
Data is the cornerstone of any AI application, unique to each organization. Business processes, whether in the cloud or within a VNET, rely on this data and can be managed by modern or legacy applications. Regardless of where your data resides, Azure Logic Apps offers the ability to easily infuse AI into both new and existing business processes.
With over 1000 connectors to various applications and services, Logic Apps simplifies the integration of AI, enabling the development of Retrieval-Augmented Generation (RAG) applications. This seamless integration enhances the functionality and intelligence of your business processes, ensuring that your applications are both innovative and efficient.
By leveraging these connectors alongside AI services, organizations can transform their operations and generate intelligent insights like never before. Whether it’s automating routine tasks, enhancing customer interactions and support, or generating insights, Azure Logic Apps provides a robust platform for embedding AI into your enterprise’s fabric.
RAG-based Patterns for AI Applications using Azure Logic Apps
Using Logic Apps and these AI connectors, you can quickly build and productionize AI applications based on RAG pattern. Retrieval-Augmented Generation (RAG) combines retrieval and generative models to improve the accuracy and relevance of AI-generated content. This pattern is particularly useful in scenarios where precise information retrieval is crucial, such as:
Customer Support Automation
Automate customer support by generating accurate responses using Azure Open AI and retrieving relevant information from knowledge bases with Azure AI Search.
Document Processing
Streamline document-heavy processes by summarizing, extracting key information, and translating documents with Azure Open AI, while Azure AI Search enables quick document retrieval.
Content Generation
Create high-quality content for blogs and social media with the help of Azure Open AI, and ensure its accuracy and relevance using Azure AI Search.
Personalized Recommendations
Build personalized recommendation systems by analyzing user behavior with Azure Open AI and retrieving matching products, services, or content using Azure AI Search.
Healthcare Data Management
Enhance healthcare data management by summarizing patient records and extracting critical information with Azure Open AI, while Azure AI Search helps in quickly locating specific patient information or research articles.
Financial Analysis and Reporting
Improve financial analysis by generating comprehensive financial reports using Azure Open AI and retrieving relevant financial data and market trends with Azure AI Search.
Key Features and Capabilities
The connectors simplify backend processes with a codeless setup, reducing the complexity of integrating AI capabilities into workflows.
The Azure OpenAI Connector provides powerful AI functionalities such as generating embeddings, summarization, and chat completion, which are pivotal for creating sophisticated AI applications. Meanwhile, the Azure AI Search Connector enhances data retrieval with advanced vector and hybrid search operations.
You can ingest and retrieve both structured and unstructured data and in various formats such as documents, pdfs, json, text and more.
Getting Started
To get started with the Azure OpenAI and Azure AI Search connector for Logic Apps, visit the MS Learn documentation. Here, you will find detailed guides on how to set up and integrate these powerful tools into your workflows.
What’s Next
The General Availability of the Azure OpenAI and Azure AI Search connector for Logic Apps marks a significant step forward in the integration of AI into business processes. By leveraging these cutting-edge technologies, businesses can unlock new levels of efficiency, intelligence, and innovation. We are excited to see how you will use these capabilities to transform your workflows and drive success.
Stay tuned for more updates and case studies showcasing the impact of Azure OpenAI and Azure AI Search on various industries. As always, we are committed to supporting your journey towards a more intelligent and automated future.
Microsoft Tech Community – Latest Blogs –Read More
Error: Function definition not supported in this context. Create functions in code file.
Hello,
I was trying to create a simple function on matlab, I already have a file named "AddOne.m", so it should work, however at the first line of code, matlab throws the following error
"Error: Function definition not supported in this context. Create functions in code file.". Any ideas how to sort this out?
Thanks in advance!Hello,
I was trying to create a simple function on matlab, I already have a file named "AddOne.m", so it should work, however at the first line of code, matlab throws the following error
"Error: Function definition not supported in this context. Create functions in code file.". Any ideas how to sort this out?
Thanks in advance! Hello,
I was trying to create a simple function on matlab, I already have a file named "AddOne.m", so it should work, however at the first line of code, matlab throws the following error
"Error: Function definition not supported in this context. Create functions in code file.". Any ideas how to sort this out?
Thanks in advance! function, matlab function, error MATLAB Answers — New Questions
how do i plot the following signal in matlab? x(n)=4u(n)-u(n-1)-u(n-2)-2u(n-3)
plz include steps so that i will be able to do it properly.plz include steps so that i will be able to do it properly. plz include steps so that i will be able to do it properly. continuous time signal MATLAB Answers — New Questions
Steps to Manually Add PowerShell Modules in Function App
Function App lets you leverage PowerShell gallery for managing dependencies. Your PowerShell modules defined in requirements.psd1 file will be downloaded automatically if you enable dependency management. However, if your Function App runs on Consumption plan and the size of dependent modules is too large, chances are the download would fail. During the installation, the modules would be unziped and saved in the “D:localTemp”, which is the temp storage on the plan worker. Due to the 500 MB limit of temp storage on consumption plan, the installation would fail with not enough space error:
System Log: { Log-Level: Warning; Log-Message: Save-Module(‘Microsoft.Graph’, ‘2.18.0’): Package ‘Microsoft.Graph.Files’ failed to be installed because: There is not enough space on the disk. : ‘C:localTemp282636592Microsoft.Graph.Files.2.18.0binMicrosoft.Graph.Files.private.dll’ }
The easiest workaround is to scale up the function app plan to premium plan, as premium plan has much larger temp file size. However, this is not the most cost-saving option. You can install the module seperately to the app without depending on the dependency management feature either from local deployment or manual installation from the portal. Here I provide the steps with the second option to add the PowerShell modules directly using “Advanced Tools”.
Find and download modules from PowerShell Gallery to your local system. You should choose “manual download” and download the .nupkg files of the modules.
Unzip the .nupkg files and rename the folder to the module official name without the version number.
Open “App Service Editor” and create a new folder with name “Modules” under “wwwroot” folder.
Go to SCM site of the Function App and navigate to “C:homesitewwwrootModules” path on the file system.
Drag and drop the module package that you have downloaded before to the “Modules” folder on the SCM site.
Go to “App Files”, modify the “requirements.psd1” as the following, with the corresponding version number of the module:
In “host.json file”, verify the managedDependency setting has a value of “Enabled” and is set to “False”.
Restart the app, which is very important.
Now, you have successfully added the PowerShell modules to the Function App running on consumption plan, minus the “not enough space” error.
Microsoft Tech Community – Latest Blogs –Read More
How to make sure that the horizontal axes of two figures align?
I have two figures, which I want to put side by side in my thesis.
These two figures have different x and y labels and ticks, therefore, generally their horizontal axes are not on the same height.
That is ugly.
How to make sure the horizontal axes align?I have two figures, which I want to put side by side in my thesis.
These two figures have different x and y labels and ticks, therefore, generally their horizontal axes are not on the same height.
That is ugly.
How to make sure the horizontal axes align? I have two figures, which I want to put side by side in my thesis.
These two figures have different x and y labels and ticks, therefore, generally their horizontal axes are not on the same height.
That is ugly.
How to make sure the horizontal axes align? plot MATLAB Answers — New Questions
Simulink Support Package for Parrot Minidrones flight log analyze
I am conducting flight tests using the Simulink Support Package for Parrot Minidrones.
After completing the flight tests, I am analyzing the flight log and encountered the following motor values: [motor values: 301.137787 -294.847717 272.892029 -285.380737].
I am unsure whether these motor values are in the units of PWM, rad/s, or rpm.
Could you please let me know where I can find this information?I am conducting flight tests using the Simulink Support Package for Parrot Minidrones.
After completing the flight tests, I am analyzing the flight log and encountered the following motor values: [motor values: 301.137787 -294.847717 272.892029 -285.380737].
I am unsure whether these motor values are in the units of PWM, rad/s, or rpm.
Could you please let me know where I can find this information? I am conducting flight tests using the Simulink Support Package for Parrot Minidrones.
After completing the flight tests, I am analyzing the flight log and encountered the following motor values: [motor values: 301.137787 -294.847717 272.892029 -285.380737].
I am unsure whether these motor values are in the units of PWM, rad/s, or rpm.
Could you please let me know where I can find this information? simulink support package for parrot minidrones, mambo drone, flight log analyze MATLAB Answers — New Questions
Designfilt and bandstopfir adds +320dB for some reason
Good evening!
I am trying to create a set of FIR filters (using designfilt) to apply to some audio signals, and I’m having an issue.
When I try to use a ‘bandstopfir’, for some reason the whole signal is amplified around +320dB (while ‘bandpassfir’, ‘lowpassfir’ and ‘highpassfir’ are working correctly)
Here’s a quick example of the code I’m using, and I added the resulting images of each of these cases showing the issue:
clear
filterObject1 = designfilt(‘bandstopfir’,’FilterOrder’,301,…
‘CutoffFrequency1′,2000,’CutoffFrequency2′,4000,’SampleRate’,48000);
filterObject2 = designfilt(‘bandpassfir’,’FilterOrder’,301,…
‘CutoffFrequency1′,2000,’CutoffFrequency2′,4000,’SampleRate’,48000);
Here are images using fvtool to show both filter responses:
Bandstop (incorrect behaviour):
Bandpass (expected behaviour):
Is this a bug, is the installation I’m using somehow broken, or am I doing something wrong?Good evening!
I am trying to create a set of FIR filters (using designfilt) to apply to some audio signals, and I’m having an issue.
When I try to use a ‘bandstopfir’, for some reason the whole signal is amplified around +320dB (while ‘bandpassfir’, ‘lowpassfir’ and ‘highpassfir’ are working correctly)
Here’s a quick example of the code I’m using, and I added the resulting images of each of these cases showing the issue:
clear
filterObject1 = designfilt(‘bandstopfir’,’FilterOrder’,301,…
‘CutoffFrequency1′,2000,’CutoffFrequency2′,4000,’SampleRate’,48000);
filterObject2 = designfilt(‘bandpassfir’,’FilterOrder’,301,…
‘CutoffFrequency1′,2000,’CutoffFrequency2′,4000,’SampleRate’,48000);
Here are images using fvtool to show both filter responses:
Bandstop (incorrect behaviour):
Bandpass (expected behaviour):
Is this a bug, is the installation I’m using somehow broken, or am I doing something wrong? Good evening!
I am trying to create a set of FIR filters (using designfilt) to apply to some audio signals, and I’m having an issue.
When I try to use a ‘bandstopfir’, for some reason the whole signal is amplified around +320dB (while ‘bandpassfir’, ‘lowpassfir’ and ‘highpassfir’ are working correctly)
Here’s a quick example of the code I’m using, and I added the resulting images of each of these cases showing the issue:
clear
filterObject1 = designfilt(‘bandstopfir’,’FilterOrder’,301,…
‘CutoffFrequency1′,2000,’CutoffFrequency2′,4000,’SampleRate’,48000);
filterObject2 = designfilt(‘bandpassfir’,’FilterOrder’,301,…
‘CutoffFrequency1′,2000,’CutoffFrequency2′,4000,’SampleRate’,48000);
Here are images using fvtool to show both filter responses:
Bandstop (incorrect behaviour):
Bandpass (expected behaviour):
Is this a bug, is the installation I’m using somehow broken, or am I doing something wrong? designfilt, filter, bandstopfir, matlab MATLAB Answers — New Questions
find a value & store in new variable (again)
Dear Matlab friends,
We recently posted a question about finding values and storing them in new variables:
http://www.mathworks.com/matlabcentral/answers/31471-find-a-value-store-in-new-variable
Our question remains in the sense that we would like to know how to procede when we have a matrix rathen than a cell array.
Indeed, we have a 384 x 14 matrix A, and we would like to find all occurrences of number [2] in column 1, and save corresponded value in column 2 in a new variable "new_variable":
A =
3 5 6 …
2 3 5
2 3 4
1 4 5
5 7 9
…
so the result would be:
new_variable =
2
2
The suggestion for cell arrays was
new_variable = A{2}(A{1} == 2);
We thank you very much for any suggestion!
Best,
UdiubuDear Matlab friends,
We recently posted a question about finding values and storing them in new variables:
http://www.mathworks.com/matlabcentral/answers/31471-find-a-value-store-in-new-variable
Our question remains in the sense that we would like to know how to procede when we have a matrix rathen than a cell array.
Indeed, we have a 384 x 14 matrix A, and we would like to find all occurrences of number [2] in column 1, and save corresponded value in column 2 in a new variable "new_variable":
A =
3 5 6 …
2 3 5
2 3 4
1 4 5
5 7 9
…
so the result would be:
new_variable =
2
2
The suggestion for cell arrays was
new_variable = A{2}(A{1} == 2);
We thank you very much for any suggestion!
Best,
Udiubu Dear Matlab friends,
We recently posted a question about finding values and storing them in new variables:
http://www.mathworks.com/matlabcentral/answers/31471-find-a-value-store-in-new-variable
Our question remains in the sense that we would like to know how to procede when we have a matrix rathen than a cell array.
Indeed, we have a 384 x 14 matrix A, and we would like to find all occurrences of number [2] in column 1, and save corresponded value in column 2 in a new variable "new_variable":
A =
3 5 6 …
2 3 5
2 3 4
1 4 5
5 7 9
…
so the result would be:
new_variable =
2
2
The suggestion for cell arrays was
new_variable = A{2}(A{1} == 2);
We thank you very much for any suggestion!
Best,
Udiubu save, variable, find MATLAB Answers — New Questions
How Does MS Word default display characteristics
I have a docx that contains the following two fragments <w:r> <w:rPr> <w:rFonts w:ascii=”Times” w:hAnsi=”Times”/> <w:b w:val=”1″/> <w:bCs w:val=”1″/> <w:sz w:val=”24″/> <w:szCs w:val=”24″/> <w:rtl w:val=”0″/> <w:lang w:val=”es-ES_tradnl”/> </w:rPr> <w:t>Bold Text 1</w:t></w:r>…<w:r> <w:rPr> <w:rFonts w:ascii=”Times” w:hAnsi=”Times”/> <w:b w:val=”1″/> <w:bCs w:val=”1″/> <w:rtl w:val=”0″/> </w:rPr> <w:t>Bold Text 2</w:t></w:r> Both “Bold Text 1” and “Bold Text 2” are displayed (and defined) as 12 Point text, yet both the sz and szCs tags are missing from the definition of “Bold Text 2” I cant help thinking that MS Word implements a mechanism for defaulting tag values. Can anyone provide insight into this mechanism. I realize I havnt provided much contextual information, and can provide this if required. But I cant help thinking that this is a general implmentation issue for MS Word. Grevillea Read More
How to calculate velocity potential using netcdf winds?
I have to calculate the velocity potential of the u and v components of the wind variables inside a netcdf file.
Thing is Im very lost at how to calculate it on maltab. Any suggestion would be very helpful.I have to calculate the velocity potential of the u and v components of the wind variables inside a netcdf file.
Thing is Im very lost at how to calculate it on maltab. Any suggestion would be very helpful. I have to calculate the velocity potential of the u and v components of the wind variables inside a netcdf file.
Thing is Im very lost at how to calculate it on maltab. Any suggestion would be very helpful. meteorology, mathematics, physics, matlab, netcdf MATLAB Answers — New Questions
How do you customize Start Menu pins of an AD user?
I’ve got a bit of an issue. Windows 11 Pro, and this is an Active Directory user. We use Group Policy, not Intune. Also, right-click is disabled on the Start Menu and Desktop.
I’d assumed that customizing the Start Menu was as easy as creating a .JSON file and importing it via Powershell. That, or applying the .JSON file via Group Policy. It turns out you can’t apply a .JSON file using Group Policy.
Currently, the Start Menu pins are default, so they link a bunch of random Windows apps. None of the existing Start Menu pins are of use, so I’d like to remove them all and create my own.
I could not find a working solution to remove the pins, as I tried a Powershell script. I also couldn’t add any shortcuts.
I want to avoid the use of third-party software. How can I customize the Start Menu?
I’ve got a bit of an issue. Windows 11 Pro, and this is an Active Directory user. We use Group Policy, not Intune. Also, right-click is disabled on the Start Menu and Desktop.I’d assumed that customizing the Start Menu was as easy as creating a .JSON file and importing it via Powershell. That, or applying the .JSON file via Group Policy. It turns out you can’t apply a .JSON file using Group Policy.Currently, the Start Menu pins are default, so they link a bunch of random Windows apps. None of the existing Start Menu pins are of use, so I’d like to remove them all and create my own.I could not find a working solution to remove the pins, as I tried a Powershell script. I also couldn’t add any shortcuts.I want to avoid the use of third-party software. How can I customize the Start Menu? Read More