Undefined function or variable 'rangeres2bw'.

1 view (last 30 days)
Greetings everyone!
I am using MATLAB2018a. I have been trying an example code from the matlab website in which rangeres2bw is used.
But i am getting this error : Undefined function or variable 'rangeres2bw'
Has this function been changed or removed or is there some mistake i am making?
This is the code that i am using:
Rmax = 15e3;
>> Rres = 150;
>> prf = 1/range2time(Rmax)
prf =
9.9931e+03
>> bw = rangeres2bw(Rres)
Undefined function or variable 'rangeres2bw'.
Please tell me how to solve this issue?

Accepted Answer

DGM
DGM on 18 Apr 2023
You can see from the documentation page for rangeres2bw() that it was first available in R2021a.

More Answers (1)

Image Analyst
Image Analyst on 18 Apr 2023
What is the URL of the web site? You forgot to tell us. Probably it was defined somewhere on that page and you forgot to copy the code and save it to an m-file on your local computer.

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!