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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 1

| accepted

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

| accepted

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

15 years ago | 1

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

15 years ago | 0

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

15 years ago | 0

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

15 years ago | 1

Answered
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)));

15 years ago | 0

| accepted

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

15 years ago | 0

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

15 years ago | 0

Answered
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')...

15 years ago | 0

| accepted

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

15 years ago | 0

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

15 years ago | 0

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

15 years ago | 0

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

15 years ago | 0

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

15 years ago | 0

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

15 years ago | 0

| accepted

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

15 years ago | 0

| accepted

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

15 years ago | 0

| accepted

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

15 years ago | 0

| accepted

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

15 years ago | 0

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

15 years ago | 0

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

15 years ago | 0

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

15 years ago | 0

Load more