select initial and final data from the dataset

4 ビュー (過去 30 日間)
Monika Makwana
Monika Makwana 2022 年 1 月 26 日
回答済み: Priyanka Kondapalli 2022 年 2 月 3 日
Suppose I have a dataset of
x=(1:1:1000);
and I want to run operation by taking the 5th digit as initial and 900th as final
x_ic=5;
x_end=900;
how to do this?
  1 件のコメント
Torsten
Torsten 2022 年 1 月 26 日
x_ic = x(5);
x_end = x(900);

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

回答 (1 件)

Priyanka Kondapalli
Priyanka Kondapalli 2022 年 2 月 3 日
Hi
We understand that you are trying to represnt 5th digit as the 1sst and 900th as the final. Please follow the below way
x_ic = x(5);
x_end = x(900);

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by