Beantwortet
How do I plot an arc or parabola
Hello Peter, To plot a parabola or arc in MATLAB, you can use the respective mathematical equations to generate data points and...

mehr als ein Jahr vor | 0

Beantwortet
using the int i as output name
Hello Sobel, For this purpose, you can use sprintf() function. This function will use an integer to generate the name of the fi...

mehr als ein Jahr vor | 0

Beantwortet
Limited Number of Cores in Parallel Processing
Hello Ahmad, MATLAB's ability to connect to a certain number of workers is primarily determined by the type of license you have...

mehr als ein Jahr vor | 0

Beantwortet
How can I speed up a nested for loop without parfor or spmd?
Hello Radhika, Apart from the things you have already tried, you can use methods like pre-allocation, vectorization and profili...

mehr als ein Jahr vor | 0

Beantwortet
How to Plot Lines Between Coordinate Pairs
Hello Ricky, Replacing "i" with a colon works in the latest version of MATLAB. I assume you are using an older version. Please ...

mehr als ein Jahr vor | 0

Beantwortet
How to call matlab functions from a C/C++ project..???
Hello Anuj, MATLAB Engine API for C++ provides an interface for C++ to launch MATLAB, use MATLAB functions and exchange data. P...

mehr als ein Jahr vor | 0

Beantwortet
5 samples and 4 features, how to do direct linear discriminant analysisusing MATLAB package algorithm
Hello Dayun, You can use "fitcdiscr" function in MATLAB to perform Linear Discriminant Analysis. Here is a sample code: % Samp...

mehr als ein Jahr vor | 0

Beantwortet
How can I use from all of my RAM and CPU cores when I run M file?
Hello @A.R.G, MATLAB traditionally executes code in a single thread, which means it uses only one core of the CPU by default. H...

mehr als ein Jahr vor | 0

Beantwortet
How to load data from a .txt file to matlab in the form of a matrix???
Hello Avinash, As per my understanding, the dlmread() or readmatrix() function will read the data from a file and store it in a...

mehr als ein Jahr vor | 0

Beantwortet
How to add space between heading of txt file?
Hello Khurram, To format the headers of your text file with spaces between them, you can use MATLAB's fprintf() function with s...

mehr als ein Jahr vor | 0

Beantwortet
how to make an identifer for string variables
Hello Linden, Assuming that the variables are doubles, here is a small example to achieve value assignment by grouping the vari...

mehr als ein Jahr vor | 0

Beantwortet
How to access much data from excel sheet to matlab?
Hello Manish, The error indicates that there are 59 rows and 8 columns in the excel file however, you are trying to access 60th...

mehr als ein Jahr vor | 0

Beantwortet
Sateflow: Indexing an array of size 1
Hello Maciej, The error you are getting is due to invalid indexing. MATLAB follows 1-based indexing i.e. the first index is 1. ...

mehr als ein Jahr vor | 0

Beantwortet
Matrix dimension must agree
Hi Maria, The error you are encountering is due to the incorrect use of element-wise multiplication (.*) instead of matrix mult...

mehr als ein Jahr vor | 0

Beantwortet
MATLAB crashes with no displayed error
Hello Kyle, The exit code -1073741819 (or 0xC0000005 in hexadecimal) typically indicates an access violation error, which means...

mehr als ein Jahr vor | 0

Beantwortet
cell, find cell, matlab
Hi Tomas, From the example I figured out that you want to determine the index of a given value in a matrix. To solve this probl...

mehr als ein Jahr vor | 0

Beantwortet
read txt file contains multiple arrays with different sizes
Hello Amal, To read a text file containing a 1D matrix and two 2D matrices separated by new lines and spaces, you can use MATLA...

mehr als ein Jahr vor | 0

Beantwortet
Matlab exec file popup error window when it crashes
Hello Yuri, There are a few ways to handle the errors occuring during the execution of your project. Please try the below steps...

mehr als ein Jahr vor | 0

Beantwortet
Does genetic algorithm take a long time to find a solution?
Hi Wendy, I understand that Genetic Algorithm is taking more time than expected in your case. Here are a few troubleshooting st...

mehr als ein Jahr vor | 0

Beantwortet
Objective function required for genetic allgorithm
Hello Rizwan, I can help you write the objective function for optimizing a signal in MATLAB using Genetic Algorithm (GA). Here ...

mehr als ein Jahr vor | 0

Beantwortet
Termination criterion for Genetic Algorithm when used in context of feature selection??
Hello Purti, I understand that you are getting different output in different runs of Genetic Algorithm. This is a common behavi...

mehr als ein Jahr vor | 0

Beantwortet
How to add penalty function to constrained genetic algorithm
Hello Gopa Kumar, Penalty functions are a common method for handling constraints in Genetic Algorithm. The basic idea is to mod...

mehr als ein Jahr vor | 0

Beantwortet
How chromosome in Genetic Algorithms Toolbox works in detailed
Hi Radek, I understand that you would like to know the details regarding the chromosomes of the Genetic Algorithm. The chromos...

mehr als ein Jahr vor | 0

Beantwortet
Genetic Algorithm with a graph
Hi Margetik, As per my understanding, you want to plot a graph where the X-axis and Y-axis will show the number of generations ...

mehr als ein Jahr vor | 0

Beantwortet
Is it possible to implement genetic algorithm for optimization without any mathematical relation or model?
Hi Sachin, I understand that your requirement is to use Genetic Algorithm Optimization when you do not have any mathematical mo...

mehr als ein Jahr vor | 0

Beantwortet
genetic algorithm with integer constraint returns non-integer solution
Hello Seungbum, I can see that the results are not exactly integers but close to integers. The above mentioned behavior is an ...

mehr als ein Jahr vor | 0

Beantwortet
Is it possible to use ga just to generate the population and use another piece of code to run it?
Hello Guido, As per my understanding you want to extract the population of each generation. You may follow the below link to kn...

mehr als ein Jahr vor | 0

Beantwortet
Error in mat2str function
Hi Leandro, As per my understanding the error is caused since you are passing symbolic variables to the "mat2str" and the "num2...

mehr als ein Jahr vor | 0

Beantwortet
When I tried to perform joint simulation with MATLAB and Prescan, MATLAB reported an error.
Hello KK, With the information available I understand that MATLAB is unable to find the the mentioned library file. If the file...

mehr als ein Jahr vor | 0

Beantwortet
Neural Network In MATLAB
Hi Ghulam, I understand that you want to achieve low error in Neural Networks. You may consider the following ways. Normalize ...

mehr als ein Jahr vor | 0

Mehr laden