Answered
How to summon a double variable that it's name was stored in a string?
Building on David's answer xxx = 3; varname = 'xxx'; val_of_xxx = eval(varname); can be replaced with data.xx...

14 years ago | 2

Answered
Engine Sound
With standard MATLAB sound commands you cannot stream sound. In other words the sound commands need the entire array before they...

14 years ago | 0

Answered
How to Convert a matlab .m extension file to hex file or c file?
The big problem seems that you cannot afford the coder. I am assuming this is an academic project (but the strategy probably hol...

14 years ago | 0

Answered
Round value ???
There are a number of submissions on the FEX: <http://www.mathworks.com/matlabcentral/fileexchange/?term=round> Two that l...

14 years ago | 1

| accepted

Answered
error using webcam
I am not sure, but following on from Walter ... Are you sure you want camera_info.DeviceInfo.DeviceID(end) and not ...

14 years ago | 0

Answered
Saving GUI plot to bitmap file without displaying Matlab figure
"Since Matlab figures allow access to all data through the 'get' command, I have to go around making bitmap file directly instea...

14 years ago | 0

Answered
/usr/local/MATLAB/R2011a/bin/util/oscheck.sh: 605: /lib64/libc.so.6: not found
For Arch Linux the package glibc provides lib/libc.so.6 for both x86_64 and i686 architectures. <http://www.archlinux.org/pac...

14 years ago | 0

Answered
Question about function (PLOTING)
Assuming a and b are scalars and x is a vector ... d = zeros(size(x)); d(x>0 & x<=a) = 9.2.*x(x>0 & x<=a).*a./(3.*a+4.*b...

14 years ago | 0

Answered
using logical to make a logical matrix
So close vec = [true(1, 3); false(1, 3)]

14 years ago | 0

| accepted

Answered
audioplayer
The audioplayer object is "scoped". Once no more references to the handle exist, it stops playing and cleans up itself. See Lore...

14 years ago | 2

| accepted

Answered
Plotting of dates error
While there seems to be at least two bugs ... The data 21 Sep 2011 is listed twice. The error probably should be "Values must...

14 years ago | 0

| accepted

Answered
Cell conversion to double
It appears your cell array contains strings and not numbers (doubles). b = cellfun(@(x)str2double(x), a);

14 years ago | 6

Answered
Initializing Matrix for all possible sequences of numbers
doc perms perms(1:3)

14 years ago | 0

| accepted

Answered
Import same class globally inside functions file
I don't think you can. I asked a related question a few months ago: <http://www.mathworks.com/matlabcentral/answers/13792-ove...

14 years ago | 0

Answered
What is your favorite way to export figure for use in LaTeX?
While beauty is subjective, I don't think that it is possible to produce a beautiful figure without extensive effort. Even with ...

14 years ago | 0

Answered
How to run a script with spaces in its name?
I am not sure why you would want to do this, but you could probably overload run to take in the string with the space, copy that...

14 years ago | 0

Answered
How to disable automatic gain control of windows XP sound card
I am assuming you want to play a MATLAB array out the soundcard. If you want to programtically turn off the gain control so any ...

14 years ago | 0

| accepted

Answered
Folders Structure in OOP in matlab
You cannot do that. From the documentation ( <http://www.mathworks.co.uk/help/techdoc/matlab_oop/brfynrp-1.html>): @-folders ...

14 years ago | 0

Answered
indexing duplicates in cell arrays
Your description sounds an awful lot like a linked list to me. <http://www.mathworks.co.uk/help/techdoc/matlab_oop/f2-86100.h...

14 years ago | 0

Answered
how get digits as in file?
sprintf('%d\n', x) where x is your data.

14 years ago | 0

| accepted

Answered
Could someone help me put this in a for loop
This is a frequently asked question: <http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_l...

14 years ago | 1

| accepted

Answered
gui inside gui
You need to make the callback of the toggle button open the second gui.

14 years ago | 0

Answered
import data from one gui to another
You need to pass the data between the guis with callbacks. There are a number of ways of doing this. Check the FAQ: <http://m...

14 years ago | 0

Answered
Self sorting Object
I don't think you can do this and I am pretty sure you do not want to do this. I think the key piece that you are missing is tha...

14 years ago | 0

| accepted

Answered
Data Acquisistion Toolbox on Mac Os
You should contact customer support about this. <http://www.mathworks.co.uk/support/contact_us/index.html> You might be ab...

14 years ago | 0

| accepted

Answered
Matlab Tutorial Videos?
Have you looked at Doug's blog? <http://blogs.mathworks.com/videos/>

14 years ago | 1

| accepted

Answered
Speech processing using matlab
I think there is a MATLAB wrapper for Praat, but I cannot find it quickly. You might want to try: <http://www.ee.ic.ac.uk/hp/...

14 years ago | 0

| accepted

Answered
Using timer to run a user-defined function periodically in GUI to plot graph
You need to pass handles.axes to the timer function. There are a number of ways of doing this. Check the FAQ: <http://matlab....

14 years ago | 0

Answered
Is it possible to add a textbox outside the axes of a plot figure window?
figure; plot(rand(5, 1)) annotation('textbox', [0, 0.5, 0, 0], 'string', 'My Text')

14 years ago | 12

Answered
How to disable matlab editor search beep when nothing found
I found this link https://wiki.archlinux.org/index.php/Disable_PC_Speaker_Beep which suggests that you can unload the p...

14 years ago | 1

Load more