回答済み
Create a mesh with four variables
doc ndgrid http://www.mathworks.com/help/techdoc/ref/ndgrid.html

14年弱 前 | 0

| 採用済み

回答済み
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 ...

14年弱 前 | 0

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

約14年 前 | 2

回答済み
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...

約14年 前 | 0

回答済み
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$$

約14年 前 | 0

| 採用済み

回答済み
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

約14年 前 | 0

回答済み
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...

約14年 前 | 0

回答済み
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 ...

約14年 前 | 0

回答済み
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...

約14年 前 | 0

回答済み
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. ...

約14年 前 | 0

回答済み
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...

約14年 前 | 0

回答済み
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...

約14年 前 | 0

回答済み
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=...

約14年 前 | 0

回答済み
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...

約14年 前 | 0

| 採用済み

回答済み
Drawing a sphere inside a sphere?
You can add alpha(0.5) after you plot the first one.

約14年 前 | 2

| 採用済み

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

約14年 前 | 3

| 採用済み

回答済み
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...

約14年 前 | 0

| 採用済み

回答済み
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...

約14年 前 | 0

| 採用済み

回答済み
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

約14年 前 | 1

回答済み
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...

約14年 前 | 0

| 採用済み

回答済み
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'...

約14年 前 | 0

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

約14年 前 | 1

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

約14年 前 | 0

回答済み
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

約14年 前 | 0

回答済み
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)

約14年 前 | 1

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

約14年 前 | 0

回答済み
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...

約14年 前 | 0

回答済み
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...

約14年 前 | 1

| 採用済み

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

約14年 前 | 1

回答済み
Find row in matrix.
[tf, index]=ismember(A,B,'rows');

約14年 前 | 3

| 採用済み

さらに読み込む