how do I find the extreme points?
6 ビュー (過去 30 日間)
古いコメントを表示
採用された回答
KSSV
2016 年 10 月 25 日
clc; clear all ;
x = linspace(-0.5,0.5) ;
y = x.*(sin(x)).^2 ;
plot(x,y) ;
% extreme points
[x(1) y(1)]
[x(end) y(end)]
その他の回答 (1 件)
Robin Sah
2019 年 2 月 21 日
clc; clear all ;
x = linspace(-0.5,0.5) ;
y = x.*(sin(x)).^2 ;
plot(x,y) ;
% extreme points
[x(1) y(1)]
[x(end) y(end)]
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!