Respondida
Dynamic Output File Naming - Screen Capture
I think if you change filehandle = java.io.File('screencapture.jpg'); to filehandle = java.io.File([num2str(i), '.j...

alrededor de 15 años hace | 0

| aceptada

Respondida
Unclear as to why I'm getting a dimension mismatch?
First, Walter is correct that you likely don't want to do what you are trying to do. Second, I don't think you are doing what yo...

alrededor de 15 años hace | 0

Respondida
How to plot so that its figure window doesn't become on top?
You must have some extra code you are not telling us about. The plot function will generally plot into the current axis. I don't...

alrededor de 15 años hace | 1

Respondida
detect debug mode
I don't think there is a robust way to tell. For example, you can get the "k>>" prompt with a keyboard command and I have no ide...

alrededor de 15 años hace | 0

| aceptada

Respondida
GPU and CPU computing results different
When you say very small, do you mean 1e-16 small? If so, that is close to the precision of double precision numbers. Check out: ...

alrededor de 15 años hace | 0

Respondida
Get next plot color
I think the number of children should equal the number of calls to plot. You need to use mod to loop through the colors (i.e if ...

alrededor de 15 años hace | 1

| aceptada

Respondida
Path management for different versions of projects
Your folder naming does not seem to fully capture the power of modern version control systems. If you think of your project as h...

alrededor de 15 años hace | 2

Respondida
how to maintain security
I think if you set the HitTest and HandleVisibility properties to off, you can lock down an axis pretty well. For even more "sec...

alrededor de 15 años hace | 0

Respondida
How to use vectors in conditional functions?
Without any more information regarding what doesn't work, I am just guessing ... The == operator with a scalar returns a scal...

alrededor de 15 años hace | 0

Respondida
How to convert Pascal to dB, knowing the microphone sensitivity?
I think you are probably missing a piece of information to do the conversion. Your signal in MATLAB is probably in some arbitrar...

alrededor de 15 años hace | 0

| aceptada

Respondida
Error using hilbert for envelope detection
have you redefined hilbert someplace in your code which hilbert should give something like .../signal/signal/hilbert....

alrededor de 15 años hace | 0

Respondida
Adding a beep cue before a specific location
You have cueTone defined so all you need to do is add it to your snd array ... if idx == 1 out = snd; elseif ...

alrededor de 15 años hace | 0

| aceptada

Respondida
Basic probability question
x = rand(1, 10); % Makes x have values between 0 and 1. y = ones(size(x)); % Start off with all ones y(x > 0.6) = 2; % ...

alrededor de 15 años hace | 0

| aceptada

Respondida
Load constants from file
Another solution is to create a file, lets call it loadconstants.m. In that file just put A=1; B=2; C=3; Then when...

alrededor de 15 años hace | 0

Respondida
Least Squares Fitting Method with a Circle
Have you looked at the FEX: <http://www.mathworks.com/matlabcentral/fileexchange/?term=fit+chernov>

alrededor de 15 años hace | 0

Respondida
Matlab GUI - Edit text only allow numbers and '.'
If the key is invlaid you want to set the string of the edit box to be whatever the string is minus the last element x = ge...

alrededor de 15 años hace | 0

| aceptada

Respondida
Multiple Callback Functions
It is ugly ... obj = uicontrol(...,'style','popupmenu',... 'Callback', @(h,e)(cellfun(@(x)feval(x,h,e), ... {@(h,...

alrededor de 15 años hace | 2

| aceptada

Respondida
how to find argument or angle of a complex number in matlab?
The function angle is the correct function. The error is unrelated. You are likely not simple calling angle(x) but rather...

alrededor de 15 años hace | 1

Respondida
confidence intervals for line and corresponding normcdf
The question is not so clear to me and is outside my area of expertise, but I will give it a stab ... Have you thought about ...

alrededor de 15 años hace | 0

Pregunta


Desktop layout
What is your MATLAB desktop layout like? I have always kept everything but the command window undocked. Recently, I got a big...

alrededor de 15 años hace | 3 respuestas | 2

3

respuestas

Respondida
A script to create a single matrix from matrix in different matlab files
n = 10; c = 100; x = nan(100, 10); for ii = 1:n data = load(['FileName_', num2str(ii)]); x(:, ii) = data.A;...

alrededor de 15 años hace | 0

| aceptada

Respondida
Step by step 1-D filtering
Step by step 1-D filtering is requires you to have a filter defined in terms of b and a. A very simple low pass filter is b...

alrededor de 15 años hace | 0

| aceptada

Respondida
automatic intake of the input ( tartget images) from matlab directory in Target Detection
Something like ... temp = dir; filenames = {temp(3:end).name}; % The first two names are . and .. and should be ignored ...

alrededor de 15 años hace | 0

| aceptada

Respondida
Vary TolX for different parameters
It might be possible ... A simpler work around would be to scale your parameter so the scaled parameter no longer has a low s...

alrededor de 15 años hace | 1

| aceptada

Respondida
gzip keeps original file
If you like the unix gzip, why not just use it directly ... system(['gzip ', FileNameStr])

alrededor de 15 años hace | 0

Respondida
timer and Interruptible=Off button callback priority/preemption?
Non-timer graphic callbacks only run when the event queue is flushed. This means as long as you are careful with your timer call...

alrededor de 15 años hace | 1

Respondida
suggestion for the integrating the gaussian function
I don't really understand the question. Your Gaussian function seems to depend on two variables (t and x). The t makes me think ...

alrededor de 15 años hace | 0

| aceptada

Respondida
snr and eb no
In general the E/N0 notation denotes the signal energy over the spectrum level of the noise. As for differences between SNR and ...

alrededor de 15 años hace | 0

| aceptada

Respondida
Error Bars
There are a number of functions on the FEX that should allow you to do this. I haven't used any of them, but <http://www.mathwo...

alrededor de 15 años hace | 1

| aceptada

Cargar más