Beantwortet
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)...

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

Frage


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...

etwa 14 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
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 ...

etwa 14 Jahre vor | 4

Beantwortet
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...

etwa 14 Jahre vor | 0

Beantwortet
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

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 0

Frage


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 ...

etwa 14 Jahre vor | 2 Antworten | 0

2

Antworten

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

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 1

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 1

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

etwa 14 Jahre vor | 0

Beantwortet
sending email when face is detected
doc sendmail

etwa 14 Jahre vor | 0

Beantwortet
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 .....

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

Beantwortet
How to get the same rand
doc randstream

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

etwa 14 Jahre vor | 0

Beantwortet
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 ...

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 1

Beantwortet
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 ...

etwa 14 Jahre vor | 0

Beantwortet
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/...

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 0

Mehr laden