Respondida
Create a mesh with four variables
doc ndgrid http://www.mathworks.com/help/techdoc/ref/ndgrid.html

casi 14 años hace | 0

| aceptada

Respondida
sprintf format specifiers won't print newline
% and \ are escape characters so you need to treat them special, try sprintf('%%*<>\\n'); You can find this information ...

casi 14 años hace | 0

Respondida
finding specific elements in a cell vector
uniqueA = unique(A); if isequal(uniqueA,{'1W'}) ... elseif isequal(uniqueA,{'1W';'2W'}) ... end

casi 14 años hace | 2

Respondida
FFT example on MATLAB help
This is basically done to preserve the power at each frequency sample point. The original series has L samples in it. At each fr...

casi 14 años hace | 0

Respondida
Question about latex synthax
add {} around y1(x) and y2(x), like this $$I(f)=\int_a^b \int_ {y1(x)}^{y2(x)} f(x,y) \dy \dx$$

casi 14 años hace | 0

| aceptada

Respondida
Solving system of nonlinear equations
Do you have Optimization Toolbox? If so, you can try fsolve http://www.mathworks.com/help/toolbox/optim/ug/fsolve.html

casi 14 años hace | 0

Respondida
Fix the seed in Matlab R2011b | Why RandStream failed?
Do you have to set it to global stream? If not, why not generate those random numbers in form of rand(s,1,n) so you by p...

casi 14 años hace | 0

Respondida
Indexing Tips: extend a time series to be cyclic
Not sure if it solves your question exactly but here is something that could be helpful. Say your data is 5 samples long N ...

casi 14 años hace | 0

Respondida
How can I change contents of a string?
Is your newdata also a cell? If so, you need to access it's content via {}. In your loop definition, you probably mean length...

casi 14 años hace | 0

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

casi 14 años hace | 0

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

casi 14 años hace | 0

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

casi 14 años hace | 0

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

casi 14 años hace | 0

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

casi 14 años hace | 0

| aceptada

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

casi 14 años hace | 2

| aceptada

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

casi 14 años hace | 3

| aceptada

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

casi 14 años hace | 0

| aceptada

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

casi 14 años hace | 0

| aceptada

Respondida
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

casi 14 años hace | 1

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

casi 14 años hace | 0

| aceptada

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

casi 14 años hace | 0

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

casi 14 años hace | 1

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

casi 14 años hace | 0

Respondida
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

casi 14 años hace | 0

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

casi 14 años hace | 1

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

casi 14 años hace | 0

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

casi 14 años hace | 0

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

casi 14 años hace | 1

| aceptada

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

casi 14 años hace | 1

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

casi 14 años hace | 3

| aceptada

Cargar más