답변 있음

How to define a multivariable function (for instance an anonymous function) of a number of variables that varies according to the size of an array variable?

I would be you, I would use a vector input and then, you return a vector.

How to define a multivariable function (for instance an anonymous function) of a number of variables that varies according to the size of an array variable?

I would be you, I would use a vector input and then, you return a vector.

9달 전 | 0

답변 있음

normalization cell array [1 -1]

oh I see that you are mixing cell arrays and arrays. With your feature structure, to access the -9 of your first line, you need ...

normalization cell array [1 -1]

oh I see that you are mixing cell arrays and arrays. With your feature structure, to access the -9 of your first line, you need ...

10달 전 | 1

| 수락됨

답변 있음

installation guidance for matlab 2019b

you can only install the toolboxes you need. If you are using a user-based license, you can still install your toolboxes later w...

installation guidance for matlab 2019b

you can only install the toolboxes you need. If you are using a user-based license, you can still install your toolboxes later w...

10달 전 | 1

답변 있음

How can I rename logsout signals on data inspector on Simulink?

When I want to do so, I use on my Simulink model data bus instead of vectors. So I can set a name per signal by setting a label ...

How can I rename logsout signals on data inspector on Simulink?

When I want to do so, I use on my Simulink model data bus instead of vectors. So I can set a name per signal by setting a label ...

10달 전 | 0

답변 있음

Printing to MATLAB command window using a Python Function

I have never tried this but there is a MATLAB API for python (Calling MATLAB from Python). Than, there is a special way to get c...

Printing to MATLAB command window using a Python Function

I have never tried this but there is a MATLAB API for python (Calling MATLAB from Python). Than, there is a special way to get c...

10달 전 | 0

답변 있음

Fitting data in x,y to a known function

If you have it, I would recommend to use the Curve Fitting Toolbox. You can give it the expected function and it fits the parame...

Fitting data in x,y to a known function

If you have it, I would recommend to use the Curve Fitting Toolbox. You can give it the expected function and it fits the parame...

10달 전 | 0

답변 있음

Calculate the time-averaged value every 10 iterations

I'm trying to understand your question. I understand that every 10 iterations, you want to display the average computation time ...

Calculate the time-averaged value every 10 iterations

I'm trying to understand your question. I understand that every 10 iterations, you want to display the average computation time ...

10달 전 | 1

| 수락됨

답변 있음

I Keep Getting Error "Matrix dimensions must agree"

If you are using *, than it is a matrix multiplication and the size of your matrices must be compatible. If you want to multipl...

I Keep Getting Error "Matrix dimensions must agree"

If you are using *, than it is a matrix multiplication and the size of your matrices must be compatible. If you want to multipl...

10달 전 | 0

답변 있음

Is it possible to check logic on more than two things at the same time?

Oh, pay attention what you are using for symbols. Just a friendly reminder: && -> and condition, work only with scalars & -...

Is it possible to check logic on more than two things at the same time?

Oh, pay attention what you are using for symbols. Just a friendly reminder: && -> and condition, work only with scalars & -...

10달 전 | 0

답변 있음

Index exceeds number of array elements (1)??

Base on your code, I see that at line 13 of ProgramCd, you create V as a scalar because you even ensure that Vi must be of size ...

Index exceeds number of array elements (1)??

Base on your code, I see that at line 13 of ProgramCd, you create V as a scalar because you even ensure that Vi must be of size ...

10달 전 | 0

답변 있음

How can I define variable output size of Matlab function in Simulink?

I also experienced that problem. When using the MATLAB Function block, I learned to always define the size of the inputs and out...

How can I define variable output size of Matlab function in Simulink?

I also experienced that problem. When using the MATLAB Function block, I learned to always define the size of the inputs and out...

10달 전 | 0

답변 있음

Create .exe file from GUI using MATLAB Coder

Hi Harryboy, to generate a exe-file from a MATLAB GUI, you need the MATLAB Compiler Toolbox. The MATLAB Coder can generate code...

Create .exe file from GUI using MATLAB Coder

Hi Harryboy, to generate a exe-file from a MATLAB GUI, you need the MATLAB Compiler Toolbox. The MATLAB Coder can generate code...

10달 전 | 0

| 수락됨

답변 있음

Error using plot, vectors must be same length

I have a question of logic about what you want to plot. Because you want t plot with: x-axis: H, size 69x1 y-axis: c(:, 1), si...

Error using plot, vectors must be same length

I have a question of logic about what you want to plot. Because you want t plot with: x-axis: H, size 69x1 y-axis: c(:, 1), si...

10달 전 | 0

답변 있음

how to plot with a or two breaking poing on x axis?

take a look at these File Exchange scripts: Break X Axis Break Y Axis

