Month: September 2024
Numbers on the middle of colorbar in MATLAB
How to create a colorbar in MATLAB like this in which the numebrs comes exactly on the colorbar cell.How to create a colorbar in MATLAB like this in which the numebrs comes exactly on the colorbar cell. How to create a colorbar in MATLAB like this in which the numebrs comes exactly on the colorbar cell. colorbar, numbers, matlab MATLAB Answers — New Questions
About fitting one curve with one equation and calculating two values from fitting
I want to fit one curve (x vs y1) with equation y2=(1/ (exp(e-u))/kt)) with same x axis and want to find the value of e and u. How can I do it?I want to fit one curve (x vs y1) with equation y2=(1/ (exp(e-u))/kt)) with same x axis and want to find the value of e and u. How can I do it? I want to fit one curve (x vs y1) with equation y2=(1/ (exp(e-u))/kt)) with same x axis and want to find the value of e and u. How can I do it? about fitting one curve with one equation MATLAB Answers — New Questions
What is TextControl>TextControl.process listed when profiling appdesigner code (Matlab 2021b)?
I am writing an application using appdesigner in Matlab 2021b. I have been using the profiler to understand how to improve the response times of the application display, and the most time consuming function name is always listed as ‘TextControl>TextControl.process’ as follows:
To improve the response time of my application, I have been reducing the number of calls to plot() and text(), and this has been quite helpful. But I am finding this ‘TextControl’ function calls entry hard to understand, so it is not so easy to progress further. Any suggestions would be appreciated.I am writing an application using appdesigner in Matlab 2021b. I have been using the profiler to understand how to improve the response times of the application display, and the most time consuming function name is always listed as ‘TextControl>TextControl.process’ as follows:
To improve the response time of my application, I have been reducing the number of calls to plot() and text(), and this has been quite helpful. But I am finding this ‘TextControl’ function calls entry hard to understand, so it is not so easy to progress further. Any suggestions would be appreciated. I am writing an application using appdesigner in Matlab 2021b. I have been using the profiler to understand how to improve the response times of the application display, and the most time consuming function name is always listed as ‘TextControl>TextControl.process’ as follows:
To improve the response time of my application, I have been reducing the number of calls to plot() and text(), and this has been quite helpful. But I am finding this ‘TextControl’ function calls entry hard to understand, so it is not so easy to progress further. Any suggestions would be appreciated. profiler, text, appdesigner, plotting MATLAB Answers — New Questions
Where can I find details regarding the SGP4 orbit propagator (satellite function of Aerospace Toolbox)?
Related help page: https://www.mathworks.com/help/aerotbx/ug/satellitescenario.satellite.html#namevaluepairarguments
What assumptions does SGP4 propagator make for spacecraft ballistic coefficient?
What other perturbations are included or excluded? What assumptions are made for those?Related help page: https://www.mathworks.com/help/aerotbx/ug/satellitescenario.satellite.html#namevaluepairarguments
What assumptions does SGP4 propagator make for spacecraft ballistic coefficient?
What other perturbations are included or excluded? What assumptions are made for those? Related help page: https://www.mathworks.com/help/aerotbx/ug/satellitescenario.satellite.html#namevaluepairarguments
What assumptions does SGP4 propagator make for spacecraft ballistic coefficient?
What other perturbations are included or excluded? What assumptions are made for those? satellite MATLAB Answers — New Questions
Plotting a graph based on a large table
Im trying to graph a large 17×17 table and haven’t got a clue how to do it, i’ve managed to import the data from Excel but cant work out how to display the relationship between the x and y axis when there are so many different data entries. Any help would be great, thanks.Im trying to graph a large 17×17 table and haven’t got a clue how to do it, i’ve managed to import the data from Excel but cant work out how to display the relationship between the x and y axis when there are so many different data entries. Any help would be great, thanks. Im trying to graph a large 17×17 table and haven’t got a clue how to do it, i’ve managed to import the data from Excel but cant work out how to display the relationship between the x and y axis when there are so many different data entries. Any help would be great, thanks. plotting, tables MATLAB Answers — New Questions
Help with Query String Filter and Web Part Connection – Stuck with 5000 Items Threshold
Hi everyone,
I’m encountering a frustrating issue with dynamically filtering data on Web Part Pages in SharePoint using the Query String (URL) Filter Web Part, and I’d love some guidance.
Setup:
I have a document library with over 15,000 items (and growing). Two relevant columns are School and Archived—both of which are indexed.No single school will ever have more than 5,000 documents, so I assumed I could bypass the 5,000-item threshold when filtering the document library on the web part page.
My Configuration:
I’m using a Query String (URL) Filter Web Part to dynamically filter multiple Document Library Web Parts based on the “School” parameter passed via the URL (e.g., ?School=XYZ).This works perfectly without any filters applied to the document library web part views.
The Problem:
As soon as I add a filter in the document library view (e.g., Archived = Yes), I hit the infamous “cannot exceed 5000 items” error.This makes me believe that the archived filter in the document library web part triggers before the URL query string filter, causing the list view threshold error.
My Goal:
I need to figure out how to make the Query String (School) filter apply first, before any additional view filters like “Archived = Yes” get applied.
Previous Working Setup (SharePoint Designer):
When SharePoint Designer (SPD) was available, I could set up parameters using “Get Parameters From” rather than filters, allowing me to prevent the 5,000-item error by filtering inside the document library web part.I’ve used this setup on other pages successfully in the same environment, but I no longer have access to SPD.Now, I get the error: “The consumer Web Part did not provide schema information.”
Ideas and Solutions I’ve Tried (and where I’m stuck):
Parameter-Based Filtering: I want to be able to add a parameter like School = {Param1} inside the document library view filter. This used to work when I could use SPD. Does anyone know of a way to enable parameter-based filtering now that SPD isn’t available?Script Editor/Web Part Sequence: I think the problem might be that the Archive column (with over 5,000 items) loads before the School filter gets applied. Is there a way to force the School filter to load first, possibly using a Script Editor Web Part to control the filter sequence?
Constraints:
I cannot install any custom solutions like SPFx, and I have to use Web Part Pages because the modern experience doesn’t support the Query String URL Web Part in the same way.
Thanks in advance!
Hi everyone,I’m encountering a frustrating issue with dynamically filtering data on Web Part Pages in SharePoint using the Query String (URL) Filter Web Part, and I’d love some guidance. Setup:I have a document library with over 15,000 items (and growing). Two relevant columns are School and Archived—both of which are indexed.No single school will ever have more than 5,000 documents, so I assumed I could bypass the 5,000-item threshold when filtering the document library on the web part page.My Configuration:I’m using a Query String (URL) Filter Web Part to dynamically filter multiple Document Library Web Parts based on the “School” parameter passed via the URL (e.g., ?School=XYZ).This works perfectly without any filters applied to the document library web part views. The Problem:As soon as I add a filter in the document library view (e.g., Archived = Yes), I hit the infamous “cannot exceed 5000 items” error.This makes me believe that the archived filter in the document library web part triggers before the URL query string filter, causing the list view threshold error. My Goal:I need to figure out how to make the Query String (School) filter apply first, before any additional view filters like “Archived = Yes” get applied. Previous Working Setup (SharePoint Designer):When SharePoint Designer (SPD) was available, I could set up parameters using “Get Parameters From” rather than filters, allowing me to prevent the 5,000-item error by filtering inside the document library web part.I’ve used this setup on other pages successfully in the same environment, but I no longer have access to SPD.Now, I get the error: “The consumer Web Part did not provide schema information.” Ideas and Solutions I’ve Tried (and where I’m stuck):Parameter-Based Filtering: I want to be able to add a parameter like School = {Param1} inside the document library view filter. This used to work when I could use SPD. Does anyone know of a way to enable parameter-based filtering now that SPD isn’t available?Script Editor/Web Part Sequence: I think the problem might be that the Archive column (with over 5,000 items) loads before the School filter gets applied. Is there a way to force the School filter to load first, possibly using a Script Editor Web Part to control the filter sequence? Constraints:I cannot install any custom solutions like SPFx, and I have to use Web Part Pages because the modern experience doesn’t support the Query String URL Web Part in the same way. Thanks in advance! Read More
Outlook search error in current mailbox
We’re experiencing a strange outlook search issue while migrating users between forests.
Here a little background.
– Forest A is the actual production one with exchange 2016 servers and users are working fine, outlook searches are working fine for all users.
– Forest B is the new forest which we are migrating users, and lately their mailboxes.
At the moment we are migrating, with ADMT, users and their PC from forest A to forest B with no issues regarding their mailboxes.
Outlook profile is migrated correctly during the Users/PC migration and all is working fine except for the “search” in outlook client which fails.
We found, however, that if the search scope is changed from “current folder” or “current mailbox” to “All outlook items” the search works.
We cannot find what is causing the search in current folder, or current mailbox, to fail but succeding when All Outlook items is selected.
We’re experiencing a strange outlook search issue while migrating users between forests.Here a little background.- Forest A is the actual production one with exchange 2016 servers and users are working fine, outlook searches are working fine for all users.- Forest B is the new forest which we are migrating users, and lately their mailboxes.At the moment we are migrating, with ADMT, users and their PC from forest A to forest B with no issues regarding their mailboxes. Outlook profile is migrated correctly during the Users/PC migration and all is working fine except for the “search” in outlook client which fails. We found, however, that if the search scope is changed from “current folder” or “current mailbox” to “All outlook items” the search works.We cannot find what is causing the search in current folder, or current mailbox, to fail but succeding when All Outlook items is selected. Read More
Logitech Rally Bar enrollment deferring to Intune, then failing
We have about 10x existing Logitech Rally bar devices enrolled in the Teams Admin portal. They are not present in Intune.
When i sign-on to a new device I’m being diverted to InTune and ultimately failing with an error The device isn’t enrolled in device administrator.
I can see the device listed in the Teams admin centre.
Any idea why my recent registrations are attempting to go to InTune?
Thanks
We have about 10x existing Logitech Rally bar devices enrolled in the Teams Admin portal. They are not present in Intune. When i sign-on to a new device I’m being diverted to InTune and ultimately failing with an error The device isn’t enrolled in device administrator. I can see the device listed in the Teams admin centre. Any idea why my recent registrations are attempting to go to InTune? Thanks Read More
Microsoft Copilot Changing to Enterprise Data Protection – Clarifications
Can someone clarify something for me. With Commercial Data Protection we’ve told users that the app is secure by design (as per the adoption kit).
Basically nothing is stored and no one can see your chat data.
Now with the update mentioned here implies there is a chat history AND your chats area available to admins?
Am I missing something or is this a fundamental change?
Thanks
David
Can someone clarify something for me. With Commercial Data Protection we’ve told users that the app is secure by design (as per the adoption kit).Basically nothing is stored and no one can see your chat data. Now with the update mentioned here implies there is a chat history AND your chats area available to admins?Am I missing something or is this a fundamental change? ThanksDavid Read More
Standard user no longer able to change the Time one in Windows 11 24H2
It appears that a standard user no linger has the ability to change the Time Zone as they once did, and as a local admin still does – Settings -> Time and Language -> Date and Time -> Time Zone.
Time Zone, and anything related, just isn’t there anymore – hidden from view – when trying to access this as a standard user.
I’ve tried giving the rights through User Rights Assignment, but that didn’t bear any fruit.
Is there a way to give this right back to the user?
It appears that a standard user no linger has the ability to change the Time Zone as they once did, and as a local admin still does – Settings -> Time and Language -> Date and Time -> Time Zone. Time Zone, and anything related, just isn’t there anymore – hidden from view – when trying to access this as a standard user. I’ve tried giving the rights through User Rights Assignment, but that didn’t bear any fruit. Is there a way to give this right back to the user? Read More
Help with Deploying AI Agents to Microsoft Teams Chats
Hello,
I need help with deploying AI Agents (bots) to Microsoft Teams chats. Here’s my current setup:
– I have a REST API endpoint that processes user queries and provides LLM-based responses.
– Users on my platform can create custom AI assistants.
What I need assistance with is:
– How to deploy these AI bots into Microsoft Teams chats, allowing end users to create and integrate their assistants directly into Teams.
– Any resources or step-by-step guidance on bot registration, deployment, or integrating custom bots would be appreciated.
Thank you for your help!
Hello,I need help with deploying AI Agents (bots) to Microsoft Teams chats. Here’s my current setup:- I have a REST API endpoint that processes user queries and provides LLM-based responses.- Users on my platform can create custom AI assistants.What I need assistance with is:- How to deploy these AI bots into Microsoft Teams chats, allowing end users to create and integrate their assistants directly into Teams.- Any resources or step-by-step guidance on bot registration, deployment, or integrating custom bots would be appreciated.Thank you for your help! Read More
How Spotify Premium Enhances Digital Media Experiences on My Website
Hi everyone!
I’ve recently integrated Spotify Premium features on my website, and I wanted to discuss how this has improved user engagement. Whether it’s through embedded playlists or seamless music experiences, the platform has added significant value to my digital content. I’m curious to hear if others have integrated Spotify Premium into their websites or platforms and how it has impacted their user interaction and retention. What challenges or benefits have you encountered?”
Looking forward to your thoughts!
Hi everyone!I’ve recently integrated Spotify Premium features on my website, and I wanted to discuss how this has improved user engagement. Whether it’s through embedded playlists or seamless music experiences, the platform has added significant value to my digital content. I’m curious to hear if others have integrated Spotify Premium into their websites or platforms and how it has impacted their user interaction and retention. What challenges or benefits have you encountered?”Looking forward to your thoughts! Read More
AVD and the new Windows App – CA policy
Hi.
Short backgroud: We’ve been using AVD for several years.
We have a CA policy that essentially blocks access to cloud services when access originates from native windows application.
When we started using AVD a while back of course we added to this CA policy and “excluded ” AVD client apps. In other words, AVD client apps (on Windows devices is exclued , thus the policy is not assigned, thus users can connect to AVD using the thier windows desktop AVD client app.
Now – with the new Windows App we are testig it and stuck. We thought to simply add to this CA policy the additional AVD clients app id’s as per msft windows app documentation for Windows App.
But, on Windows devices, using the new Windows App, the CA policy doesn’t seem to recognize it as excluded (therefore the user is blocked as per this CA policy). nb: the new windows app on macOS works fine and the CA policy recognized the native windows app client as excluded and allows access…so we know the policy is bahaving as expected. But – not when using the windows app on an windows device os device. )
What app i missing in my CA policy (in our case, on the excluded list of cloud apps) ?
Currently i have :
Microsoft Remote Desktop
a4a365df-50f1-4397-bc59-1a1564b8bb9c
Windows Cloud Login
270efc09-cd0d-444b-a71f-39af4910ec45
Windows Virtual Desktop
5a0aa725-4958-4b0c-80a9-34562e23f3b7
Windows Virtual Desktop
9cdead84-a844-4324-93f2-b2e6bb768d07
Windows Virtual Desktop Client
fa4345a4-a730-4230-84a8-7d9651b86739
Many thanks
Hi. Short backgroud: We’ve been using AVD for several years. We have a CA policy that essentially blocks access to cloud services when access originates from native windows application. When we started using AVD a while back of course we added to this CA policy and “excluded ” AVD client apps. In other words, AVD client apps (on Windows devices is exclued , thus the policy is not assigned, thus users can connect to AVD using the thier windows desktop AVD client app. Now – with the new Windows App we are testig it and stuck. We thought to simply add to this CA policy the additional AVD clients app id’s as per msft windows app documentation for Windows App. But, on Windows devices, using the new Windows App, the CA policy doesn’t seem to recognize it as excluded (therefore the user is blocked as per this CA policy). nb: the new windows app on macOS works fine and the CA policy recognized the native windows app client as excluded and allows access…so we know the policy is bahaving as expected. But – not when using the windows app on an windows device os device. ) What app i missing in my CA policy (in our case, on the excluded list of cloud apps) ? Currently i have : Microsoft Remote Desktopa4a365df-50f1-4397-bc59-1a1564b8bb9c Windows Cloud Login270efc09-cd0d-444b-a71f-39af4910ec45 Windows Virtual Desktop5a0aa725-4958-4b0c-80a9-34562e23f3b7 Windows Virtual Desktop9cdead84-a844-4324-93f2-b2e6bb768d07 Windows Virtual Desktop Clientfa4345a4-a730-4230-84a8-7d9651b86739 Many thanks Read More
Several computers stuck on 26100.710
We deployed about 20 laptops in June with the ISO preview release available in late May / early June. Most of them have properly updated to 26100.1742 now. 4 are stuck at 710 though. They don’t show any pending updates. My only idea is to forcefully install 2024-09 Cumulative Update for Windows 11 Version 24H2 for x64-based Systems (KB5043080). Not sure what else to do?
We deployed about 20 laptops in June with the ISO preview release available in late May / early June. Most of them have properly updated to 26100.1742 now. 4 are stuck at 710 though. They don’t show any pending updates. My only idea is to forcefully install 2024-09 Cumulative Update for Windows 11 Version 24H2 for x64-based Systems (KB5043080). Not sure what else to do? Read More
Outlook Group Calendar disappearing
I am using the new version of Outlook. I have tried creating a group calendar from a distribution list and it disappears after saying it was added.
I am using the new version of Outlook. I have tried creating a group calendar from a distribution list and it disappears after saying it was added. Read More
Using Copilot in Excel to analyze text insights
I was having a conversation with a small business owner, and they mentioned wanting to have an emphasis on improving customer service and ratings, but the process of reading feedback and survey responses was taking up a lot of time. I often spend time analyzing questions and comments from customers, and it’s always a painstaking task dissecting verbatims and identifying themes and insights, let alone develop an action plan to resolve them. With the recent slate of enhancements announced, including Copilot in Excel being generally available, I thought it’d be appropriate to explore some ways Copilot could help make this a much simpler task.
Tip 1: Use Copilot in Excel to summarize unstructured text in a table
Easily one of the best tips that could save you time when trying to dig into and get insights from feedback verbatims is to ask Copilot to do it for you! Whether it’s customer feedback, survey results, or focus group studies, you can simply ask Copilot to summarize the text data.
In this example, I open my spreadsheet with customer ratings and feedback. I then open Copilot in Excel on the top right and ask it to “Please summarize the feedback in this sheet.”
Copilot provides a high-level summary of the feedback, group it into different themes. Very quickly, with little effort, we already have some insights that we could start working with!
Tip 2: Add specifics to your prompt to get more precise insights
As we’ve covered in previous editions, how you craft your prompt matters. Let’s say you want to drill down further and get more insights focused on more negative reviews and areas of improvement.
Using the same example data here, you could then write a prompt like, “Hone in on Feedback with Ratings of less than 3, can you summarize this feedback and provide key themes and areas of improvement.”
Copilot first explains what it’s doing:
Then, based on the focused information, gives me back more detailed and specific information so that I can focus on specific aspects of customer service that I want to address, including tips on how to take action.
Just like that, we were able to find insights from raw feedback that would’ve otherwise taken time to parse through manually, and I can instead focus on building an action plan to help address my issues!
Let me know in the comments below how else you’ve been using Microsoft 365 Copilot, or if there are tips you’d like to see!
Microsoft Tech Community – Latest Blogs –Read More
Load nonfinite (Inf or NaN) data into simulink simulation
Before R2022b it was possible to directly load a timeseries with nonfinite data into a Simulink model. Either by loading it directly from the workspace via the Data Import/Export tab of the Configuration Parameters, or by using a similar approach using a ‘From Workspace’ block.
As of R2022b the support for the following types is dropped: Simulink.Timeseries, Simulink.TsArray, Simulink.SubsysDataLogs, ScopeDataLogs, and StateflowDataLogs.
This means that I have to search for a new way to load nonfinite data into my model. The Simulink.Timeseries documentation suggests to use a Simulink.SimulationData.Dataset. Unfortunately this doesn’t seem to be a valid option, as it throws the following error: "The Data property of timeseries must be a built-in numeric, logical, fixed point or enumerated type. Data must be finite (not Inf or NaN)."
What other options are available to load data into a simulation, if the data must be able to contain Inf or NaN?Before R2022b it was possible to directly load a timeseries with nonfinite data into a Simulink model. Either by loading it directly from the workspace via the Data Import/Export tab of the Configuration Parameters, or by using a similar approach using a ‘From Workspace’ block.
As of R2022b the support for the following types is dropped: Simulink.Timeseries, Simulink.TsArray, Simulink.SubsysDataLogs, ScopeDataLogs, and StateflowDataLogs.
This means that I have to search for a new way to load nonfinite data into my model. The Simulink.Timeseries documentation suggests to use a Simulink.SimulationData.Dataset. Unfortunately this doesn’t seem to be a valid option, as it throws the following error: "The Data property of timeseries must be a built-in numeric, logical, fixed point or enumerated type. Data must be finite (not Inf or NaN)."
What other options are available to load data into a simulation, if the data must be able to contain Inf or NaN? Before R2022b it was possible to directly load a timeseries with nonfinite data into a Simulink model. Either by loading it directly from the workspace via the Data Import/Export tab of the Configuration Parameters, or by using a similar approach using a ‘From Workspace’ block.
As of R2022b the support for the following types is dropped: Simulink.Timeseries, Simulink.TsArray, Simulink.SubsysDataLogs, ScopeDataLogs, and StateflowDataLogs.
This means that I have to search for a new way to load nonfinite data into my model. The Simulink.Timeseries documentation suggests to use a Simulink.SimulationData.Dataset. Unfortunately this doesn’t seem to be a valid option, as it throws the following error: "The Data property of timeseries must be a built-in numeric, logical, fixed point or enumerated type. Data must be finite (not Inf or NaN)."
What other options are available to load data into a simulation, if the data must be able to contain Inf or NaN? simulink nonfinite inf nan MATLAB Answers — New Questions
AMSimulink.mdl not find after Matlab installation
Hi everyone
I have an issue to find the files AMSimulink.mdl and also Aspen-Matlab on C:programfilesMatlabbin……. boths files not availble here after matlab installation
what I understand these two files are mandatory to connect aspentech dynamic to matlab.
in the first time when I install Matlab 2023 a it was okay ,the two files were there but after upgrade to 2024 a ,the two files not available ,even after remove then all and reinstall again the issue not solved
thank you for your help and supportHi everyone
I have an issue to find the files AMSimulink.mdl and also Aspen-Matlab on C:programfilesMatlabbin……. boths files not availble here after matlab installation
what I understand these two files are mandatory to connect aspentech dynamic to matlab.
in the first time when I install Matlab 2023 a it was okay ,the two files were there but after upgrade to 2024 a ,the two files not available ,even after remove then all and reinstall again the issue not solved
thank you for your help and support Hi everyone
I have an issue to find the files AMSimulink.mdl and also Aspen-Matlab on C:programfilesMatlabbin……. boths files not availble here after matlab installation
what I understand these two files are mandatory to connect aspentech dynamic to matlab.
in the first time when I install Matlab 2023 a it was okay ,the two files were there but after upgrade to 2024 a ,the two files not available ,even after remove then all and reinstall again the issue not solved
thank you for your help and support transferred MATLAB Answers — New Questions
Possibility of Custom Denominator of Transfer Function within Simulink
I’m trying to replicate a part of a block diagram and I’m unable to use a normal transfer function block as it only accepts the input signal, and not a varying time constant such as tau_D. I know that I can use a function block and create a code to accept both the input signal and the time varying variable. However, within simulink I’m not able to use the "tf" function as it not supported. I apply state space method, and while the results are within 1-2 Hp, I’m not happy with the time response of the engine ramping up to the desired HP number (See display and scope). It also doesn’t start at zero. When I uncomment the rest of the diagram to verify how it integrates with the other blocks within the block diagram, the function block produces the following error:
"Derivative of state ‘1’ in block ‘Question_Variable_Transfer_Function/Integrator’ at time 0.0 is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)"
Essentially, my it boils down too two questions:
1.) Is there a block or a function that allows a variable time constant (tau_D) to be inputted into the denominator of the transfer function of the transfer function?
2.) Apart from changing the fixed step size, is there any other way to remove the error simulink is presenting.
I appreciate any guidance or help to mitigate this issue? Thanks in advance.I’m trying to replicate a part of a block diagram and I’m unable to use a normal transfer function block as it only accepts the input signal, and not a varying time constant such as tau_D. I know that I can use a function block and create a code to accept both the input signal and the time varying variable. However, within simulink I’m not able to use the "tf" function as it not supported. I apply state space method, and while the results are within 1-2 Hp, I’m not happy with the time response of the engine ramping up to the desired HP number (See display and scope). It also doesn’t start at zero. When I uncomment the rest of the diagram to verify how it integrates with the other blocks within the block diagram, the function block produces the following error:
"Derivative of state ‘1’ in block ‘Question_Variable_Transfer_Function/Integrator’ at time 0.0 is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)"
Essentially, my it boils down too two questions:
1.) Is there a block or a function that allows a variable time constant (tau_D) to be inputted into the denominator of the transfer function of the transfer function?
2.) Apart from changing the fixed step size, is there any other way to remove the error simulink is presenting.
I appreciate any guidance or help to mitigate this issue? Thanks in advance. I’m trying to replicate a part of a block diagram and I’m unable to use a normal transfer function block as it only accepts the input signal, and not a varying time constant such as tau_D. I know that I can use a function block and create a code to accept both the input signal and the time varying variable. However, within simulink I’m not able to use the "tf" function as it not supported. I apply state space method, and while the results are within 1-2 Hp, I’m not happy with the time response of the engine ramping up to the desired HP number (See display and scope). It also doesn’t start at zero. When I uncomment the rest of the diagram to verify how it integrates with the other blocks within the block diagram, the function block produces the following error:
"Derivative of state ‘1’ in block ‘Question_Variable_Transfer_Function/Integrator’ at time 0.0 is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)"
Essentially, my it boils down too two questions:
1.) Is there a block or a function that allows a variable time constant (tau_D) to be inputted into the denominator of the transfer function of the transfer function?
2.) Apart from changing the fixed step size, is there any other way to remove the error simulink is presenting.
I appreciate any guidance or help to mitigate this issue? Thanks in advance. simulink, integrator, function block, transfer function, time constant, error MATLAB Answers — New Questions
Adding plots to an existing root locus plot
how can I add damping frequency lines constraints to an existing root locus plothow can I add damping frequency lines constraints to an existing root locus plot how can I add damping frequency lines constraints to an existing root locus plot adding constraints lines MATLAB Answers — New Questions