Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 0

Respondida
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 ...

más de 14 años hace | 1

| aceptada

Respondida
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...

más de 14 años hace | 0

Respondida
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;...

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

Respondida
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; ....

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

Respondida
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 ...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 1

| aceptada

Respondida
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...

más de 14 años hace | 0

Respondida
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./...

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 1

| aceptada

Respondida
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...

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 0

Respondida
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)))

más de 14 años hace | 4

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

más de 14 años hace | 0

| aceptada

Pregunta


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-...

más de 14 años hace | 4 respuestas | 2

4

respuestas

Respondida
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...

más de 14 años hace | 4

Respondida
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...

más de 14 años hace | 1

| aceptada

Pregunta


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

más de 14 años hace | 1 respuesta | 2

1

respuesta

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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 ...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

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

más de 14 años hace | 0

Cargar más