Answered

How to disable beep (beep off does not work)?

I believe BEEP OFF turns off the beep when there is an error. Partial parenthesis are not an error (although if you run code wit...

How to disable beep (beep off does not work)?

I believe BEEP OFF turns off the beep when there is an error. Partial parenthesis are not an error (although if you run code wit...

11 years ago | 0

Answered

Vector where elements equals previous elements + 1

Using end is a bad choice since it is special in MATLAB. I think what you are asking for is a:b

Vector where elements equals previous elements + 1

Using end is a bad choice since it is special in MATLAB. I think what you are asking for is a:b

11 years ago | 3

Answered

can u tell how to create this type of vector ?

For your simplified question X(i)={x(1,i),x(2,i),x(3,i)........x(D,i)} lets let i equal 1 and D equal 5, x(1,1) equal to...

can u tell how to create this type of vector ?

For your simplified question X(i)={x(1,i),x(2,i),x(3,i)........x(D,i)} lets let i equal 1 and D equal 5, x(1,1) equal to...

11 years ago | 0

Answered

Why Matlab does not show the special characters (e.g.: 'ç' or º)

You may want to see this <http://www.mathworks.com/matlabcentral/answers/83114-print-latex-greek-chars-to-commandline question>....

Why Matlab does not show the special characters (e.g.: 'ç' or º)

You may want to see this <http://www.mathworks.com/matlabcentral/answers/83114-print-latex-greek-chars-to-commandline question>....

11 years ago | 0

Answered

Properties of user defined classes cannot be seen in variable editor. why? Please look at the picture.

This is a reoccurring problem/request. See my previous <http://www.mathworks.com/matlabcentral/answers/45496#answer_56857 answer...

Properties of user defined classes cannot be seen in variable editor. why? Please look at the picture.

This is a reoccurring problem/request. See my previous <http://www.mathworks.com/matlabcentral/answers/45496#answer_56857 answer...

11 years ago | 0

Question

Documentation of changes to sound.m

Comparing |sound.m| in R2010a and R2013a shows that they have very few similarities. The work in R2010a is done by the PLAYSND m...

11 years ago | 0 answers | 0

Answered

Matlab Freezes after playing tone couple of times.

The standard MATLAB sound commands have overhead associated with stopping and starting the soundcard so you cannot do what you a...

Matlab Freezes after playing tone couple of times.

The standard MATLAB sound commands have overhead associated with stopping and starting the soundcard so you cannot do what you a...

11 years ago | 0

Answered

Is it possible to attach to a running matlab process?

Assuming you are using Linux and want to attach over ssh (or something similar) you should look at the answers to this <http://w...

Is it possible to attach to a running matlab process?

Assuming you are using Linux and want to attach over ssh (or something similar) you should look at the answers to this <http://w...

11 years ago | 0

Answered

Confused about dB in MATLAB

Depends what you mean by full scale, but yes. As for what could cause a 6 dB reduction in input to give a 10 dB reduction in out...

Confused about dB in MATLAB

Depends what you mean by full scale, but yes. As for what could cause a 6 dB reduction in input to give a 10 dB reduction in out...

11 years ago | 0

| accepted

Question

MATLAB Platform dependency documentation

I generally think of MATLAB as being platform independent apart from a few will documented toolboxes (both official and unoffici...

11 years ago | 1 answer | 0

Answered

opengl functions in matlab

You can do this with either <http://docs.psychtoolbox.org/PsychOpenGL psychtoolbox> or <http://gru.brain.riken.jp/doku.php/mgl/o...

opengl functions in matlab

You can do this with either <http://docs.psychtoolbox.org/PsychOpenGL psychtoolbox> or <http://gru.brain.riken.jp/doku.php/mgl/o...

11 years ago | 1

Answered

Vectorising cell array operations

Blindly removing loops for speed is an antiquated view of MATLAB based on the performance of versions over 10 years old prior to...

Vectorising cell array operations

Blindly removing loops for speed is an antiquated view of MATLAB based on the performance of versions over 10 years old prior to...

11 years ago | 1

Answered

Problems with text in figures

I am guessing this is related to: <http://www.mathworks.com/matlabcentral/answers/1238-font-size-changes-in-figures> Do you h...

Problems with text in figures

I am guessing this is related to: <http://www.mathworks.com/matlabcentral/answers/1238-font-size-changes-in-figures> Do you h...

11 years ago | 0

Answered

cant play audio file

The |LOAD| function cannot load wav files try |WAVREAD| instead.

cant play audio file

The |LOAD| function cannot load wav files try |WAVREAD| instead.

11 years ago | 1

Answered

Correlation coefficent for vectors (of unequal lengths).

First make some dummy data A = 1:10; A(2) = nan; B = 1:10; B(4)=nan; Then combine the arrays into a matrix so i...

Correlation coefficent for vectors (of unequal lengths).

First make some dummy data A = 1:10; A(2) = nan; B = 1:10; B(4)=nan; Then combine the arrays into a matrix so i...

11 years ago | 1

| accepted

Answered

Print Latex/Greek-Chars to Commandline

Yes and no. The commandline does not have a LaTeX interpreter so so you cannot pass it LaTeX code. The commandline does handle H...

Print Latex/Greek-Chars to Commandline

Yes and no. The commandline does not have a LaTeX interpreter so so you cannot pass it LaTeX code. The commandline does handle H...

11 years ago | 1

Answered

Events Listening, Callback functions

You might be able to hack it, but I am not sure that you need to ... Why not just have |callback1| call a |hello_response| me...

Events Listening, Callback functions

You might be able to hack it, but I am not sure that you need to ... Why not just have |callback1| call a |hello_response| me...

11 years ago | 0

| accepted

Answered

Wrong code. Does not get into the while loop.

When |k| is equal to 2, |s| is equal to 2 and |n| is equal to 0. If |UntitledVoltage(2)| is not between 15 and 26, then you skip...

Wrong code. Does not get into the while loop.

When |k| is equal to 2, |s| is equal to 2 and |n| is equal to 0. If |UntitledVoltage(2)| is not between 15 and 26, then you skip...

11 years ago | 0

| accepted

Answered

Repeat Try/Catch loop?

You could do something like function varargout = myfunc(varargin) try thingThatSometimesCrashes; catch ...

Repeat Try/Catch loop?

You could do something like function varargout = myfunc(varargin) try thingThatSometimesCrashes; catch ...

11 years ago | 3

Answered

help required using colormap function in matlab

It is not clear what you are trying to do. In the simplest case you might be trying to do Z = 7*rand(61,98)+26.5; C = nd...

help required using colormap function in matlab

It is not clear what you are trying to do. In the simplest case you might be trying to do Z = 7*rand(61,98)+26.5; C = nd...

11 years ago | 0

| accepted

Answered

Why does Microsoft Outlook not like MATLAB's .MAT files?

Microsoft considers the MAT extenstion to be a Microsoft Access Table Shortcut. This file type can contain scripts and code and ...

Why does Microsoft Outlook not like MATLAB's .MAT files?

Microsoft considers the MAT extenstion to be a Microsoft Access Table Shortcut. This file type can contain scripts and code and ...

11 years ago | 0

Answered

automatic Matlab to run each 10 min

You could do while true myfunc; pause(10*60); end

automatic Matlab to run each 10 min

You could do while true myfunc; pause(10*60); end

11 years ago | 1

Answered

What is the prefered OS for Matlab 2012a

You may want to take a look at the system requirement <https://www.mathworks.co.uk/support/sysreq/roadmap.html roadmap>, althoug...

What is the prefered OS for Matlab 2012a

You may want to take a look at the system requirement <https://www.mathworks.co.uk/support/sysreq/roadmap.html roadmap>, althoug...

11 years ago | 0

Question

Does 1.*2 call times or mtimes?

Following on from Jan's question about <http://www.mathworks.com/matlabcentral/answers/77274-puzzling-syntax-2-4-6-8-10-12 puzzl...

11 years ago | 2 answers | 4

Question

MATLAB .deb or .rpm based installer

I am curious why there is no .deb or .rpm based installer for MATLAB. It seems the way TMW handles the software downloads it wou...

11 years ago | 0 answers | 2

Answered

hello ,Any tool boxes are available for HRTF ?

The <http://interface.cipic.ucdavis.edu/data/doc/show_data_manual.pdf CIPIC> and <http://recherche.ircam.fr/equipes/salles/liste...

hello ,Any tool boxes are available for HRTF ?

The <http://interface.cipic.ucdavis.edu/data/doc/show_data_manual.pdf CIPIC> and <http://recherche.ircam.fr/equipes/salles/liste...

11 years ago | 0

Answered

set latters in a string to different fontsizes with interpreter latex

Presumably by "doesn't work" you mean there is not a difference in the font size. The reason there is no difference in the font ...

set latters in a string to different fontsizes with interpreter latex

Presumably by "doesn't work" you mean there is not a difference in the font size. The reason there is no difference in the font ...

11 years ago | 5

| accepted

Answered

Using regexp to capture parts of a filename

Depending on how structured your file names are, it might be easier to skip the regexp part. file = 'Exp000_DD2CM000_PN0...

Using regexp to capture parts of a filename

Depending on how structured your file names are, it might be easier to skip the regexp part. file = 'Exp000_DD2CM000_PN0...

11 years ago | 0

Answered

how to check if there are any elements are equal in a vector

There is no built in function that will do that. You could test the number of unique elements in the vector against the length o...

how to check if there are any elements are equal in a vector

There is no built in function that will do that. You could test the number of unique elements in the vector against the length o...

11 years ago | 0

Answered

Basic opeation in matlab

In this case the |'| is a shorthand way of calling the |ctranspose| function. You may also want to look at |.'| which is shortha...

Basic opeation in matlab

In this case the |'| is a shorthand way of calling the |ctranspose| function. You may also want to look at |.'| which is shortha...

11 years ago | 0