Info

此问题已关闭。 请重新打开它进行编辑或回答。

Finding the maximum value in a program

1 次查看(过去 30 天)
RAJAN PRASAD
RAJAN PRASAD 2016-8-11
关闭: MATLAB Answer Bot 2021-8-20
I have a variable X=[.01 .02 .03 .04 ....100] Y=[.01 .02 .03.........100] Then for each X,Y variable i get H and W through a algorithm
W=[1 2 3 4....100] H=[-1 -10 -9 -8 -7 1 ........]
F=Heavyside[H] Z=plot(W,F) Area=max(trapz) I want to know at what X,Y THE AREA UNDER THE HEAVY SIDE IS MAXIMUM I am not getting to how to loop over these values efficiently

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by