Answered
Warning: Results may be inaccurate because of an ill-conditioned Jacobian whose reciprocal condition number is 2.03573e-39
Hi, I understand that you are attempting to solve the problem described in the article using the 'bvp5c' solver. You are encoun...

4 months ago | 0

Answered
find 0 crossing points trough all the image rows
Hi To apply the process of finding 0 crossing point of one row across all rows of the image, you can encapsulate your logic i...

6 months ago | 0

Answered
Centroid based object Tracking(vehicle tracking using image processing) ,Counting number of vehicles in video
Hi With certain modification to your code you can achieve your desired goal of displaying indexes for the car objects in the ...

6 months ago | 0

Answered
Trying to find the neighboring pixel outside the region boundary along the centre
Hi Warid! I understand that you want to identify and analyse two specific types of pixels related to a ROI within an image out...

6 months ago | 0

Answered
Plotting two signals referenced with each other
Hi, The functionality of plotting two signals against each other under the ‘powergui’ simulation is not provided by any built-...

6 months ago | 0

Answered
Caught "std::exception" Exception message is: foundation::storage::vfs::Exception
Hi, The exception ‘foundation::storage::vfs::Exception’ occurs when the script tries to access a directory that is either unav...

6 months ago | 0

Answered
Cannot compile the model. The model topology has been illegally changed since the model entered Restricted mode. Please restore the original model topology, or switch to Full
Hi Karan, Here is an existing MATLAB answer which might be helpful to you, as it addresses the same issue that you are facing....

6 months ago | 0

Answered
Trigger event for graphic handle object?
Hi, In MATLAB, the ‘notify’ function is indeed designed to work with user-defined classes that inherit from the ‘handle’ class...

6 months ago | 0

| accepted

Answered
Find_system is not searching under Lookinside subsytem reference in v2021a
Hello Raju, I assume that the hierarchy of the model used is Subsystem Reference > Subsystem > LibraryLinks > Masked Subsystem ...

8 months ago | 0

Answered
can I use Model Predictive Controller in Simulink and coding in script at the same time? using MATLAB
Hello, To my knowledge, defining custom constraints and cost functions is only possible in Nonlinear MPC (NLMPC) and not in Lin...

8 months ago | 0

Answered
Build error in Simulink
Hi @Alexander Tuma! To resolve the issue you are encountering, you might find this MATLAB answer helpful, which outlines steps ...

8 months ago | 0

Answered
Model Advisor does not work for Reference Configuration
Hello Anna, it appears that the issue you are encountering with Model Advisor for Model References is due to a known bug in MATL...

8 months ago | 0

Answered
Why do I receive "Error using matlab.graphics.internal.getframeWithDecorations" error?
Hey, I was able to successfully run the code in MATLAB R2023b version without any errors. I got the following output. It app...

9 months ago | 0

Answered
FMU generation with closed loop control
In Simulink algebraic loops occur when there is a loop present in the block diagram that does not contain any dynamics, that is,...

9 months ago | 0

Answered
How good is the accuracy of the Simulink profiler?
By looking at the part of the report image provided, it is not clear whether you are looking at the summary or the detailed repo...

9 months ago | 0

Answered
Help with matlab C eval function
Ensure that the function name you use in “coder.ceval” matches the actual function name. In the code you provided, the C functio...

9 months ago | 0

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

1 year ago

Answered
Issue with MATLAB not finding my excel file even though its in the same folder as the .exe
When you deploy your MATLAB code as an executable app, you need to make sure that all required files, such as the Excel file in ...

1 year ago | 2

| accepted

Answered
Including maps in compiled apps
Using the "landcover" basemap for a geographical data application in AppDesigner should not cause any issues from a technical st...

1 year ago | 0

| accepted

Answered
Simulink HDL Coder equivalent to attribute synthesis off?
Yes, HDL Coder provides a mechanism for including or excluding code regions from synthesis using pragmas. Pragmas are special an...

1 year ago | 0

Answered
How can I set a initial value for input parameters in FMU?
When you create an FMU (Functional Mock-up Unit), you can define parameters with initial values in the FMU description file (mod...

1 year ago | 1

| accepted

Answered
Extract one-dimensional timeseries from multidimensional timeseries
Yes, you can index the data in a timeseries in MATLAB, including selecting a single dimension of the data. ts_3D = timeseries([...

1 year ago | 0

Answered
create a struct with two columns
for k = 1:7 name_char = '0001'; folder_char = 'C\.....'; end first_column = 'name_char'; second_column = 'folder_...

1 year ago | 0

Answered
How to control a brushless motor using a joystic on Matlab?
To control a brushless motor with a controller, you need to have a few key components: 1. Brushless motor: This is the motor th...

1 year ago | 0

Answered
Help with "Error using / Matrix dimensions must agree."
In order to perform elementwise division you should use ./ instead of / Air_desnity=[0.646:0.01:1.225] W_412_MTOW=5534; A_412...

1 year ago | 0

Answered
error using horzcat function
You can make the following change if your goal is to concatenate. tmp = zeros(4,6); theta = tmp; theta = [theta(:,1:6),zeros(...

1 year ago | 0

Answered
A unknown bug on matrix
The reason for this is that on adding space before '-', MATLAB interprets it as concatenation instead of subtraction. That is t...

1 year ago | 0

Answered
I am plotting a graph from strain vs stress from the tensile test experiment but it is starting form negative due to to compression forces how can I start it from positive .
I would suggest you to try the xlim function of MATLAB in your plot. This will allow you to decide the range of your plot. For ...

1 year ago | 0

Answered
How to compute a solution with a sum in matlab
s=0; for h=1:length(data) for t=h:length(data); s=s+data(t)*data(t-h) end if(s==0) disp(h)...

1 year ago | 0