Info

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

Matlab script for excel file.

2 次查看(过去 30 天)
nani kalyan
nani kalyan 2015-5-16
关闭: MATLAB Answer Bot 2021-8-20
i have loaded the excel file in matlab script, and also i have founded the maximum value, but i need the either side value of maximum value should be display in command window. please help me friends.

回答(1 个)

B.k Sumedha
B.k Sumedha 2015-5-16
for i=1:rows
if temp(i,1:2)==var
disp=var(i,1:2)
else
i=i+1;
end
end
  3 个评论
nani kalyan
nani kalyan 2015-5-16
It was showing like this.....
Undefined function or variable 'rows'.
Error in Untitled (line 10) for i=1:rows
B.k Sumedha
B.k Sumedha 2015-5-16
编辑:B.k Sumedha 2015-5-16
[rows,coloumns]=size(tmp);
Specify this line above.

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by