Info

この質問は閉じられています。 編集または回答するには再度開いてください。

for loop for this ? I want to create a for loop for this that runns throw the data and create arrays like this.

1 回表示 (過去 30 日間)
Hannes Arnar
Hannes Arnar 2020 年 2 月 3 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
close all; clear all; clc; % Vill her lata hoppa á 50 dögum , skoða þetta B
data1 = xlsread('dataCompanyprices','Sheet1','W4:AP1203');
A = data1(1:5,:)
B = data1(6:10,:)
C = data1(11:15,:)
  1 件のコメント
Star Strider
Star Strider 2020 年 2 月 3 日
It appears that the code you wrote is sufficient.
What do you want the loop to do?

回答 (2 件)

Hannes Arnar
Hannes Arnar 2020 年 2 月 3 日
編集済み: Hannes Arnar 2020 年 2 月 3 日
I want to let the loop jump throw the data set on some days lets say mabye 25 days , So the dataset is 1200 * 20 .
By that I want to make 1200 / 25 = 48 matrixes.
So I want 48 matrixes that include thoes 25 days with the data. :)

Hannes Arnar
Hannes Arnar 2020 年 2 月 3 日
I want to let the loop jump throw the data set on some days lets say mabye 25 days , So the dataset is 1200 * 20 .
By that I want to make 1200 / 25 = 48 matrixes.
So I want 48 matrixes that include thoes 25 days with the data. :)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by