回答済み
gaussian fitting piece wise for multi peak curve
Try these: http://www.mathworks.com/matlabcentral/fileexchange/23611-peak-fitter And few demo files: http://www.mathworks....

約12年 前 | 0

回答済み
How to insert data in to a excel file?
row_headers = {'File a','File d','r','Maximum Value','x','y'}; data = [afilename dfilename r maximum mim1 nim1]; % I ...

約12年 前 | 0

回答済み
How to start again from the previous step?
There are for loop and while loop, that can help you do that. http://www.mathworks.com/help/matlab/ref/for.html http://www...

約12年 前 | 0

| 採用済み

回答済み
Why Matlab is not changing the name of the GUI window?
Open the fig in GUIDE. Right click on the figure and in the property inspector change the 'Name' to Version05.

約12年 前 | 2

| 採用済み

回答済み
How to change Nan value with zero and return them again?
Ind = find(isnan(A)); A(ind) = 0; B = A.^0.5; B(ind) = NaN;

約12年 前 | 0

| 採用済み

回答済み
How to run my code for selective interval of values?
Do you mean something like this: results=zeros(86401,1); % plot in seconds for activity 4. Washing machine for i=1:28, ...

約12年 前 | 0

回答済み
Getting the "Count" value of feature matching
count1 = matched_points1.count;

約12年 前 | 0

| 採用済み

回答済み
What to do if this error occures?
Repeat question : http://www.mathworks.co.uk/matlabcentral/answers/113471-why-this-error-is-occured

約12年 前 | 0

回答済み
How to calculate the center of mass of a polyhedron?
http://www.mathworks.com/matlabcentral/fileexchange/8514-centroid-of-a-convex-n-dimensional-polyhedron

約12年 前 | 0

回答済み
How can I create vectors of all the non-zero strings of numbers in a vector?
Lets call you vector as A I = find(A); a = diff(I); b = find([a inf] > 1); c = diff([0 b]); d = cumsum(c); d...

約12年 前 | 0

回答済み
How to time a user input
tic; I = input('User Type Value'); h = toc; Here _h_ is the amount of time taken by the user to type the value.

約12年 前 | 0

回答済み
fitting equation with condition on 1 parameter
You can use fmincon. I would think that these a and b are from you previous post, where fminsearch were used. fmincon is sim...

約12年 前 | 0

回答済み
How can I curve fitting data for an specific function?
http://www.mathworks.com/help/curvefit/custom-nonlinear-models.html http://www.mathworks.com/discovery/data-fitting.html

約12年 前 | 0

回答済み
what happened to the folowing code?
That means that handles.edit1 is not defined!!

約12年 前 | 0

| 採用済み

回答済み
repeating an index number n times in a vector
v = []; count = 1; for j = 1:length(p) if p(j) ~= 0 v(count:count+p(j)-1) = j*ones(p(j),1); count = ...

約12年 前 | 0

| 採用済み

回答済み
Which function can be used?
zeros(m,n) creates a zero value matrix. That is why you are getting all zero matrixes. If you want values in B matrix, you ca...

約12年 前 | 0

回答済み
How to make dynamic variable names (A1, A2, ..., An) with "for" loop? Using "eval" "num2str"?
Italo, I am glad you're trying out things on matlab. Matlab is very good with matrixes. What you're doing in these can be don...

約12年 前 | 2

回答済み
will "if exist('a','var') && a == 2" always work, without throwing an exception?
I don't see a question. You code is fine. Wouldn't it be a programmer's choice and will depend on the purpose of the variable...

約12年 前 | 0

回答済み
random equation fitting to data set and finding constant parameters
First make a function that you'll use to fit like this: function val = myfunc(par_fit,x,y) % par_fit = [a b] val ...

約12年 前 | 0

| 採用済み

回答済み
How to normalize a data serie which have negative and positive values for Prediction through ANN?
I dont know what is ANN. But for normal scenarios, lets say your data is variable A. factor = max([max(A) abs(min(A))]);...

約12年 前 | 0

| 採用済み

回答済み
plot tools:add data color
http://www.mathworks.com/help/matlab/creating_plots/plotting-tools--interactive-plotting.html

約12年 前 | 0

回答済み
How to increment a for loop by an arbitrary value?
Cstart = -50; Cend = 100; step = input('Enter the increment '); Celsius = Cstart:step:Cend; %for ii = 1:numel(Cel...

約12年 前 | 0

回答済み
How to save multiple varibles from the function into the workspace?
A possible suggestion (Disclaimer: I have never done it) If you have some estimate how many times the functions gets called i...

約12年 前 | 0

回答済み
Connect windows standalone aplication to command line
http://www.mathworks.com/matlabcentral/answers/92537

約12年 前 | 0

| 採用済み

回答済み
dynamic name for matrices
A = zeros(x,y); for j=1:x for i=1:y . . %a matrix with the name T is generated for...

約12年 前 | 0

回答済み
Numeric data display on GUI
You can use 2 text boxes. The numerical values can be converted to string using <http://www.mathworks.com/help/matlab/ref/num2st...

約12年 前 | 0

| 採用済み

回答済み
How to get a part of a string
y = x(2:4);

約12年 前 | 0

| 採用済み

回答済み
Fmincon - Value-at-Risk Minimization - Incorrect values returned
This is a single variable minimization. You should try fminbnd instead of fmincon. Also, try plotting adjcvar([ret.mscimin,st...

約12年 前 | 0

| 採用済み

回答済み
Why doesn't this simple search program work?
A simple test is type [Dim{128}(1) Dim{128}(2)+D] and Dim{144} and see if they match.

約12年 前 | 0

| 採用済み

回答済み
How to create the definite cycle and to display the result of a cycle in a single matrix of a definite size?
A = eye(7).*repmat(1:7,7,1); [x,y] = size(b); m = zeros(7*x,7*y); for i = 1:x for j = 1:y if (b(i,j) == 0...

約12年 前 | 0

| 採用済み

さらに読み込む