Answered
How to play audio files one by one by pushing the same button in GUI
If I understand your code correctly, every time you push the button the first file is played, but you want it to step through th...

9 years ago | 0

| accepted

Answered
Launching Matlab 2012a for Linux 32-bit using VPN? Licensing error: -15,570. System Error: 115
It sounds like you cannot connect to the license server. Is the VPN setup correctly? Does your terminal make use of the VPN? Is ...

9 years ago | 0

Answered
Allow Question Markup Capability with fewer Reputation Points
The Answers interface does not provide a mechanism to role back edits, making "editor" powers to powerful in my opinion. I broug...

9 years ago | 2

Answered
MATLAB help always showing true to if condition
The strcmp function requires an exact match. We can define a simple test function to see if a string is either exactly 'Hi' or e...

9 years ago | 0

| accepted

Answered
Find out OS language via datestr command?
You probably can, but it seems really silly to try. On Linux you can do ! echo $LANG For Windows, I don't know an easy ...

9 years ago | 0

Answered
How to store string into an array?
You cannot access a string with |y(1)| easily. The problem is that your data is a character array and not a string array. This m...

9 years ago | 0

Answered
combine two regexprep into one
I have no idea what you are trying to do. My regex foo is weak, but I am pretty sure for your example you can just replace both ...

9 years ago | 0

| accepted

Answered
create a new array without nan
Starting with some dummy data x = [[randn(10, 2), nan(10, 6)]; [randn(10, 2), randn(10, 6)]]; x = x(randperm(length(x)),...

9 years ago | 2

Answered
What functions can benefit from simple patching?
In my opinion the tex function could benefit from a simple patch to allow custom packages and classes to be used. The patch is t...

9 years ago | 2

Answered
What functions can benefit from simple patching?
In my opinion the subplot function could benefit from a simple patch. There are currently 64 submissions to the <http://www.ma...

9 years ago | 2

Question


What functions can benefit from simple patching?
This <http://www.mathworks.com/matlabcentral/answers/77836-can-i-modify-files-with-copyrighted-by-the-mathworks question> made m...

9 years ago | 4 answers | 3

4

answers

Answered
Different commands for strutures and "regular" matrices
Maybe a function like myfun = @(x, ii)subsref(reshape([x(:).Data], size(x(1).Data, 1), size(x(1).Data, 2), length(x)), st...

9 years ago | 0

Answered
How to tell if there are at least 5 consecutive entries in one 8-by-1 matrix with 8 integers?
As people are giving answers, I am pretty confident that not(isempty(strfind(diff(sort(unique(x))), ones(1, 4)))) works...

9 years ago | 1

| accepted

Answered
One figure with two graphics in different colormaps
MATLAB figures can only have a single colormap. One option is to define your own color map which concatenates the two desired co...

9 years ago | 0

Answered
How to call consecutive variables from workspace
I am a little lost about what your question is, but I think you are saying that working with variables called H1, H2, H3, ..., H...

9 years ago | 0

Answered
plot & errorbar: does exist a function that plot many series of data with error bars?
The simplest way is probably plot(X1,Y1); errorbar(X1,Y1,errors1); plot(X2,Y2); errorbar(X2,Y2,errors2); ... ...

9 years ago | 0

| accepted

Answered
How to plot with plotconfusion into subplots?
The code for |plotconfusion| is available. It doesn't support an axis handle argument and does not plot into the current axis, r...

9 years ago | 0

| accepted

Answered
Puzzling syntax: 2:4:6:8:10:12
The documentation lists the colon operator as having the 6th highest precedence and says that _Within each precedence level, ...

9 years ago | 2

| accepted

Answered
Nesting parentheses issue: any workaround?
Based on some of your comments to the original question and answers, it seems the "solver" is a custom function that you (or som...

9 years ago | 2

Answered
Insert a colorbar into a plot, destroys image with too many numbers?
I am guessing this is a duplicate of http://www.mathworks.com/matlabcentral/answers/53874

9 years ago | 0

| accepted

Answered
Class inheritance from fi objects
I am not sure you can. It looks like the |fi| object is setup with the old style OO framework. The |fi| function calls |embedded...

9 years ago | 0

| accepted

Answered
How to normalize audio input?
The |wavrecord| function does not do the scaling but rather the recsnd function handles the scaling. The recsnd function is/was ...

9 years ago | 1

Answered
Changing lower bound of an array
I believe with a huge amount of work overloading some of the key functions (e.g., subsref and subsasgn) you can probably achieve...

9 years ago | 0

Answered
Font size problem in 2-D plots
See this question http://www.mathworks.co.uk/matlabcentral/answers/1238-font-size-changes-in-figures

9 years ago | 0

Answered
Matlab 2013a installation error
TMW provides free installation help and you should contact them directly. Are you using the graphical installer? Are you sele...

9 years ago | 0

Answered
amplitude of a pink noise wave file
You probably do not want the mean unsigned amplitude, but rather the root mean square amplitude. Talking about an unreferenced d...

9 years ago | 0

Answered
Using RegEx (strrep) on CharArray with For Loop
What about datestr(['2007-04-22 01:04:21.000';'2007-05-10 01:08:48.000';'2007-06-15 22:03:31.000'], 'yyyy/mm/dd HH:MM:SS'...

9 years ago | 1

| accepted

Answered
How can I install MATLAB 5.3 onto a 64-bit computer?
Given performance is clearly not a concern if you are running a pre JIT version, why not just create a 32-bit virtual machine th...

9 years ago | 0

Question


Activating on Linux without eth0
I have an activation question. I have asked technical support, but I thought I would ask here. I thought this would be desirable...

9 years ago | 2 answers | 0

2

answers

Load more