Respondida
Change time function tic, toc
Your computer does lots of things besides run MATLAB. Maybe it went and checked for updates. Maybe something was hogging up RAM ...

casi 15 años hace | 0

Respondida
can u make black color region in to some other color say red or green in the given image but dont change the white color?
While there are faster and better ways ... x = rand(100, 100, 3); x(1:10, 1:10, :) = 0; y = logical([100, 100]); z = x;...

casi 15 años hace | 0

Respondida
MATLAB Uses 100% CPU all time
If you have a network license and are behind a firewall, MATLAB sometimes gets confused.

casi 15 años hace | 0

Respondida
Way to tell % complete of script
If you have not started the script yet, but want the script to tell you how far you are along once you start it there are a numb...

casi 15 años hace | 0

Respondida
noverlap argument to spectrogram
While I haven't tested it, and I cannot think of an easy signal that would allow me to, I believe that noverlap refers to the am...

casi 15 años hace | 1

| aceptada

Respondida
How safe are nested function handles?
In general you can trust MATLAB handle objects to do what they are supposed to and if you construct them correctly, they will ev...

casi 15 años hace | 0

Respondida
Incorrect "Creating an instance of the Abstract class is not allowed"
There is a lot of code but it looks like SQLstatement_dev defines the abstract methods assembleStatement, submitStatement, setPr...

casi 15 años hace | 0

Respondida
REMOVE
irow = 3; x = magic(5) x(irow, :) = []

casi 15 años hace | 0

Respondida
Strategies for Working with Classes Nested within Other Classes?
I think you can get around your this with subsref. Consider the call: [A, B, C, ...] = driveTrainObj.transRatio(a, b, c, .....

casi 15 años hace | 0

| aceptada

Respondida
Do you think that MATLAB is expensive?
I work at a university, but I have to pay for MATLAB out of my grants. MATLAB is one of two non-free (both as in beer and speech...

casi 15 años hace | 1

Respondida
opinion about matlab
MATLAB is a tool. Like all tools, it is good for some things and really rubbish at other things. Even if MATLAB was just like a ...

casi 15 años hace | 0

Respondida
issue with audioplayer/sound functions
If you use an audioplayer object p to play the sounds then you could add: while p.isplaying end to the end of collect...

casi 15 años hace | 0

Respondida
how do you use sin in matlab?
You need parentheses. For example: sin(30) Although you probably want sin(30*pi/180) since sin expects its argum...

casi 15 años hace | 1

Respondida
Histogram with overlapping bins --> summing second argument
Starting from what you have, and I am not sure that is advisable: SumY(i) = sum (Y(X<=k(2,i) & X>=k(1,i)));

casi 15 años hace | 0

| aceptada

Respondida
large files, very slow editor, no fix?
You could switch to an editor like emacs/vim. You could move your nested functions to separate files. Then write another func...

casi 15 años hace | 0

Respondida
Problem when debug under linux
I am running 64-bit Debian, and do not see the errors you are getting. What is in your /usr/local/MATLAB/R2011a/bin/glnx86 direc...

casi 15 años hace | 0

Respondida
How to move a Signal..
For delays that are an integer number of samples you can add a delay (zeros) in the plot: plot([zeros(1, D), x(1:100)],'k')...

casi 15 años hace | 0

| aceptada

Respondida
ifft returns a complex signal from a real fft spectrum; i desire a real signal
try sigfft(44100+2-i*200) = 1000; notice the +2.

alrededor de 15 años hace | 0

Respondida
Overloading built in assign or '=' operator to display warning that you are copying a handle rather than an object
I have never used it, but I wonder if this might be related: <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/matla...

alrededor de 15 años hace | 0

Respondida
Function with handle.
It looks like getPlotHandle is not defined. What do you get with which -all getPlotHandle

alrededor de 15 años hace | 0

Respondida
how to convert speech signal to spectrogram
It is all in the manual doc spectrogram

alrededor de 15 años hace | 0

Respondida
"clear all" causes seg fault due to failure of calling a class destructor
Are you defining your delete method in the a methods block in the classdef file or in a separate file within the @foo directory ...

alrededor de 15 años hace | 0

Respondida
How do you control the time TimerFcn takes to perform its function?
You could do something like define a slowputsample function which appears to take T duration to complete. function slowputs...

alrededor de 15 años hace | 0

| aceptada

Respondida
How to run to Matlab programs without parallel toolbox
You can use a lock file. Whoever starts step 2 first should write a file called something like step2.lock. When that machine fin...

alrededor de 15 años hace | 0

| aceptada

Respondida
Arrival time
I am not sure what you mean by arrival time, but you can convert phase to time by multiplying by frequency.

alrededor de 15 años hace | 0

| aceptada

Respondida
Tic and Toc question
You are close ... tic while toc < 1 %do something end

alrededor de 15 años hace | 0

| aceptada

Respondida
"clear all" causes seg fault due to failure of calling a class destructor
The clear command does not delete an object. An object is only deleted if all references to the object are cleared from memory. ...

alrededor de 15 años hace | 0

Respondida
Timeout error with NI-6731 and NI-MIO-16XE-10
The errors you are getting, despite there odd formatting, are MATLAB errors. I have an open service request that Mathworks has c...

alrededor de 15 años hace | 0

Respondida
Loop that I am trying to get rid off
Loops in MATLAB are much faster nowadays then they used to be. Without timing solutions, it is not always obvious what way is fa...

alrededor de 15 años hace | 0

Respondida
Very Slow Assignment for Clas Properties
This is a well known problem with MATLAB classes. Unfortunately there is not a good solution that I know of. I would suggest sta...

alrededor de 15 años hace | 0

Cargar más