回答済み Why am I getting errors with this code?
There are a few issues here. First of all, you cannot declare functions in a standard m-file script. They have to be in separate...
10年弱 前 | 0
| 採用済み
回答済み polyfit in a for loop
Firstly, this is a poorly conditioned problem. You are trying to fit a straight line through a single data point, so there is no...
回答済み p-values out of cftool fitting result
To extract the coefficients use the "fit" function....
[fitobject,gof,output]=fit([x, y], z, 'poly22');
fitobject.p00, f...
10年弱 前 | 1
| 採用済み
回答済み Scale beta distribution in a given interval
For a standard Beta distribution, our random variate x, exists in the range 0 to 1.
First we start with a transformed variabl...
10年弱 前 | 1
| 採用済み
回答済み how can I split an array into n arrays?
One possible option is to use mat2cell...
C = mat2cell(X, size(X,1)/13.*ones(13,1), 2);
Each cell of C now contains a 29...
10年弱 前 | 0
回答済み what is cos 30?
MATLAB also has the cosd() function, so you can use cosd(30).
Have a look at the trigonometry documentation for other similar f...
MATLAB 2014b missing GUIDE elements
I started creating a GUIDE GUI in 2014a and have just upgraded to 2014b. I was aware that some GUI elements may be hidden due to...