想计算y在区间9-10上的最大幅值,有大佬会改一下么。
1 回表示 (過去 30 日間)
古いコメントを表示
採用された回答
cgjsrey
2023 年 5 月 21 日
仅供参考
clc
clear
a=[];
x=0:1:10;
y=sin(x);
a=[a,(max(y(1,end-1:end))-min(y(1,end-1:end)))/2]
a
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!