Respondida
I cant generate a square wave in matlab using the square wave command
You can get similar functionality with square = @(M, N, duty)repmat([ones(floor(N/duty), 1); -ones(ceil(N/duty), 1)], M, 1)...

alrededor de 14 años hace | 0

Respondida
How to search for contributors with most answers matching a chosen tag
I have concerns about this strategy and employing functionality like this. It seems like you (or others) might use it as a means...

alrededor de 14 años hace | 0

Respondida
GPU and SSH
COMPUTE=:0 Such an easy answer. Apparently you need to set the COMPUTE environment variable.

alrededor de 14 años hace | 0

| aceptada

Pregunta


GPU and SSH
I just got a new machine with an NVIDIA Quadro 4000 GPU and thought I would give GPU processing a try. I have installed Arch Lin...

alrededor de 14 años hace | 2 respuestas | 0

2

respuestas

Respondida
Answers vs Newsgroup
I will chime in with my pet peeve: The CSSM is "free" while Answers is owned and controlled by TMW with editorial policies that ...

alrededor de 14 años hace | 4

Respondida
Cannot read PCM file formats with more than 32 bits per sample.
I am assuming this comes from trying to use the WAVREAD function. I think the error is pretty straight forward. The PCM file (ak...

alrededor de 14 años hace | 0

Respondida
create best fit line
If you just want to plot the data and line doc lsline If you want the equation for the the line doc polyfit

alrededor de 14 años hace | 0

Respondida
Progress bar for several functions nested in GUI
There are tons of waitbar and status bar submissions to the FEX. My guess is <http://www.mathworks.com/matlabcentral/fileexchang...

alrededor de 14 años hace | 0

Respondida
MATLAB gets stuck in the "Initializing" state during startup from bat file
1. open DOS 2. type matlab -r "addpath('D:\CODE\MATLAB\Matlab_Code\startUp');abs_autoStartUp" 3. hit enter Critica...

alrededor de 14 años hace | 0

Pregunta


Using j for imaginary numbers
I tend to use i for imaginary numbers and not j. In confirming that MATLAB is happy to use either I typed j and got ...

alrededor de 14 años hace | 2 respuestas | 0

2

respuestas

Respondida
When using Corrcoef
I am not sure exactly what you want ... *EDIT* but not really different N = 10; x = randn(N); y = corrcoef(x); ...

alrededor de 14 años hace | 0

| aceptada

Respondida
Matrix element counting by rows, histograms, etc.
It is not the fastest and you probably could preallocate z if you wanted to. It also ignores your ps, but getting rid of the ext...

alrededor de 14 años hace | 1

| aceptada

Respondida
is it possible to use "find" to process every element of an array without loop
I know it has a loop, but what about something like this: a = randperm(1e5); X = 2e3*randn(1, 1e5); [b, ai] = s...

alrededor de 14 años hace | 1

Respondida
Reverberation Time
There are already a three implementations <http://www.mathworks.com/matlabcentral/fileexchange/?term=t60 FEX: t60>

alrededor de 14 años hace | 0

Respondida
sending email when face is detected
doc sendmail

alrededor de 14 años hace | 0

Respondida
Problem with legends
I don't know of an easy clean way to do it, but you can hack it pretty easily by plotting an empty plot with the desired line .....

alrededor de 14 años hace | 0

| aceptada

Respondida
I have written a code please help me in getting the output .
Wow, this question keeps coming up. The WAVWRITE function expects its input (in your case decodedx) to be an array with all valu...

alrededor de 14 años hace | 0

| aceptada

Respondida
Different results when running the same MATLAB program on different version of MATLAB
Looking at dftmtx in r2011a type dftmtx reveals that it has been changed on 2010/11/08. There is no change log and I do ...

alrededor de 14 años hace | 0

Respondida
having errors while converting .mat file to .wav file
Instead of wavwrite(x.(f{1}),8000,'foo.wav') try nBits = 16; Y = x.(f{1}); Y = Y./max(abs(Y(:)))*(1-(2^-(nBit...

alrededor de 14 años hace | 0

| aceptada

Respondida
Matrix consist of letters
Do you want something like this X = [repmat('x', 1, 10); repmat('y', 1, 10); repmat('z', 1, 10)] Or maybe this makes m...

alrededor de 14 años hace | 0

| aceptada

Respondida
Different results when running the same MATLAB program on different version of MATLAB
That is pretty dang close. In fact, if I counted the zeros correctly, the difference is on the order of eps(1) Basical...

alrededor de 14 años hace | 0

Respondida
Hightlighting data on a plot
myCurrentTime(myCurrentValues>1.7)

alrededor de 14 años hace | 0

Respondida
How to get the same rand
doc randstream

alrededor de 14 años hace | 0

Respondida
Passing base workspace variables to callback functions
What you are trying to do is difficult because it is bad programming practice with or without using globals. Basically you are t...

alrededor de 14 años hace | 0

| aceptada

Respondida
using print command to create high resolution image causes problem with x scale
Almost all printing and exporting problems are solved with <http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig ...

alrededor de 14 años hace | 0

Respondida
how can I trained mammograms images that can help out in testing of other mammograms
This question http://www.mathworks.com/matlabcentral/answers/4785-image-preprocessing-from-mammogram-image suggests "multiscale ...

alrededor de 14 años hace | 0

Respondida
What is [] to the left of "=" means?
In this case the [] does not mean anything *EDIT* [processed_I] = preA(handles, connected_I, 0); and processed_I...

alrededor de 14 años hace | 1

Respondida
parfor - can't get my head around it
The MATLAB parser (???) cannot tell that count can be sliced. The parser thinks that potentially b(i) might equal b(j) for some ...

alrededor de 14 años hace | 0

Respondida
having errors while converting .mat file to .wav file
The error means that at least for one sample either x<-1 or x>1. *EDIT* See: http://www.mathworks.com/matlabcentral/answers/...

alrededor de 14 años hace | 0

Respondida
How to make a function/script start over
See http://www.mathworks.com/matlabcentral/answers/1093-how-do-i-reset-matlab-to-its-launched-state Assuming you have a log...

alrededor de 14 años hace | 0

Cargar más