Feeds
제출됨
SINIDE - Parameter identification of a sine-wave from a measured signal
Frequency, amplitude, phase shift and mean value of the best sinus fit to a sampled signal.
9년 초과 전 | 다운로드 수: 1 |
답변 있음
Importing data from text file
You have preprocessed the problem rather far. Store 'the_file' in the text file, say 'data.txt' and then use the function txt2ma...
Importing data from text file
You have preprocessed the problem rather far. Store 'the_file' in the text file, say 'data.txt' and then use the function txt2ma...
거의 10년 전 | 0
질문
RecursionLimit reached without applying recursion calls.
I have got the message that the recurence limit is reached, when I wanted to run big program I am just debugging. There was also...
거의 10년 전 | 답변 수: 1 | 0
1
답변답변 있음
To fit power law
If you plot the given vectors by the statement semilogy(A(:,1),A(:,2),':o'),you observe that the pure power function does not f...
To fit power law
If you plot the given vectors by the statement semilogy(A(:,1),A(:,2),':o'),you observe that the pure power function does not f...
10년 초과 전 | 0
답변 있음
Importing file with text and numbers
The prwvious answer gives a possible solution, however the function fgetl is rather slow. Maybe, the alternative way is in appli...
Importing file with text and numbers
The prwvious answer gives a possible solution, however the function fgetl is rather slow. Maybe, the alternative way is in appli...
11년 초과 전 | 0
답변 있음
Linear regression on a semi-log scale
The following code solves your problem: % James.m % JAMES Linear regression on a semilog scale %%%%%%%%%%%%%%%%%%%%%...
Linear regression on a semi-log scale
The following code solves your problem: % James.m % JAMES Linear regression on a semilog scale %%%%%%%%%%%%%%%%%%%%%...
11년 초과 전 | 0
| 수락됨
제출됨
LMFnlsq2
Solution of one or more nonlinear equations in the least squares sense.
11년 초과 전 | 다운로드 수: 3 |
답변 있음
imaginary value from solution nonlinier least square
Let us reformulate the problem: data = (q + 1./r).*exp(-r*q).*(0.6/(p(1)*r.^2)), where q = sqrt(p(2)); The prob...
imaginary value from solution nonlinier least square
Let us reformulate the problem: data = (q + 1./r).*exp(-r*q).*(0.6/(p(1)*r.^2)), where q = sqrt(p(2)); The prob...
11년 초과 전 | 0
| 수락됨
답변 있음
diagonal matrix with ones
There is even simpler solutionof your problem: Anew = diag(diag(A))\tril(A)
diagonal matrix with ones
There is even simpler solutionof your problem: Anew = diag(diag(A))\tril(A)
11년 초과 전 | 0
답변 있음
conversion of array to vector
The first command is useless. Suppose inpIamage is a matrix, the character of Mean depends of your function mean2. Should functi...
conversion of array to vector
The first command is useless. Suppose inpIamage is a matrix, the character of Mean depends of your function mean2. Should functi...
11년 초과 전 | 0
답변 있음
diagonal matrix with ones
Your last comment explained how to construct the resulting matrix. You see, how important it is to precisely formulate your ques...
diagonal matrix with ones
Your last comment explained how to construct the resulting matrix. You see, how important it is to precisely formulate your ques...
11년 초과 전 | 0
답변 있음
how to create start point for multistart
Your question is not very clear, however, the following solution may help you: oristart = [lb1,lb2,lb3,r,s1,b1,s2,b2]; n...
how to create start point for multistart
Your question is not very clear, however, the following solution may help you: oristart = [lb1,lb2,lb3,r,s1,b1,s2,b2]; n...
11년 초과 전 | 0
답변 있음
fitting function with many parameters (fminsearch)
This may happen, if there are order differences among values of unknown parametres. Let's assume those parameters are gathered i...
fitting function with many parameters (fminsearch)
This may happen, if there are order differences among values of unknown parametres. Let's assume those parameters are gathered i...
11년 초과 전 | 0
| 수락됨
답변 있음
curve fitting with more then two independent variables
If the regression function is in right MATLAB notation f(x) = (a+b*x.*z)./(1+c*x) % see dots between x and z and before...
curve fitting with more then two independent variables
If the regression function is in right MATLAB notation f(x) = (a+b*x.*z)./(1+c*x) % see dots between x and z and before...
11년 초과 전 | 0
답변 있음
how can I remove similar numbers that FOLLOW ?
This code works: y=x([x(2:end),0]~=x(1:end));
how can I remove similar numbers that FOLLOW ?
This code works: y=x([x(2:end),0]~=x(1:end));
11년 초과 전 | 0
답변 있음
sum function and add using loop
Let your data be in vector data(1:31536001). Try this code: k = 0; K = 0; x = zeros(1,8760); while k<8760, k = ...
sum function and add using loop
Let your data be in vector data(1:31536001). Try this code: k = 0; K = 0; x = zeros(1,8760); while k<8760, k = ...
11년 초과 전 | 0
답변 있음
Import text file with header
The simplest way to read such data is in using the function txt2mat fro the File Exchange: www.mathworks.com/matlabc...
Import text file with header
The simplest way to read such data is in using the function txt2mat fro the File Exchange: www.mathworks.com/matlabc...
11년 초과 전 | 0
답변 있음
Simple matlab doubt in a coding
See |http://www.mathworks.com/help/matlab/matlab_prog/anonymous-functions.html|
Simple matlab doubt in a coding
See |http://www.mathworks.com/help/matlab/matlab_prog/anonymous-functions.html|
거의 12년 전 | 0
| 수락됨
답변 있음
saving plots and reopening them
Figures stored in *.ppg files can't be opend in MATLAB. If you plan to reopen figures in MATLAB, Y should save them in *.fig fil...
saving plots and reopening them
Figures stored in *.ppg files can't be opend in MATLAB. If you plan to reopen figures in MATLAB, Y should save them in *.fig fil...
거의 12년 전 | 0
답변 있음
How can I solve a system in complex variables ?
The structure of the MATLAB code without an application of the Symbolic Toolbox should be as follows: 1. All constant parame...
How can I solve a system in complex variables ?
The structure of the MATLAB code without an application of the Symbolic Toolbox should be as follows: 1. All constant parame...
거의 12년 전 | 0
| 수락됨
답변 있음
How to determine peaks in a large set of data
Try the function extr.m from |www.mathworks.com/matlabcentral/fileexchange/10272| If vector |a| contains all samples of a...
How to determine peaks in a large set of data
Try the function extr.m from |www.mathworks.com/matlabcentral/fileexchange/10272| If vector |a| contains all samples of a...
거의 12년 전 | 0
질문
Building legends with extraordinary properties
Legend command denotes all plotted items in a serial order. Questions: *1.* Is there a way how to skip denoting some plotted i...
거의 12년 전 | 답변 수: 1 | 0
1
답변답변 있음
How can I solve a system in complex variables ?
Maybe that you can get a solution in a simpler way just in MATLAB without using symbolic approach. Your equation is complex depe...
How can I solve a system in complex variables ?
Maybe that you can get a solution in a simpler way just in MATLAB without using symbolic approach. Your equation is complex depe...
거의 12년 전 | 0
답변 있음
how to load a txt data
The general program for processing files of presented structure follows: % IONS.m Answers: Mohamad, 3.2.2013, 12:14...
how to load a txt data
The general program for processing files of presented structure follows: % IONS.m Answers: Mohamad, 3.2.2013, 12:14...
거의 12년 전 | 0
답변 있음
how to load a txt data
Your code doesn't create or print data in the required format. The following code does it. The input data are in file IONS.txt: ...
how to load a txt data
Your code doesn't create or print data in the required format. The following code does it. The input data are in file IONS.txt: ...
거의 12년 전 | 0
답변 있음
Frequency of combined waveform
It is not clear what you want to find. However, the next code finds all parameters of the combined wave, i.e. amplitudes, freque...
Frequency of combined waveform
It is not clear what you want to find. However, the next code finds all parameters of the combined wave, i.e. amplitudes, freque...
거의 12년 전 | 0
답변 있음
creating the same format for the dates
The following code fulfils the requirement, should the format of input dates be dd/mm/yyyy or mm/yyyy: dates= { '1...
creating the same format for the dates
The following code fulfils the requirement, should the format of input dates be dd/mm/yyyy or mm/yyyy: dates= { '1...
거의 12년 전 | 0
| 수락됨
답변 있음
How can I improve peak detection in fast fourier tranform?
You may find the function sinfapm.m in the File Exchange: www.mathworks.com/matlabcentral/fileexchange/19902
How can I improve peak detection in fast fourier tranform?
You may find the function sinfapm.m in the File Exchange: www.mathworks.com/matlabcentral/fileexchange/19902
거의 12년 전 | 0
제출됨
Soft interrupting of long computer runs
Long run of the program can be interrupted without any loss of data in a workspace.
12년 초과 전 | 다운로드 수: 1 |