Community Profile

photo

fatemeh


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


my code become busy for euclidean distance
i write code for euclidean distance in nested for like this: for rsize=1:tests for k=1:ts dis(k,1)= pdist2( te...

10 years ago | 1 answer | 0

1

answer

Question


how concat two cell array?
i want to concatenate one variable cell array and one constant cell array like this: for cls=1:14 cl{1,cls}=ccl{1,cls}; cl...

10 years ago | 1 answer | 0

1

answer

Question


what is the problem?
i have a loop that every time insert a vector in one row of a matrix but when i assign it i give this error massage :Index excee...

10 years ago | 1 answer | 0

1

answer

Question


how can i compare two things simultaneous
actually i want do this compare : if ((ps{psize,pcol}==-1) | STRCOMP(ps{psize,pcol},sds{i,pcol})==1) and matlab give me...

10 years ago | 1 answer | 0

1

answer

Question


insert end at right location
i have very nested for loop but when i want insert end for them i cannot insert them in the right locations i want do it arbitr...

10 years ago | 2 answers | 0

2

answers

Question


i have two number i want choose one of them randomly!
i have two string number i want choose one of them randomly can you help me please?

10 years ago | 1 answer | 0

1

answer

Question


convert double to string!
I want convert double number like 0.222833 to string but when i using num2str the number convert to '0.22283' and sixth digit of...

10 years ago | 1 answer | 0

1

answer

Question


i have a big matrix with dimension 303*14 i want compare every row of this matrix with one vector with dimension 1*14
i have a big matrix with dimension 303*14 i want compare every row of this matrix with one vector with dimension 1*14 all of th...

10 years ago | 1 answer | 0

1

answer

Question


can i compare two cell array with double and string value?
i have a 303*14 dataset i want compare every raw of this dataset with a 1*14 vector this dataset has double and string value...

10 years ago | 1 answer | 0

1

answer

Question


i want to convet a mixture cell array to a cell array that just has string values.
i have a data set ,i convert it to cell array with this code :C = dataset2cell(ds) but the values of this cell array are doub...

10 years ago | 1 answer | 0

1

answer

Question


store value of selected radio button from group button
i want get the value of selected radio button from button group i use this code: u=get(handles.uipanel12,'SelectedObject'); ...

10 years ago | 1 answer | 0

1

answer

Question


save radio button value
hi i have a uipanel with many button in it. when i want to store the value of radio button i use this code: u=get(handles.uipan...

10 years ago | 1 answer | 0

1

answer

Question


how can store the value of textedit in the array or cell array?
i have a gui and i want which user entered into edittext i save it into the array can u help me plz?

10 years ago | 1 answer | 0

1

answer

Question


how can use m.file variables to another m.file?
i have one m.file for gui and another m.file how can use the text field values in another m.file?

10 years ago | 1 answer | 0

1

answer

Question


get the values from user via text field
Hi I want get the values from user via text field i design my gui but i do not know how access the items of these and can i save...

10 years ago | 1 answer | 0

1

answer

Question


Error “Assignment has more non-singleton rhs dimensions than non-singleton subscripts”?
Why do I get the error “Assignment has more non-singleton rhs dimensions than non-singleton subscripts”?

10 years ago | 2 answers | 0

2

answers

Question


i want produce a random number between 2 and 10 for example...
how can produce a random integer number that are not started with 1?

10 years ago | 2 answers | 0

2

answers

Question


i want select the first and second array s(i) in the loop
actually s(i)s are produced in the loop over and over i want the two first entry of this array each time that pass loop...

10 years ago | 2 answers | 0

2

answers

Question


how can concat cell array with array?
for example i have cell arrays s{i} ,i want s{i}s pose in one column and another vector like f=[3 4 .....] pose in another colu...

10 years ago | 2 answers | 0

2

answers

Question


i have a for loop and a vector in this loop that chang each loop that spend how can save this vector in all times ?
like this code: h=1000 for i=1:h m=[i j] end that j change with every i how can save m vectors that produce in each time a...

10 years ago | 1 answer | 0

1

answer

Question


how can make a matrix from many vectors?
how can make a matrix from many vectors?

10 years ago | 3 answers | 0

3

answers

Question


find max vector form many vectors
i have many 1*2 vectors how can i find the vector with the maximum value at the second index?

10 years ago | 1 answer | 0

1

answer

Question


matrix with randperm entries
i have a matrix which entries are randperm function i have a for loop for generating this matrix i want save all the matrix that...

10 years ago | 1 answer | 0

1

answer

1

answer