Answered
UIContextMenus for toggle buttons
Nope; the |uipushtool| ignores the _'UIContextMenu'_ property. <http://www.mathworks.com/help/releases/R2012a/techdoc/ref/uip...

14 years ago | 0

| accepted

Answered
Is there a way to disable a specific mlint warning in an entire file?
Yes. When you right click on the section underlined There should be a contect menu that appears. The second option should be...

14 years ago | 6

| accepted

Answered
Listbox grep for a GUI
* <http://www.mathworks.com/support/solutions/en/data/1-2KHBV9/index.html>

14 years ago | 0

| accepted

Answered
Is default color bar min/max determined by displayed portion of the plot or all of it?
You could use |addlistener| to add a listener to the axes' _'xlim'_ and _'ylim'_ properties. Then when they change the listener...

14 years ago | 0

Answered
Counting the neighbors in matrix
I would take an image processing approach: x = zeros(5); %sample matrix x(3:5,3:5) = [1 2 1;1 7 2;3 4 1]; x(5) = 7; ...

14 years ago | 1

Answered
Function instead of polyval
fnotpolyval = @(p,x)sum(bsxfun(@(x,p)p*x.^(numel(p):-1:1),p',x)) or fnotpolyval = @(p,x)sum(x'*p,2)'

14 years ago | 1

| accepted

Answered
Can someone help me change the properties of this subplot?
figure; for ii = 3:-1:1 subplot(1,3,ii); h(ii) = plot(rand(1,10)); %store iith line handle end %Change second lin...

14 years ago | 0

Answered
Weird case: Loop runs faster with fprintf?
It might be even faster if you have just a |drawnow| where the |fprintf(etc)| is.

14 years ago | 0

Answered
Handles variable in GUIDE is not updating
It is not updating because you are calling |guidata| with _hObject_ in the pushbutton's callback. hObject in the pushbutton's c...

14 years ago | 0

Answered
MATLAB Closes Immediately During Startup
Did someone play a prank on you and put a |quit()| or an |exit()| in your |startup.m|?

14 years ago | 0

Answered
Installation failure on Ubuntu 12
<http://www.mathworks.com/support/contact_us/index.html Contact Installation Support>

14 years ago | 1

Answered
Learning MATLAB GUI (sites, movies, books,...)
A bunch of them here: <http://blogs.mathworks.com/videos/ Doug's Blog>

14 years ago | 2

Answered
mkdir/ exist conflict in for-loop
Hidden directory maybe? winopen(pwd) And then view hidden files/folders or whatever it is.

14 years ago | 0

Answered
Adding a constraint to my if else if statement.
This could be written without the |for|-loop or the |if|-statement by using |histc|. x = rand(8033,1); edges = [0,.0687,.1...

14 years ago | 1

Answered
what is this error: Unexpected MATLAB expression?? andhow can i fix it???
If you run that, what line does the error occur on? You are likely missing a ')', ']' or '}' or similar.

14 years ago | 0

| accepted

Answered
How do I specify which channel I want to use to output data in the Data Acquisition Toolbox?
It's been awhile size I've done this but doesn't each column of the data go to the respective channel as it was created. Consid...

14 years ago | 0

Solved


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

14 years ago

Answered
Why are pie charts in multiple subplots black?
They're in color for me after the text deletion step (the text was in black).

14 years ago | 1

| accepted

Answered
Why is igamma undefined?
|igamma| is a MuPad function. To use it, open a MuPad notebook and you can see the doc for it in there: mupad Else lo...

14 years ago | 0

Answered
how to properly rename files like pic0001 while keeping their order
I do not see anything wrong with the above code and it works just fine for me. Are you sure you are not just not seeing the new...

14 years ago | 0

Answered
How to create a vector of submultipliers?
x = 100; v = (x./(1:x)); v = v(ceil(v)==v)

14 years ago | 0

| accepted

Answered
dicomwrite creates a black and white image, why?
What is the class of x after you read it in? class(x) %? And after this: max(x(:)) min(x(:)) I would guess yo...

14 years ago | 0

Answered
unique function in matlab
The _'stable'_ option was introduced in R2012a. One way to achieve something similar with an older release is to first |sort|...

14 years ago | 0

Answered
Olympic puzzle number one
clear = rand(1000,500,700); pack

14 years ago | 3

Answered
Olympic puzzle number one
system('matlab &');quit

14 years ago | 2

| accepted

Answered
[HELP] fmincon to ga
You shouldn't have to change anything! In fact you can use |ga| as the coarse minimization method and then use |fmincon| as a...

14 years ago | 1

| accepted

Answered
Plotting multiple graph on 1 axes GUI
Use |plot()| to plot four lines. Consider the following: x = rand(8,10); plot(x(:,[1 3 5 8])) %plot the first third fifth...

14 years ago | 0

Answered
How do I get a member function in one class to know about another class
If you do not want the TelephoneCall object to inherit from PBX why not just give it its own DialCall method?

14 years ago | 0

Answered
Accessing variables between pushbuttons in MATLAB GUI
How are you setting _'MySet'_ to be a field of handles? You need to use either |setappdata| & |getappdata| or |guidata|.

14 years ago | 0

| accepted

Answered
Plotting multi valued data properly
I won't download the data set, but you could likely |sort| it (or |sortrows|) it first so that the connected points are in sorte...

14 years ago | 0

Load more