Answered
MATLAB GUI - Set transparent background color for components
You cannot easily have the uicontrols (i.e., gui components) be transparent. You can force it with java: <http://undocumented...

15 years ago | 0

Answered
glmfit stats error
It works fine on my machine. I would try: which beta It should return something like: .../toolbox/matlab/specfun/beta.m ...

15 years ago | 0

| accepted

Answered
Equivalent to "for" loops on a line by line basis
Loops in MATLAB are a lot faster now then they used to be, especially if you pre-allocate your vector (in this case bArray) to t...

15 years ago | 0

Answered
Protected External Methods
<http://www.mathworks.com/help/techdoc/matlab_oop/brqy3km-14.html#brqy3km-15> under "Specify Method Attributes in classdef File"...

15 years ago | 1

| accepted

Answered
Factorization
repmat(factor(2), 1, 1024)

15 years ago | 2

Answered
Answers and the FAQ
My own answer to this is for Mathworks to consider potentially forcing individuals with a reputation less than 1, 10, 100, 1000,...

15 years ago | 0

Question


Answers and the FAQ
When Answers was introduced there was some discussion (both on Answers and CSSM) about the FAQ. This of course also came up when...

15 years ago | 3 answers | 2

3

answers

Answered
complex numbers
??? Subscript indices must either be real positive integers or logicals. means that i or j (your subscripts of M) is not a re...

15 years ago | 0

Answered
Interfacing With External Program
If you were not in MATLAB how would you call the chess engine? You can call external exe files with system. doc system

15 years ago | 0

| accepted

Answered
The relation between fft(x,8)/8 and fft(x,4)/4
The scale factor and the number of frequency components.

15 years ago | 0

Answered
How can I display axis values as thousands, millions and billions instead of 10^3, 10^6 and 10^9?
The ytick parameter controls where the tick marks are and the yticklabel controls the label. I am assuming you are using either ...

15 years ago | 1

Answered
Convolution problem
Convolution of time domain signals is the same as multiplication of frequency domain signals. You cannot simply multiple Pxx and...

15 years ago | 1

| accepted

Answered
chirp with gaussian envelope
t = -1:0.01:1; env = normpdf(t); x = chirp(t); y = env.*x;

15 years ago | 0

| accepted

Answered
FFT result does not jive with theory for basic sine and cosine
Steve Eddins recently blogged all about FFT in MATLAB. http://blogs.mathworks.com/steve/category/fourier-transforms/

15 years ago | 0

Answered
varargin
doc inputParser With 10 possibilities, I think an inputParser object is the way to go. With only 1 or two possibilities, the ...

15 years ago | 1

| accepted

Answered
Setting GUI Control Default Properties by Style
You cannot control the properties like you want. You could create a new function (or even class) that mimics uicontrols, but wou...

15 years ago | 0

Answered
Continuous analog output ao daq
I have not used that card (or even the DAQ toolbox in a long time). It would not surprise me if the limit was 2^32. In fact ...

15 years ago | 0

| accepted

Answered
How to decide if a plot is surf or mesh based on graphics handle data?
Both mesh and surf create objects of the surface class. Therefore, they have identical properties (although potentially differen...

15 years ago | 0

| accepted

Answered
GUI development.
I would look at handles.input1_editText. It is likely that somewhere handles got overwritten and is no longer a structure array....

15 years ago | 0

| accepted

Answered
while loop, index out of bounds
You have removed all the elements from your matrix. There is no gaurentee that an arbitraty matrix will sum to 0. Think about [1...

15 years ago | 0

Answered
How to Display a dot on screen?
I think you could do it with a transparent window as described by Yair Altman: <http://undocumentedmatlab.com/blog/transparen...

15 years ago | 2

| accepted

Question


Save disp output as a string/cell variable
The command disp(x) does a reasonable job of displaying variables of any class. For example, it expands structures to show their...

15 years ago | 3 answers | 2

3

answers

Answered
How to Display a dot on screen?
Displaying something with no MATLAB window is hard. It is not even really clear what this means. What about a full screen figur...

15 years ago | 0

Answered
uncertain number of loop structures
function looper(FcnHandle, NDIM, LoopIndices, Array) LoopNo = length(Array)+1; if LoopNo == NDIM for ii = LoopIndice...

15 years ago | 0

Answered
A problem occur in code debugging
It doesn't appear you provided the relevant code. The error message refers to a variable u1, but I do not see a variable u1 in y...

15 years ago | 1

Answered
Sorting Algorithm
I think the sortrows/unique answers may be cheating since they might call sort under the hood ... I am sure this student would n...

15 years ago | 0

Answered
What is wrong with the code?
MATLAB evaluates uigetdir before existing_chk, so that it can pass whatever uigetdir returns to existing_chk. Either turn the se...

15 years ago | 0

Question


overloading subsref
How do you support colon notation in an overloaded subsref? I am trying to overload subsref for a class I am writing. I have an ...

15 years ago | 2 answers | 0

2

answers

Answered
Direct control of sound-card via Matlab in 64-bit Windows: Is this possible?
Not sure this qualifies as an answer. I have been sticking with 32-bit MATLAB (Linux) because I am pretty sure there is no freel...

15 years ago | 0

| accepted

Answered
Increasing xcorr() resolution
Zero padding will increase the frequency resolution (i.e., reduce the spacing between frequency components), but does not affect...

15 years ago | 0

| accepted

Load more