Answered
How to count patterns in matrix rows?
|bsxfun()| with |eq()| and |all()| will be your friend. Example: A = sign(magic(5)-10); %sample data match_me = [-1 -1 ...

14 years ago | 0

| accepted

Answered
minimun value in 2D array
doc min; And an example: A = magic(100); [Amin minidx] = min(A(:));

14 years ago | 0

Answered
GUI listbox
No reason to access java directly. Use |get()| with the handle to the listbox to recieve the _value_ property. E.g: figure; ...

14 years ago | 0

Answered
quasi-cumsum by matrix indexes
Why bother? That loop takes less than seven 10,000ths of a second on my system. You could run this loop billions of times in t...

14 years ago | 0

Answered
3D Tilted projection
doc iradon will likely be your friend.

14 years ago | 0

Answered
image format question
No. You can display any 2d nmatrix or mxnx3 rgb matrix with imshow, you just might need to adjust a few parameters (such as _in...

14 years ago | 1

Answered
Elliptic Integrals And Discrepancies with Published Data
Not a bug. (But you do get a +1 vote from me since your question was very clear and you provided enough info!) Look at the bot...

14 years ago | 1

| accepted

Answered
norminv not working
It means that you wrote your own |norminv| or downloaded a |norminv|. Rename the norminv at /Users/westland/Documents/MATLAB/no...

14 years ago | 0

Answered
MATLAB EXCEL
From: doc xlswrite I would actually conclude the opposite, and that it can be done easily: _MATLAB converts NaN values to e...

14 years ago | 0

| accepted

Answered
link between m files
doc function Would be a good place to start, along with the getting started documentatiob.

14 years ago | 0

Answered
Region growing
It looks like |all()| might be your friend. Perhaps |blockproc()| as well.

14 years ago | 0

Answered
vector colorbar
It looks like you might find a good resource here: <http://www.mathworks.com/matlabcentral/fileexchange/?term=color+quiver FE...

14 years ago | 0

| accepted

Answered
figure with 3 equal outerposition axes pushes third axis off figure
I don't believe the outer position is updated when you set the y-label. Does this fix your problem? figure; a1=axes('oute...

14 years ago | 0

| accepted

Answered
How to rewrite a non-linear function so that f(x) = 0?
If you have the Symbolic Math Toolbox, you can just use |solve()| solve('exp(x)=2*x') solve('3*cos(x)=x^2') doc solve ...

14 years ago | 0

Answered
How i can read image file in MATLAB?
doc imread to actually read in the *.jpg. <http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F FA...

14 years ago | 0

Answered
Is there a way to perform queries on object collections?
Instead of having each employee be its own variable ( <http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C.....

14 years ago | 0

Answered
how to calling out the data in the matrix
What do you mean by "calling out"? Extract, replace, display etc? Typically, when I think "calling out", I think either gett...

14 years ago | 0

Answered
better way to visualize profile data
Look into using |mesh| with x/y axes for time/depth and height instead of color. Provide a small set of sample data and we can ...

14 years ago | 0

Answered
converting cell array full of characters to a string
How about: A = {'the';'quick';'brown';'fox'} char(A) or char(cellfun(@transpose,A,'uni',false)) etc depending...

14 years ago | 0

| accepted

Answered
Target objects
I think I would use my <http://www.mathworks.com/matlabcentral/fileexchange/29175-shrinkwrap shrinkWrap> function from the fex o...

14 years ago | 0

Answered
sqrt(2) 100 places and more
If you have the symbolic math toolbox, you can try this: syms x vpa(subs(sqrt(x),2),100) *More per comments:* %copying fi...

14 years ago | 1

Answered
Output Function like "inputdlg"
like: doc msgbox ? msgbox('hello world!')

14 years ago | 2

Answered
MATLAB GUI working with TABLE (get and set data from table)
A simple example: names = {'Walter'; 'Fangjun'; 'Jan'}; H = uitable('cellselectioncallback',@(src,evt)disp(names(evt.Indices(...

14 years ago | 0

| accepted

Answered
Code Results?
You duplicate question was answered here: <http://www.mathworks.com/matlabcentral/answers/23758-equation-code Walter's:Answer...

14 years ago | 0

Answered
surf plot - not sure how to make a matrix
Yes, _h,f,Zmi_ are all 1x500 row vectors. |surf| requires matrices, i.e. at least 2x2. Does changing |surf()| to |scatter3()...

14 years ago | 0

Answered
Deleted questions
Too often.

14 years ago | 3

Answered
How to set my gui width as the screen width
Just use _normalized_ figure units (range from 0 to 1) and it'll take up the whole screen: figure('units','norm','Position'...

14 years ago | 2

| accepted

Answered
Callback function
Pass in the additional input arguments to the function: function bpmaall_Callback(source, eventdata,x,y,uv)

14 years ago | 0

Answered
How to use variable present in workspace in GUI
Another way - setappdata/getappdata doc setappdata doc getappdata

14 years ago | 0

Answered
Remove white space from around image
I(I>250) = 0; %sets them to black. To to crop them you'll have to use a cropping tool such as |imcrop| or know the indices...

14 years ago | 0

Load more