Answered
Solving 3 unkowns with 3 knowns
What you have are not linear equations so they cannot be solved in Ax=b form. You need to use a solver for nonlinear equations. ...

13 years ago | 0

Answered
A simple question about undefined function error
You need to make sure that the function |ruzgaruretimi| are on your path. It should also expect double inputs. If it does, try t...

13 years ago | 0

Answered
Objective Orientated Programming in Matlab
Are you referring to object oriented programming? The user's guide in MATLAB documentation can get you started. You can find tha...

13 years ago | 0

Answered
How can I perform a linear regression analysis with the equation y=a(x-b)?
This is essentially the same as fitting y=ax+b since it can be written as y=ax+b=a(x-(-b/a)). So all you need to do is to fit y=...

13 years ago | 0

Answered
Time delay - Cross Correlation Situation
The order basically determines which one is the reference, but you need to set your lag right. The delay between the two is basi...

13 years ago | 0

| accepted

Answered
Drawing a sphere inside a sphere?
You can add alpha(0.5) after you plot the first one.

13 years ago | 2

| accepted

Answered
How do I get the indices of non-empty cells from a cellstr array?
Here is an example x = {1,[]} find(~cellfun(@isempty,x))

13 years ago | 3

| accepted

Answered
how to do digital filter on this EEG data
Is your sample_rate 50K? If so, your filter is huge at the order of 1 million. This is way too long. |fir1| uses window metho...

13 years ago | 0

| accepted

Answered
Publishing a class definition to html
If you don't care whether the class can run or not, I think you could use the markup for highlighted code sample http://www.m...

13 years ago | 0

| accepted

Answered
How to use ' bar ' plot function to plot bars with oblique line in them?
This may be helpful to you http://www.mathworks.com/matlabcentral/fileexchange/1736-hatched-fill-patterns

13 years ago | 1

Answered
Strange If- else statement issue
There are several issues. # k(1,t) < 10 returns a vector, not a scalar # Similarly, Ca(t) is a vector. # It looks like you...

13 years ago | 0

| accepted

Answered
modelling a monostatic radar
Hi Keketso, For question 1, the solution I provided is independent of the approaching direction of the input signal, if that'...

13 years ago | 0

Answered
MATLAB code to distribute commercially
Do you have MATLAB Compiler? That could be one way to package your software as a stand alone application.

13 years ago | 1

Answered
Elliptical filter magnitude response with order 2,3,4
see the answer in your butterworth filter question and read the following documentation help ellip

13 years ago | 0

Answered
Magnitude response of Chebsev filter for Type1 and Type2
see my answer in the other post and read the following documentation doc cheby1 doc cheby2

13 years ago | 0

Answered
Butterworth filter frequency response with 2nd order, 3rd order and 4th order figures
Just as an example [b1,a1] = butter(2,0.5); [b2,a2] = butter(3,0.5); fvtool(b1,a1,b2,a2)

13 years ago | 1

Answered
Convert cell to double
Your C already contains numbers, so those cells are invalid for str2double C(~cellfun(@isnumeric,C))={nan}

13 years ago | 0

Answered
Find pulse width and cycle & .mfile read/plot
The functions pulseperiod and dutycycle assumes that the signal is bi-level and they are statistical measurement. Therefore, wha...

13 years ago | 0

Answered
Does Matlab use a QR or LU decomposition when solving a matrix equation?
There are actually some information regarding you question in the documentation http://www.mathworks.com/help/techdoc/ref/mrd...

13 years ago | 1

| accepted

Answered
up sampling a matrix with non-zero elements.
You can use |kron| A = [1 2;3 4]; B = kron(A,ones(3))

13 years ago | 1

Answered
Find row in matrix.
[tf, index]=ismember(A,B,'rows');

13 years ago | 3

| accepted

Answered
Best way to remove UNWANTED 50Hz from the signal vector
You can use a notch filter. See documentation and example below http://www.mathworks.com/help/toolbox/dsp/ref/iirnotch.html ...

13 years ago | 1

Answered
How does one model a rotating antenna for an ATC radar in phased array?
Hi Keketso, Phased Array System Toolbox currently does not have built in support for rotating motion. However, it is possible...

13 years ago | 1

| accepted

Answered
How to tell if two signals are similar
Perhaps you are looking for a scalar quantity to represent the similarity between two signal as is? If that's the case, you basi...

13 years ago | 0

Answered
Creating a N-Dimentional matrix from a 2 Dimentional matrix
a = [1 2 ;3 4] b = reshape(repmat(a(:),1,100),[size(a) 100]);

13 years ago | 0

| accepted

Answered
Replace nan's with blanks
B(cellfun(@isnan,B)) = {[]}

13 years ago | 2

| accepted

Answered
how do i run my signal through a filter i designed with filter design tool
Please format your code in your question. I'm not sure what you mean by plot(h,'nik') but if you want to filter the sign...

13 years ago | 0

Answered
Convolution using filter: implementation
Your b and a represents an IIR filter while your g represents an FIR filter. Depending on what your original coefficients are, o...

13 years ago | 0

| accepted

Answered
for loop in matrix names (Syntax)
try eval(sprintf('ret%d',g)) But please read the following link http://matlab.wikia.com/wiki/FAQ#How_can_I_create_var...

13 years ago | 1

| accepted

Answered
How can I convert values in a cell array into a form that can be used for calculations?
x = cellfun(@str2num,y,'UniformOutput',false)

13 years ago | 0

| accepted

Load more