Community Profile

photo

Atinesh Singh


NIT Durgapur

Active since 2016

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


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...

alrededor de 4 años ago | 1 answer | 1

1

answer

Question


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 4 años ago | 3 answers | 0

3

answers

Question


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 4 años ago | 1 answer | 0

1

answer

Question


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 4 años ago | 2 answers | 0

2

answers

Question


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...

más de 4 años ago | 2 answers | 0

2

answers

Question


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 ...

más de 4 años ago | 2 answers | 0

2

answers

Question


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...

más de 4 años ago | 0 answers | 2

0

answers

Question


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 ...

más de 4 años ago | 0 answers | 0

0

answers

Question


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' ...

más de 4 años ago | 0 answers | 0

0

answers

Question


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 ...

más de 4 años ago | 1 answer | 0

1

answer

Question


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 ...

más de 4 años ago | 0 answers | 0

0

answers

Question


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...

más de 4 años ago | 1 answer | 0

1

answer

Question


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...

más de 4 años ago | 1 answer | 0

1

answer

Question


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...

más de 4 años ago | 1 answer | 0

1

answer

Question


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...

casi 5 años ago | 1 answer | 0

1

answer

Question


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...

casi 5 años ago | 2 answers | 0

2

answers

Question


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...

alrededor de 5 años ago | 2 answers | 0

2

answers

Question


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...

alrededor de 5 años ago | 1 answer | 0

1

answer

Question


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 ...

alrededor de 5 años ago | 1 answer | 0

1

answer

Question


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...

alrededor de 5 años ago | 1 answer | 0

1

answer

Question


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....

alrededor de 5 años ago | 1 answer | 0

1

answer

Question


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 5 años ago | 1 answer | 0

1

answer

Question


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 5 años ago | 3 answers | 0

3

answers

Question


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 5 años ago | 1 answer | 0

1

answer

Question


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 5 años ago | 1 answer | 0

1

answer

Question


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 5 años ago | 1 answer | 0

1

answer