photo

Atinesh Singh


NIT Durgapur

Active since 2016

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

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

nästan 7 år 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...

mer än 7 år 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...

mer än 7 år 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 ...

mer än 7 år 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...

mer än 7 år 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 ...

mer än 7 år 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...

mer än 7 år 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 ...

mer än 7 år 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' ...

mer än 7 år 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 ...

mer än 7 år 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 ...

mer än 7 år 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...

mer än 7 år 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...

mer än 7 år 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...

mer än 7 år 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...

nästan 8 år 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...

nästan 8 år 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...

nästan 8 år ago | 2 answers | 1

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

ungefär 8 år 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 ...

ungefär 8 år 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...

ungefär 8 år ago | 2 answers | 0

2

answers

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

ungefär 8 år 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>> ...

ungefär 8 år 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...

mer än 8 år 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); ...

mer än 8 år 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 ...

mer än 8 år 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...

mer än 8 år ago | 1 answer | 0

1

answer