Answered
error in using svm
You have entered the 'kernelcachelimit' as a string variable, please use a positive scalar. svmModel= svmtrain(Training,G...

14 years ago | 0

| accepted

Answered
If statement not executing
Hi, They aren't really equal: a = 0.0016*62; b = 0.0992; isequal(a,b) This is a well known problem discussed in th...

14 years ago | 1

| accepted

Answered
Filter Question
Do you have a variable in your workspace called filter? If you enter >>which filter is it a variable? If so, clear...

14 years ago | 0

Answered
Problem loading .dat file in matlab
If you look here <http://www.physionet.org/physiotools/matlab/#reading-and-writing-physiobank-and-compatible-data> You can...

14 years ago | 0

Answered
inline.inline at 47
The kind of error you are reporting comes from trying to input a non-string input in inline() For example: t = 10; g ...

14 years ago | 0

Answered
Error: Subscript indices must either be real positive integers or logicals.
cur_state is a row vector and the first element is zero. You cannot address the 0-th row or column (element) in MATLAB. x ...

14 years ago | 0

Answered
Separate RGB layers of a RAW image
Are you sure that you have an RGB image that is MxNx3 If you enter >>whos img what is returned?

14 years ago | 0

Answered
adding 2 polynomials having lots of trouble
p = [11,12,13,14]; s = [101,102]; s = [zeros(1,2) s]; h = p + s;

14 years ago | 0

| accepted

Answered
adding 2 polynomials having lots of trouble
p = [1,2,3,4]; s = [10,20,30,40]; z = s + p; should work just fine, so please show your code and what error you are ...

14 years ago | 0

Answered
matlab code help..
Welcome to MATLAB! One of the great things about MATLAB is that it handles matrices (and vectors) easily. I would recommend you ...

14 years ago | 0

Answered
can reliefF() function deal with NaNs in my matrix?
Hi Berkan, relieff() removes NaNs in both your predictor and response variables. So your preference is the way it is implemented...

14 years ago | 1

| accepted

Answered
explain 4-D unit8
I = ones(10,10,10,10,'uint8'); What else do you need to know? I am not sure what you mean by "I need to fo about distributi...

14 years ago | 0

| accepted

Answered
how to get RMalS,peak values for control algorithm from model.
Do you happen to have the DSP System Toolbox? There are RMS and Maximum blocks in that product. In R2012a in the Signal Proce...

14 years ago | 0

Answered
Nakagami Distribution Parameter
Hi Dilan, m is the shape parameter of the Nakagami distribution. It is denoted by mu in the MATLAB documentation. It is the firs...

14 years ago | 0

| accepted

Answered
butterworth filter, does not work selectively
Hi Osamu, That is the correct path for R2011a. I'm wondering if you have some other function which is not a MathWorks' function ...

14 years ago | 0

Answered
image water marking using DCT
Hi Rahul, If you have the Image Processing Toolbox, then see the reference page for dct2.m. I doubt that anyone will simply prov...

14 years ago | 0

Answered
problem in using the toolbox.
Hi Shivani, I'm assuming from your post that you are interested in the 2-D or 3-D discrete wavelet transform. I recommend you...

14 years ago | 0

Answered
butterworth filter, does not work selectively
Hi Osamu, Is it possible that you have a non-MathWorks version of zp2ss at home? If you enter >>which zp2ss what path ...

14 years ago | 0

Answered
psd ----> spectrum psd?
Hi Redkap, Honglei has been giving you very good advice here. What version of MATLAB are you using and do you have the Signal Pr...

14 years ago | 0

Answered
Time series analysis with Discrete Wavelet transform
Hi Wave, If you want to use the discrete wavelet transform through wavemenu, then start wavemenu and select *Wavelet 1-D* Th...

14 years ago | 0

Answered
How to create a function for filtered data using a Nth order lowpass digital Butterworth filter.
Hi Raymond, the cutoff frequency should be a design parameter for you. You should decide what the cutoff frequency is based on w...

14 years ago | 0

Answered
How to delete columns of a matrix that have fewer than 3 non-zero elements
Hi, I'm sure this isn't the most efficient way: x =[ 5 0 1 4 1 3 0 0 2 1 ...

14 years ago | 0

| accepted

Answered
How to create a sqaure matrix from a one dimensional vector
One way: x = [1 2 3 4]; x = x(:); x = repmat(x,1,4); for nn = 2:4 x(:,nn) = circshift(x(:,nn),nn-1); end...

14 years ago | 1

Answered
Trouble with LL in DWT2
Why are you converting back to uint8 and then using imshow: y=imread('lena.jpg'); x=rgb2gray(y); [LL,LH,HL,HH]=dwt2(x...

14 years ago | 0

Answered
Trouble with LL in DWT2
That looks like just a colormap (display) problem to me. But you do not provide the Lena file and you do not show your MATLAB co...

14 years ago | 0

Answered
How to store all results in vector, after "for-.......-end" code?
Are you sure you don't want to save them as columns in a matrix like this: N = 5; X = zeros(3,5); for nn = 1...

14 years ago | 0

| accepted

Answered
BSXFUN for use with sinusoids
Thank you Walter for clearing that I up. Somehow I missed that. Nicholas you are very close. Work off this simple example (I ...

14 years ago | 0

Answered
BSXFUN for use with sinusoids
Hi Nicholas, bsxfun is great function, but it's overkill to create a sine wave with a random phase. Since this is homework, I...

14 years ago | 0

Answered
visualization of 3D matrix: how do I swap the y and z axis?
Hi Andreas, you are using imagesc() to display 3D data?? Are you sure you are not talking about surf() or something other dis...

14 years ago | 1

Answered
wscalogram and subplots
Hi Trine, Call wscalogram() with the first input just ' ' and return an output, which you can plot as an image. For example: ...

14 years ago | 2

Load more