Answered
Where can i access the variables defined in the official Double Lane Change Reference Application example by matlab?
After going through your query, I understand that you are trying to access the model workspace variables. To do this, go to the ...

7 maanden ago | 0

Answered
How to move map when use driving scenario designer?
After going through your post, I was able to replicate the same issue with a different “Open Street Map” File. However, there do...

7 maanden ago | 0

Answered
What are the raw data needed to use the software? How does the interface works?
I assume you are talking about importing data into MATLAB from an external source. To achieve this, you can use the Import Data ...

8 maanden ago | 0

Answered
How to compute Intraclass Correlation Coefficient (ICC ) between two adjacency (functional connectivity) matrices?
To compute the ICC between 2 matrices, you can utilise the ICC Add On from the “Add On Explorer” in MATLAB. You can find it in t...

8 maanden ago | 0

Answered
Clean way of integrating argument-handling with old code (struct vs. key-val pair with "arguments" keyword)
Going through your query, it is difficult to reproduce the error without reference to the code that you are using in your new ap...

8 maanden ago | 0

| accepted

Answered
App Designer charting issue with data not linking
With the limited context provided, a workaround could be to identify what datatype the variables are. Datatypes like array or ce...

9 maanden ago | 0

Answered
Git commit changes all text files every PC change
After reading through your query, I understand that you are facing difficulty with the end of line character that varies between...

9 maanden ago | 0

Answered
Webcam with App Designer
I was able to replicate the error that you are facing and as I understand it is because of using P-code files in the project. ...

9 maanden ago | 1

Answered
Upper part of MATLAB App not visible
Reading through your query, I understand that you have difficulty in some of the interactive properties of your MATLAB App. Whil...

9 maanden ago | 0

Answered
I've to draw the status of a traffic ligthers, as in the figure, i've to plot a red line if the light is red or a green one if it is green.
Going through the question, I understand that you want to plot a line that alternates between red and green corresponding to the...

9 maanden ago | 0

Answered
Add new line in .ini file
I was able to reproduce the difficulty you were facing using the same INI Add on in MATLAB R2021a. However, even after multiple ...

9 maanden ago | 0

Answered
How to assign different values to different variables at once using deal() function?
Hi Jagadeesh, The deal function is used to distribute a single input into multiple outputs or multiple inputs into multiple out...

meer dan een jaar ago | 2

| accepted

Answered
Is there any easy way to handle difference equation in MATLAB ?
Hi Ram, Consider looking into the freqz function. An example code that I was able to create is as follows: % Defining the coef...

meer dan een jaar ago | 0

Answered
create the output folder based on the excel value
Hi PA, You can create a folder using the mkdir function: folder_name = "folder"; mkdir(folder_name); Now all that is needed ...

meer dan een jaar ago | 0

Answered
multiplying with a with a scaler in a vector element at regular interval
Hi Chaudhary, As mentioned by Aman, you can index into the vector and multiply by a scalar: indices = [2 4 6 8 10]; vector(in...

meer dan een jaar ago | 0

| accepted

Answered
Access varying variable names in loop
Hi Oskar, I can point you towards a simple example and hope you can build from it. Conside the code below: x = 'hello'; % Dyn...

meer dan een jaar ago | 0

Answered
What is the formula for the peak envelope created in MatLab?
Hi Minoru, This is the link to the documentation of evelope function: https://in.mathworks.com/help/signal/ref/envelope.html U...

meer dan een jaar ago | 0

Answered
How to reduce run time of for loop
Hi dharmin, Looking at the code in the for loop, you can try and precalculate the values of sind(L(i)) and cosd(L(i)) which wil...

meer dan een jaar ago | 0

| accepted

Answered
how to fix the graph in app designer
EDIT: To make the graph static, we can use the following code: disableDefaultInteractivity(app.UIAxes) Hi piero, I unders...

meer dan een jaar ago | 1

| accepted

Answered
Time limit on .exe file execution
Hi Peter, Check out how to use Eventually (Poll for value to asynchronously satisfy constraint - MATLAB - MathWorks India) Thi...

meer dan een jaar ago | 0

Answered
I have a matrix. I want to count number of only those zeros which are lying between 2 sets of consecutive nonzero values on each side. How to do? Desired result given below
Hi Payel, If I understood the query correctly, the question is to find the longest number of zeros per row that are enclosed by...

meer dan een jaar ago | 0