Respondida
Audio Device Fails to respond, somethimes.
The wavrecord function is Windows only. Windows handling of sound is crappy. To make matters worse, MATLAB's handling of sound i...

casi 15 años hace | 0

Respondida
how to start writing a program ?
To me the most useful command is %. That's right comment everything you do. Do use silly end of the line comments. Big chunky bl...

casi 15 años hace | 0

Respondida
Logical Manipulation of Vector
[true(a, 1); false(b, 1)]

casi 15 años hace | 0

Respondida
Find similar elements in a matrix
Maybe something like: [y, z] = hist(X(:), unique(X)); stem(z, y);

casi 15 años hace | 2

Respondida
how to display an error when user enters some integer data which is an invalid data using matlab GUI?
Assuming you know how to get ParVal and know what the lower/upper limits are: if ParVal < lowerlimt || ParVal > upperlimt ...

casi 15 años hace | 0

| aceptada

Respondida
Apply a variable delay to an audio signal
What you want to do is "delay" time by some amount. If your waveform is: sin(2*pi*f*t) then the delayed version is: ...

casi 15 años hace | 1

| aceptada

Respondida
Accessing child properties from parent classes / abstract method where every child's implementation would be identical?
You can set the GetAccess and SetAccess attributes of the proeprties to be public (you can also make the proeprties hidden so th...

casi 15 años hace | 0

Respondida
represent vector as a color
As Walter said, color is a three dimensional precept. Printers use CMYK to generate there colors, but all this means is that the...

casi 15 años hace | 0

Respondida
using p functions and mexw32 on other OSs?
Your a little off on the mex files. P files contain encrypted MATLAB code. The only reason I know of for creating a p file is to...

casi 15 años hace | 0

| aceptada

Respondida
matlab crash
The highest resolution monitors (2560x1440) only have 3.6 million pixels. Assuming MATLAB would plot each data point as a single...

casi 15 años hace | 0

Respondida
send data using GUI VIA TCPIP to other pc
doc tcpip doc udp

casi 15 años hace | 1

Respondida
pitch calculation for speech signal
This looks promising: <http://www.mathworks.com/matlabcentral/fileexchange/18497-speech-processing-tool>

casi 15 años hace | 1

| aceptada

Respondida
How to disable matlab editor search beep when nothing found
My MATLAB (r2011a, Linux, 64-bit) does not beep when using search and I do not believe it ever has. Are you sure it is not a set...

casi 15 años hace | 0

Respondida
streaming sound in realtime
You will probably have better control if you use the DAQ toolbox for everything (i.e create an analogoutput and an analogutinput...

casi 15 años hace | 0

| aceptada

Respondida
Puzzler: Quickly tell if two absolute indices (a,b) are four connected for n x m matrix.
I am not sure what to do about circle-shifting neighbors so I have two answers. function flag = isFourConnected(a,b,n,m) ...

casi 15 años hace | 0

Respondida
Are nested classes possible?
You cannot define a class in a private folder: <http://www.mathworks.com/help/releases/R2011a/techdoc/matlab_oop/brfynrp-1.ht...

casi 15 años hace | 0

Respondida
How to find out %COMPUTERNAME% and %USERNAME% ??
With java you can do this in an OS independent manner: char(java.lang.System.getProperty('user.name')); char(java.net.In...

casi 15 años hace | 11

Pregunta


Where do people learn "bad" programming habits (i.e., goto, global, and eval)
I will likely be teaching some basic MATLAB this year. I have had little formal instruction on programming, but if I remember th...

casi 15 años hace | 8 respuestas | 2

8

respuestas

Respondida
GUI - Updating a figure pseudo real-time and stopping on mouse-click
With a little work you should be able to get your approach to work. A sexier and in my opinion better way to approach it is with...

casi 15 años hace | 0

Respondida
Warning: Class ':all:'
It seem the application makes use of a user defined class called all and that the compiled application does not have this class ...

casi 15 años hace | 0

| aceptada

Respondida
changing directory in matlab
What about something like: x = pwd; drive = x(1:3); cd([drive, 'a']); or cd([drive, 'a\b']); This will wor...

casi 15 años hace | 2

| aceptada

Respondida
How to save breakpoints automaticaly
I am not sure why your breakpoints are disappearing, but you should be able to write a timer callback function that uses dbstatu...

casi 15 años hace | 0

Respondida
use opengl in matlab , why it so slow?
You can also see how your video card stacks up with bench

casi 15 años hace | 0

Respondida
How to check for input for parallelport again and again?
The simplest, but least elegant solution would be a while loop stopFlag = false; while true % code that checks the ...

casi 15 años hace | 1

Respondida
GUI - Updating a figure pseudo real-time and stopping on mouse-click
The WindowsbuttondownFcn seems like the correct approach. You need to do something in the WindowsbuttondownFcn callback which ca...

casi 15 años hace | 0

Respondida
Multinomial logistic regression
The code you have posted looks like logistic regression and your plotting looks reasonable. The documentation for glmfit is a re...

casi 15 años hace | 0

Respondida
Optimization with respect to matrix
The l^2-norm does not care about the shape of your data so you can just reshape your matrix into a vector. u = u(:); b = b(...

casi 15 años hace | 0

Respondida
How to add some symbols into a matrix ?
It depends on what you want to do with this matrix. If you just want it to be displayed nicely: classdef partmat < double ...

casi 15 años hace | 0

| aceptada

Pregunta


MEX files for 32-bit MATLAB on 64-bit windows
It appears that 32-bit MATLAB on 64-bit Windows is an offically supported configuration. <http://www.mathworks.co.uk/support/...

casi 15 años hace | 1 respuesta | 1

1

respuesta

Respondida
cellfun for objects
I suggest replacing script = {'a+b'; 'c-d'} with script = {@(a,b,c,d)(a+b); @(a,b,c,d)(c-d)}; You can do the conversio...

casi 15 años hace | 1

| aceptada

Cargar más