pre class="codeinput"><span class="comment">% &#25968;&#25454;&#39044;&#22788;&#29702;,&#23558;R&#36827;&#34892;&#24402;&#19968;&#21270;&#22788;&#29702;</span>
<span class="comment">% mapminmax&#20026;matlab&#33258;&#24102;&#30340;&#26144;&#23556;&#20989;&#25968;</span>
[r,r_ps] = mapminmax(R);
r_ps.ymin = 100;
r_ps.ymax = 500;
<span class="comment">% &#23545;R&#36827;&#34892;&#24402;&#19968;&#21270;</span>
[r,r_ps] = mapminmax(R,r_ps);
<span class="comment">% &#30011;&#20986;R&#24402;&#19968;&#21270;&#2151