回答済み
How many ways to determine signal frequency?
If your data is sampled unevenly, Lomb's method can help: http://en.wikipedia.org/wiki/Least-squares_spectral_analysis

14年以上 前 | 1

回答済み
Value w.r.t to time
in,out %starting values in = 1 1 3 2 5 3 7 4 9 5 ...

14年以上 前 | 0

| 採用済み

回答済み
PCA princomp help please
In my opinion, this is not an appropriate use for PCA as you have described it. Principal components are used to reduce the dime...

14年以上 前 | 0

| 採用済み

回答済み
Serial communication issues
It's possible that mttool (whatever that is) is adding a termination character to the communication packet that Matlab is not. ...

14年以上 前 | 0

回答済み
FIND AREA SURFACE-PROBLEM IN MY CODE
the function is called dblquad() and requires a function to be passed to it like: f = matlabFunction(Mruxrv); A...

14年以上 前 | 1

| 採用済み

回答済み
Running Matlab code from LabView
Labview has a script node where you can cut & paste your Matlab code into it and wire the inputs & outputs

14年以上 前 | 1

| 採用済み

回答済み
how the coordinates of a point on the coordinate axes
doc ginput

14年以上 前 | 0

回答済み
Change diagonal place
a= magic(3) a = 8 1 6 3 5 7 4 9 2 >> b=a; >> for i =2:si...

14年以上 前 | 0

| 採用済み

回答済み
Question abut the Chi-square probability density function
no, degrees of freedom would be 1000. You are not calculating another statistic with the data ('using up a DOF') before calling ...

14年以上 前 | 0

回答済み
Measuring the radius of a stationary circle
there is no change (fortunately for you). the line abc = [x y ones(length(x),1)] \ -(x.^2+y.^2); performs the same wheth...

14年以上 前 | 0

回答済み
PSD and Pwelch
ummm...because your line calculating the cross power spectrum is commented out?

14年以上 前 | 0

回答済み
uncertainty and curve fitting
this example shows how to bootstrap to get the standard error in the coefficients. You can adapt it to use lsqcurvefit or trans...

14年以上 前 | 0

回答済み
*Problem Find area surface *
you are going to need: a =feval(symengine,'linalg::crossProduct',ru,rv)% .* is not cross product! b =feval(symengine,'n...

14年以上 前 | 0

| 採用済み

回答済み
Size filtering and show the position of centroids on the image
from the documentation: I = imread('coins.png'); figure, imshow(I) bw = im2bw(I, graythresh(getimage)); figure...

14年以上 前 | 2

回答済み
3D Tilted projection
if you have the image processing toolbox take a look at maketform()

14年以上 前 | 0

回答済み
Help with fitting curve to data
Maybe one of these enveloping tools could help: http://www.mathworks.com/matlabcentral/fileexchange/?term=envelope however...

14年以上 前 | 0

回答済み
OLS regression for multiplr Ys, Xs
This example regresses 3 curves 'at once'. I'm sure you can adapt it to your situation clc;clear;close all x = sort(ran...

14年以上 前 | 0

| 採用済み

回答済み
Having problems understanding the command y( size(t) ) in a plot.
it just plots xmax vs y(size(t)) as a second trace on the plot, but with the same markings as [xmax/2,ymax]...Have to see more c...

14年以上 前 | 0

回答済み
Symbolic Toolbox: integration
Apparently you have to do the substitution manually int(simple(cos(x^2)^2)) Warning: Explicit integral could not be found. U...

14年以上 前 | 0

| 採用済み

回答済み
Feeding a vector to a cost function
function f = CostFunction(vector) % brackets not necessary x = vector(:,1); y = vector(:,2); f=4*(1-x).^2.*exp(-(x.^2)-(y...

14年以上 前 | 0

回答済み
Undefined function or method 'int' for input arguments of type 'double'.
Int is only defined for symbolic variables, for numeric values see quadgk()

14年以上 前 | 0

回答済み
How to divide and times in matlab
* % matrix multiply .* %scalar multiply / % matrix divide ./ % scalar divide ^ % exponentiation .^ % element-by-element exp...

14年以上 前 | 10

| 採用済み

回答済み
Imposing interval on normrnd procedure.
imposing an interval on the result means it is no longer a normal distribution. With that caveat: d1(d1<0 | d1>10)=[];

14年以上 前 | 0

回答済み
linsolve help
you don't need linsolve: M = I/H;

14年以上 前 | 0

回答済み
Multiple Images to Report Generator
If you are creating your images in a loop try drawnow()

14年以上 前 | 0

回答済み
plotting lines
y = 1:10; x=5*ones(size(y)); z=x+i*y; plot(real(z),imag(z))

14年以上 前 | 0

回答済み
For loop - what about my min and max values?
Your x axis is the loop variable f, which can only take on one value at a time, thus the min and max are the same. To do what yo...

14年以上 前 | 0

| 採用済み

回答済み
*Problem Akashi-Kaikyo bridge! in figure*
OK this is strange: if I do a= int(sqrt(1+(diff(2*10^(-4)*x^2-0.4*x+200,x)^2))) a = 1250*asinh(x/2500 - ...

14年以上 前 | 1

回答済み
ind2sub output dimension
you need multiple assignments for that function. [r,c,p]=ind2sub(size(B),56) r = 2 c = ...

14年以上 前 | 1

回答済み
Matrix Sum
just add the B matricies. For example: A = ones(3) + eye(3) + magic(3);

14年以上 前 | 0

さらに読み込む