Community Profile

Sadik


383 total contributions since 2009

Contact

Contributions in
View by

Responded


Re: Cell Array of Strings 'rows'
Hi Muhammad, One way of doing it is as follows: a = { 'asd','ret','ertt'; 'hasnat','ali','qwe'; 'ppp','eee','aaa' ; 'hasnat','...

2 years ago | 1228 views

Responded


Re: Export UITable data from GUI using two different functions
He. :)

2 years ago | 1574 views

Responded


Re: Set colorbar limits
Hi Baqer, When you call colorbar, you can get a handle to it: h = colorbar; Then, you can do: set(h,'YLim',[0 50]) Best.

2 years ago | 1216 views

Responded


Re: Export UITable data from GUI using two different functions
Hi Jeiman, In your current implementation, pushbutton3_Callback has no way of knowing what the variable num is. Please see the ...

2 years ago | 1574 views

Responded


Re: Where is the replace command in the file editor?
Hi Greg, If you scroll over Find under Navigate, you are going to see the tooltip mentioning Replace. Best.

2 years ago | 902 views

Responded


Re: inserting value of gui on the command line
Sorry. I meant: Best.

2 years ago | 1175 views

Responded


Re: inserting value of gui on the command line
Hi Se, When you start your GUI, you can use an output for the handles like this: where Project.m and Project.fig are the file...

2 years ago | 1175 views

Responded


Re: eliminating elements from a cell
Hi Peter, Assuming that the ones that have both a parenthesis and a number start with a parenthesis, not a number, you can use ...

3 years ago | 817 views

Responded


Re: two y axis with one x axis
Hi Sohaib, Please see Best.

3 years ago | 933 views

Responded


Re: Find numbers and location in a matrix , and put it into new matrix
This should do it: search = []; [r c] = size(matrix); for i = 1:r end % ======================== % A better one % ==========...

3 years ago | 1483 views

Responded


Re: Fill cell array with matrix elements
Yes, you have to do that because your indices do not seem to follow any rules that can be programmed. Best.

3 years ago | 4233 views

Responded


Re: Fill cell array with matrix elements
Yes, you are right, I missed that. :D OK, so what you need to have is a separate vector which tells you what index a certain en...

3 years ago | 4233 views

Responded


Re: Fill cell array with matrix elements
Hi, You can do it like this: for k = 1:8 end Best.

3 years ago | 4233 views

Responded


Re: Problem with imread/imcrop/im2bw/strel after upgrade to 2013a
Hi, Your installation seems to be missing the Image Processing Toolbox [or perhaps part of it?]. When I type help strel help ...

3 years ago | 3312 views

Responded


Re: Fitting a data set to "epicycloid" parametric equation
Hi Alireza, You may want to check the following page, especially the subtitle Fit a Curve Defined By a File. http://www.mathwo...

3 years ago | 2445 views

Responded


Re: Pixels to matrix
Hi Mohammad, Could you be more specific? For instance, would you like to put the three RGB values in a vector? If so, you could...

3 years ago | 1320 views

Responded


Re: mantain rows on matrix(ismember(matrix,vector))
Another solution: c = a; c(~ismember(a,b)) = {[]}

3 years ago | 1172 views

Responded


Re: Undefined function 'le' for input arguments of type 'cell'.
Hi Bryan, You should use curly braces as in if a{j} <= b{k} Best.

3 years ago | 5821 views

Responded


Re: mantain rows on matrix(ismember(matrix,vector))
Hi Fagota, How about the following? c = a; M = ~ismember(a,b); c(M) = cell(sum(M(:)),1) Best.

3 years ago | 1172 views

Responded


Re: How to express system of equations in more than one row
Hi Milos, Perhaps you can use three dots after each comma. solve(eqn1, ... eqn2, ... eqn3); Best.

4 years ago | 1546 views

Responded


Re: Subscript indices must either be real positive integers or logicals and other error.
seqs is a cell array. This is why. Best.

4 years ago | 1968 views

Responded


Re: Taking average of specific data from a data set
Hi Badrul, You can do the following: data = [0.11, -1.11, -0.75, -0.02, -0.36, -0.97, -0.35, -1.02, -1.33, -1.00, -0.15, -0.6...

4 years ago | 1949 views

Posted


regionprops
for some of the measurements, it says This property is supported only for 2-D input label matrices. Best.

4 years ago | 2432 views

Responded


Re: change of tick intervals
Hi, The y-axis should still show the exact values like 10^8. How did you get negative values? Maybe you could post about 10 va...

4 years ago | 1770 views

Responded


Re: change of tick intervals
Hi Gati, You should use semilogy() instead. Best.

4 years ago | 1770 views

Posted


regionprops
Hi Gandharv, Best.

4 years ago | 2432 views

Responded


Re: Urgent Help Needed: Langrange Poly Error
Hi Sheldon, It tells you that you have repeated values in vector x, the first input to spline. Best.

4 years ago | 1686 views

Responded


Re: SWITCH expression ERROR !!!!
Hi anyone, Please do not let anyone be harsh to a beginner one. Thank you. Sadik

4 years ago | 9221 views

Responded


Re: Spectrogram
Hi Matthew, If I know it correctly, you need to use overlapping windows of data, each of which will be windowed with a Hamming ...

4 years ago | 1771 views

Responded


Re: Convert a list of strings 'x[1]', 'x[2]',... into workspace variable arrays.
Sorry, the last line should have been cellfun(@eval,linesToEval); Best.

4 years ago | 2100 views

Load more