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

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 1

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

casi 15 años hace | 3

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

casi 15 años hace | 0

Pregunta


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

casi 15 años hace | 6 respuestas | 9

6

respuestas

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 1

| aceptada

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 3

| aceptada

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

casi 15 años hace | 0

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

casi 15 años hace | 0

Respondida
Storing Special Characters in Cell String
char(963)

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 1

Respondida
[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 "...

casi 15 años hace | 1

Respondida
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

casi 15 años hace | 1

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

casi 15 años hace | 1

| aceptada

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

casi 15 años hace | 2

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

casi 15 años hace | 1

| aceptada

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

casi 15 años hace | 2

Cargar más