Why does my workspace does not take the values but just take the variables?

2 ビュー (過去 30 日間)
Chaitanya Bade
Chaitanya Bade 2017 年 4 月 5 日
コメント済み: Chaitanya Bade 2017 年 4 月 5 日
Hi, I am trying to execute below code. I have a excel data which is 90.xlsx. and i am using the below code to import the data. And i wanted to find the peaks. After using the below code, at the workplace, it shows the 2 variables TIMESTEPS, XDATA with values. While for the peakvals, peaklocs and peaktime it just shows the variables but not the values. It shows []. How come it happens?
[TIMESTEPS,XDATA] = importfile('90.xlsx','Sheet1',2,1601);
createfigure1(XDATA, TIMESTEPS)
[peakvals,peaklocs] = findpeaks(XDATA, 'minpeakdistance',50, 'minpeakheight', 0.00001);
peaktime = TIMESTEPS(peaklocs);
Any help would be highly appreciated. Thanks!
  3 件のコメント
Chaitanya Bade
Chaitanya Bade 2017 年 4 月 5 日
yes, I am pretty sure.
Chaitanya Bade
Chaitanya Bade 2017 年 4 月 5 日
Hey, i found the solution. Its working now. thanks!

サインインしてコメントする。

回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by