i want to know whether this command is correct or not?
Show older comments
g=regwht(f,125); i am getting error in this . can anybody find out error and rectify it? thanks
2 Comments
Image Analyst
on 28 Sep 2013
Edited: Image Analyst
on 28 Sep 2013
As posted, the answer is a definite "NO". Please edit your question and attach the m-file with the paper clip icon, and paste the complete error message here - ALL the text in red color.
Jan
on 28 Sep 2013
Please post a copy of the error message and the relevant part of the code. It is impossible to guess the reasons of the problems without knowing any details.
Answers (1)
Azzi Abdelmalek
on 28 Sep 2013
Edited: Azzi Abdelmalek
on 28 Sep 2013
0 votes
your variable f is not defined. What is regwht?
9 Comments
krishna
on 28 Sep 2013
Azzi Abdelmalek
on 28 Sep 2013
ok but what is regwht? type
which regwht
krishna
on 28 Sep 2013
Azzi Abdelmalek
on 28 Sep 2013
Type
which regwht
what did you get?
krishna
on 29 Sep 2013
Edited: Azzi Abdelmalek
on 29 Sep 2013
krishna
on 29 Sep 2013
Azzi Abdelmalek
on 29 Sep 2013
I'am not following you, you said the problem is regwht(f,125) and now it's reg(f,125). I do not know if this code is yours, even it's not, you have to know what this code is doing. reg is a function from control toolbox which gives the gains K and L for regulator and estimator.
Jorge León
on 8 Dec 2017
I have the same error whether reg(f,125) or regwht(f,125)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!