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 天)
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,:)

回答(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