Community Profile

photo

Atinesh Singh


NIT Durgapur

Con actividad desde 2016

Estadísticas

  • Thankful Level 3

Ver insignias

Content Feed

Ver por

Pregunta


Need help with: Error using "mex"
I am trying to run a script which requires *mex*. Earlier It was generating the below error Error using mex No supported...

más de 6 años hace | 1 respuesta | 1

1

respuesta

Pregunta


xlswrite command not working
I am trying to export matlab data to excel file but I am getting this error Error using xlswrite (line 219) Invoke Error...

más de 6 años hace | 3 respuestas | 0

3

respuestas

Pregunta


Does "clear" command clears the global variables
Does clear command clears all the variables in the workspace including global variables. In my code, there are lots of global va...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to save vector columnwise in Excel file
Suppose I am generating a column vector randomly 30 times and each time I wish to save it in the Excel column. Can anybody tell ...

más de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to utilize power of GPU computing in Matlab
My research work is in the field of Evolutionary computation, Sometimes I need to run the algorithm on high dimensional data (di...

casi 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to put plot inside a box
I am using a below code to generate a plot as shown by 'Plot 1' and exporting it in '.eps' format so that I can use it in latex ...

casi 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to run matlab scripts on cloud and collect the results
I want to collect some results generated by Matlab scripts. On my machine, it will take days. Is it possible to run matlab scrip...

casi 7 años hace | 0 respuestas | 2

0

respuestas

Pregunta


How to Design logic for grouping of variables
Suppose we have a variable called _'group'_ which contains grouping information group = [ {1}, {2}, ..., {D} ] We have ...

casi 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Updating columns of a matrix
Consider the below code where we have population 'pop' having 20 individuals with a dimension of 5 and a subpopulation 'subpop' ...

casi 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to draw random number from a Cauchy Distribution
I know random number can be drawn from a *Normal Distribution* as follows normrnd(mu, sd) where mu=mean and sd=standard ...

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to call .c file from matlab script
I have a Matlab script which calls .c file using *mex* command mex cSameGroup.c; On running the script, I'm getting the ...

casi 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to use 'find' function in matlab
In the below code, We have a random population with structures Position (3D array) and Cost. I need to check whether a particula...

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to use union operator
Consider the below code where I'm generating two random Population A and P. I need to make union of these two population. I trie...

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to sort a Matrix
In below code we have a population 'P' of size 'NP' which has two fields 'Position' and 'Cost'. I need to sort the entire popula...

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to use global variable in nested function
I need to use global variable in nested functions. On running the below code, I'm getting an error *The GLOBAL or PERSISTE...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Error: Undefined function <func_name> for input arguments of type 'double'.
Below is a small part of the big code, Where I'm getting an error at line 3. *Undefined function 'f1' for input arguments of ty...

alrededor de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to find global minimum of a schwefel function
I am trying to find the global minimum of a schwefel function which is 0 at [420.9687,..., 420.9687]. I have used 'fmincon', Par...

más de 7 años hace | 2 respuestas | 1

2

respuestas

Pregunta


How to make standard semilogy plot more informative
Suppose, I'm plotting two datasets of two different algorithms using *semilogy* like this eps1 = 1:50; eps2 = 1:50; e...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to solve this warning: Matrix is close to singular or badly scaled
I'm trying to implement a Evolutionary Strategy algorithm (an optimization algorithm). On increasing the size of the parameter ...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to plot rastrigin function in matlab
I'm trying to plot rastrigin function this way clear; clc; close all; limits = repmat([-5 5], 2, 1); [X,Y] = meshgrid...

más de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to use surf to plot sphere function in matlab
I'm trying to plot sphere function below, But I'm getting wrong result <</matlabcentral/answers/uploaded_files/58858/Capture....

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Code for Plotting Sphere function
Can anybody share the complete code for plotting sphere function <</matlabcentral/answers/uploaded_files/58783/Capture.PNG>> ...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to apply pca() [Matlab] on high dimensional data
I want to apply `pca()` function in `matlab` on data with `500 dimensions`. But pca() has a limit of only 99 dimensions. Do I ha...

más de 7 años hace | 3 respuestas | 0

3

respuestas

Pregunta


How pca() function works in matlab
I'm trying to apply pca() function on 3d data, But I'm getting empty COEFF matrix x1 = randn(400,1); y1 = randn(400,1); ...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Need high dimension (30-50) dataset for applying PCA
I'm learning PCA. In order to get a clear intuition, I need a high dimensional data set of around 30-50 dimensions. Can anybody ...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to use function 'ind2gray'
I'm trying to convert *uint8* image to *grayscale* image using the following command a = imread('image.png'); % a dimension...

más de 7 años hace | 1 respuesta | 0

1

respuesta