Beantwortet
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....

mehr als 12 Jahre vor | 0

Beantwortet
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 ...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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.

mehr als 12 Jahre vor | 2

| akzeptiert

Beantwortet
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;

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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, ...

mehr als 12 Jahre vor | 0

Beantwortet
Getting the "Count" value of feature matching
count1 = matched_points1.count;

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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.

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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

mehr als 12 Jahre vor | 0

Beantwortet
what happened to the folowing code?
That means that handles.edit1 is not defined!!

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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 = ...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 2

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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 ...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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))]);...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
plot tools:add data color
http://www.mathworks.com/help/matlab/creating_plots/plotting-tools--interactive-plotting.html

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
Connect windows standalone aplication to command line
http://www.mathworks.com/matlabcentral/answers/92537

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
How to get a part of a string
y = x(2:4);

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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.

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 12 Jahre vor | 0

| akzeptiert

Mehr laden