回答済み
AMD vs Intel CPU for Matlab Computation Time
Generally when it comes to mathematical computing the AMDs are the preferable card. While this is a judgement decision as I do ...

11年弱 前 | 1

回答済み
How do I specify stderr when using bootci to compute bootstrap studentized confidence interval?
It is not exactly clear what you are trying to do as you introduce x without explaining what it is. Assuming that you want to...

11年弱 前 | 2

| 採用済み

回答済み
generate random binary matrix under a condition
m = 5; n = 6; A = zeros(m,n); for k = 1:n c = randi([0,m]); if c > 0 A(c,k) = 1; ...

11年弱 前 | 0

| 採用済み

回答済み
Generate random circles in the square box with different diameters
If you have k circles, then you can create three different areas (and thus different diameters) using: k = 30; X = rand(...

11年弱 前 | 1

| 採用済み

回答済み
Error using vertcat (dimension of matrices concatenated are not consistent)
Yes. _theta_ is a vector and so therefore _Z0_ is a vector of the same length. Then the error line: Ttemp = [1 0; Z0 1]; ...

11年弱 前 | 0

回答済み
how to label plot axes with index from a cell array of strings
label = strcat(root,subscripts); xlabel(label{1}) ylabel(label{2}) zlabel(label{3})

11年弱 前 | 0

回答済み
Find and display intersections using fzero
If f(x) = g(x) then f(x) - g(x) = 0. So we need to define h(x) = f(x) - g(x) and find where h(x) = 0. This is exactly what fze...

11年弱 前 | 9

| 採用済み

回答済み
Single function like stepinfo but for general stats?
Yes. There is a function named _grpstats_ in the Statistics Toolbox which allows you to get multiple statistics. This function ...

11年弱 前 | 0

回答済み
When I am running following K-means code ... it gives me an error as "Normalization....." Please help me how to run this code.
Please format your code. This is unreadable. <http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-quest...

11年弱 前 | 0

回答済み
How to stop script from displaying results in the Editor window?
I notice a diary off at the end of your script, this implies that you have turned the diary on at the beginning. You may want t...

11年弱 前 | 0

回答済み
fixiing a component of input vector in fmincon
There are multiple options for this (one is to simply fix it within your objective function). The other is to use your equality...

11年弱 前 | 0

| 採用済み

回答済み
Merging multiples csv files in Matlab-R2014b
Presumably you would want to use the _csvread_ function. If all of the files are in the same directory, then set that as your w...

11年弱 前 | 0

回答済み
Error when using dos to open firefox browser
& is a special character in batch scripting. You need to pass in the URL in quotes and pass an empty quote in front of it for t...

11年弱 前 | 1

| 採用済み

回答済み
How do I deal with the following error "??? Subscripted assignment dimension mismatch" occuring in line 32 of the following code..
It is on this line that you have an error: x(2,(i+1))=x(2,i)+(d*dx2); The issue is dx2 is a 1-by-200 double vector. You ...

11年弱 前 | 0

回答済み
grpstats flexibility for additional functions
If you look at the documentation the input variable *whichstats* can be a function handle. So for your example of the population...

11年弱 前 | 1

| 採用済み

回答済み
Setting Data in a GUI Table
Use the set command: f = figure; d = randn(10,3); % Make some random data to add t = uitable(f); set(t,'Data',d)...

約11年 前 | 8

| 採用済み

回答済み
How does one find eigenvalues of a 50 by 50 tridiagonal matrix, with certain conditons?
Is x a scalar or a vector? If it is a vector then you will get a dimension mismatch error as you try and assign a vector to a s...

約11年 前 | 0

回答済み
Fill the interior of a cylinder surface - SURF - generated by parametric equations
If you are trying to just put anything in that location you can do the following to place circles there. First create a meshgri...

約11年 前 | 0

| 採用済み

回答済み
How to calculate indefinite integral?
First off the answer is -cos(2*x-3)/2 + C. The two statements are equivalent up to a constant. Using the half angle identity: ...

約11年 前 | 1

回答済み
How to delete a row from a Financial Time Series?
tsobjkt = tsobjkt([1 3:end]); % Just overwrite it with second obs removed <http://www.mathworks.com/help/finance/using-ftstoo...

約11年 前 | 1

| 採用済み

回答済み
how to fit a trend line in plotyy ?
You could use: p = polyfit(y,data1,n); % looks like you want n=1 in your case p contains the coefficients of the line: ...

約11年 前 | 0

| 採用済み

回答済み
How to concatenate two matrices in a loop?
n = 10; % Change n as necessary z = zeros(5,2*n); % pre-allocate space for ii = 1:2:2*n-1 x = rand(5,2); % Just t...

約11年 前 | 0

回答済み
How to maniplulate data in one array if conditions are met in another array?
You do not want to use "==" on textual data. Look at strcmp() or strcmpi(). Also, in MATLAB you can say if condition ...

約11年 前 | 0

回答済み
Output argument "cost" (and maybe others) not assigned during call to "C:\Users\NIck\Documents\MATLAB\calcCall.m>calcCall".
In the function you expect the variable called tod to assume one of the values in {'day','evening','night'}, along with alternat...

約11年 前 | 0

回答済み
Wind speed ARMA simulation
You have a mean zero process with Normal errors and no presample response, so you are essentially starting your prediction with ...

約11年 前 | 0

| 採用済み

回答済み
Problem with the legend for the multiple axes.
The axes legend is a child of the axes and therefore it does not know about the line on the other axes. One thing you consider...

約11年 前 | 0

| 採用済み

回答済み
Neural Network program problem in classification
Just looking at this briefly, you have multiple output classes but only 1 class that is being used for training data. Therefore...

約11年 前 | 2

回答済み
how can i plot data of different types using matlab plot(x,y) ?
If your version is 2014a or less then you can use (assuming your cell array is named 'x') % This converts date strings to M...

約11年 前 | 0

回答済み
what is the output of kruskalwallis?
I am not sure what "set of values" you are looking for. The output from the call: p = kruskalwallis(X) is simply the p v...

約11年 前 | 0

| 採用済み

回答済み
How to find the variable by cell array contents
Assuming that Cargo_age_bulk_freq is a numeric row vector of length 9, then we can do the following >> myCell{2,10}(2,2:end) ...

約11年 前 | 1