photo

Baris Unsal


Last seen: 4 years ago Active since 2022

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
261,869
of 301,432

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 21,280

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 174,555

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

Feeds

View by

Question


What is the main error in this code and how can it be solved?
Here is the code: a=0; b=1; c=1; d=L; %initialization % report pair a,b % report pair c,d while ~((c==1)&(d==1)) % test...

4 years ago | 1 answer | 0

1

answer

Question


Hi, i want to get a gaussian curve fitting plot, function is y = A*exp-((x-mu)^2/2*sig^2). y axis must be between -0.2 and 1 with counting by 0.2 per each step, any tips?
f = @(x,A,mu,sig) A*exp(-(x-mu).^2)/(2*sig^2); A = 1; mu = 7; sig = 1.5; x = 0:2:10; y = -0.2:0.2:; y = f(x,a,b,c); plot(x,...

4 years ago | 2 answers | 0

2

answers