Community Profile

besbesmany besbesmany


112 total contributions since 2011

Contact

Contributions in
View by

Posted


how to make weighted rank
I want to calculate the weighted rank for a big column of numbers this is example with 5 cells column Column ...

3 years ago | 1296 views

Responded


Re: how to replace nan with average
Thanks so much

3 years ago | 5798 views

Responded


Re: how to replace nan with average
Thanks for your reply I got it from the last code line colMean = columnTot ./ howMany colMean = I found easier way than all of ...

3 years ago | 5798 views

Posted


how to replace nan with average
this is code of getting the average of columns containing nan values http://blogs.mathworks.com/loren/2007/10/11/a-way-to-acco...

3 years ago | 5798 views

Responded


Re: count largest occurrence value in each row
I want how many times values occured how to use hist/histc to get many times values occured for each row for a matrix

3 years ago | 1395 views

Posted


count largest occurrence value in each row
f=[6 6 6 2 2 1 3 3 4;2 2 3 3 3 3 6 5 2; 5 5 5 6 6 6 2 2 1] I want to get the count of largest value for each row in the matrix ...

3 years ago | 1395 views

Posted


method or toobox for matrix feature extraction and selection
I've matrix of datset with some features I want function or toolbox to get best features of this dataset as preprocessing step ...

3 years ago | 1244 views

Posted


sequentialfs fun problem
the example in matlab of sequentialfs load fisheriris; X = randn(150,10); X(:,[1 3 5 7 ])= meas; y = species; c = cvpartition(...

3 years ago | 1052 views

Posted


how to save and reload the variables
my program take long time to finish and electricity is cut off alot of time I want to save at specific points all variables th...

4 years ago | 1232 views

Posted


black screen after running matlab
after while from running matlab program I find black screen on all matlab, i can't see any menu or make anything I close matlab...

4 years ago | 2290 views

Responded


Re: Average 2D matrix inside 3 for loops
sorry for that, i meant it change inside k so this leading to change also insdie j,i loops because thier loops outside k so 2D...

4 years ago | 2013 views

Responded


Re: Average 2D matrix inside 3 for loops
2DMatrix is changing and depend on i,j,k it is unique 2D matrix in any loop I still don't know if my code is right or wrong?? ...

4 years ago | 2013 views

Responded


Re: Average 2D matrix inside 3 for loops
Z(:,:,k,i)= 2DMatrix; 2DMatrix has different matrix values for each k loop I mean 2Dmatrix is matrix out from function that have...

4 years ago | 2013 views

Posted


Average 2D matrix inside 3 for loops
I've 2D matrix inside many loops (j,i,k) I want to get internal average of this matrix in relatin to i,k for j for i for k Z(:...

4 years ago | 2013 views

Responded


Re: how to convert to this ClassificationKNN.fit
Thanks so much

4 years ago | 1596 views

Posted


how to convert to this ClassificationKNN.fit
1 - my code is Class = knnclassify(trainData, testData, trainlable, K); accuracy = sum(Class == testlabel)/numbroftestdata; I...

4 years ago | 1596 views

Posted


how to add path in run time
i add path from file->setpath i want to remove this path then add it again in run time because it make conflict with another pa...

4 years ago | 1685 views

Responded


Re: how to change rng randomization inside code
Thanks so so much

4 years ago | 984 views

Posted


how to change rng randomization inside code
for each run of code i want to make fixed rondomization for part of code (I use rng(0,'twister');) which is always fixed when i ...

4 years ago | 984 views

Responded


Re: generate matrix with random number and row sum=1
thanks so much

4 years ago | 1134 views

Posted


generate matrix with random number and row sum=1
I want to generate matrix mxn with random numbers where each row have summation of 1

4 years ago | 1134 views

Responded


Re: I need optimized code for these for loops
thanks for your help and time

4 years ago | 1891 views

Responded


Re: I need optimized code for these for loops
I didn't mean that for loop is bad, I've very large matrices and repeat these 3 for loops several time my run may take several d...

4 years ago | 1891 views

Responded


Re: I need optimized code for these for loops
I just want to minimize number of for loop or delete for loops because with large matrices It needs alot of time can you help me...

4 years ago | 1891 views

Responded


Re: I need optimized code for these for loops
Thanks so much bruno , it works great I've smiliar problem but i couldn't do as you did because Y has different length for each...

4 years ago | 1891 views

Responded


Re: I need optimized code for these for loops
thanks bruno I describe here what i need and the code is working http://www.mathworks.com/matlabcentral/newsreader/view_thread/...

4 years ago | 1891 views

Posted


I need to vectorize (optimize) this code
I use large dataset , this is sample mtrices i want to make code more optimize by vectorization or decreses, for loops used A =...

4 years ago | 1085 views

Responded


Re: I need optimized code for these for loops
Thanks alot Is there any way to vectorize this code??

4 years ago | 1891 views

Posted


I need optimized code for these for loops
I need optimized code with no for loops or littel number of for loops Im trying to get the summation of equivelent cells of B ac...

4 years ago | 1891 views

Responded


Re: arrayfun summation
thanks alot for help sum(A(:,1:end-1)) it is easier than i made

4 years ago | 1593 views

Load more