how to plot with a or two breaking poing on x axis?

take a look at these File Exchange scripts: Break X Axis Break Y Axis

10달 전 | 0

| 수락됨

답변 있음

I want to control the variant subsystem using matlab commands/programming

You should follow the configure variant controls section of this page: Define, Configure, and Activate Variants

I want to control the variant subsystem using matlab commands/programming

You should follow the configure variant controls section of this page: Define, Configure, and Activate Variants

10달 전 | 0

답변 있음

standalone MATLAB executable question

that's not at all a problem. If you don't have the exact same MATLAB version with the compiler toolbox, than, you will have to i...

standalone MATLAB executable question

that's not at all a problem. If you don't have the exact same MATLAB version with the compiler toolbox, than, you will have to i...

10달 전 | 0

답변 있음

load global variable from startup.m

I clearly don't recommend your to do so. Instead, I would add some functions in your standard Matlab path which returns your con...

load global variable from startup.m

I clearly don't recommend your to do so. Instead, I would add some functions in your standard Matlab path which returns your con...

10달 전 | 0

답변 있음

App designer, export an image to word

If you have the report generator, it would be the easiest way to fill a word document. Otherwise, you should use the COM server...

App designer, export an image to word

If you have the report generator, it would be the easiest way to fill a word document. Otherwise, you should use the COM server...

10달 전 | 0

| 수락됨

답변 있음

Add resources to compile .m

Personnally, I try to always access the files which are encapsulated into my applications without the path. My advice: Use MAT...

Add resources to compile .m

Personnally, I try to always access the files which are encapsulated into my applications without the path. My advice: Use MAT...

10달 전 | 1

답변 있음

How to run program on GPU

So the first step is to check whether you have the "Parallel Computing Toolbox" with: ver if the toolbox isn't in the list, th...

How to run program on GPU

So the first step is to check whether you have the "Parallel Computing Toolbox" with: ver if the toolbox isn't in the list, th...

10달 전 | 0

답변 있음

Change a variable in a function.

I never tried with global variables but, in your case, I would recommend you to set your A has an input. What I understand, all ...

Change a variable in a function.

I never tried with global variables but, in your case, I would recommend you to set your A has an input. What I understand, all ...

10달 전 | 0

답변 있음

State estimator & feedback

This forum is not here to do your homeworks. Take a look at these functions: ss pole ...

State estimator & feedback

This forum is not here to do your homeworks. Take a look at these functions: ss pole ...

10달 전 | 0

| 수락됨

답변 있음

while-loop condition - arrays equal within a tolerance

for you case, I understand that you want the maximum absolute difference being below a limit? In that case, the "stay in" condi...

while-loop condition - arrays equal within a tolerance

for you case, I understand that you want the maximum absolute difference being below a limit? In that case, the "stay in" condi...

10달 전 | 1

| 수락됨

답변 있음

Resolving Algebraic Loops in SIMULINK models

From my knowledge, the only way to solve an algebraic loop without affecting at all the model is to change your model to remove ...

Resolving Algebraic Loops in SIMULINK models

From my knowledge, the only way to solve an algebraic loop without affecting at all the model is to change your model to remove ...

10달 전 | 0

답변 있음

finding roots of equation in matlab

I would be you, I would check whether you don't have any home-made script named roots in your MATLAB path. If you have no idea ...

finding roots of equation in matlab

I would be you, I would check whether you don't have any home-made script named roots in your MATLAB path. If you have no idea ...

11달 전 | 1

답변 있음

I need a code for red tomato detection from plant

There is a paper about the tomato recognition here. I guess, once you have detected the tomatoes, it's not that difficult to get...

I need a code for red tomato detection from plant

There is a paper about the tomato recognition here. I guess, once you have detected the tomatoes, it's not that difficult to get...

11달 전 | 0

| 수락됨

답변 있음

Plot Unity Feedback System in MATLAB

If I understand correctly your question, you are trying to plot the step response of this function transfer: Right? Then, wh...

Plot Unity Feedback System in MATLAB

If I understand correctly your question, you are trying to plot the step response of this function transfer: Right? Then, wh...

11달 전 | 0

답변 있음

from excel file import variables into more mat file.

I would recommend you to read the whole table in excel in once with, for example readmatrix and then, to save it into the mat-fi...

from excel file import variables into more mat file.

I would recommend you to read the whole table in excel in once with, for example readmatrix and then, to save it into the mat-fi...

11달 전 | 0

답변 있음

how to change a 9 digit number to longitude?

I don't see any "simple" method. I would recommand you to use the following idea: % get each digit in char array digits = dec2...

how to change a 9 digit number to longitude?

I don't see any "simple" method. I would recommand you to use the following idea: % get each digit in char array digits = dec2...

11달 전 | 0