Answered
being equals of 2 matrics
a = rand(2) b = rand(2) isequal(a,a) isequal(b,b) isequal(a,b)

14 years ago | 0

| accepted

Answered
White lines appear in postscript
Have you tried export_fig on the FEX: <http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig> It tends to fix m...

14 years ago | 0

Answered
MATLAB homework help
This will plot a circle with radius 1 and center (0,0). Can you see where to add a and b to get a circle centered on (a,b)? How ...

14 years ago | 0

Answered
Does freqz give the Fourier Transform ??
Yes and no. The way your are doing it no, but it can be made to do it. x = randn(10, 1); X = fft(x); Y = freqz(x, 1, l...

14 years ago | 1

Answered
issues with fprintf
fprintf is vectorized ... K = {'text1'; 'text2'}; fprintf('blahhh blahh %s blahh bahh\n',K{:}) gives the same results as t...

14 years ago | 3

Answered
process in one server out to another
This is easy if both machines run Linux and the server and client are setup to allow ssh connections and X11 forwarding. If the ...

14 years ago | 0

Question


Transparent background for figures
I get the following warning in r2011a set(gcf, 'Color', 'None') Warning: Setting the ColorSpec to 'none' for a figure wi...

14 years ago | 6 answers | 9

6

answers

Answered
generate a combination
You are still not giving us much to go on ... randi(100, 2, 1) will give you two random number between 1 and 100. d...

14 years ago | 0

Answered
Problem to create a matrix
Does this do what you want? B = (1:300)*16; A = cell2mat(arrayfun(@(x)plus(x, 0:0.02:(16-0.02)), B, 'UniformOutput', fal...

14 years ago | 0

Answered
Invalid Handle Object with Subplot
The problem is that the property title requires a handle to a text object and not a string. The help <http://www.mathworks.com/h...

14 years ago | 1

| accepted

Answered
generate sequence
Presumably your 51 elements are highly constrained (51^51 is a big number). If your constraints are such that you can generate t...

14 years ago | 0

Answered
Track computer desktop in MATLAB
What do you mean by see? In Linux you can use wmctrl to get a list of all open windows. I am not sure if the Mac window manager ...

14 years ago | 0

Answered
Supported functions in matlab compiler
<http://blogs.mathworks.com/loren/2008/09/17/managing-non-deployable-functions-in-a-compiled-application/> It doesn't seem li...

14 years ago | 0

Answered
Need to generate bandpass filtered white-noise
If you are using simulink <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/slref/bandlimitedwhitenoise.html>

14 years ago | 0

Answered
How do you overload a built-in function if it has no parameters?
Another option would be to reset the random number generator prior to running the original version and then again before running...

14 years ago | 0

Answered
Group delay noise in minimum phase impulse response
What is your SNR for the impulse response. How far was the speaker from the microphone? What do the first ~200 samples look like...

14 years ago | 0

Answered
How can i cross check convolution in matlab
The hard part is that you want n to go from 0 to N-1, but MATLAB wants n to go from 1 to N. To get around this do everything in ...

14 years ago | 0

Answered
how to continue the program?
If it is a script then you can just run the portion of the script that hasn't run. If it is a function, you are out of luck. You...

14 years ago | 0

Answered
Difference between pitch and frequency?
Frequency is a physical aspect of a sound and can be measured objectively (for example with a microphone and an oscilloscope). P...

14 years ago | 3

| accepted

Answered
u = chi2rnd(nu, [N,1]);
The degrees of freedom is a parameter of the distribution. Basically, you can rewrite chi2rnd as: chi2rnd = @(nu, siz)sum...

14 years ago | 0

Answered
How to pause the program?
It depends what you want to do while the program is paused. If you are simply trying to free up your computer to do something el...

14 years ago | 0

Answered
Storing Special Characters in Cell String
char(963)

14 years ago | 0

Answered
A school boy Q? about the complexity of variable/symbol names.
MATLAB has some tricky JIT acceleration which I am guessing handles this. Your code only calls the function once, so MATLAB only...

14 years ago | 0

Answered
problem with eval notation
You cannot do eval(['strucvector(num2str(j)).''field']) because ['strucvector(num2str(j)).''field'] expands to ...

14 years ago | 1

Answered
[DISCONTINUED] Wish-list for MATLAB Answer sections.
The new interface and all seems nice. It looks like TMW is trying to address some of our requests. It seems odd to me that the "...

14 years ago | 1

Answered
plot scatter and line in same grid
It might even be easier to just use lsline (assuming when you say best fit you mean mmse)... scatter(h,t) lsline

14 years ago | 1

Answered
Using multiple Event Listener
I think the listeners you create with add_exec_event_listener are similar to the listeners you create with addlistener in MATLAB...

14 years ago | 1

| accepted

Answered
(Data acquisition) Is it possible to connect a temperature controller to MatLab?
It looks like if you add to it the digital communications option (n5???) you should be able to get the data into MATLAB assuming...

14 years ago | 2

Answered
Distributed and parallel computing without DCS
If you have the MATLAB compiler you can compile your code and then run it with the Sun Grid Engine without MATLAB or the DCS too...

14 years ago | 1

| accepted

Answered
pllllllllllllZzz ..... I need it today ;(
ohhh, I know the answer ... function y = cosmx ( x ) % y = cosmx(x) computes the difference y=cos(x)-x % your name and th...

14 years ago | 2

Load more