Answered
Stand Alone Code from Matlab.m
To run compiled MATLAB you must have the MCR. It is a lot like running a java or flash application in that you need the computer...

14 years ago | 0

Answered
problem in this code
I would try replacing arr1=sparse(1000,232944); with arr1 = cell(1000, 1); and arr1(i,1:L(i)*2)=reshape(ar...

14 years ago | 0

Answered
Analoginput for Mac or Linux
The analoginput function is from the Data Acquisition toolbox. This is a windows only toolbox (you can contact support and ask f...

14 years ago | 0

| accepted

Answered
the .m files open in a new workspace
I would suggest you contact customer support about this. I believe there are a number of issues which can cause this behavior wi...

14 years ago | 0

Answered
problem in this code
On every interation you create 3 sparse matrices: c1=sparse(length(c));c2=sparse(length(c1));c3=sparse(length(c)); You ...

14 years ago | 1

| accepted

Answered
Screens open off monitor
It seems like you have two issues. First, MATLAB doesn't handle dual monitors all that well. It handles dual monitors with diffe...

14 years ago | 0

Answered
Speeding up code
Using these parameters Specific_Heat = @(x,y)(1); T_d = 1; X_d = 1; T_b = 1; X_b = 1; X_f = 1; M_f = 1;...

14 years ago | 0

Answered
counting the duplicates
How about: length(longwords)-length(unique(longwords))

14 years ago | 0

| accepted

Answered
Using a string output to access a variable with the same name.
If you change your code slightly you can do this pretty cleanly. data = load(shipData); shipNames = data.shipNames; ....

14 years ago | 0

Answered
Advise for PC configuration . Matlab - Image Processing/Computer vision
A budget would be helpful (including if you need MATLAB licenses or not). You could start here: <http://www.mathworks.com/matlab...

14 years ago | 0

| accepted

Answered
Matlab and Qt
You can modify the MATLAB interface: <http://undocumentedmatlab.com/blog/modifying-matlab-look-and-feel/> I don't know enough...

14 years ago | 0

Answered
Pseudo Noise Sequence
Not sure what you are really asking. There have been a number of different ways of seeding the random number generator(s). This ...

14 years ago | 0

Answered
FontSize for the image's legend
If I understand correctly. You set the legend to be outside the figure, then set its text size, and then rescale the axis. le...

14 years ago | 1

| accepted

Answered
what is amplitudes of a wav signal...
Assuming that wavefile is an array and not a string with the file name, then what you have will give you the amplitude as a func...

14 years ago | 0

Answered
Iterating to Find the max value
a=0.15; b=0.3; c=0.6; W=40; Wo=60; Fmy=(b*W+c*Wo)/a; Fm_max = -Inf; muscleangle=1:359; Fm = Fmy./...

14 years ago | 0

Answered
Installing Matlab on Linux
I also have not encountered any substantial Linux specific bugs (Debian, Ubuntu, and Arch). If I recall, installation on Debian ...

14 years ago | 0

Answered
want to change class of .mat file ?
doc cell2mat Assuming you have cell c and want double x ... x = cell2mat(c);

14 years ago | 1

| accepted

Answered
Add more function as default
You can add the paths to the directories with the downloaded files. You can do this in a number of ways. The easiest might be Fi...

14 years ago | 1

| accepted

Answered
Device ID problems
Have you tried the sound part of psychtoolbox: <http://psychtoolbox.org/HomePage>

14 years ago | 0

| accepted

Answered
Cumsum Function Reproduction
I can think of 3 independent ways to implement a basic cumsum (ignoring its ability to handle n-D arrays). There is a way usi...

14 years ago | 0

Answered
Find divisors for a given number
How important is it to do quickly? What is your N? N = 8; x = 1:N; x(~(rem(N, x)))

14 years ago | 4

Answered
spectrogram x axis logarithmic
set(gca, 'XScale', 'Log')

14 years ago | 0

| accepted

Question


What is your MATLAB uptime
Someone was talking about running a process in MATLAB for a month: <http://www.mathworks.com/matlabcentral/answers/21437-remote-...

14 years ago | 4 answers | 2

4

answers

Answered
Why does axes() not return an Object but a graphics handle?
MATLAB has some inconsistencies which stem from the fact that originally MATLAB only had one class (everything was stored in wha...

14 years ago | 4

Answered
variable: global or in guidata
I would suggest you avoid global variables. They are more powerful than what you need, and therefore probably not the best choic...

14 years ago | 1

| accepted

Question


What thread do timers operate in
This question arose from some comments to a previous question: <http://www.mathworks.com/matlabcentral/answers/21511-execution-...

14 years ago | 1 answer | 2

1

answer

Answered
copy a handle of an Array
You cannot do it. While MATLAB supports handle classes, you cannot subclass double to be a handle class. There are a number of d...

14 years ago | 0

| accepted

Answered
setting graph defaults
Setting default behavior so that a "figure" always has a color bar is extremely problematic. Color bars are tied to an axis and ...

14 years ago | 0

Answered
Question veiw count and waiting for answers.
You could a view count to the wish list: <http://www.mathworks.com/matlabcentral/answers/994-wish-list-for-matlab-answer-section...

14 years ago | 0

Answered
for loop
for ii=1:10 if ismember(ii, 1:2:5) continue; end fprintf('%d\n', ii); end

14 years ago | 0

Load more