making pairs and subtracting the elements making the pair

2 ビュー (過去 30 日間)
karan goyal
karan goyal 2019 年 2 月 20 日
編集済み: karan goyal 2019 年 2 月 20 日
23 buy
45 buy
67 buy
96 buy
110 buy
77 sell
89 sell
210 sell
456 sell
900 sell
on left is the row values of an excel sheet. the above buy and sell are strings stored in a column of the excel sheet.THESE BUY AND SELL HAVE NUMERICAL VALUES ASSOCIATED WITH THEM IN ANOTHER COLUMN.I WANT TO SUBTRACT NUMERICAL VALUE ASSOCIATED WITH FIRST BUY FROM THE FIRST SELL IN THE BUY/SELL COLUMN AND THEN SECOND BUY VALUE FROM SECOND SELL VALUE AND SO ON.HOW TO DO?

回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by