Statistics
1 Question
0 Answers
RANK
287,190
of 289,973
REPUTATION
0
CONTRIBUTIONS
1 Question
0 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
0
RANK
of 19,614
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 144,362
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
HI everyone. I need to write a function called expfit that calls another function called linefit to fit data to the equation y = C1*e^(C2*x). The expfit function solves for what C1 and C2 are. I get stuck at how i should write the for loop.
%This is linefit function [c,R2] = linefit(x,y) if length(y)~= length(x), error('x and y are not compatible'); ...
9 years ago | 1 answer | 0