clc; clear; clf; rng('default');x=0:0.5:10;n=length(x);y1= cos(x)+0.3*normrnd(0,1,[1,n]);plot(x,y1);Warning: Function plot has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. what should i do to remove this error?
MATLAB: Getting error in code
built-in-functionCurve Fitting Toolboxnormrandrng
Best Answer