Question


Where Can I Find Reference URLS to Make Answering Questions Here Easier?
* Do you answer questions on MATLAB Answers? * Do you need a quick reference to a URL that you know exists but are unsure of ...

14 years ago | 3 answers | 8

3

answers

Answered
Error with EPS Colormaps
hmm What happens if you add a layer of zeros to the top of the jet colormap? imagesc colormap([0 0 0;jet]) colorbar

14 years ago | 0

Answered
All combination of certain min size
nchoosek(70,20) _Warning: Result may not be exact. Coefficient is greater than 1.000000e+015 and is only accurate to 15 digit...

14 years ago | 0

Answered
Matrix manipulation, filtering
Of course - use logical indexing: A = rand(5); A(A>0.5) = 10; %set all values in a greater than 0.5 to 10

14 years ago | 1

| accepted

Answered
How to update a "child" figure?
Save the handle to the child figure in appdata and set it as necessary: setappdata(hParent,'hChild1',hChild); On click: ...

14 years ago | 0

| accepted

Answered
Video Importing and Avoiding Storeage (Runtime)
I don't see how you could load something but not store it MATLAB. You could just load a little bit at a time and store that and...

14 years ago | 0

Answered
clicking on specific pixels on the screen
A couple of places to look: doc ginput docsearch figure properties Specifically look at the _currentpoint_ option as w...

14 years ago | 0

| accepted

Answered
3D surf
doc print Perhaps?

14 years ago | 0

Answered
Save and load all GUIDE GUI variables
Check out this video: <http://blogs.mathworks.com/videos/2010/12/10/how-to-save-and-restore-state-of-a-gui-in-matlab/ Doug's_...

14 years ago | 0

Answered
repeat element in an array
One way: [xx yy zz] = ndgrid(1:3); C = [xx(:) yy(:) zz(:)]

14 years ago | 0

Answered
How to check if eval() changes values of any local variables?
Package their script into a function (using |fopen/fwrite/fprintf| so that it uses its own local workspace. Call the function. ...

14 years ago | 0

Answered
Error fsolve
which fsolve -all will show which fsolve you're calling and the real one. More than likely you wrote a script called 'fsol...

14 years ago | 0

| accepted

Answered
how to stop a loop with a button in GUI
Please see my answer to this question: <http://www.mathworks.com/matlabcentral/answers/24515-updating-a-string-inside-a-callb...

14 years ago | 0

Answered
I'm looking to eliminate the following for loop:
Perhaps: idx = 1:96; rn(ijk(idx))=rn(ijk(idx))+mp(idx);

14 years ago | 0

| accepted

Answered
URGENT!!! Cannot start Simulink with error : "MATLAB:dispatcher:loadLibrary Can't load .... libmwsimulink.dll"
Contact us at tech support: <http://www.mathworks.com/support/contact_us/index.html>

14 years ago | 0

Answered
[HELP] required for exception handling during user input
what is getkey()? docsearch getkey doesn't return any results. If you want the _keypressfcn_ of a figure to perform...

14 years ago | 0

Answered
How to use who within eval
Why use |eval|? Nothing in that statement looks like it couldn't be done without it.

14 years ago | 2

Answered
matrix and vector
doc bsxfun and more specific: bsxfun(@times,matrix,vector)

14 years ago | 0

| accepted

Answered
Formatting Time Strings
One of many ways: str = ' 2011/11/01 09:00:00.792' str2 = str(isstrprop(str,'digit'))

14 years ago | 0

| accepted

Answered
Centroid of polyarea
Once you know area, _A_, and coordinates: _x, y_: As = sum(A)/2; x_bar = (sum((x(2:end)+x(1:end-1)).*A)*1/6)/As; y_bar = ...

14 years ago | 1

Answered
unexpected error
From the doc for |fir1| ( |doc fir1|): _Wn is a number between 0 and 1, where 1 corresponds to the Nyquist frequency._ Her...

14 years ago | 0

Answered
ginput and plot data
minimum absolute differences kick in again: xx = 1:10; %xdata yy = exp(xx); plot(xx,yy); [xm ym] = ginput(1); %xmous...

14 years ago | 1

| accepted

Answered
Running movie file simultaneously to other code
Are you looking for something like a |waitbar|? doc waitbar If not, please clarify your question.

14 years ago | 0

Answered
how can i process this image in excellent way in order to extract veins from image exactly?
I'd start with my <http://www.mathworks.com/matlabcentral/fileexchange/29175-shrinkwrap shrinkWrap> function to segment the hand...

14 years ago | 0

Answered
How to optimize my code??
I would recommend using the profile as a first step to see what is taking the longest. doc profile *More:* It appears you a...

14 years ago | 1

Answered
Change selected gui element in program
I think this video and the answers/comments associated with it, will interest you: <http://blogs.mathworks.com/videos/2011/03...

14 years ago | 0

Answered
about gatool
dbstop if error Which will stop deep inside of |ga()|. Now put a break point in first line of your objective function. R...

14 years ago | 0

| accepted

Answered
Loop help
No reason for a |for|-loop: X = [ceil(rand(10,1)*3) (1:10).']; %two column matrix of 1:3 in first column and values in second...

14 years ago | 0

| accepted

Answered
centroid
Four different ways to do it here: <http://www.mathworks.com/matlabcentral/answers/23440-creating-an-image-using-a-matrix Ans...

14 years ago | 0

Answered
Eliminate small areas in a binary image
That means you've accidentally defined _min_ or _bwareaopen_ as a variable before. whos min clear min And rename the va...

14 years ago | 0

| accepted

Load more